Hi, boredevil, thanks very much for your tips, but I'm new with this. I found the corresponding codes in IDA, but I don't know how to invoke D3 functions like int __cdecl sub_854950(), should I use dll inject or some other methods?
Code:
.text:00854940 ; ---------------------------------------------------------------------------
.text:00854942 align 10h
.text:00854950 push ebp
.text:00854951 mov ebp, esp
.text:00854953 sub esp, 210h
.text:00854959 mov eax, dword_169CC90
.text:0085495E xor eax, ebp
.text:00854960 mov [ebp-4], eax
.text:00854963 mov eax, $ofs_ObjectManager
.text:00854968 push ebx
.text:00854969 push esi
.text:0085496A push edi
.text:0085496B mov edi, [eax+93Ch]
.text:00854971 push offset aDumpingUiMap ; "------------ Dumping UI map\n"
.text:00854976 push 0
.text:00854978 push 3
.text:0085497A push 2
.text:0085497C mov [ebp-210h], edi
.text:00854982 call sub_F743E0
.text:00854987 mov ecx, [edi]
.text:00854989 add esp, 10h
.text:0085498C cmp dword ptr [ecx+44h], 0
.text:00854990 jnz short loc_854996
.text:00854992 xor ebx, ebx
.text:00854994 jmp short loc_8549B5
.text:00854996 ; ---------------------------------------------------------------------------