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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43523c
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x130]
mov esi, ecx
lea ecx, [esp + 0x74]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x58]
test eax, eax
je 0x404251
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x84]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x18c]
lea edx, [esp + 0x74]
push ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::FillSolidRect
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1200
push eax
call ebx
mov ecx, dword [esi + 0x184]
mov dword [esp + 0x24], eax
push ecx
push 1
push 0
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CPen::CPen
mov edx, dword [esi + 0x188]
lea ecx, [esp + 0x2c]
push edx
push 1
push 0
mov dword [esp + 0x134], 0
call sub.MFC42.DLL_CPen::CPen
mov eax, dword [edi + 8]
push 1
push eax
mov byte [esp + 0x130], 1
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x31
push ecx
mov dword [esp + 0x4c], eax
call ebx
mov ebp, dword [edi]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
push eax
mov ecx, edi
call dword [ebp + 0x30]
mov edx, dword [edi]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x18c]
mov ecx, edi
push eax
call dword [edx + 0x34]
mov eax, dword [esi + 0x190]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
jle 0x4041ed
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x20]
push 0
push ecx
push 0x120f
push edx
call ebx
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x94]
mov ebp, eax
push ecx
push ebp
lea eax, [esp + 0xd8]
push 0x1203
push edx
mov dword [esp + 0xa4], 0x37
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], 0x50
call ebx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push eax
push ebp
push 0x1207
push ecx
call ebx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
cmp edx, eax
jge 0x404004
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x7c]
cmp eax, ecx
jg 0x404194
mov eax, dword [esp + 0xa8]
test ah, 0x80
je 0x40407b
mov ecx, esi
mov dword [esp + 0x44], 4
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
mov ecx, dword [esi + 0x20]
mov edx, dword [edi + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], 1
mov dword [esp + 0x70], edx
call dword [eax + 0xc0]
jmp 0x40410d
mov eax, dword [esi + 0x44]
push 0
neg eax
lea edx, [esp + 0x14]
push eax
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esi + 0x168]
xor edx, edx
push ecx
mov ecx, dword [esi + 0x16c]
cmp ebp, ecx
lea ecx, [esp + 0x98]
sete dl
push edx
push ecx
mov ecx, dword [esp + 0x1c]
sub esp, 0x10
mov edx, esp
mov eax, dword [esi]
push edi
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0xc], ecx
mov ecx, esi
call dword [eax + 0xc4]
mov eax, dword [esi + 0x44]
push 0
lea edx, [esp + 0x14]
push eax
push edx
call dword [sym.imp.USER32.dll_InflateRect]
test byte [esi + 0x15c], 1
je 0x40410d
cmp dword [esi + 0x78], ebp
jne 0x40410d
test byte [esi + 0x8c], 2
je 0x40410d
mov ecx, dword [edi + 4]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvertRect]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
dec edx
cmp eax, edx
jge 0x404194
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add ecx, 2
dec edx
push ecx
lea eax, [esp + 0xc4]
push edx
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add ecx, 0xfffffffe
dec edx
push ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add ecx, 2
lea eax, [esp + 0xc8]
push ecx
push edx
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add ecx, 0xfffffffe
push ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x98]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add ebp, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ebp
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x403f8b
mov eax, ebp
test eax, eax
jle 0x4041ed
mov ecx, dword [esp + 0x84]
mov edx, dword [esi + 0x188]
add eax, ecx
push edx
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x184]
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::Draw3dRect
mov eax, dword [esp + 0x40]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject_1
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x43a664
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x128], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x2c], 0x43a650
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x128], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x11c
ret 4