Function at 0x403ba0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x406f08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x3c]
call fcn.004067e0
xor ebx, ebx
lea ecx, [esp + 0x94]
mov dword [esp + 0xa4], ebx
call fcn.004050b0
mov dword [esp + 0x94], 0x408754
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
mov ecx, dword [esp + 0xac]
push eax
push ebp
lea edx, [esp + 0x9c]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
mov ecx, esi
mov byte [esp + 0xb8], 1
call fcn.00404ef0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
mov ecx, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CWnd::GetStyle
mov esi, eax
lea ecx, [esp + 0x54]
shr esi, 0x1b
and esi, 1
call fcn.004050b0
mov edi, 0x408768
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x74]
mov byte [esp + 0xa4], 2
call fcn.004050b0
mov dword [esp + 0x74], edi
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa4], 3
call fcn.004050b0
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x64]
mov byte [esp + 0xa4], 4
call fcn.004050b0
mov dword [esp + 0x64], edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 5
call fcn.004050b0
mov dword [esp + 0x5c], edi
lea ecx, [esp + 0x84]
mov byte [esp + 0xa4], 6
call fcn.004050b0
mov dword [esp + 0x84], edi
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa4], 7
call fcn.004050b0
mov dword [esp + 0x8c], edi
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 8
call fcn.004050b0
mov dword [esp + 0x7c], edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa4], 9
call fcn.004050b0
mov dword [esp + 0x6c], edi
mov edx, esi
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
neg edx
sbb edx, edx
mov byte [esp + 0xa4], 0xa
and edx, 0x808080
push edx
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CGdiObject::Attach
push 0xffffff
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xbfc0c1
add eax, 0xffff
push eax
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CGdiObject::Attach
push 0x808080
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CGdiObject::Attach
push 0xc0c0c0
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 0xc04040
add ecx, 0x8080
push ecx
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xff
add edx, 0xffff00
push edx
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x90]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xff818080
add eax, 0xff0000
push eax
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CGdiObject::Attach
neg esi
sbb esi, esi
and esi, 0x8080
add esi, 0x800000
push esi
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
add ecx, 0xb
push ecx
lea edx, [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
push eax
push edx
mov dword [esp + 0x20], eax
call fcn.00405210
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub eax, 9
mov dword [esp + 0x18], eax
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.GDI32.dll_GetCurrentObject]
push 1
mov edx, dword [ecx + 8]
push edx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub ecx, 2
add eax, 2
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x10]
push 1
mov ecx, dword [eax + 8]
push ecx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
lea edx, [esp + 0x1c]
push edx
push 0x10
mov eax, dword [eax + 4]
push eax
call edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.00405280
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 4
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x10]
push 1
mov eax, dword [edx + 8]
push eax
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add ecx, 2
add eax, 2
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x10]
push 1
mov ecx, dword [eax + 8]
push ecx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov eax, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.00405280
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 5
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x10]
push 1
mov eax, dword [edx + 8]
push eax
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add eax, 9
mov dword [esp + 0x14], ecx
add ecx, 8
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.00405210
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
dec eax
inc ecx
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x10]
push 1
mov edx, dword [ecx + 8]
push edx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub eax, 3
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x10]
push 1
mov eax, dword [edx + 8]
push eax
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
lea ecx, [esp + 0x1c]
push ecx
push 0x10
mov edx, dword [eax + 4]
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub ecx, 2
sub eax, 2
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x10]
push 1
mov ecx, dword [eax + 8]
push ecx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov eax, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.00405280
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, 2
push eax
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x10]
push 1
mov eax, dword [edx + 8]
push eax
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub ecx, 2
add eax, 2
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x10]
push 1
mov ecx, dword [eax + 8]
push ecx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov eax, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.00405280
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 3
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x10]
push 1
mov eax, dword [edx + 8]
push eax
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add ecx, 2
add eax, 2
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x10]
push 1
mov ecx, dword [eax + 8]
push ecx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov eax, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.00405280
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
add eax, 3
add ecx, 0xe
push eax
lea edx, [esp + 0x38]
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov dword [esp + 0x24], eax
call fcn.00405210
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add eax, 8
mov dword [esp + 0x18], eax
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x10]
push 1
mov edx, dword [ecx + 8]
push edx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
dec eax
inc ecx
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x10]
push 1
mov ecx, dword [eax + 8]
push ecx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov eax, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.00405280
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], eax
inc ecx
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x14]
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x10]
push 1
mov edx, dword [ecx + 8]
push edx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x18], eax
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x10]
push 1
mov edx, dword [ecx + 8]
push edx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
dec eax
inc ecx
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x10]
push 1
mov ecx, dword [eax + 8]
push ecx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov eax, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x28]
push ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.00405280
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
dec eax
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x10]
push 1
mov eax, dword [edx + 8]
push eax
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub ecx, 3
sub eax, 4
push ecx
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.00405210
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub eax, 7
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x10]
push 1
mov eax, dword [edx + 8]
push eax
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 4
sub ecx, 2
mov dword [esp + 0x14], eax
push ecx
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.00405210
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x10]
push 1
mov eax, dword [edx + 8]
push eax
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub ecx, 2
add eax, 2
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x10]
push 1
mov ecx, dword [eax + 8]
push ecx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov eax, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.00405280
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, 2
push eax
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x10]
push 1
mov eax, dword [edx + 8]
push eax
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub ecx, 2
sub eax, 2
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x10]
push 1
mov ecx, dword [eax + 8]
push ecx
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov eax, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.00405280
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
add eax, 0xa
add ecx, 2
push eax
lea edx, [esp + 0x38]
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov dword [esp + 0x24], eax
call fcn.00405210
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x10]
push 1
mov eax, dword [edx + 8]
push eax
call esi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00405280
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x14], ecx
add ecx, 2
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.00405210
push 0xfffffffffffffffe
push ebx
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x18]
call fcn.00402f80
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x18]
call fcn.00402f80
push 7
push 7
lea ecx, [esp + 0x18]
call fcn.00402f80
push ebx
push 0xfffffffffffffffe
lea ecx, [esp + 0x18]
call fcn.00402f40
push 2
push 2
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xfffffffffffffffc
push ebx
lea ecx, [esp + 0x18]
call fcn.00402f40
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea ecx, [esp + 0x18]
call fcn.00402f80
push ebx
push 2
lea ecx, [esp + 0x18]
call fcn.00402f40
push ebx
push ebx
lea ecx, [esp + 0x18]
call fcn.00402f80
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CDC::SelectObject_1
push 2
push 1
lea ecx, [esp + 0x18]
call fcn.00402ef0
or esi, 0xffffffff
mov edi, 5
push esi
push 1
lea ecx, [esp + 0x18]
call fcn.00402f80
neg esi
dec edi
jne 0x4047e3
push 7
push 7
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xfffffffffffffffe
push ebx
lea ecx, [esp + 0x18]
call fcn.00402f40
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00402f80
push 3
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00402f40
push 2
push 2
lea ecx, [esp + 0x18]
call fcn.00402f80
push 1
push 0xfffffffffffffffc
lea ecx, [esp + 0x18]
call fcn.00402f40
push ebx
push ebx
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xffffffffffffffff
push 0xfffffffffffffffe
lea ecx, [esp + 0x18]
call fcn.00402f40
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xfffffffffffffffe
push ebx
lea ecx, [esp + 0x18]
call fcn.00402f40
push 4
push 0xfffffffffffffffc
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xfffffffffffffffc
push ebx
lea ecx, [esp + 0x18]
call fcn.00402f40
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x18]
call fcn.00402f80
lea edx, [esp + 0x74]
lea ecx, [esp + 0x3c]
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
push 0xa
push 1
lea ecx, [esp + 0x18]
call fcn.00402ef0
push 0xfffffffffffffff9
push ebx
lea ecx, [esp + 0x18]
call fcn.00402f80
push ebx
push 0xb
lea ecx, [esp + 0x18]
call fcn.00402f80
push 6
push 3
lea ecx, [esp + 0x18]
call fcn.00402ef0
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x18]
call fcn.00402f80
push ebx
push 2
lea ecx, [esp + 0x18]
call fcn.00402f40
push 3
push 0xfffffffffffffffd
lea ecx, [esp + 0x18]
call fcn.00402f80
lea eax, [esp + 0x84]
lea ecx, [esp + 0x3c]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
push 3
push 0xd
lea ecx, [esp + 0x18]
call fcn.00402ef0
push 8
push ebx
lea ecx, [esp + 0x18]
call fcn.00402f80
push ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea ecx, [esp + 0x18]
call fcn.00402f80
push ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xfffffffffffffffe
push ebx
lea ecx, [esp + 0x18]
call fcn.00402f80
push 4
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00402f40
push ebx
push 0xfffffffffffffffa
lea ecx, [esp + 0x18]
call fcn.00402f80
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CDC::SelectObject_1
push 5
push 5
lea ecx, [esp + 0x18]
call fcn.00402ef0
push 2
push 0xfffffffffffffffe
lea ecx, [esp + 0x18]
call fcn.00402f80
push 2
push 2
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xfffffffffffffffe
push 2
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00402f80
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xb
push 9
lea ecx, [esp + 0x18]
call fcn.00402ef0
push 3
push 3
lea ecx, [esp + 0x18]
call fcn.00402f80
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CDC::SelectObject_1
push 0xb
push 8
lea ecx, [esp + 0x18]
call fcn.00402ef0
push 3
push 3
lea ecx, [esp + 0x18]
call fcn.00402f80
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x3c]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
push 0xa
push 9
lea ecx, [esp + 0x18]
call fcn.00402ef0
push 4
push 4
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x18]
call fcn.00402f80
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea ecx, [esp + 0x18]
call fcn.00402f80
mov eax, dword [ebp + 4]
push 0xcc0020
mov ecx, dword [ebp]
push ebx
lea edx, [esp + 0x44]
push ebx
push edx
mov edx, dword [ebp + 0xc]
sub edx, eax
push edx
mov edx, dword [ebp + 8]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xcc]
call fcn.00405240
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa4], 9
call fcn.00405150
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 8
call fcn.00405150
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa4], 7
call fcn.00405150
lea ecx, [esp + 0x84]
mov byte [esp + 0xa4], 6
call fcn.00405150
mov byte [esp + 0xa4], 5
lea ecx, [esp + 0x5c]
call fcn.00405150
lea ecx, [esp + 0x64]
mov byte [esp + 0xa4], 4
call fcn.00405150
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa4], 3
call fcn.00405150
lea ecx, [esp + 0x74]
mov byte [esp + 0xa4], 2
call fcn.00405150
lea ecx, [esp + 0x54]
mov byte [esp + 0xa4], 1
call fcn.00405150
lea ecx, [esp + 0x94]
mov byte [esp + 0xa4], bl
call fcn.004051c0
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa4], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 0xc