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

Disassembly:
push 0xffffffffffffffff
push 0x6a28d3
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0xdc], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0xfc]
push eax
mov dword [esp + 0x90], eax
call fcn.004fb530
mov ecx, dword [edi + 0xac]
test ecx, ecx
je 0x52eddc
call fcn.00514670
test eax, eax
jle 0x52eddc
mov ecx, dword [edi + 0xac]
mov dword [esp + 0x80], 0xffffffff
call fcn.00514b00
test al, al
je 0x52ea96
mov ecx, dword [edi + 0xac]
call fcn.00514710
mov dword [esp + 0x80], eax
mov ecx, dword [edi + 0xac]
call fcn.00514670
xor ecx, ecx
mov esi, eax
mov dword [esp + 0x90], ecx
mov ecx, dword [edi + 0xac]
mov dword [esp + 0x78], esi
call fcn.00514660
mov dword [esp + 0x88], 0
test esi, esi
je 0x52eddc
xor ecx, ecx
mov dword [esp + 0x84], ecx
jmp 0x52eae0
mov esi, dword [edi + 0xc4]
add esi, ecx
mov ecx, edi
call fcn.004de4b0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x90]
add ecx, edx
mov dword [esp + 0xd4], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0xd0], ecx
lea ecx, [edi + 0x10]
push eax
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
call fcn.004da8c0
mov dword [esp + 0xf4], 0
lea edx, [esp + 0xc0]
push edx
lea ecx, [esi + 4]
push eax
push ecx
mov ecx, dword [esp + 0x98]
call fcn.004e5470
mov dword [esp + 0xf4], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.004f8a40
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0052df90
add esp, 0xc
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xdc]
push eax
movdqu xmmword [esp + 0x48], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x7c], ecx
cmp ecx, 1
jne 0x52ebce
mov eax, dword [esi + 0x34]
xor edx, edx
imul eax, dword [esi + 0x30]
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x7c], ecx
sub ecx, 0
je 0x52ebfa
sub ecx, 2
jne 0x52ec2c
mov eax, dword [esp + 0xe0]
sub eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd0]
sub ecx, eax
add eax, ecx
mov dword [esp + 0xe0], eax
jmp 0x52ec11
mov ecx, dword [esp + 0xc8]
mov eax, ecx
sub eax, dword [esp + 0xd8]
add dword [esp + 0xe0], eax
mov dword [esp + 0xd8], ecx
lea eax, [esp + 0xd8]
push dword [esi + 0x34]
push dword [esi + 0x30]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [esp + 0x94]
mov dword [esp + 0xa4], 0
xorps xmm0, xmm0
lea ecx, [edi + 0x10]
push eax
movdqu xmmword [esp + 0x98], xmm0
call fcn.004da8c0
mov dword [esp + 0xf4], 1
mov ecx, edi
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x9c], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xdc]
call eax
mov ecx, dword [esp + 0x8c]
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0xe0]
push eax
lea eax, [esi + 4]
push eax
call fcn.004e50d0
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x88]
jne 0x52ece0
movdqu xmm0, xmmword [esp + 0xd8]
push 0
push dword [esi + 0x3c]
lea eax, [esp + 0x70]
push eax
movdqu xmmword [esp + 0x74], xmm0
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [esp + 0xc8]
mov ecx, edi
push eax
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x94]
call fcn.0052ee10
mov eax, dword [esp + 0x90]
add eax, dword [esi + 0x1c]
mov ecx, dword [edi + 0xc0]
mov dword [esp + 0x90], eax
test ecx, ecx
je 0x52ed9b
mov eax, dword [ecx]
lea edx, [esp + 0x60]
push edx
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xcc]
mov dword [esp + 0xac], esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0052df90
add esp, 0xc
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xb4]
push eax
movdqu xmmword [esp + 0x58], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x90]
mov eax, esi
cdq
sub eax, edx
lea edx, [esp + 0xb0]
sar eax, 1
sub ecx, eax
mov eax, ecx
sub eax, dword [esp + 0xb0]
add dword [esp + 0xb8], eax
mov dword [esp + 0xb0], ecx
mov ecx, dword [edi + 0xc0]
push 0
push edx
push dword [esp + 0x94]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov dword [esp + 0xf4], 0xffffffff
lea ecx, [esp + 0x94]
call fcn.004f8a40
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
inc eax
add ecx, 0x40
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ecx
cmp eax, dword [esp + 0x78]
jb 0x52eae0
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.005472b9
add esp, 0xec
ret 4