Function at 0x418070
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4326ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x2c]
call fcn.0042ffb4
xor ebx, ebx
mov dword [esp + 0x98], 0x435858
mov dword [esp + 0x110], ebx
mov dword [esp + 0x9c], ebx
mov esi, dword [ebp + 8]
mov byte [esp + 0x110], 1
cmp esi, ebx
jne 0x4180cd
xor eax, eax
jmp 0x4180d0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::Attach
cmp eax, ebx
je 0x418155
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
push ebx
push ecx
mov ecx, edi
call dword [eax + 0xe4]
lea ebx, [edi + 0x4c40c]
mov ecx, edi
push ebx
call fcn.0041c6e0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, ecx
mov ecx, dword [ebx + 8]
push eax
sub ecx, edx
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x9c]
call sub.MFC42.DLL_CGdiObject::Attach
test eax, eax
je 0x418155
mov ebx, dword [esp + 0x9c]
lea eax, [esp + 0x98]
neg eax
sbb eax, eax
and eax, ebx
push eax
mov eax, dword [esp + 0x34]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x104], eax
mov ebx, dword [edi + 0x40]
mov eax, dword [ebx + 0x5c]
test eax, eax
jne 0x418c2f
lea ecx, [esp + 0xd4]
mov eax, 2
push ecx
mov ecx, edi
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
call fcn.0041c5e0
push 0x808080
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CBrush::CBrush
push 0xf0fbff
lea ecx, [esp + 0x60]
mov byte [esp + 0x114], 2
call sub.MFC42.DLL_CBrush::CBrush
mov edx, dword [edi + 0x4c414]
mov eax, 0xfffffffe
sub edx, dword [edi + 0x4c40c]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc4], eax
add edx, 2
mov dword [esp + 0xe4], eax
mov dword [esp + 0xbc], edx
mov edx, dword [edi + 0x4c418]
sub edx, dword [edi + 0x4c410]
mov eax, dword [edi + 0x4c414]
xor ecx, ecx
mov dword [esp + 0xd0], edx
mov edx, dword [edi + 0x4c418]
sub edx, dword [edi + 0x4c410]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xe8], edx
mov edx, dword [edi + 0x4c418]
sub edx, dword [edi + 0x4c410]
mov dword [esp + 0xf8], ecx
mov ecx, dword [edi + 0x4c418]
add edx, 2
mov dword [esp + 0xf0], edx
mov edx, dword [edi + 0x4c40c]
sub eax, edx
mov edx, dword [edi + 0x4c410]
add eax, 2
sub ecx, edx
mov edx, dword [edi + 0x4c414]
mov dword [esp + 0xec], eax
mov eax, dword [edi + 0x4c40c]
mov dword [esp + 0x100], ecx
mov ecx, dword [edi + 0x4c40c]
sub edx, eax
mov eax, dword [edi + 0x4c414]
mov dword [esp + 0xf4], edx
sub eax, ecx
mov edx, dword [esp + 0x58]
add eax, 2
lea ecx, [esp + 0xb4]
mov dword [esp + 0xfc], eax
lea eax, [esp + 0x54]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x54]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x30]
push eax
lea eax, [esp + 0xc8]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0xe4]
push eax
mov eax, dword [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
neg eax
sbb eax, eax
lea ecx, [esp + 0xf4]
and eax, edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
mov dword [esp + 0xb0], eax
mov eax, dword [ebx + 0x70]
cmp eax, ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
jne 0x418354
mov dword [esp + 0xa4], ecx
jmp 0x418378
cmp eax, 1
jne 0x418366
mov dword [esp + 0xa4], 2
jmp 0x418378
sub eax, 2
neg eax
sbb eax, eax
and eax, 2
inc eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0x435818
lea ecx, [esp + 0xa4]
mov byte [esp + 0x110], 4
push ecx
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
push eax
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [edi + 0x4c414]
mov eax, dword [edi + 0x4c40c]
sub edx, eax
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fidiv dword [ebx + 0x64]
call sub.MSVCRT.dll__ftol
mov ecx, dword [edi + 0x4c410]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x4c418]
sub eax, ecx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fidiv dword [ebx + 0x68]
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x74]
mov dword [esp + 0x28], eax
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::SelectObject_1
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [ebx + 0x64]
mov dword [esp + 0x14], 0
dec edx
test edx, edx
jle 0x418475
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
push 0
lea edx, [esp + 0x80]
push ecx
push edx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [edi + 0x4c418]
mov edx, dword [edi + 0x4c410]
mov ecx, dword [esp + 0x10]
sub eax, edx
push eax
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x64]
inc eax
dec ecx
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x418421
mov edx, dword [ebx + 0x68]
mov dword [esp + 0x14], 0
dec edx
test edx, edx
jle 0x4184de
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x7c]
push ecx
push 0
push edx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [edi + 0x4c414]
mov edx, dword [edi + 0x4c40c]
mov eax, dword [esp + 0x10]
sub ecx, edx
push eax
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x68]
inc eax
dec ecx
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41848d
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
lea eax, [edi + 0x2afe4]
mov dword [esp + 0x10], 0x4d
mov dword [esp + 0x44], eax
lea eax, [ebx + 0xb0]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
push str.________
mov eax, dword [ecx - 0x28]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4186f5
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
mov edx, dword [eax]
mov eax, dword [eax + 4]
push edx
push eax
push 0
call sub.MFC42.DLL_CPen::CPen
lea ecx, [esp + 0x4c]
mov byte [esp + 0x110], 5
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::SelectObject_1
mov edx, dword [edi + 0x4c414]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x4c40c]
mov ecx, dword [edi + 0x4c410]
sub edx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 1
fild dword [esp + 0x18]
fmul qword [0x4357c8]
fstp qword [esp + 0x8c]
fld qword [eax - 0x10]
fsub qword [eax - 8]
mov eax, dword [edi + 0x4c418]
sub eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
fild dword [esp + 0x18]
fdivp st(1)
fstp qword [esp + 0x7c]
mov edx, dword [esp + 0x20]
cmp dword [edx], 0
je 0x41869f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add eax, ecx
fld qword [ebx + eax*8 - 8]
fsub qword [edx - 8]
fdiv qword [esp + 0x7c]
call sub.MSVCRT.dll__ftol
mov ecx, dword [edi + 0x4c418]
mov edx, eax
mov eax, ecx
sub eax, edx
mov edx, dword [edi + 0x4c410]
sub eax, edx
sub ecx, edx
cmp eax, ecx
jle 0x4185f6
mov eax, ecx
test eax, eax
jge 0x4185fc
xor eax, eax
push eax
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul qword [esp + 0x90]
call sub.MSVCRT.dll__ftol
mov ecx, dword [edi + 0x4c414]
lea edx, [esp + 0x70]
sub ecx, eax
mov eax, dword [edi + 0x4c40c]
sub ecx, eax
push ecx
push edx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add eax, ecx
fld qword [ebx + eax*8]
fsub qword [edx - 8]
fdiv qword [esp + 0x7c]
call sub.MSVCRT.dll__ftol
mov ecx, dword [edi + 0x4c418]
mov edx, eax
mov eax, ecx
sub eax, edx
mov edx, dword [edi + 0x4c410]
sub eax, edx
sub ecx, edx
cmp eax, ecx
jle 0x41866e
mov eax, ecx
test eax, eax
jge 0x418674
xor eax, eax
fild dword [esp + 0x14]
push eax
fmul qword [esp + 0x90]
call sub.MSVCRT.dll__ftol
mov ecx, dword [edi + 0x4c414]
mov edx, dword [edi + 0x4c40c]
sub ecx, eax
sub ecx, edx
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
inc eax
add edx, 4
cmp eax, 0x258
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
jl 0x4185af
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x2c]
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
mov dword [esp + 0x4c], 0x4346b8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x110], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x110], 4
mov dword [esp + 0x4c], 0x4346a4
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
add edx, 0xfa0
add eax, 0x3e8
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
add edx, 0x30
cmp eax, 0x1f8d
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
jl 0x418508
mov ecx, dword [edi + 0x4c418]
mov edx, dword [edi + 0x4c410]
mov eax, dword [edi + 0x4c40c]
sub ecx, edx
mov edx, dword [edi + 0x4c414]
push 0xcc0020
sub edx, eax
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x38]
push 0
push eax
mov eax, dword [edi + 0x4c410]
push ecx
push edx
push eax
mov eax, dword [edi + 0x4c40c]
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push 2
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
lea eax, [ebx + 0xb0]
lea ecx, [edi + 0x4c344]
mov dword [esp + 0x14], eax
lea edx, [edi + 0x4c320]
lea eax, [ebx + 0x268]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x64], 8
mov eax, dword [esp + 0x14]
push str.________
add eax, 0xffffffec
mov eax, dword [eax - 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x418abe
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0x434bd0
lea ecx, [ebx + 0x2a278]
mov byte [esp + 0x110], 7
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esi]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call dword [edx + 0x30]
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x110], 8
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x88]
mov byte [esp + 0x110], 9
lea eax, [ecx - 0x14]
push eax
push 0x43912c
push edx
call sub.MFC42.DLL_operator_1
push 0x439128
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x118], 0xa
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x114], 0xb
call fcn.0042f8a6
lea ecx, [esp + 0x18]
mov byte [esp + 0x110], 0xa
call fcn.0042f8a0
lea ecx, [esp + 0x88]
mov byte [esp + 0x110], 9
call fcn.0042f8a0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x30]
mov edx, dword [esi + 8]
add esp, 0x10
mov ecx, dword [eax - 8]
push 0
push 0
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_GetTabbedTextExtentA]
movsx eax, ax
mov edx, dword [esi]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ecx
mov ecx, esi
call dword [edx + 0x38]
mov edx, dword [esi]
push 0xd8e9ec
mov ecx, esi
call dword [edx + 0x34]
push 0xd8e9ec
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CBrush::CBrush
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
mov byte [esp + 0x114], 0xc
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x6c]
mov edx, dword [esi + 4]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffffc
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x40]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x7c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx - 8]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x48]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x64]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x28]
mov byte [esp + 0x110], 0xd
mov eax, dword [edx]
cmp eax, 6
ja case.default.0x418987
jmp dword [eax*4 + 0x419624]
push 0x43a668
jmp 0x4189bd
push 0x43a4dc
jmp 0x4189bd
push 0x43a4d8
jmp 0x4189bd
push 0x43a4d4
jmp 0x4189bd
push 0x43a4d0
jmp 0x4189bd
push 0x43a4cc
jmp 0x4189bd
push 0x43a4c8
lea ecx, [esp + 0x20]
call fcn.0042f97e
mov ecx, dword [esp + 0x14]
xor eax, eax
or dl, 0xff
mov al, byte [ecx + 1]
mov ecx, dword [ecx]
shr ecx, 0x10
sub dl, cl
xor ecx, ecx
mov ch, dl
or dl, 0xff
sub dl, al
or al, 0xff
mov cl, dl
mov edx, dword [esp + 0x14]
shl ecx, 8
sub al, byte [edx]
mov edx, dword [esi]
and eax, 0xff
or eax, ecx
mov ecx, esi
push eax
call dword [edx + 0x38]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
mov eax, dword [ecx]
add ecx, 0xfffffffc
mov ecx, dword [ecx]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx - 8]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push eax
mov eax, dword [esp + 0x4c]
mov ecx, esi
push eax
call dword [edx + 0x64]
mov eax, dword [esp + 0xa0]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x110], 0xc
call fcn.0042f8a0
mov dword [esp + 0x6c], 0x4346b8
lea ecx, [esp + 0x6c]
mov byte [esp + 0x110], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], 0x4346a4
mov byte [esp + 0x110], 8
call fcn.0042f8a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x110], 7
call fcn.0042f8a0
mov dword [esp + 0x4c], 0x4346b8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x110], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x4c], 0x4346a4
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
add ecx, 4
add eax, 0x1f40
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x64]
add edx, 0x30
add ecx, 0x10
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x64], eax
jne 0x4187ab
lea edx, [ebx + 0xfc68]
lea eax, [ebx + 0x268]
mov dword [esp + 0x10], edx
lea ecx, [edi + 0x60]
lea edx, [edi + 0x2afe0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x18], 8
mov edx, dword [esp + 0x44]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], 0x258
mov edx, dword [eax]
add eax, 8
mov dword [ecx], edx
mov edx, dword [eax - 4]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x28]
mov dword [ecx], edx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x64]
add edx, 4
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x28]
add edx, 4
add ecx, 8
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
dec edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x20], edx
jne 0x418b44
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
mov eax, 0xfa0
add ecx, eax
add edx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x18]
add ecx, 0x1f40
add eax, 0x1f40
dec edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
jne 0x418b28
mov dword [esp + 0x74], 0x4346b8
lea ecx, [esp + 0x74]
mov byte [esp + 0x110], 0x10
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x74], 0x4346a4
mov dword [esp + 0x5c], 0x4346b8
lea ecx, [esp + 0x5c]
mov byte [esp + 0x110], 0x11
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x5c], 0x4346a4
mov dword [esp + 0x54], 0x4346b8
lea ecx, [esp + 0x54]
mov byte [esp + 0x110], 0x12
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x110], 1
cmp dword [ebx + 0x5c], 1
jne 0x4195b4
mov edx, dword [ebx + 0x74]
mov eax, dword [ebx + 0xb4]
push edx
push eax
push 0
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CPen::CPen
mov ecx, dword [ebx + 0x74]
lea edx, [esp + 0x7c]
mov dword [ebx + 0x78], ecx
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x114], 0x13
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [edi + 0x213a0]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x22340]
lea edx, [esp + 0x54]
push eax
push ecx
push edx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 0x22344]
mov dword [esp + 0x18], 0x257
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x280a0]
test eax, eax
je 0x418cc3
mov eax, ecx
lea ecx, [esp + 0x2c]
mov edx, dword [eax]
mov eax, dword [eax - 0xfa0]
push edx
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, 4
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jne 0x418ca0
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::SelectObject_1
lea edx, [esp + 0xf4]
mov eax, 2
push edx
mov ecx, edi
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
call fcn.0041c5e0
push 0x808080
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CBrush::CBrush
push 0xf0fbff
lea ecx, [esp + 0x60]
mov byte [esp + 0x114], 0x14
call sub.MFC42.DLL_CBrush::CBrush
mov edx, dword [edi + 0x4c414]
mov ecx, 0xfffffffe
sub edx, dword [edi + 0x4c40c]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xc4], ecx
add edx, 2
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xec], edx
mov edx, dword [edi + 0x4c418]
sub edx, dword [edi + 0x4c410]
mov ecx, dword [edi + 0x4c414]
xor eax, eax
mov dword [esp + 0xd0], edx
mov edx, dword [edi + 0x4c418]
sub edx, dword [edi + 0x4c410]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xb8], edx
mov edx, dword [edi + 0x4c418]
sub edx, dword [edi + 0x4c410]
mov dword [esp + 0xd8], eax
mov eax, dword [edi + 0x4c410]
add edx, 2
mov dword [esp + 0xc0], edx
mov edx, dword [edi + 0x4c40c]
sub ecx, edx
mov edx, dword [edi + 0x4c418]
add ecx, 2
sub edx, eax
mov eax, dword [edi + 0x4c414]
mov dword [esp + 0xbc], ecx
mov ecx, dword [edi + 0x4c40c]
mov dword [esp + 0xe0], edx
sub eax, ecx
mov ecx, dword [edi + 0x4c414]
mov dword [esp + 0xd4], eax
mov eax, dword [edi + 0x4c40c]
mov edx, dword [esp + 0x48]
sub ecx, eax
lea eax, [esp + 0x44]
add ecx, 2
neg eax
sbb eax, eax
mov dword [esp + 0xdc], ecx
and eax, edx
lea edx, [esp + 0xe4]
push eax
mov eax, dword [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x44]
neg eax
sbb eax, eax
and eax, edx
push eax
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xc8]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x30]
push eax
lea eax, [esp + 0xb8]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0xd4]
push eax
mov eax, dword [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x70]
mov dword [esp + 0xb0], ecx
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
jne 0x418ed8
mov dword [esp + 0xa4], ecx
jmp 0x418efc
cmp eax, 1
jne 0x418eea
mov dword [esp + 0xa4], 2
jmp 0x418efc
sub eax, 2
neg eax
sbb eax, eax
and eax, 2
inc eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0x435818
lea edx, [esp + 0xa4]
mov byte [esp + 0x110], 0x16
push edx
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
push eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [edi + 0x4c414]
mov ecx, dword [edi + 0x4c40c]
sub eax, ecx
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fidiv dword [ebx + 0x64]
call sub.MSVCRT.dll__ftol
mov ecx, dword [edi + 0x4c418]
mov edx, dword [edi + 0x4c410]
sub ecx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
fidiv dword [ebx + 0x68]
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x2c]
push edx
mov dword [esp + 0x68], eax
call sub.MFC42.DLL_CDC::SelectObject_1
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_CDC::SetBkMode
mov eax, dword [ebx + 0x64]
mov dword [esp + 0x10], 0
dec eax
test eax, eax
jle 0x418ff6
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x58]
push edx
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [edi + 0x4c418]
mov eax, dword [edi + 0x4c410]
mov edx, dword [esp + 0x14]
sub ecx, eax
push ecx
push edx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add edx, ecx
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x64]
inc eax
dec edx
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x418fa5
mov eax, dword [ebx + 0x68]
mov dword [esp + 0x10], 0
dec eax
test eax, eax
jle 0x41905f
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x54]
push edx
push 0
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x4c414]
push ecx
mov ecx, dword [edi + 0x4c40c]
sub edx, ecx
lea ecx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add edx, ecx
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x68]
inc eax
dec edx
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x41900e
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [ebx + 0xb0]
mov edx, dword [ebx + 0xb4]
push ecx
push edx
push 0
lea ecx, [esp + 0x98]
call sub.MFC42.DLL_CPen::CPen
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x114], 0x17
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [ebx + 0x28338]
mov edx, dword [ebx + 0x27398]
mov dword [esp + 0x20], eax
push ecx
lea eax, [esp + 0x58]
push edx
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::MoveTo
lea ecx, [ebx + 0x2833c]
mov dword [esp + 0x18], 0x257
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xfa0]
test eax, eax
je 0x4190f7
mov eax, edx
mov ecx, dword [eax]
mov edx, dword [eax - 0xfa0]
push ecx
push edx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, 4
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jne 0x4190d4
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [edi + 0x4c418]
mov edx, dword [edi + 0x4c410]
mov eax, dword [edi + 0x4c40c]
sub ecx, edx
mov edx, dword [edi + 0x4c414]
push 0xcc0020
sub edx, eax
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x38]
push 0
push eax
mov eax, dword [edi + 0x4c410]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
mov eax, dword [edi + 0x4c40c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
push 2
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
lea eax, [ebx + 0xb0]
lea edx, [edi + 0x4c340]
mov dword [esp + 0x1c], eax
lea eax, [edi + 0xfa60]
mov dword [esp + 0x28], eax
lea eax, [ebx + 0x268]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 8
mov ecx, dword [esp + 0x1c]
push str.________
lea eax, [ecx - 0x14]
mov eax, dword [ecx - 0x28]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x41944c
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x6c]
mov eax, dword [edx]
push eax
call sub.MFC42.DLL_CBrush::CBrush
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x6c]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0x434bd0
lea eax, [ebx + 0x2a278]
mov byte [esp + 0x110], 0x19
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esi]
lea eax, [esp + 0x74]
push eax
mov ecx, esi
call dword [edx + 0x30]
lea ecx, [esp + 0x14]
mov dword [esp + 0x88], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x110], 0x1a
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xa0]
mov byte [esp + 0x110], 0x1b
lea eax, [ecx - 0x14]
push eax
push 0x43912c
push edx
call sub.MFC42.DLL_operator_1
push 0x439128
push eax
lea eax, [esp + 0x44]
mov byte [esp + 0x118], 0x1c
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], 0x1d
call fcn.0042f8a6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x110], 0x1c
call fcn.0042f8a0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x110], 0x1b
call fcn.0042f8a0
mov eax, dword [ebx + 0x27368]
test eax, eax
jne 0x4192dd
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
jmp 0x4192f2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
add esp, 0x10
mov ecx, dword [eax - 8]
push 0
push 0
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_GetTabbedTextExtentA]
mov edx, dword [esi]
movsx ecx, ax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax]
push ecx
mov ecx, esi
call dword [edx + 0x38]
mov edx, dword [esi]
push 0xd8e9ec
mov ecx, esi
call dword [edx + 0x34]
push 0xd8e9ec
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CBrush::CBrush
lea eax, [esp + 0x54]
mov ecx, esi
push eax
mov byte [esp + 0x114], 0x1e
call sub.MFC42.DLL_CDC::SelectObject
mov edx, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x40]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx - 8]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x48]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esp + 0x88]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0x54], 0x4346b8
lea ecx, [esp + 0x54]
mov byte [esp + 0x110], 0x1f
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 0x4346a4
mov byte [esp + 0x110], 0x1a
call fcn.0042f8a0
mov byte [esp + 0x110], 0x19
lea ecx, [esp + 0x14]
call fcn.0042f8a0
mov dword [esp + 0x74], 0x4346b8
lea ecx, [esp + 0x74]
mov byte [esp + 0x110], 0x20
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x74], 0x4346a4
mov dword [esp + 0x6c], 0x4346b8
lea ecx, [esp + 0x6c]
mov byte [esp + 0x110], 0x21
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x110], 0x17
mov dword [esp + 0x6c], 0x4346a4
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov eax, 0x1f40
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
add edx, 0x30
add ecx, 0x10
dec eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jne 0x4191a0
lea eax, [ebx + 0x268]
lea ecx, [edi + 0x60]
lea esi, [ebx + 0xfc68]
lea edx, [edi + 0x2afe0]
mov dword [esp + 0x64], 8
jmp 0x4194ad
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], 0x3e8
mov esi, dword [eax]
add eax, 8
mov dword [ecx], esi
mov esi, dword [eax - 4]
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x10]
add ecx, 8
add edx, 4
mov esi, dword [esi]
mov dword [edx - 4], esi
mov esi, dword [esp + 0x10]
add esi, 4
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
dec esi
mov dword [esp + 0x18], esi
jne 0x4194b9
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
dec eax
mov dword [esp + 0x64], eax
jne 0x4194a9
add edi, 0x4a3e0
add ebx, 0x292d8
mov eax, 0x3e8
mov ecx, dword [ebx]
add ebx, 4
mov dword [edi], ecx
add edi, 4
dec eax
jne 0x41950f
mov edi, 0x4346b8
mov dword [esp + 0x8c], edi
lea ecx, [esp + 0x8c]
mov byte [esp + 0x110], 0x22
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x4346a4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x8c], esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x110], 0x23
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x110], 0x24
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x5c], esi
mov dword [esp + 0x44], edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x110], 0x25
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x44], esi
mov dword [esp + 0x7c], edi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x110], 0x26
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x110], 1
mov dword [esp + 0x7c], esi
mov eax, dword [esp + 0x104]
test eax, eax
je 0x4195c2
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x30]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x98], 0x4346b8
lea ecx, [esp + 0x98]
mov byte [esp + 0x110], 0x27
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x2c]
mov dword [esp + 0x98], 0x4346a4
mov dword [esp + 0x110], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x108]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4