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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59872b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5d5de8]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x5d5de8]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edx, dword [esi + 4]
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
push 0
push 0x5da644
push 0x5da628
mov edi, ecx
mov ecx, dword [ebp + 0x1c]
push 0
push edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ecx
call fcn.0056a77a
add esp, 0x14
test eax, eax
mov dword [esp + 0x18], eax
je 0x438001
call fcn.0040c510
test eax, eax
mov dword [esp + 0x24], eax
je 0x438001
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x7c], 0
jle 0x437d7f
mov eax, dword [eax + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x80]
push 0
push eax
call edx
mov ecx, dword [0x5dcd5c]
mov eax, dword [ecx + 0x320]
mov edx, dword [esi + 4]
cmp edx, dword [eax + 0x60]
jne 0x437dae
call fcn.00454120
test al, al
je 0x437dae
mov eax, dword [ecx + 0x36c]
mov esi, dword [eax + 0x30]
call fcn.00408d30
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
test eax, eax
jne 0x437fd6
mov ecx, dword [edi + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov edx, dword [edx + 0xc]
add edx, eax
push edx
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 8]
add edx, ecx
push edx
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_IntersectClipRect]
cmp byte [edi + 0x1c], 0
je 0x437ed3
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x437e32
mov eax, dword [ebx + 4]
jmp 0x437e35
lea eax, [ebx + 4]
mov edx, dword [ebp + 0x10]
fild dword [ebp + 0xc]
sub edx, dword [edi + 4]
push ecx
fstp dword [esp + 0x20]
add edx, 1
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
push eax
fadd dword [esi + 0xc]
fld qword [0x5aa7f0]
fadd st(1), st(0)
fxch st(1)
call fcn.005690a0
fld dword [esp + 0x24]
fadd dword [esi + 8]
push eax
faddp st(1)
call fcn.005690a0
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
cmp byte [edi + 0x1d], 0
je 0x437ed3
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x437e90
mov eax, dword [ebx + 4]
jmp 0x437e93
lea eax, [ebx + 4]
push ecx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [edi + 4]
push eax
add ecx, 1
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fadd dword [esi + 0xc]
fadd qword [0x5aa7f0]
call fcn.005690a0
fld dword [esp + 0x24]
fadd dword [esi + 8]
push eax
fadd qword [0x5ba898]
call fcn.005690a0
mov edx, dword [esp + 0x1c]
push eax
push edx
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [esp + 0x28]
mov eax, ecx
call fcn.00404a70
xor edx, edx
mov dh, al
mov eax, ecx
call fcn.00404a60
mov dl, al
mov eax, ecx
shl edx, 8
call fcn.00404a50
mov ecx, dword [esp + 0x10]
movzx eax, al
or edx, eax
push edx
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
lea eax, [ebx + 4]
mov dword [esp + 0x14], eax
jb 0x437f18
mov eax, dword [eax]
mov edx, dword [ebp + 0x10]
fild dword [ebp + 0xc]
sub edx, dword [edi + 4]
push ecx
add edx, 1
fstp dword [esp + 0x20]
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
push eax
fadd dword [esi + 0xc]
call fcn.005690a0
fld dword [esp + 0x24]
fadd dword [esi + 8]
push eax
call fcn.005690a0
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
cmp byte [edi + 0x1d], 0
je 0x437fa8
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x437f6a
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x437f6e
mov eax, dword [esp + 0x14]
push ecx
push eax
mov eax, dword [ebp + 0x10]
sub eax, dword [edi + 4]
add eax, 1
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fadd dword [esi + 0xc]
call fcn.005690a0
fld dword [esp + 0x24]
fadd dword [esi + 8]
push eax
fadd qword [0x5aa7f0]
call fcn.005690a0
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov esi, dword [esp + 0x18]
call fcn.0040c340
mov ecx, esi
jmp 0x437fda
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x7c], 0
jle 0x4384b1
mov eax, dword [ecx + 0x70]
mov edx, dword [eax]
push 0
push 1
add ecx, 0x80
push ecx
push 0
push eax
mov eax, dword [edx + 0x64]
call eax
jmp 0x4384b1
cmp dword [esi + 4], 0x5dd050
je 0x4384b1
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [edi + 0x14]
mov esi, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x1c]
push ebx
mov ecx, edi
call eax
mov edx, dword [edi + 0xc]
mov ecx, eax
xor eax, eax
push eax
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], ecx
neg edx
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x58], edx
push eax
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], eax
push esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov word [esp + 0x68], 1
mov dword [esp + 0x6c], eax
mov word [esp + 0x6a], 0x20
mov dword [esp + 0x5c], 0x28
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push 0
push 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
push eax
push 0
lea ecx, [esp + 0x54]
push ecx
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea edx, [esp + 0x70]
push edx
push esi
call dword [sym.imp.USER32.dll_FillRect]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [edi + 0x1c], 0
je 0x43815e
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x43812a
mov eax, dword [ebx + 4]
jmp 0x43812d
lea eax, [ebx + 4]
push ecx
push eax
push 1
push 1
push esi
call dword [sym.imp.GDI32.dll_TextOutA]
cmp byte [edi + 0x1d], 0
je 0x43815e
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x43814e
mov eax, dword [ebx + 4]
jmp 0x438151
lea eax, [ebx + 4]
push ecx
push eax
push 1
push 2
push esi
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [esp + 0x28]
mov eax, ecx
call fcn.00404a70
xor edx, edx
mov dh, al
mov eax, ecx
call fcn.00404a60
mov dl, al
mov eax, ecx
shl edx, 8
call fcn.00404a50
movzx eax, al
or edx, eax
push edx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
lea eax, [ebx + 4]
mov dword [esp + 0x14], eax
jb 0x43819f
mov eax, dword [eax]
push ecx
push eax
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_TextOutA]
cmp byte [edi + 0x1d], 0
je 0x4381d4
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x4381c3
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x4381c7
mov eax, dword [esp + 0x14]
push ecx
push eax
push 0
push 1
push esi
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x20]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 4
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea edx, [esp + 0x70]
push edx
push esi
call dword [sym.imp.USER32.dll_FillRect]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [edi + 0x1c], 0
je 0x438261
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
mov eax, dword [esp + 0x14]
jb 0x43822c
mov eax, dword [eax]
push ecx
push eax
push 1
push 1
push esi
call dword [sym.imp.GDI32.dll_TextOutA]
cmp byte [edi + 0x1d], 0
je 0x438261
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x438250
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x438254
mov eax, dword [esp + 0x14]
push ecx
push eax
push 1
push 2
push esi
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [esp + 0x28]
mov eax, ecx
call fcn.00404a70
xor edx, edx
mov dh, al
mov eax, ecx
call fcn.00404a60
mov dl, al
mov eax, ecx
shl edx, 8
call fcn.00404a50
movzx eax, al
or edx, eax
push edx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x4382a1
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x4382a5
mov eax, dword [esp + 0x14]
push ecx
push eax
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_TextOutA]
cmp byte [edi + 0x1d], 0
je 0x4382d4
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
mov eax, dword [esp + 0x14]
jb 0x4382c7
mov eax, dword [eax]
push ecx
push eax
push 0
push 1
push esi
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push esi
call ebx
mov edx, dword [esp + 0x30]
push edx
push esi
call ebx
lea ecx, [esp + 0x7c]
call fcn.0042e330
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
push eax
push ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0x108], 0
call fcn.00431090
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
imul eax, ebx
test eax, eax
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ecx
jle 0x438447
jmp 0x438340
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
mov eax, dword [eax]
cmp edx, eax
jne 0x438359
or edx, 0xff000000
mov dword [ebx], edx
jmp 0x438424
mov ecx, edx
and ecx, 0xffffff
cmp ecx, 0xffffff
jne 0x438378
test ecx, eax
jne 0x438378
mov dword [ebx], 0
jmp 0x438424
and edx, 0xff
and eax, 0xff
mov ecx, eax
imul eax, eax, 0xff
sub ecx, edx
mov edx, dword [esp + 0x10]
movzx edi, byte [edx + 1]
movzx edx, byte [ebx + 1]
movzx ebx, byte [ebx + 2]
sub edi, edx
mov edx, dword [esp + 0x10]
movzx edx, byte [edx + 2]
sub edx, ebx
add edx, 0xff
mov dword [esp + 0x24], edx
xor edx, edx
add ecx, 0xff
div ecx
mov ebx, dword [esp + 0x10]
xor edx, edx
add edi, 0xff
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 1]
imul eax, eax, 0xff
div edi
xor edx, edx
mov dword [esp + 0x30], eax
movzx eax, byte [ebx + 2]
imul eax, eax, 0xff
div dword [esp + 0x24]
cmp edi, ecx
mov edx, edi
jl 0x4383f5
mov edx, ecx
mov ebx, dword [esp + 0x24]
cmp ebx, edx
jge 0x438401
mov ecx, ebx
jmp 0x438407
cmp edi, ecx
jge 0x438407
mov ecx, edi
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, dword [esp + 0x30]
shl ecx, 8
or ecx, dword [esp + 0x14]
mov dword [ebx], ecx
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], 4
sub eax, 1
add ebx, 4
test eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], eax
jg 0x438340
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
add eax, eax
add eax, eax
push eax
push ecx
lea ecx, [esp + 0x84]
call fcn.004310d0
push eax
call fcn.0056b730
mov edx, dword [ebp + 0x10]
sub edx, dword [edi + 4]
mov eax, dword [ebp + 0xc]
add esp, 0xc
push edx
push eax
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.00425e80
mov edx, dword [esp + 0x1c]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call edi
mov eax, dword [esp + 0x20]
push eax
call edi
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x100], 0xffffffff
call fcn.0042e690
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.005697e2
mov esp, ebp
pop ebp
ret 0x18