Function at 0x40c790
Capabilities:
Contain obfuscated stackstrings
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41224f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
push ebx
mov ebx, ecx
push edi
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CDC::CDC
xor edi, edi
push ebx
push 0xc
push edi
lea ecx, [esp + 0xfc]
mov dword [esp + 0x1ac], edi
call sub.MFC42.DLL_CPrintDialog::CPrintDialog
lea ecx, [esp + 0xf0]
mov byte [esp + 0x1a0], 1
call sub.MFC42.DLL_CPrintDialog::GetDefaults
cmp eax, edi
jne 0x40c818
lea ecx, [esp + 0xf0]
mov byte [esp + 0x1a0], 0
call fcn.0040f1ae
lea ecx, [esp + 0x24]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.0040f48a
xor eax, eax
jmp 0x40d559
mov eax, dword [esp + 0x150]
push ebp
push esi
lea ecx, [esp + 0x2c]
mov eax, dword [eax + 0x10]
push eax
call sub.MFC42.DLL_CDC::Attach
mov ecx, dword [esp + 0x34]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push ecx
call esi
mov edx, dword [esp + 0x34]
push 0x5a
push edx
call esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], 0x414d90
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x8c]
push eax
push 0x4bd2ec
push 0x60
mov byte [esp + 0x1b4], 2
call sub.MFC42.DLL_CFont::CreatePointFont
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::SelectObject
mov edx, dword [esp + 0x34]
push 0xa
push edx
mov dword [esp + 0xb0], eax
call esi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
push 8
push eax
call esi
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xc0]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esp + 0x1b0]
mov esi, dword [esp + 0xc0]
push edi
push edi
mov ecx, dword [eax + 0x20]
push 0x1004
push ecx
and esi, 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xac]
mov dword [esp + 0xac], 0x14
push edx
push eax
mov dword [esp + 0xb8], str.Mypos_printing
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], edi
call dword [sym.imp.GDI32.dll_StartDocA]
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_StartPage]
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0x1a8], 3
call sub.MFC42.DLL_CString::CString
push 0x4bd3a0
lea ecx, [esp + 0x60]
mov byte [esp + 0x1ac], 4
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x1a8], 5
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, ebx
call fcn.0040d580
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ac], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a8], 5
call fcn.0040f1d2
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
mov eax, 0x24
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp eax, edi
jle 0x40c9ea
mov edi, eax
lea ecx, [esp + 0x5c]
push 0x4bd2d8
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1ac], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a8], 5
call fcn.0040f1d2
dec edi
jne 0x40c9b0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x1ac], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a8], 5
call fcn.0040f1d2
mov edx, dword [esp + 0x70]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov ebp, dword [sym.imp.GDI32.dll_TextOutA]
dec ecx
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esi + 2]
push edx
push eax
push 2
push ecx
call ebp
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebx + 0x360]
push 0
push 0
push 0x188
push edx
mov byte [esp + 0x1b8], 9
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x48]
push ecx
push eax
lea ecx, [ebx + 0x340]
call sub.MFC42.DLL_CListBox::GetText
lea edx, [esp + 0x48]
lea eax, [esp + 0x10]
push edx
push 0x4bd2d0
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1ac], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a8], 9
call fcn.0040f1d2
mov edx, dword [esp + 0x48]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esi + esi + 2]
push edx
mov edx, dword [esp + 0x38]
push ecx
push 2
push edx
call ebp
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x1a8], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x88]
mov byte [esp + 0x1a8], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a8], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0x1a8], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1a8], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1a8], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x1a8], 0x11
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x40]
lea ecx, [ebx + 0x300]
push eax
mov byte [esp + 0x1ac], 0x12
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x78]
push ecx
push str.__8s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x58]
lea ecx, [ebx + 0x2c0]
push eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x7c]
push ecx
push str.__8s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x88]
lea ecx, [ebx + 0x1c0]
push eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea ecx, [esp + 0x24]
push ecx
lea ecx, [ebx + 0x240]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [0x4bd49c]
lea eax, [esp + 0x60]
push edx
push str.__15s
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4bd2bc
push ecx
call edi
add esp, 0x14
test eax, eax
jne 0x40cc27
mov edx, dword [0x4bd470]
lea eax, [esp + 0x24]
push edx
push str.__8s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x60]
push 0x4bd3a0
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [ebx + 0x200]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [esp + 0x4c]
push 0x4bd2bc
push edx
call edi
add esp, 8
test eax, eax
jne 0x40cc58
push 0x4bd4a0
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x88]
lea ecx, [esp + 0x18]
push eax
push 0x4bd2b4
push ecx
call sub.MFC42.DLL_operator_2
push 0x4bd2ac
lea edx, [esp + 0x18]
mov bl, 0x13
push eax
push edx
mov byte [esp + 0x1b4], bl
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x78]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov byte [esp + 0x1b4], 0x14
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x1ac], 0x15
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a8], 0x14
call fcn.0040f1d2
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a8], bl
call fcn.0040f1d2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a8], 0x12
call fcn.0040f1d2
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x18]
push eax
push 0x4bd2a4
push ecx
call sub.MFC42.DLL_operator_2
push 0x4bd29c
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x1b4], 0x16
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x10]
push ecx
mov bl, 0x17
push eax
push edx
mov byte [esp + 0x1b4], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1ac], 0x18
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a8], bl
call fcn.0040f1d2
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a8], 0x16
call fcn.0040f1d2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a8], 0x12
call fcn.0040f1d2
lea eax, [esp + 0x60]
lea ecx, [esp + 0x18]
push eax
push 0x4bd290
push ecx
call sub.MFC42.DLL_operator_2
mov byte [esp + 0x1a8], 0x19
push 0x4bd288
lea edx, [esp + 0x18]
push eax
push edx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x24]
lea edx, [esp + 0x10]
push ecx
mov bl, 0x1a
push eax
push edx
mov byte [esp + 0x1b4], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ac], 0x1b
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a8], bl
call fcn.0040f1d2
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a8], 0x19
call fcn.0040f1d2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a8], 0x12
call fcn.0040f1d2
mov edx, dword [esp + 0x40]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esi + esi*2 + 2]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push 2
push ecx
call ebp
mov edx, dword [esp + 0x58]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, dword [esp + 0x30]
dec ecx
push ecx
push edx
lea edx, [esi*4 + 2]
push edx
push 2
push eax
call ebp
mov edx, dword [esp + 0x24]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esi + esi*4 + 2]
push edx
mov edx, dword [esp + 0x38]
push ecx
push 2
push edx
call ebp
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString
push 0x4bd260
lea ecx, [esp + 0x84]
mov byte [esp + 0x1ac], 0x1c
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x80]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esi*8]
dec ecx
sub eax, esi
push ecx
mov ecx, dword [esp + 0x34]
add eax, 2
push edx
push eax
push 2
push ecx
call ebp
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x28]
cdq
idiv esi
mov dword [esp + 0x14], 1
mov edi, eax
sub edi, 3
mov dword [esp + 0x10], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x1a8], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1a8], 0x1e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x1a8], 0x1f
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x84]
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0x1a8], 0x20
jle 0x40d109
mov ecx, edi
mov dword [esp + 0x18], ebx
neg ecx
add eax, 7
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x50], eax
jmp 0x40cf32
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x50], edi
jle 0x40cf72
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.GDI32.dll_EndPage]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.GDI32.dll_StartPage]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x50]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
add edx, ecx
add eax, edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x1b0]
push 1
lea edx, [esp + 0xa4]
push ebx
push edx
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ac], 0x21
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1a8], 0x20
call fcn.0040f1d2
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x44]
push eax
push str.__20s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x98]
mov ecx, edi
push 2
push ebx
push edx
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ac], 0x22
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x98]
mov byte [esp + 0x1a8], 0x20
call fcn.0040f1d2
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x6c]
push eax
push 0x4bd254
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x94]
mov ecx, edi
push 3
push ebx
push edx
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ac], 0x23
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x94]
mov byte [esp + 0x1a8], 0x20
call fcn.0040f1d2
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x74]
push eax
push str._10s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x6c]
lea eax, [esp + 0x44]
lea ecx, [esp + 0x64]
push edx
push eax
push ecx
call sub.MFC42.DLL_operator
lea edx, [esp + 0x74]
mov byte [esp + 0x1a8], 0x24
push edx
push eax
lea eax, [esp + 0xac]
push eax
call sub.MFC42.DLL_operator
mov byte [esp + 0x1a8], 0x25
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1a8], 0x24
call fcn.0040f1d2
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a8], 0x20
call fcn.0040f1d2
mov edx, dword [esp + 0x44]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov edx, dword [esp + 0x20]
mov ecx, ebx
sub ecx, edx
mov edx, dword [esp + 0x38]
add ecx, 8
imul ecx, esi
add ecx, 2
push ecx
push 2
push edx
call ebp
mov eax, dword [esp + 0x84]
inc ebx
cmp ebx, eax
jl 0x40cf2e
push str.____________________________________
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x20]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x84]
not ecx
dec ecx
dec eax
imul eax, dword [esp + 0x10]
sub ebx, eax
push ecx
push edx
mov edx, dword [esp + 0x38]
lea ecx, [ebx + 8]
imul ecx, esi
add ecx, 2
push ecx
push 2
push edx
call ebp
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a8], 0x26
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x1a8], 0x27
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x4bd48c]
lea ecx, [esp + 0x3c]
push eax
push str._27s
push ecx
mov byte [esp + 0x1b4], 0x28
call sub.MFC42.DLL_CString::Format
mov edx, dword [0x4bd490]
lea eax, [esp + 0x28]
push edx
push str._27s
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x34]
push ecx
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x80]
push edi
call dword [sym.imp.MSVCRT.dll_atof]
fsubr qword [esp + 0x84]
add esp, 0x18
lea edx, [esp + 0x5c]
fstp qword [esp]
push str._31.2f
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x64]
push eax
push 0x4bd208
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x1ac], 0x29
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a8], 0x28
call fcn.0040f1d2
lea edx, [esp + 0x54]
push edx
push 0x4bd200
lea eax, [esp + 0x6c]
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x1ac], 0x2a
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a8], 0x28
call fcn.0040f1d2
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x64]
push ecx
push 0x4bd1f4
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1ac], 0x2b
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a8], 0x28
call fcn.0040f1d2
mov edx, dword [esp + 0x3c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
lea eax, [ebx + 9]
imul eax, esi
not ecx
dec ecx
add eax, 2
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push 2
push ecx
call ebp
mov edx, dword [esp + 0x54]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, dword [esp + 0x30]
push ecx
push edx
lea edx, [ebx + 0xa]
imul edx, esi
add edx, 2
push edx
push 2
push eax
call ebp
mov edx, dword [esp + 0x1c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [ebx + 0xb]
imul ecx, esi
add ecx, 2
push edx
mov edx, dword [esp + 0x38]
push ecx
push 2
push edx
call ebp
push str.____________________________________
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x20]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
lea eax, [ebx + 0xc]
imul eax, esi
not ecx
dec ecx
add eax, 2
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push 2
push ecx
call ebp
push 0x4bd1d8
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x1c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add ebx, 0xd
repne scasb al, byte es:[edi]
imul ebx, esi
not ecx
dec ecx
add ebx, 2
push ecx
push edx
mov edx, dword [esp + 0x38]
push ebx
push 2
push edx
call ebp
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.GDI32.dll_EndPage]
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_EndDoc]
mov edx, dword [esp + 0xa8]
lea ecx, [esp + 0x2c]
push edx
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x8c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CDC::Detach
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esp + 0x54]
mov byte [esp + 0x1a8], 0x27
call fcn.0040f1d2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a8], 0x26
call fcn.0040f1d2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a8], 0x20
call fcn.0040f1d2
lea ecx, [esp + 0x74]
mov byte [esp + 0x1a8], 0x1f
call fcn.0040f1d2
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1a8], 0x1e
call fcn.0040f1d2
lea ecx, [esp + 0x44]
mov byte [esp + 0x1a8], 0x1d
call fcn.0040f1d2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a8], 0x1c
call fcn.0040f1d2
lea ecx, [esp + 0x80]
mov byte [esp + 0x1a8], 0x12
call fcn.0040f1d2
lea ecx, [esp + 0x60]
mov byte [esp + 0x1a8], 0x11
call fcn.0040f1d2
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1a8], 0x10
call fcn.0040f1d2
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1a8], 0xf
call fcn.0040f1d2
lea ecx, [esp + 0x78]
mov byte [esp + 0x1a8], 0xe
call fcn.0040f1d2
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a8], 0xd
call fcn.0040f1d2
lea ecx, [esp + 0x88]
mov byte [esp + 0x1a8], 0xc
call fcn.0040f1d2
lea ecx, [esp + 0x58]
mov byte [esp + 0x1a8], 0xb
call fcn.0040f1d2
lea ecx, [esp + 0x40]
mov byte [esp + 0x1a8], 9
call fcn.0040f1d2
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a8], 5
call fcn.0040f1d2
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1a8], 4
call fcn.0040f1d2
lea ecx, [esp + 0x70]
mov byte [esp + 0x1a8], 3
call fcn.0040f1d2
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a8], 2
call fcn.0040f1d2
mov dword [esp + 0x8c], 0x4141ac
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1a8], 0x2c
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0xf8]
mov dword [esp + 0x8c], 0x414198
mov byte [esp + 0x1a8], 0
call fcn.0040f1ae
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1a8], 0xffffffff
call fcn.0040f48a
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x198]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x19c
ret 4