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

Disassembly:
push 0xffffffffffffffff
push 0x5e6530
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov dword [esp + 0x68], ecx
mov ebp, dword [esp + 0x134]
mov eax, dword [ebp + 0x60]
xor esi, esi
cmp eax, esi
je 0x56a53d
cmp dword [eax + 0x30], esi
jne 0x56a52c
cmp dword [eax], esi
jne 0x56a52c
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
jmp 0x56a54c
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0xffffffff
jmp 0x56a54c
mov ecx, dword [ebp + 0x58]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x1c]
cmp eax, esi
jle 0x56ab9b
mov edx, dword [ebp + 8]
sub edx, dword [ebp + 0xc]
sub edx, dword [ebp + 4]
inc edx
test edx, edx
jle 0x56a57e
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
mov dword [esp + 0x5c], 1
test eax, eax
jne 0x56a582
mov dword [esp + 0x5c], esi
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x38]
mov edi, ecx
sub edi, eax
sub eax, dword [ebp + 0x28]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x5c], esi
je 0x56a59e
cmp ecx, dword [ebp + 0x2c]
jle 0x56a5a4
xor edi, edi
mov dword [esp + 0x24], esi
call fcn.0055ef70
push 0xf
mov ecx, eax
call fcn.0055e830
mov dword [esp + 0x1c], eax
call fcn.0055ef70
push 0x10
mov ecx, eax
call fcn.0055e830
mov dword [esp + 0x28], eax
call fcn.0055ef70
push 0x14
mov ecx, eax
call fcn.0055e830
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x5c], esi
jne 0x56ab9b
lea eax, [ebp + 0x48]
push eax
lea ecx, [esp + 0x8c]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [ebp + 0x28]
mov ebx, dword [esp + 0x90]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov esi, dword [ebp + 0x2c]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], eax
add ebx, ecx
mov dword [esp + 0x70], eax
lea eax, [eax + edx - 2]
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x78], edx
cdq
mov dword [esp + 0x3c], esi
mov dword [esp + 0x64], ebx
sub esi, ecx
add ebx, edi
sub eax, edx
lea edx, [esi + ecx]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x28]
push ebx
sar eax, 1
push 1
mov dword [esp + 0x5c], edx
sub edx, ecx
lea esi, [eax + 2]
push edx
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x13c]
push eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], ecx
push ecx
mov ecx, esi
mov dword [esp + 0x64], eax
call sub.mfc90u.dll_CDC::FillSolidRect
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push 1
sub ecx, eax
push ecx
inc edx
push edx
push eax
mov ecx, esi
call sub.mfc90u.dll_CDC::FillSolidRect
mov edi, dword [ebp + 0x70]
mov dword [esp + 0x84], edi
test edi, edi
je 0x56a7b5
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 4]
jle 0x56a7b5
push 0
push 0xfffffffffffffffa
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
xor ecx, ecx
cmp dword [edi + 4], ecx
mov dword [esp + 0x24], ecx
jle 0x56a80e
mov ebx, dword [esp + 0x4c]
lea ecx, [ecx]
mov edx, dword [edi]
fld qword [edx + ecx*8]
mov edx, dword [esp + 0x54]
mov eax, dword [ebp + 4]
sub edx, ebx
mov dword [esp + 0x7c], edx
fild dword [esp + 0x7c]
mov edx, dword [ebp + 8]
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
sub edx, eax
mov dword [esp + 0x60], edx
fsubp st(2)
fmul st(1), st(0)
fild dword [esp + 0x60]
fdivp st(2)
fldz
fcomp st(2)
fnstsw ax
test ah, 0x41
jp 0x56a79d
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x56a79f
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
lea eax, [ecx + eax - 8]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
call fcn.005e0620
mov edx, dword [esp + 0x28]
push edx
push 4
push 1
lea ebx, [eax + ebx - 1]
push edi
push ebx
mov ecx, esi
call sub.mfc90u.dll_CDC::FillSolidRect
mov eax, dword [esp + 0x28]
push eax
push 2
push 1
lea ecx, [edi + 5]
push ecx
push ebx
mov ecx, esi
call sub.mfc90u.dll_CDC::FillSolidRect
mov edx, dword [esp + 0x14]
push edx
push 7
push 1
inc edi
push edi
inc ebx
push ebx
mov ecx, esi
call sub.mfc90u.dll_CDC::FillSolidRect
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x84]
jmp 0x56a7a1
fstp st(1)
fstp st(0)
inc ecx
cmp ecx, dword [edi + 4]
mov dword [esp + 0x24], ecx
jl 0x56a6f0
mov ebx, dword [esp + 0x28]
jmp 0x56a80e
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
lea eax, [ecx + eax - 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
mov edi, eax
mov eax, dword [esp + 0x54]
lea eax, [eax + edx - 2]
push ebx
cdq
push 4
sub eax, edx
push 1
mov ebp, eax
sar edi, 1
push edi
sar ebp, 1
push ebp
mov ecx, esi
call sub.mfc90u.dll_CDC::FillSolidRect
push ebx
push 2
push 1
lea ecx, [edi + 5]
push ecx
push ebp
mov ecx, esi
call sub.mfc90u.dll_CDC::FillSolidRect
mov edx, dword [esp + 0x14]
push edx
push 7
push 1
inc edi
push edi
inc ebp
push ebp
mov ecx, esi
call sub.mfc90u.dll_CDC::FillSolidRect
cmp dword [esp + 0x18], 0x3c
mov ebp, dword [esp + 0x14]
mov eax, ebp
je 0x56a81f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x68]
push eax
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x28]
push esi
mov dword [eax + 0xc], edx
call fcn.005232b0
cmp dword [esp + 0x20], 0x3c
je 0x56a89c
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
cmp dword [esp + 0x18], 0x3c
mov eax, ebp
je 0x56a871
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push eax
push ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x28]
push esi
mov dword [eax + 0xc], edx
call fcn.005232b0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
add eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x2c]
add eax, edx
cdq
push 0
push 2
sar ecx, 1
sub eax, edx
push 8
dec ecx
sar eax, 1
push ecx
add eax, 0xfffffffc
push eax
mov ecx, esi
call sub.mfc90u.dll_CDC::FillSolidRect
cmp dword [esp + 0x18], 0x3d
mov eax, ebp
je 0x56a8dc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
push eax
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x28]
push esi
mov dword [eax + 0xc], edx
call fcn.005232b0
mov ebx, 0x3d
cmp dword [esp + 0x20], ebx
je 0x56a958
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, ebp
cmp dword [esp + 0x18], ebx
je 0x56a92d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
push eax
push ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x28]
push esi
mov dword [eax + 0xc], edx
call fcn.005232b0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
add eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0x44]
add eax, edx
cdq
push 0
sub eax, edx
push 2
mov ebp, eax
sar edi, 1
push 8
lea ecx, [edi - 1]
sar ebp, 1
push ecx
lea edx, [ebp - 4]
push edx
mov ecx, esi
call sub.mfc90u.dll_CDC::FillSolidRect
push 0
push 8
push 2
add edi, 0xfffffffc
push edi
dec ebp
push ebp
mov ecx, esi
call sub.mfc90u.dll_CDC::FillSolidRect
cmp dword [esp + 0x5c], 0
je 0x56ab9b
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
lea eax, [eax + ecx - 0xd]
cdq
sub eax, edx
mov edx, dword [esp + 0x80]
mov ebp, eax
mov eax, dword [esp + 0x64]
lea eax, [edx + eax - 8]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
sar ebp, 1
cmp dword [esp + 0x18], 0x40
lea eax, [edi + 8]
lea ecx, [ebp + 0xd]
lea ebx, [ecx - 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
lea eax, [edi + 4]
mov dword [esp + 0x78], ecx
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], ebp
je 0x56aa51
mov ecx, dword [esp + 0x1c]
test esi, esi
jne 0x56aa59
xor eax, eax
jmp 0x56aa5c
mov eax, dword [esi + 4]
push ecx
push eax
lea ecx, [esp + 0x100]
call fcn.0055cce0
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x18], 0x40
mov dword [esp + 0x128], eax
je 0x56aa82
mov ecx, dword [esp + 0x1c]
cmp esi, eax
je 0x56aa89
mov eax, dword [esi + 4]
push ecx
push eax
lea ecx, [esp + 0x114]
call fcn.0055ce00
mov edx, dword [esi + 4]
push 6
lea ecx, [esp + 0x9c]
push ecx
push edx
mov byte [esp + 0x134], 1
call dword [sym.imp.GDI32.dll_Polygon]
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0xfc]
call fcn.0055cda0
mov edx, dword [esi + 4]
push 6
lea ecx, [esp + 0x9c]
push ecx
push edx
call dword [sym.imp.GDI32.dll_Polyline]
cmp dword [esp + 0x20], 0x40
je 0x56ab70
mov edx, dword [esp + 0x74]
dec edx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x64]
lea eax, [edi + 1]
lea ecx, [ebp + 1]
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd4], ecx
dec edx
mov dword [esp + 0xf4], ecx
push eax
lea ecx, [esp + 0xfc]
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xf0], ebx
call fcn.0055cda0
mov edx, dword [esi + 4]
push 6
lea ecx, [esp + 0xcc]
push ecx
push edx
call dword [sym.imp.GDI32.dll_Polyline]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x128], 0
call fcn.0055ce90
lea ecx, [esp + 0xf8]
mov dword [esp + 0x128], 0xffffffff
call fcn.0055cd70
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 8