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

Disassembly:
sub esp, 0x188
push ebx
mov ebx, dword [esp + 0x190]
push edi
push 0
push 0
push 0x147
push 0x8f
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov edi, eax
test edi, edi
jl 0x43dd06
cmp edi, 0x1e
jge 0x43dd06
push esi
push edi
call fcn.0043c660
add esp, 4
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x43dd05
lea eax, [esp + 0x10]
push eax
push 0x91
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add edx, 2
push edx
mov edx, dword [esp + 0x14]
add eax, 2
push eax
add ecx, 0xfffffffe
push ecx
add edx, 0xfffffffe
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
test eax, eax
mov dword [esp + 0x50], eax
je 0x43d910
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ecx, dword [0x63cb08]
imul edi, edi, 0x274
mov eax, dword [edi + 0x638318]
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
push ebp
push ecx
push 1
push 0
mov dword [esp + 0x64], eax
call edi
mov edx, dword [0x63cb0c]
push edx
push 1
push 0
mov dword [esp + 0x50], eax
call edi
mov dword [esp + 0x48], eax
mov eax, dword [0x63cb18]
push eax
push 1
push 0
call edi
mov ecx, dword [0x63cb10]
push ecx
push 1
push 0
mov dword [esp + 0x48], eax
call edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [sym.imp.GDI32.dll_MoveToEx]
mov ebx, dword [sym.imp.GDI32.dll_LineTo]
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x19c]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push ecx
call fcn.0043d750
add esp, 0x10
test eax, eax
mov dword [esp + 0x24], eax
jl 0x43dcad
mov edx, dword [esp + 0x44]
push edx
push esi
call edi
mov ecx, dword [esp + 0x14]
push 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push esi
call ebp
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
push esi
call ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call edi
mov ecx, dword [esp + 0x3c]
push ecx
push esi
call edi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
push 0
dec edx
push edx
inc eax
push eax
push esi
call ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc ecx
push ecx
inc edx
push edx
push esi
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
push eax
dec ecx
push ecx
push esi
call ebx
mov edx, dword [esp + 0x10]
push edx
push esi
call edi
mov eax, dword [esp + 0x48]
push eax
push esi
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push edx
push esi
mov dword [esp + 0x20], eax
call ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push esi
call ebx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push edx
push eax
push esi
call ebx
mov ecx, dword [esp + 0x10]
push ecx
push esi
call edi
mov edx, dword [esp + 0x40]
push edx
push esi
call edi
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push 0
inc eax
push eax
dec ecx
push ecx
push esi
call ebp
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
dec edx
push edx
dec eax
push eax
push esi
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
dec ecx
push ecx
inc edx
push edx
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add ecx, 2
add edx, 2
dec eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1a0]
dec ecx
cmp eax, 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], ecx
jne 0x43dc13
push 0x5f679c
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x48
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
push esi
mov dword [esp + 0x58], eax
call edi
mov edx, dword [esp + 0x28]
push edx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x68]
push 0x5f4a40
push eax
call fcn.005d9929
lea eax, [esp + 0x70]
add esp, 0xc
lea ecx, [eax + 1]
jmp 0x43db50
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43db50
push 0
sub eax, ecx
lea ecx, [esp + 0x60]
push ecx
push 0
push eax
lea edx, [esp + 0x74]
push edx
push esi
call fcn.0052a000
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
sub eax, ecx
mov ecx, dword [esp + 0x78]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x50]
sub eax, ecx
sub eax, edx
cdq
add esp, 0x18
sub eax, edx
push 0
sar eax, 1
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax*4 + 0x638070]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
lea eax, [esp + 0x64]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43dbc6
push 0
sub eax, ecx
mov ecx, dword [esp + 0x34]
push eax
lea edx, [esp + 0x6c]
push edx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x3c]
add edx, ecx
mov ecx, dword [esp + 0x20]
push 6
push edx
add ecx, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov edx, dword [esp + 0x4c]
push edx
push esi
call edi
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x43dcad
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx*4 + 0x638030]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax*4 + 0x638030]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 0x5f4c90
lea edx, [esp + 0x38]
push edx
push 6
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
dec edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
dec eax
add ecx, 2
add edx, 2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x24]
xor eax, eax
cmp edx, ecx
mov ecx, dword [0x63cb18]
sete al
lea edx, [esp + 0x2c]
push eax
mov eax, dword [0x63cb04]
push edx
push eax
push ecx
push esi
call fcn.0043c6b0
add esp, 0x14
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 0x10
mov dword [esp + 0x28], eax
jl 0x43d984
mov edx, dword [esp + 0x40]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call edi
mov eax, dword [esp + 0x3c]
push eax
call edi
mov ecx, dword [esp + 0x48]
push ecx
call edi
mov edx, dword [esp + 0x44]
push edx
call edi
mov ebx, dword [esp + 0x54]
test ebx, ebx
pop ebp
je 0x43dcf6
push 0
push esi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push ebx
call edi
mov eax, dword [esp + 0x198]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop edi
pop ebx
add esp, 0x188
ret