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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ea42b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x6396a8]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x6396a8]
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 0x63df14
push 0x63def8
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.005b50f7
add esp, 0x14
test eax, eax
mov dword [esp + 0x18], eax
je 0x4380e1
call fcn.0040c530
test eax, eax
mov dword [esp + 0x24], eax
je 0x4380e1
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x7c], 0
jle 0x437e5f
mov eax, dword [eax + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x80]
push 0
push eax
call edx
mov ecx, dword [0x6405cc]
mov eax, dword [ecx + 0x320]
mov edx, dword [esi + 4]
cmp edx, dword [eax + 0x60]
jne 0x437e8e
call fcn.00454430
test al, al
je 0x437e8e
mov eax, dword [ecx + 0x36c]
mov esi, dword [eax + 0x30]
call fcn.00408cd0
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 0x4380b6
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 0x437fb3
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 0x437f12
mov eax, dword [ebx + 4]
jmp 0x437f15
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 [0x60bd40]
fadd st(1), st(0)
fxch st(1)
call fcn.005b3030
fld dword [esp + 0x24]
fadd dword [esi + 8]
push eax
faddp st(1)
call fcn.005b3030
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
cmp byte [edi + 0x1d], 0
je 0x437fb3
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x437f70
mov eax, dword [ebx + 4]
jmp 0x437f73
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 [0x60bd40]
call fcn.005b3030
fld dword [esp + 0x24]
fadd dword [esi + 8]
push eax
fadd qword [0x613ec8]
call fcn.005b3030
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.00404a10
xor edx, edx
mov dh, al
mov eax, ecx
call fcn.00404a00
mov dl, al
mov eax, ecx
shl edx, 8
call fcn.004049f0
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 0x437ff8
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.005b3030
fld dword [esp + 0x24]
fadd dword [esi + 8]
push eax
call fcn.005b3030
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
cmp byte [edi + 0x1d], 0
je 0x438088
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x43804a
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x43804e
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.005b3030
fld dword [esp + 0x24]
fadd dword [esi + 8]
push eax
fadd qword [0x60bd40]
call fcn.005b3030
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.0040c360
mov ecx, esi
jmp 0x4380ba
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x7c], 0
jle 0x438591
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 0x438591
cmp dword [esi + 4], 0x6408c0
je 0x438591
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 0x43823e
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x43820a
mov eax, dword [ebx + 4]
jmp 0x43820d
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 0x43823e
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x43822e
mov eax, dword [ebx + 4]
jmp 0x438231
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.00404a10
xor edx, edx
mov dh, al
mov eax, ecx
call fcn.00404a00
mov dl, al
mov eax, ecx
shl edx, 8
call fcn.004049f0
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 0x43827f
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 0x4382b4
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x4382a3
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x4382a7
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 0x438341
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 0x43830c
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 0x438341
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
jb 0x438330
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x438334
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.00404a10
xor edx, edx
mov dh, al
mov eax, ecx
call fcn.00404a00
mov dl, al
mov eax, ecx
shl edx, 8
call fcn.004049f0
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 0x438381
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x438385
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 0x4383b4
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [ebx + 0x14]
mov eax, dword [esp + 0x14]
jb 0x4383a7
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.0042e410
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.00431170
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 0x438527
jmp 0x438420
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
mov eax, dword [eax]
cmp edx, eax
jne 0x438439
or edx, 0xff000000
mov dword [ebx], edx
jmp 0x438504
mov ecx, edx
and ecx, 0xffffff
cmp ecx, 0xffffff
jne 0x438458
test ecx, eax
jne 0x438458
mov dword [ebx], 0
jmp 0x438504
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 0x4384d5
mov edx, ecx
mov ebx, dword [esp + 0x24]
cmp ebx, edx
jge 0x4384e1
mov ecx, ebx
jmp 0x4384e7
cmp edi, ecx
jge 0x4384e7
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 0x438420
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.004311b0
push eax
call fcn.005b92e0
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.00425eb0
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.0042e770
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.005b2f9b
mov esp, ebp
pop ebp
ret 0x18