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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57849d
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push esi
mov esi, ecx
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x43f2e9
push edi
lea ecx, [esp + 0x18]
call fcn.00572d84
lea ecx, [esp + 0x88]
mov dword [esp + 0xb8], 0
call fcn.00572d84
mov edi, dword [esp + 0xc0]
mov byte [esp + 0xb8], 1
test edi, edi
jne 0x43ed24
xor eax, eax
jmp 0x43ed27
mov eax, dword [edi + 4]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
push eax
call ebx
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CDC::Attach
test edi, edi
jne 0x43ed44
xor eax, eax
jmp 0x43ed47
mov eax, dword [edi + 4]
push eax
call ebx
push eax
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x43ed70
mov eax, dword [esi + 0xe4]
mov ebx, 0xc0c0c0
test eax, eax
jne 0x43ed73
mov ebx, dword [esi + 0x40]
mov ebp, dword [esp + 0xcc]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 4]
mov edi, dword [ebp]
sub eax, ecx
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0xcc]
sub ecx, edi
push ecx
lea edi, [esi + 0xbc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
test edi, edi
je 0x43edb2
mov edi, dword [edi + 4]
mov edx, dword [esp + 0x24]
push edi
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0xf4]
xor edi, edi
cmp eax, edi
je 0x43ede9
cmp dword [esi + 0xe4], edi
jne 0x43ede9
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0x20]
push eax
push ebp
push ebp
push ecx
mov ecx, esi
call fcn.0043e280
jmp 0x43edf4
push ebx
push ebp
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CDC::FillSolidRect_1
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x10], edi
cmp eax, edi
je 0x43f2a4
jmp 0x43ee12
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0xcc]
xor edi, edi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 4]
mov ecx, dword [esp + 0x10]
sub edx, ebx
cmp ecx, edx
jg 0x43f2a4
mov ecx, dword [eax]
add eax, 8
mov dword [esp + 0x3c], ecx
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0x591b10
lea ecx, [esp + 0x50]
mov byte [esp + 0xc0], 3
xor ebx, ebx
mov dword [esp + 0x30], edi
call fcn.00572d84
mov eax, dword [esp + 0xc8]
mov byte [esp + 0xc0], 4
cmp eax, edi
jne 0x43ee73
xor eax, eax
jmp 0x43ee76
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CDC::Attach
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 0x5916cc
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xc0], 5
mov eax, dword [ecx - 8]
test eax, eax
je 0x43f0e9
mov al, byte [eax + ecx - 1]
mov dl, byte [esi + 0x65]
cmp al, dl
jne 0x43eef7
push str.Arial
push 6
push 2
mov eax, dword [esi + 0x58]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push 0x2bc
push ebp
push ebp
push ebp
push eax
mov edi, 1
mov dword [esi + 0xb0], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esi + 0x48]
jmp 0x43f0cf
cmp al, byte [esi + 0x66]
jne 0x43ef52
push str.Arial
push 6
push 2
mov eax, dword [esi + 0x5c]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push eax
mov edi, 1
mov dword [esi + 0xb0], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esi + 0x4c]
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CDC::SetTextColor
lea edx, [esp + 0x14]
push edx
jmp 0x43f0de
cmp al, byte [esi + 0x64]
jne 0x43efad
push str.Arial
push 6
push 2
mov eax, dword [esi + 0x54]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push eax
mov edi, 1
mov dword [esi + 0xb0], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esi + 0x44]
lea ecx, [esp + 0x20]
push eax
call sub.MFC42.DLL_CDC::SetTextColor
lea ecx, [esp + 0x14]
push ecx
jmp 0x43f0de
cmp al, byte [esi + 0x67]
jne 0x43f095
mov ecx, dword [ecx - 8]
lea edx, [esp + 0x40]
dec ecx
push ecx
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Left
mov eax, dword [esp + 0x40]
mov byte [esp + 0xc0], 6
push eax
push 2
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CGdiObject::Attach
test eax, eax
je 0x43f082
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xa0]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xa4]
mov dword [esi + 0xc8], edx
mov edx, dword [esp + 0xcc]
mov dword [esi + 0xc4], ebp
mov ecx, dword [edx + 8]
mov eax, ecx
sub eax, dword [edx]
cdq
sub eax, edx
mov edx, eax
mov eax, ebp
sar edx, 1
mov dword [esp + 0x30], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
neg eax
sub eax, edx
mov edx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0xcc], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0xd0], eax
lea eax, [esp + 0x34]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x30], eax
mov ebp, 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], 5
call sub.MFC42.DLL_CString::CString
jmp 0x43f0e9
push str.Arial
push 6
push 2
mov eax, dword [esi + 0x60]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x64
push 0
push 0
push 0
push eax
mov dword [esi + 0xb0], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esi + 0x50]
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CDC::SetTextColor
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CDC::SelectObject_3
mov ebx, eax
push 1
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CDC::SetBkMode
test ebp, ebp
jne 0x43f1b7
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx]
mov dword [esp + 0x60], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x64], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x68], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx - 8]
mov edx, eax
sub edx, edi
je 0x43f185
lea edx, [esp + 0x60]
push 0x821
sub eax, edi
push edx
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x48]
push edx
mov eax, dword [ecx - 8]
sub eax, edi
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x43f214
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x70]
push edx
push 1
push 0x5e356c
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x43f214
mov edx, dword [esi + 0xd0]
mov ecx, dword [esi + 0xc8]
mov edi, dword [esi + 0xcc]
mov eax, edx
add eax, ecx
mov ecx, dword [esi + 0xc4]
add ecx, edi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], eax
lea edx, [esp + 0x78]
mov dword [esp + 0x80], ecx
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x84], edi
call fcn.0043ddf0
mov edx, dword [esi + 0xc8]
mov eax, dword [esp + 0x10]
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43f22a
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x54]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
test ebx, ebx
je 0x43f238
push ebx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CDC::SelectObject_3
mov ebx, 0x5916f4
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x5916e0
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], edi
mov byte [esp + 0xc0], 3
call sub.MFC42.DLL_CDC::CDC
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0xc0], 8
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edi
mov byte [esp + 0xc0], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x43ee05
xor edi, edi
mov eax, dword [esp + 0x44]
pop ebp
cmp eax, edi
pop ebx
jne 0x43f2b2
xor eax, eax
jmp 0x43f2b5
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x1c]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x88]
mov byte [esp + 0xb8], 0
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x18]
mov dword [esp + 0xb8], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
pop edi
mov ecx, dword [esp + 0xac]
pop esi
mov dword fs:[0], ecx
add esp, 0xb4
ret 8