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

Disassembly:
push 0xffffffffffffffff
push 0x4ce552
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
sub eax, dword [esi]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
dec eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
push eax
call fcn.0043b570
mov edi, dword [esp + 0x84]
xor ebx, ebx
mov dword [esp + 0x68], ebx
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
xor ecx, ecx
push ecx
sar eax, 4
push ecx
lea eax, [eax + eax + 2]
lea ecx, [esp + 0x50]
call fcn.0043b8d0
mov ebp, dword [edi + 0xc]
cmp ebp, dword [edi + 0x10]
jbe 0x439e10
call fcn.0049f380
mov eax, dword [edi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
lea ebx, [ebx]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x18], ecx
cmp dword [edi + 0xc], ecx
jbe 0x439e35
call fcn.0049f380
mov eax, dword [esp + 0x20]
mov edi, dword [edi]
test eax, eax
je 0x439e3f
cmp eax, edi
je 0x439e48
call fcn.0049f380
mov eax, dword [esp + 0x20]
cmp ebp, dword [esp + 0x18]
je 0x43a16f
test eax, eax
jne 0x439f1e
call fcn.0049f380
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x439e6b
call fcn.0049f380
mov edi, dword [ebp]
sub edi, dword [esp + 0x74]
mov ebp, dword [ebp + 4]
sbb ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
push ebp
push edi
xor eax, eax
push eax
push ecx
call fcn.004c2c00
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x80]
push ecx
push edx
push eax
call fcn.004cb310
add eax, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x439f25
call fcn.0049f380
xor ecx, ecx
mov eax, dword [esp + 0x24]
cmp eax, dword [ecx + 0x10]
jb 0x439ec6
call fcn.0049f380
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
push 0
push edx
mov edx, dword [eax + 8]
push ecx
push edx
call fcn.004c2c00
mov ecx, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x90]
push ecx
push edx
push eax
call fcn.004cb310
mov ecx, eax
mov eax, dword [esi + 0xc]
sub eax, ecx
sub eax, 2
mov dword [esp + 0x10], eax
test ebx, ebx
jne 0x439f95
test ebp, ebp
ja 0x439f13
cmp edi, 0x989680
jb 0x439f29
add edi, 0xff676980
adc ebp, 0xffffffff
jmp 0x439f2d
mov eax, dword [eax]
jmp 0x439e61
mov ecx, dword [eax]
jmp 0x439eb4
xor edi, edi
xor ebp, ebp
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x54]
sar eax, 3
test eax, eax
ja 0x439f41
call fcn.0049f380
mov edx, dword [esp + 0x14]
push ebp
push edi
xor eax, eax
push eax
push edx
call fcn.004c2c00
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x80]
push ecx
push edx
push eax
call fcn.004cb310
add eax, dword [esi]
mov edx, dword [esp + 0x54]
mov dword [edx], eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x54]
sar eax, 3
test eax, eax
ja 0x439f83
call fcn.0049f380
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x54]
sub ecx, 2
mov dword [edx + 4], ecx
mov ebx, 1
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, eax
sub edx, ecx
lea edi, [ebx - 1]
sar edx, 3
cmp edi, edx
jb 0x439fb8
call fcn.0049f380
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x10]
cmp edx, dword [ecx + edi*8 + 4]
je 0x43a01d
mov edx, eax
sub edx, ecx
sar edx, 3
cmp edi, edx
jb 0x439fda
call fcn.0049f380
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
sub eax, ecx
sar eax, 3
lea edi, [ecx + edi*8]
cmp ebx, eax
jb 0x439fef
call fcn.0049f380
mov ecx, dword [esp + 0x54]
mov eax, dword [edi]
mov dword [ecx + ebx*8], eax
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x54]
sar ecx, 3
cmp ebx, ecx
jb 0x43a008
call fcn.0049f380
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
mov dword [eax + ebx*8 + 4], edx
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
inc ebx
mov edx, eax
sub edx, ecx
lea edi, [ebx - 1]
sar edx, 3
cmp edi, edx
jb 0x43a038
call fcn.0049f380
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x18]
cmp ebp, dword [ecx + edi*8]
je 0x43a07b
sub eax, ecx
sar eax, 3
cmp ebx, eax
jb 0x43a053
call fcn.0049f380
mov ecx, dword [esp + 0x54]
mov dword [ecx + ebx*8], ebp
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x54]
sar eax, 3
cmp ebx, eax
jb 0x43a06a
call fcn.0049f380
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
mov dword [edx + ebx*8 + 4], ecx
mov eax, dword [esp + 0x58]
inc ebx
mov edi, dword [esp + 0x84]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x10], ecx
cmp dword [edi + 0xc], ecx
jbe 0x43a097
call fcn.0049f380
mov eax, dword [esp + 0x58]
mov ecx, dword [edi]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], edx
test edi, edi
jne 0x43a0cc
call fcn.0049f380
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov edx, dword [esp + 0x24]
add edx, 0x10
cmp edx, dword [ecx + 0x10]
ja 0x43a0d7
test edi, edi
je 0x43a0d0
mov ecx, dword [edi]
jmp 0x43a0d2
mov ecx, dword [edi]
jmp 0x43a0b8
xor ecx, ecx
cmp edx, dword [ecx + 0xc]
jae 0x43a0e0
call fcn.0049f380
mov eax, dword [esp + 0x58]
test edi, edi
je 0x43a0ea
cmp edi, dword [esp + 0x28]
je 0x43a0f3
call fcn.0049f380
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x24]
add ebp, 0x10
cmp ebp, dword [esp + 0x10]
jne 0x43a13e
sub eax, dword [esp + 0x54]
sar eax, 3
cmp ebx, eax
jb 0x43a110
call fcn.0049f380
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
mov dword [ecx + ebx*8], eax
mov edx, dword [esp + 0x58]
sub edx, dword [esp + 0x54]
sar edx, 3
cmp ebx, edx
jb 0x43a12f
call fcn.0049f380
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x54]
sub eax, 2
mov dword [ecx + ebx*8 + 4], eax
inc ebx
test edi, edi
jne 0x43a16b
call fcn.0049f380
xor eax, eax
mov edx, dword [esp + 0x24]
cmp edx, dword [eax + 0x10]
jb 0x43a157
call fcn.0049f380
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
jmp 0x439e20
mov eax, dword [edi]
jmp 0x43a149
mov ecx, dword [esp + 0x88]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov edx, ecx
and eax, 0xfffffffe
shr edx, 8
shl eax, 8
movzx edx, dl
or eax, edx
movzx ecx, cl
and eax, 0xfffffffe
shl eax, 7
shr ecx, 1
or eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [esp + 0x88]
push edx
push 1
mov edi, eax
push 0
mov dword [esp + 0x80], edi
call dword [sym.imp.GDI32.dll_CreatePen]
mov ebp, dword [esp + 0x70]
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ebp
mov dword [esp + 0x8c], eax
call edi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x84]
push eax
push ebp
call edi
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
sar ecx, 3
test ecx, ecx
ja 0x43a1f9
call fcn.0049f380
mov edx, dword [esp + 0x54]
push ebx
push edx
push ebp
call dword [sym.imp.GDI32.dll_Polygon]
cmp dword [esp + 0x94], 0
je 0x43a302
push 0x8000
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push ebp
mov dword [esp + 0x90], eax
call edi
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x94]
mov ecx, eax
sub ecx, dword [esi + 4]
dec edi
cmp edi, ecx
jge 0x43a275
mov edx, dword [esi]
push 0
sub eax, edi
push eax
push edx
push ebp
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, edi
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esi + 0xc]
add edi, dword [esp + 0x94]
mov edx, eax
sub edx, dword [esi + 4]
cmp edi, edx
jl 0x43a242
mov edi, dword [esp + 0x94]
mov eax, dword [esi]
mov ecx, dword [esi + 8]
dec edi
sub ecx, eax
cmp edi, ecx
jge 0x43a2ba
mov edx, dword [esi + 0xc]
push 0
push edx
add eax, edi
push eax
push ebp
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
add ecx, edi
push ecx
push ebp
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esi]
mov edx, dword [esi + 8]
add edi, dword [esp + 0x94]
sub edx, eax
cmp edi, edx
jl 0x43a288
mov eax, dword [esp + 0x84]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x54]
sar ecx, 3
test ecx, ecx
ja 0x43a2dd
call fcn.0049f380
mov edx, dword [esp + 0x54]
push ebx
push edx
push ebp
call dword [sym.imp.GDI32.dll_Polyline]
mov eax, dword [esp + 0x88]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call ebx
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x43a308
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 8]
lea edx, [eax - 1]
push 5
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea edx, [esp + 0x3c]
push edx
push ebp
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x70]
push eax
push ebp
call edi
mov ecx, dword [esp + 0x7c]
push ecx
push ebp
call edi
mov edx, dword [esp + 0x84]
push edx
call ebx
mov eax, dword [esp + 0x74]
push eax
call ebx
mov dword [esp + 0x68], 1
mov eax, dword [esp + 0x54]
xor esi, esi
cmp eax, esi
je 0x43a374
push eax
call fcn.0049e96f
add esp, 4
mov dword [esp + 0x68], 0xffffffff
mov ecx, dword [esp + 0x48]
push ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.0049e96f
mov ecx, dword [esp + 0x64]
add esp, 4
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 0x28