Function at 0x54d770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
mov eax, 0x1c7
push ebx
push ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], eax
mov eax, dword [0xcea298]
xor ebp, ebp
mov ecx, 0x1b3
push esi
mov esi, dword [sym.imp.USER32.dll_PtInRect]
cmp eax, ebp
push edi
mov dword [0xcf8a50], ebp
mov dword [0xcf8a68], ebp
mov dword [esp + 0x48], 0x1e3
mov dword [esp + 0x4c], 0x1b5
mov dword [esp + 0x50], 0x208
mov dword [esp + 0x54], 0x1c9
mov dword [esp + 0x38], 0x1a3
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 0x1c8
mov dword [esp + 0x58], 0x21f
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], 0x244
je 0x54d836
mov eax, dword [0xcf95d4]
mov ecx, dword [0xcf95d0]
push eax
lea edx, [esp + 0x4c]
push ecx
push edx
call esi
test eax, eax
jne 0x54d836
mov eax, dword [0xcf95d4]
mov ecx, dword [0xcf95d0]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call esi
test eax, eax
jne 0x54d836
mov eax, dword [0xcf95d4]
mov ecx, dword [0xcf95d0]
push eax
lea edx, [esp + 0x5c]
push ecx
push edx
call esi
test eax, eax
je 0x54d83c
mov dword [0xcf8aac], ebp
cmp dword [0xcf8a64], ebp
je 0x54dba3
mov ecx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push ecx
push eax
push 0xcf8a94
call esi
test eax, eax
je 0x54dba3
mov esi, 0x69f860
mov ebx, 0xcf653c
mov edi, 0xced030
push 0
mov ecx, esi
call fcn.0042a1e0
push 0xb
mov ecx, esi
mov dword [edi], 0
call fcn.004296f0
push eax
push ebx
call fcn.00613b90
add esp, 0xc
test eax, eax
je 0x54d8ba
mov ecx, esi
call fcn.004296f0
push eax
call fcn.0044a5a0
add esp, 4
mov ecx, esi
call fcn.004296f0
push eax
push ebp
call fcn.004e9380
add esp, 8
add edi, 4
inc ebp
add ebx, 0xb
add esi, 0x64
cmp edi, 0xced040
jl 0x54d873
mov eax, dword [0xcf9cf4]
mov edi, dword [0xcf9ccc]
mov ebp, dword [0xcf9cd0]
mov esi, dword [0xcf9cd4]
mov ebx, dword [0xcf9cd8]
test eax, eax
jbe 0x54d9ee
mov eax, dword [0xcf9ce0]
mov ecx, dword [0xcf9cdc]
mov edx, dword [0xcf9ce8]
mov dword [esp + 0x4c], eax
mov eax, dword [0xcf9ce4]
mov dword [esp + 0x48], ecx
cmp esi, eax
mov dword [esp + 0x54], edx
je 0x54d9ee
cmp dword [esi + 4], 2
je 0x54d955
add esi, 8
cmp esi, ebp
jne 0x54d936
mov edi, dword [ebx + 4]
add ebx, 4
mov esi, edi
lea ebp, [edi + 0x1000]
mov eax, dword [0xcf9ce0]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [0xcf9ce4]
cmp esi, eax
mov dword [esp + 0x54], edx
jne 0x54d91b
jmp 0x54d9ee
push 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
call fcn.00402f40
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], edx
mov edx, dword [esp + 0x70]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x74]
mov dword [ecx + 8], edx
lea edx, [esp + 0x78]
mov dword [ecx + 0xc], eax
mov ecx, esp
push edx
mov dword [ecx], edi
mov dword [ecx + 4], ebp
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], ebx
mov ecx, 0xcf9cc8
call fcn.00541390
mov eax, dword [0xcf9cf4]
test eax, eax
jbe 0x54d9e4
mov eax, dword [0xcf9ccc]
mov ecx, dword [0xcf9cd0]
mov edx, dword [0xcf9cd8]
mov dword [esp + 0x58], eax
mov eax, dword [0xcf9cd4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], edx
mov eax, dword [eax + 4]
mov dword [0xa4efdc], eax
jmp 0x54d9ee
mov dword [0xa4efdc], 0
mov eax, dword [0xcf8a64]
test eax, eax
je 0x54da32
mov eax, dword [0xcf8ab8]
mov dword [0xcf8a64], 0
test eax, eax
je 0x54da20
push 0
push 0
push 0xcf8abc
push 0xcf8ab8
call fcn.005a6840
add esp, 0x10
mov eax, dword [0xd0af88]
test eax, eax
je 0x54da32
push eax
call fcn.004e6ba0
add esp, 4
call fcn.0041b010
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0xcf64f8
call fcn.0043d9c0
mov eax, dword [eax]
mov ecx, dword [0xcf64fc]
cmp eax, ecx
je 0x54da78
mov edx, dword [eax + 0xc]
push eax
mov dword [0xcf6530], edx
mov esi, dword [eax + 0x10]
lea eax, [esp + 0x28]
mov ecx, 0xcf64f8
push eax
call fcn.004a68c0
mov eax, esi
xor ebx, ebx
jmp 0x54da7c
xor ebx, ebx
xor eax, eax
cmp eax, ebx
mov dword [0xcf8564], eax
je 0x54db74
mov eax, dword [0xcf6530]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, 0xcf6518
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.00541140
mov eax, dword [eax]
mov ecx, dword [0xcf651c]
cmp eax, ecx
je 0x54dabb
cmp dword [eax + 0x10], ebx
jne 0x54dae7
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], ebx
call fcn.00541340
lea edx, [esp + 0x48]
push eax
push edx
mov ecx, 0xcf6518
call fcn.00541360
mov eax, dword [eax]
mov dword [eax + 0x10], ebx
lea eax, [esp + 0x10]
mov ecx, 0xcf6518
push eax
call fcn.0051a900
mov ecx, dword [eax]
push ebx
push ebx
push 0xcf8568
push 0xcf8564
mov dword [0xcf8568], ecx
call fcn.005a6840
mov edx, dword [0xcf6530]
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, 0xcf6518
mov dword [esp + 0x18], edx
call fcn.0054f130
mov edi, eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, 0xcf6518
call fcn.0054e960
mov edi, dword [edi]
mov esi, dword [eax]
lea ecx, [esp + 0x1c]
push ebp
push ecx
push edi
push esi
mov dword [esp + 0x2c], ebx
call fcn.0054f640
add esp, 0x10
lea edx, [esp + 0x34]
mov ecx, 0xcf6518
push edi
push esi
push edx
call fcn.004a73a0
jmp 0x54da3b
push 2
call fcn.00554b90
mov ecx, dword [0x62d4c4]
xor eax, eax
mov dword [0xced030], eax
add ecx, 0x26
mov dword [0xced034], eax
push ecx
mov dword [0xced038], eax
mov dword [0xced03c], eax
call fcn.00575a50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret