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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x68]
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 0x43d60f
cmp edi, 0x1e
jge 0x43d60f
push esi
push edi
call fcn.0043bfc0
add esp, 4
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x43d60e
lea eax, [esp + 0x4c]
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 + 0x50]
push ecx
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
add edx, 2
push edx
mov edx, dword [esp + 0x50]
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 + 0x34], eax
je 0x43d22a
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ecx, dword [0x613708]
imul edi, edi, 0x74
mov eax, dword [edi + 0x612918]
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
push ebp
push ecx
push 1
push 0
mov dword [esp + 0x40], eax
call edi
mov edx, dword [0x61370c]
push edx
push 1
push 0
mov dword [esp + 0x34], eax
call edi
mov dword [esp + 0x24], eax
mov eax, dword [0x613718]
push eax
push 1
push 0
call edi
mov ecx, dword [0x613710]
push ecx
push 1
push 0
mov dword [esp + 0x2c], 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 + 0x1c], eax
mov dword [esp + 0x14], 0
jmp 0x43d2a0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
push edx
lea eax, [esp + 0x54]
push eax
push 0
push ecx
call fcn.0043d070
add esp, 0x10
test eax, eax
mov dword [esp + 0x18], eax
jl 0x43d5b9
mov edx, dword [esp + 0x28]
push edx
push esi
call edi
mov ecx, dword [esp + 0x50]
push 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
push eax
push ecx
push esi
call ebp
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push edx
push eax
push esi
call ebx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
push ecx
push edx
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call edi
mov ecx, dword [esp + 0x20]
push ecx
push esi
call edi
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
push 0
dec edx
push edx
inc eax
push eax
push esi
call ebp
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
inc ecx
push ecx
inc edx
push edx
push esi
call ebx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
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 + 0x24]
push eax
push esi
call edi
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
push 0
push ecx
push edx
push esi
mov dword [esp + 0x20], eax
call ebp
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
push ecx
push esi
call ebx
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
push edx
push eax
push esi
call ebx
mov ecx, dword [esp + 0x10]
push ecx
push esi
call edi
mov edx, dword [esp + 0x1c]
push edx
push esi
call edi
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
push 0
inc eax
push eax
dec ecx
push ecx
push esi
call ebp
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
dec edx
push edx
dec eax
push eax
push esi
call ebx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
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 + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
add ecx, 2
add edx, 2
dec eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
dec ecx
cmp eax, 1
mov dword [esp + 0x60], edx
mov dword [esp + 0x6c], ecx
jne 0x43d51f
push 0x5e86fc
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 + 0x38], eax
call edi
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
push 0x5e6a4c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x50]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43d462
sub eax, ecx
lea ecx, [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
sub eax, ecx
mov ecx, dword [esp + 0x40]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
sar eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
sub eax, ecx
sub eax, edx
cdq
sub eax, edx
push 0
sar eax, 1
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax*4 + 0x612870]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
lea eax, [esp + 0x44]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43d4d2
push 0
sub eax, ecx
mov ecx, dword [esp + 0x68]
push eax
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x70]
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 + 0x2c]
push edx
push esi
call edi
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x43d5b9
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx*4 + 0x612830]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax*4 + 0x612830]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push 0
push 0
push 0x5e6c98
lea edx, [esp + 0x6c]
push edx
push 6
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
dec edx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x5c]
dec eax
add ecx, 2
add edx, 2
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x18]
xor eax, eax
cmp edx, ecx
mov ecx, dword [0x613718]
sete al
lea edx, [esp + 0x60]
push eax
mov eax, dword [0x613704]
push edx
push eax
push ecx
push esi
call fcn.0043c000
add esp, 0x14
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x10
mov dword [esp + 0x14], eax
jl 0x43d2a0
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
mov ecx, dword [esp + 0x24]
push ecx
call edi
mov edx, dword [esp + 0x28]
push edx
call edi
mov ebx, dword [esp + 0x38]
test ebx, ebx
pop ebp
je 0x43d602
push 0
push esi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push ebx
call edi
mov eax, dword [esp + 0x70]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop edi
pop ebx
add esp, 0x60
ret