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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60fbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x5d4], 0
jne 0x4656f4
mov esi, dword [ebp + 8]
call fcn.00430880
jmp 0x4657c2
push edi
lea ecx, [esp + 0x5c]
call fcn.00577645
mov esi, dword [ebp + 0xc]
test esi, esi
mov dword [esp + 0x78], 0
mov eax, 0x6bd92c
jne 0x465717
mov eax, 0x6bd90c
push eax
lea ecx, [esp + 0x5c]
call fcn.00577951
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x188]
mov ecx, edi
call edx
mov ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x18c]
mov ecx, edi
call edx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.user32.dll_SetRectEmpty]
mov edx, dword [edi]
mov edx, dword [edx + 0x140]
xor eax, eax
test esi, esi
sete al
mov ecx, edi
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x4c]
push eax
call edx
xor ecx, ecx
test esi, esi
sete cl
xor eax, eax
test esi, esi
setne al
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x5cc]
test eax, eax
jne 0x4657e4
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x5c]
call fcn.00577951
mov ecx, dword [esp + 0x28]
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x2c]
mov dword [esi], ecx
lea ecx, [esp + 0x58]
mov dword [esi + 4], edx
mov dword [esp + 0x78], 0xffffffff
call fcn.00577699
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46591a
mov ebx, dword [eax + 8]
test ebx, ebx
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
je 0x465793
test ecx, ecx
jne 0x465810
cmp dword [edi + 0x6d0], ecx
je 0x465810
mov ecx, edi
call fcn.00572fa6
test eax, eax
jne 0x465793
cmp dword [edi + 0x590], 0
mov ecx, edi
je 0x465829
lea esi, [esp + 0x38]
call fcn.00430880
mov esi, dword [eax + 4]
jmp 0x465835
mov eax, dword [edi]
mov edx, dword [eax + 0x188]
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x18c]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x3c], esi
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
push ecx
lea edx, [esp + 0x4c]
push edx
mov ecx, ebx
call eax
cmp dword [edi + 0x590], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
je 0x46587a
mov eax, dword [edi + 0x594]
cmp dword [ebp + 0xc], 0
jne 0x4658de
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x20], edx
je 0x465890
cmp dword [ebx + 0x1c], 0
je 0x46589a
test byte [ebx + 0xc], 1
je 0x46589a
xor ecx, ecx
xor eax, eax
mov esi, dword [esp + 0x20]
add ecx, esi
cmp ecx, dword [esp + 0x28]
jle 0x4658aa
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x24]
add eax, esi
cmp eax, dword [esp + 0x2c]
jle 0x4658ba
mov dword [esp + 0x2c], eax
cmp dword [ebx + 0x1c], 0
mov dword [esp + 0x20], ecx
je 0x46590a
mov dword [esp + 0x20], edx
mov edx, dword [edi]
mov eax, dword [edx + 0x188]
mov ecx, edi
call eax
lea ecx, [esi + eax + 5]
mov dword [esp + 0x24], ecx
jmp 0x46590a
mov edx, dword [esp + 0x20]
add ecx, edx
cmp ecx, dword [esp + 0x28]
jle 0x4658ee
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
add eax, ecx
cmp eax, dword [esp + 0x2c]
jle 0x4658fe
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
cmp dword [esp + 0x14], 0
jne 0x4657e0
jmp 0x465793
call fcn.0056c8bd
int3