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

Disassembly:
push 0xffffffffffffffff
push 0x4cc9f3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xb4]
mov eax, dword [ebx + 0x20]
push eax
mov esi, 0x50726c
call fcn.0047d4e0
xor edi, edi
cmp eax, edi
jne 0x45659e
mov dword [esp + 0x18], edi
jmp 0x4565a5
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
push 0x7530
call fcn.00464050
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x456a3b
push edi
call fcn.00465360
mov esi, eax
cmp esi, edi
je 0x456a3b
mov ecx, dword [0x502084]
push ecx
push edi
lea edx, [esp + 0x2c]
push edx
call fcn.00457c30
or ebp, 0xffffffff
push ebp
add esi, 0x60
push edi
mov ecx, esi
mov dword [esp + 0xb4], edi
call fcn.00406430
mov dword [esp + 0xac], ebp
cmp dword [esp + 0x3c], 8
jb 0x456612
mov eax, dword [esp + 0x28]
push eax
call fcn.00488fd0
add esp, 4
mov ecx, dword [0x502084]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push ebp
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push edi
mov eax, esi
mov word [ecx + 4], di
call fcn.00406430
lea esi, [esp + 0x80]
call fcn.00458db0
add esp, 0x20
lea esi, [ebx + 0x90]
mov edi, 1
mov ebx, eax
mov dword [esp + 0xac], edi
call fcn.004583e0
mov dword [esp + 0xac], ebp
cmp dword [esp + 0x78], 8
jb 0x45667c
mov edx, dword [esp + 0x64]
push edx
call fcn.00488fd0
add esp, 4
mov ebp, 0x2d
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf8]
call edx
mov esi, eax
test esi, esi
je 0x456a3b
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
push esi
call edx
push 0
mov eax, esi
call fcn.00465360
mov ebx, eax
test ebx, ebx
je 0x456a3b
mov eax, dword [edi*4 + 0x502084]
push eax
push edi
lea ecx, [esp + 0x68]
push ecx
call fcn.00457c30
push 0xffffffffffffffff
add ebx, 0x60
push 0
mov ecx, ebx
mov dword [esp + 0xb4], 2
call fcn.00406430
mov dword [esp + 0xac], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x456707
mov edx, dword [esp + 0x64]
push edx
call fcn.00488fd0
add esp, 4
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0xb4]
mov eax, dword [esi + 0xac]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xb8]
push ecx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
add ecx, ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x54]
add edx, ebp
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x5c]
mov ebp, dword [esi]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0xf4]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [edi + 0x7530]
push eax
mov ecx, esi
call edx
mov eax, dword [edi*4 + 0x502084]
push eax
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [esp + 0x40], esp
mov dword [ecx + 0x14], eax
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov word [ecx + 4], ax
push eax
mov eax, ebx
call fcn.00406430
lea esi, [esp + 0x80]
call fcn.00458db0
add esp, 0x20
mov esi, dword [esp + 0xb4]
mov ebx, eax
add esi, 0x90
mov dword [esp + 0xac], 3
call fcn.004583e0
mov dword [esp + 0xac], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x4567ff
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00488fd0
add esp, 4
mov ebp, dword [esp + 0x14]
add edi, 1
add ebp, 0x2d
cmp edi, 6
mov dword [esp + 0x14], ebp
jb 0x456685
mov ebp, dword [esp + 0xb4]
mov dword [ebp + 0xa4], edi
call fcn.00488fda
test eax, eax
je 0x45683d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ebx, eax
mov dword [esp + 0x14], eax
jmp 0x456843
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [ebx + 0x1d0c]
mov ecx, dword [ecx + 0x64]
xor eax, eax
mov edi, edi
cmp ecx, dword [eax*4 + 0x502084]
je 0x456a57
add eax, 1
cmp eax, 6
jb 0x456850
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf8]
call eax
mov esi, eax
test esi, esi
je 0x456a3b
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
push esi
call eax
push 0
mov eax, esi
call fcn.00465360
mov ebp, eax
test ebp, ebp
je 0x456a3b
mov eax, dword [ebx + 0x1d0c]
mov ecx, dword [eax + 0x64]
add eax, 0x10
push ecx
push edi
lea edx, [esp + 0x68]
push edx
call fcn.00457c30
push 0xffffffffffffffff
lea ebx, [ebp + 0x60]
push 0
mov ecx, ebx
mov dword [esp + 0xb4], 4
call fcn.00406430
mov dword [esp + 0xac], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x4568ec
mov eax, dword [esp + 0x64]
push eax
call fcn.00488fd0
add esp, 4
mov edx, dword [esi + 0xb0]
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0xac]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x24]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0xb8]
push edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x38], ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov eax, edi
imul eax, eax, 0x2d
add ecx, eax
add edx, eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x6c]
mov ebp, dword [esi]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0xf4]
mov ecx, esi
call eax
mov ebp, dword [esp + 0xb4]
mov eax, dword [ebp + 0xa4]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
add eax, 0x7530
push eax
mov ecx, esi
call edx
mov eax, dword [edi*4 + 0x502084]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
xor edi, edi
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push edi
mov eax, ebx
mov word [ecx + 4], di
call fcn.00406430
lea esi, [esp + 0xa0]
call fcn.00458db0
add esp, 0x20
mov ebx, eax
lea esi, [ebp + 0x90]
mov dword [esp + 0xac], 5
call fcn.004583e0
mov dword [esp + 0xac], 0xffffffff
cmp dword [esp + 0x98], 8
jb 0x4569f4
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00488fd0
add esp, 4
mov eax, dword [ebp + 0xa4]
mov ebx, dword [esp + 0x14]
lea ecx, [eax + 0x7530]
add eax, 1
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], edi
mov word [esp + 0x84], di
mov dword [ebp + 0xa4], eax
mov edx, dword [ebx + 0x1d0c]
cmp dword [edx + 0x60], 0
jne 0x456a3b
push ebp
mov ebx, ecx
call fcn.00458110
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 4
lea ecx, [eax + 0x7530]
jmp 0x456a27