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

Disassembly:
push 0xffffffffffffffff
push 0x4441fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0xe14
mov dword [esp + 0xb0], ebp
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
mov ebx, 1
cmp eax, ebp
mov byte [esp + 0xac], bl
je 0x42982c
push sub.MFC42.DLL_CPrintInfo::CPrintInfo
push 0x43fede
lea edi, [eax + 4]
push 0x3c
push 0x3c
push edi
mov dword [eax], 0x3c
call fcn.00440146
mov dword [esp + 0x18], edi
jmp 0x429832
mov dword [esp + 0x18], ebp
mov edi, ebp
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.tiaoda
mov byte [esp + 0xb8], 0
call sub.MFC42.DLL_CString::CString_1
call fcn.00428ca0
add esp, 8
test al, al
jne 0x429875
cmp edi, ebp
je 0x429ef4
mov ecx, edi
call sub.MFC42.DLL_CPrintInfo::CPrintInfo
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x429ef4
mov ecx, dword [edi]
mov eax, dword [ecx + 0x60]
cmp dword [eax + 0x10], ebp
jne 0x429884
call sub.MFC42.DLL_CPrintDialog::CreatePrinterDC
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [edi]
mov byte [esp + 0xac], 2
mov edx, dword [ecx + 0x60]
lea ecx, [esp + 0x28]
mov eax, dword [edx + 0x10]
push eax
call sub.MFC42.DLL_CDC::Attach
mov dword [esp + 0x34], ebx
mov ecx, dword [edi]
call sub.MFC42.DLL_CPrintDialog::GetDevMode
cmp eax, ebp
je 0x4298c6
mov word [eax + 0x2c], bx
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.GDI32.dll_ResetDCA]
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x6e
push edx
call esi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
push 0x6f
push eax
call esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], 0x4476c8
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 3
call fcn.0043fabe
lea ecx, [esp + 0x5c]
mov byte [esp + 0xac], 4
call fcn.0043fabe
mov ecx, dword [esp + 0xb4]
mov byte [esp + 0xac], 5
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.0043fabe
mov bl, 6
push 0xe000
lea ecx, [esp + 0x18]
mov byte [esp + 0xb0], bl
call sub.MFC42.DLL_CString::LoadStringA
xor edx, edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c], edx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x80], edx
push ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x80], 0x14
mov dword [esp + 0x8c], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.GDI32.dll_StartDocA]
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.GDI32.dll_StartPage]
cmp esi, ebp
je 0x429e4d
push 0x4507b8
lea ecx, [esp + 0xb8]
call sub.MFC42.DLL_CString::Find_1
push 0x44f130
lea ecx, [esp + 0xb8]
mov edi, eax
call sub.MFC42.DLL_CString::Find_1
mov ebp, eax
lea edx, [esp + 0x6c]
mov ecx, ebp
sub ecx, edi
dec ecx
inc edi
push ecx
push edi
push edx
lea ecx, [esp + 0xc0]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x3c], eax
call sub.MFC42.DLL_CString::CString
sub esi, ebp
lea eax, [esp + 0x54]
dec esi
lea ecx, [esp + 0xb4]
push esi
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xb0], 7
call fcn.0043fac4
lea ecx, [esp + 0x54]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
push 0x4507b8
lea ecx, [esp + 0xb8]
call sub.MFC42.DLL_CString::Find_1
push 0x44f130
lea ecx, [esp + 0xb8]
mov edi, eax
call sub.MFC42.DLL_CString::Find_1
mov ebp, eax
lea edx, [esp + 0x70]
mov ecx, ebp
sub ecx, edi
dec ecx
inc edi
push ecx
push edi
push edx
lea ecx, [esp + 0xc0]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 0x70]
mov dword [esp + 0x44], eax
call sub.MFC42.DLL_CString::CString
sub esi, ebp
lea eax, [esp + 0x74]
dec esi
lea ecx, [esp + 0xb4]
push esi
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xb0], 8
call fcn.0043fac4
lea ecx, [esp + 0x74]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
push 0x4507b8
lea ecx, [esp + 0xb8]
call sub.MFC42.DLL_CString::Find_1
push 0x44f130
lea ecx, [esp + 0xb8]
mov edi, eax
call sub.MFC42.DLL_CString::Find_1
mov ebp, eax
lea edx, [esp + 0x40]
mov ecx, ebp
sub ecx, edi
dec ecx
inc edi
push ecx
push edi
push edx
lea ecx, [esp + 0xc0]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 0x40]
mov edi, eax
call sub.MFC42.DLL_CString::CString
sub esi, ebp
lea eax, [esp + 0x64]
dec esi
lea ecx, [esp + 0xb4]
push esi
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xb0], 9
call fcn.0043fac4
lea ecx, [esp + 0x64]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
push str.Arial
push 0x20
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1f4
push 0x258
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CDC::SelectObject_1
push str.Time
lea ecx, [esp + 0xb8]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jne 0x429c99
push 0x4507b8
lea ecx, [esp + 0xb8]
call sub.MFC42.DLL_CString::Find_1
push 0x4507b4
lea ecx, [esp + 0xb8]
mov edi, eax
call sub.MFC42.DLL_CString::Find_1
mov ebp, eax
lea eax, [esp + 0x48]
mov edx, ebp
lea ecx, [esp + 0xb4]
sub edx, edi
add edi, 2
sub edx, 2
push edx
push edi
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 0xa
call fcn.0043fac4
lea ecx, [esp + 0x48]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa0]
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
mov edx, dword [eax]
lea eax, [esp + 0x50]
push str._Y_m_d_H_M_S
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], edx
call sub.MFC42.DLL_CTime::Format
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 0xb
call fcn.0043fac4
lea ecx, [esp + 0x50]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
sub esi, ebp
lea ecx, [esp + 0x38]
add esi, 0xfffffffe
push esi
push ecx
lea ecx, [esp + 0xbc]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xb0], 0xc
call fcn.0043fac4
mov byte [esp + 0xac], bl
lea ecx, [esp + 0x38]
jmp 0x429de7
push str.Index
lea ecx, [esp + 0xb8]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jne 0x429d32
push 0x4507b8
lea ecx, [esp + 0xb8]
call sub.MFC42.DLL_CString::Find_1
push 0x4507b4
lea ecx, [esp + 0xb8]
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
mov eax, dword [0x44fadc]
mov ecx, eax
lea edx, [esp + 0x10]
push ecx
inc eax
push 0x44f180
push edx
mov dword [0x44fadc], eax
call sub.MFC42.DLL_CString::Format
sub esi, edi
add esp, 0xc
add esi, 0xfffffffe
lea eax, [esp + 0x58]
push esi
push eax
lea ecx, [esp + 0xbc]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xb0], 0xd
call fcn.0043fac4
mov byte [esp + 0xac], bl
lea ecx, [esp + 0x58]
jmp 0x429de7
push str.Str
lea ecx, [esp + 0xb8]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jne 0x429dec
push 0x4507b8
lea ecx, [esp + 0xb8]
call sub.MFC42.DLL_CString::Find_1
push 0x4507b4
lea ecx, [esp + 0xb8]
mov edi, eax
call sub.MFC42.DLL_CString::Find_1
mov ebp, eax
lea edx, [esp + 0x78]
mov ecx, ebp
sub ecx, edi
add edi, 2
sub ecx, 2
push ecx
push edi
push edx
lea ecx, [esp + 0xc0]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 0xe
call fcn.0043fac4
lea ecx, [esp + 0x78]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
sub esi, ebp
lea eax, [esp + 0x60]
add esi, 0xfffffffe
lea ecx, [esp + 0xb4]
push esi
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xb0], 0xf
call fcn.0043fac4
mov byte [esp + 0xac], bl
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x94], edx
mov dword [esp + 0x9c], ecx
lea edx, [esp + 0x90]
mov ecx, dword [eax - 8]
push 0
push edx
push ecx
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x38]
call dword [eax + 0x70]
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CGdiObject::DeleteObject
test esi, esi
jne 0x4299a1
mov edi, dword [esp + 0x18]
xor ebp, ebp
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_EndPage]
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.GDI32.dll_EndDoc]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CDC::Detach
mov eax, dword [edi]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp edi, ebp
je 0x429e8f
mov ecx, edi
call sub.MFC42.DLL_CPrintInfo::CPrintInfo
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0xac], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 3
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x20], 0x4468c4
lea ecx, [esp + 0x20]
mov byte [esp + 0xac], 0x10
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0x4468d8
mov byte [esp + 0xac], 0
call fcn.0043fcbc
lea ecx, [esp + 0xb4]
mov dword [esp + 0xac], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret 4