Function at 0x403040
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Check os version
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x406e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x48]
call fcn.004067e0
xor ebx, ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], ebx
call fcn.004050b0
mov dword [esp + 0x38], 0x408754
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x8c]
push eax
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x98], 1
call fcn.00404ef0
lea edx, [esp + 0x48]
mov ecx, esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call sub.MFC42.DLL_CWnd::GetStyle
mov esi, eax
lea ecx, [esp + 0x30]
shr esi, 0x1b
and esi, 1
call fcn.004050b0
mov edi, 0x408768
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 2
call fcn.004050b0
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 3
call fcn.004050b0
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 4
call fcn.004050b0
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 5
call fcn.004050b0
mov dword [esp + 0x10], edi
mov eax, esi
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
neg eax
sbb eax, eax
mov byte [esp + 0x84], 6
and eax, 0x808080
push eax
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::Attach
push 0xffffff
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CGdiObject::Attach
neg esi
sbb esi, esi
and esi, 0xbfc0c1
add esi, 0xffff
push esi
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CGdiObject::Attach
push 0x808080
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
push 0xc0c0c0
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x5c], ecx
add eax, 4
add ecx, 0xf
push eax
lea edx, [esp + 0x44]
mov dword [esp + 0x60], ecx
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov dword [esp + 0x6c], eax
call fcn.00405210
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
add eax, 9
mov dword [esp + 0x60], eax
push eax
mov eax, dword [esp + 0x60]
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x58]
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 + 0x64]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push edx
call fcn.00405280
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
sub eax, 0xc
push ecx
mov dword [esp + 0x60], eax
push eax
mov ecx, dword [esp + 0x60]
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x58]
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 + 0x64]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push edx
call fcn.00405280
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add eax, 0xb
dec ecx
push ecx
mov dword [esp + 0x60], eax
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x60]
push eax
call fcn.00405210
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub ecx, 5
sub eax, 2
mov dword [esp + 0x60], ecx
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov dword [esp + 0x64], eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x58]
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 + 0x64]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push edx
call fcn.00405280
lea eax, [esp + 0x28]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x5c], ecx
add ecx, 3
add eax, 0xc
mov dword [esp + 0x5c], ecx
push eax
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], eax
push ecx
mov ecx, dword [esp + 0x64]
call fcn.00405210
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub ecx, 5
sub eax, 2
mov dword [esp + 0x60], ecx
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov dword [esp + 0x64], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x58]
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 + 0x64]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push edx
call fcn.00405280
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add eax, 9
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov dword [esp + 0x64], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x58]
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 + 0x64]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push edx
call fcn.00405280
lea eax, [esp + 0x18]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x5c], ecx
add eax, 0xb
add ecx, 0xd
push eax
mov dword [esp + 0x60], ecx
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], eax
push ecx
mov ecx, dword [esp + 0x64]
call fcn.00405210
mov eax, dword [esp + 0x60]
inc eax
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
push edx
mov dword [esp + 0x68], eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x58]
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 + 0x64]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
call fcn.00405280
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
sub eax, 0xb
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov dword [esp + 0x64], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x58]
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 + 0x64]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push edx
call fcn.00405280
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub ecx, 5
sub eax, 2
mov dword [esp + 0x60], ecx
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov dword [esp + 0x64], eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x58]
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 + 0x64]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x70]
push ecx
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push edx
push eax
call fcn.00405280
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
dec eax
push eax
push ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x68], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x58]
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 + 0x64]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push edx
call fcn.00405280
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add eax, 0xc
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov dword [esp + 0x64], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x58]
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 + 0x64]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push edx
call fcn.00405280
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
dec eax
inc ecx
mov dword [esp + 0x60], ecx
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov dword [esp + 0x64], eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x58]
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 + 0x64]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
call fcn.00405280
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add eax, 2
inc ecx
mov dword [esp + 0x60], ecx
push ecx
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x68], eax
call fcn.00405210
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
dec eax
inc ecx
mov dword [esp + 0x60], ecx
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov dword [esp + 0x64], eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x58]
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 + 0x64]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push edx
call fcn.00405280
lea eax, [esp + 0x10]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x5c], ecx
add eax, 8
add ecx, 2
push eax
mov dword [esp + 0x60], ecx
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], eax
push ecx
mov ecx, dword [esp + 0x64]
call fcn.00405210
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add eax, 3
add ecx, 3
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
push ecx
mov ecx, dword [esp + 0x5c]
push eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x58]
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 + 0x64]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push edx
call fcn.00405280
xor ebp, ebp
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
add eax, 8
mov dword [esp + 0x5c], ecx
lea ecx, [ecx + ebp*2 + 2]
mov dword [esp + 0x60], eax
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x60], ecx
push ecx
mov ecx, dword [esp + 0x60]
push eax
call fcn.00405210
mov eax, dword [esp + 0x5c]
cmp ebp, 4
jne 0x4037b6
mov ecx, dword [esp + 0x60]
add eax, 2
add ecx, 2
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
push ecx
mov ecx, dword [esp + 0x5c]
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x58]
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 + 0x64]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push edx
jmp 0x403801
mov ecx, dword [esp + 0x60]
add eax, 3
add ecx, 3
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
push ecx
mov ecx, dword [esp + 0x5c]
push eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x58]
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 + 0x64]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
mov ecx, dword [esp + 0x64]
call fcn.00405280
inc ebp
cmp ebp, 5
jl 0x403735
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x5c], ecx
add eax, 0xa
add ecx, 3
push eax
lea edx, [esp + 0x44]
mov dword [esp + 0x60], ecx
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov dword [esp + 0x6c], eax
call fcn.00405210
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
inc eax
inc ecx
mov dword [esp + 0x60], ecx
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov dword [esp + 0x64], eax
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x58]
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 + 0x64]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
call fcn.00405280
xor esi, esi
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x5c], ecx
add eax, 8
lea ecx, [ecx + esi*2 + 3]
push eax
mov dword [esp + 0x60], ecx
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], eax
push ecx
mov ecx, dword [esp + 0x64]
call fcn.00405210
cmp esi, 4
jne 0x4038d6
push ebx
push ebx
jmp 0x4038da
push 3
push 3
lea ecx, [esp + 0x60]
call fcn.00402f80
inc esi
cmp esi, 5
jl 0x4038a2
lea edx, [esp + 0x18]
lea ecx, [esp + 0x48]
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
add eax, 5
mov dword [esp + 0x5c], ecx
inc ecx
mov dword [esp + 0x60], eax
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x60], ecx
push ecx
mov ecx, dword [esp + 0x60]
push eax
call fcn.00405210
push 0xfffffffffffffffe
push ebx
lea ecx, [esp + 0x60]
call fcn.00402f80
push 0xfffffffffffffffe
push 2
lea ecx, [esp + 0x60]
call fcn.00402f80
push ebx
push 4
lea ecx, [esp + 0x60]
call fcn.00402f80
push 2
push 2
lea ecx, [esp + 0x60]
call fcn.00402f80
push ebx
push 5
lea ecx, [esp + 0x60]
call fcn.00402f80
push 7
push ebx
lea ecx, [esp + 0x60]
call fcn.00402f80
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CDC::SelectObject_1
push 5
push 2
lea ecx, [esp + 0x60]
call fcn.00402ef0
push 0xfffffffffffffffe
push ebx
lea ecx, [esp + 0x60]
call fcn.00402f80
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x60]
call fcn.00402f80
push ebx
push 4
lea ecx, [esp + 0x60]
call fcn.00402f80
push 2
push 2
lea ecx, [esp + 0x60]
call fcn.00402f80
push ebx
push 4
lea ecx, [esp + 0x60]
call fcn.00402f80
lea edx, [esp + 0x10]
lea ecx, [esp + 0x48]
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
push 5
push 3
lea ecx, [esp + 0x60]
call fcn.00402ef0
push ebx
push ebx
lea ecx, [esp + 0x60]
call fcn.00402f80
mov esi, 3
push 3
push esi
lea ecx, [esp + 0x60]
call fcn.00402ef0
push 2
push 2
lea ecx, [esp + 0x60]
call fcn.00402f80
add esi, 2
cmp esi, 9
jl 0x4039ed
push 5
push 0xb
lea ecx, [esp + 0x60]
call fcn.00402ef0
push ebx
push ebx
lea ecx, [esp + 0x60]
call fcn.00402f80
push ebx
push 2
lea ecx, [esp + 0x60]
call fcn.00402f40
push ebx
push ebx
lea ecx, [esp + 0x60]
call fcn.00402f80
push 2
push ebx
lea ecx, [esp + 0x60]
call fcn.00402f40
push ebx
push ebx
lea ecx, [esp + 0x60]
call fcn.00402f80
lea eax, [esp + 0x20]
lea ecx, [esp + 0x48]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
xor esi, esi
lea ecx, [esi + esi + 4]
push 5
push ecx
lea ecx, [esp + 0x60]
call fcn.00402ef0
cmp esi, ebx
jne 0x403a7e
push 0xffffffffffffffff
push 0xffffffffffffffff
jmp 0x403a96
cmp esi, 3
jne 0x403a87
push ebx
push ebx
jmp 0x403a96
cmp esi, 4
jne 0x403a92
push 1
push 1
jmp 0x403a96
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea ecx, [esp + 0x60]
call fcn.00402f80
inc esi
cmp esi, 5
jl 0x403a64
mov edx, dword [esp + 0x94]
push 0xcc0020
push ebx
lea esi, [esp + 0x50]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
push ebx
push esi
mov esi, dword [edx + 0xc]
mov edx, dword [edx + 8]
sub esi, eax
sub edx, ecx
push esi
push edx
push eax
push ecx
mov ecx, dword [esp + 0xac]
call fcn.00405240
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 5
call fcn.00405150
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 4
call fcn.00405150
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 3
call fcn.00405150
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 2
call fcn.00405150
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 1
call fcn.00405150
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], bl
call fcn.004051c0
lea ecx, [esp + 0x48]
mov dword [esp + 0x84], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 0xc