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

Disassembly:
mov dword [ecx + 0x48], 1
jmp 0x432fd0
mov eax, 0x4336cc
call fcn.00406b68
sub esp, 0x31c
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x6c]
push ebx
push esi
push edi
xor esi, esi
call fcn.0043378c
mov dword [ebp - 4], esi
call fcn.0041a2be
cmp dword [eax + 8], 0xe108
jne 0x43306d
call fcn.0042ef57
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
je 0x433066
cmp dword [ecx + 0x10], 3
jne 0x433066
push esi
push dword [ecx + 0x20]
push dword [ecx + 0x18]
push dword [ecx + 0x1c]
call dword [sym.imp.GDI32.dll_CreateDCA]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x5c]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x5c]
cmp dword [edx + 0x10], esi
jne 0x433066
push 0xffffffffffffffff
push esi
push 0xf106
call fcn.00425796
mov dword [ebp - 4], 0xffffffff
call fcn.004336d6
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x64], 1
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 0x10]
push eax
mov ebx, dword [ecx]
call dword [ebx + 0xf8]
test eax, eax
je 0x43304a
lea ecx, [ebp - 0x20]
call fcn.0041d4e5
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x5c]
test byte [ecx + 0x14], 0x20
je 0x4331aa
push 0xf045
lea ecx, [ebp - 0x14]
call fcn.0041d6b2
push 0xf046
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0041d6b2
push 0xf047
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 3
call fcn.0041d6b2
push 0xf048
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.0041d6b2
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x328]
push dword [ebp - 0xe4]
push 6
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push 0
call fcn.00416e89
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x29c], ecx
lea ecx, [ebp - 0x328]
call fcn.0041707f
cmp eax, 1
je 0x433158
mov byte [ebp - 4], 5
call fcn.004331dd
mov byte [ebp - 4], 4
call fcn.004331e8
mov byte [ebp - 4], 3
call fcn.004331f0
mov byte [ebp - 4], 2
call fcn.004331fb
mov byte [ebp - 4], 1
call fcn.00433203
mov byte [ebp - 4], 0
call fcn.004336c4
jmp 0x43304a
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x328]
push eax
call fcn.00417143
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.0041d73d
mov byte [ebp - 4], 6
call fcn.004331d5
mov byte [ebp - 4], 5
call fcn.004331dd
mov byte [ebp - 4], 4
call fcn.004331e8
mov byte [ebp - 4], 3
call fcn.004331f0
mov byte [ebp - 4], 2
call fcn.004331fb
mov byte [ebp - 4], 1
call fcn.00433203
lea ecx, [ebp - 0x18]
call fcn.0041d4e5
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 8
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x43320b
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0041bc65
mov ecx, eax
call fcn.0041aee3
jmp 0x433217
add eax, 0x1c
lea ecx, [ebp - 0x18]
push eax
call fcn.0041d73d
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], 0x1f
jle 0x43322a
push 0x1f
lea ecx, [ebp - 0x18]
call fcn.0041d9d8
push 0x14
xor esi, esi
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.00406b10
add esp, 0xc
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], 0x14
call fcn.0041d4e5
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 9
cmp dword [eax - 8], esi
jne 0x433298
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x6c]
push eax
mov dword [ebp - 0x7c], esi
call fcn.00416d9a
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.0041d73d
mov byte [ebp - 4], 9
call fcn.00433290
mov dword [ebp - 0x14], 0xf040
jmp 0x4332bd
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x7c], eax
mov eax, 0x104
push eax
push eax
call fcn.0041d983
push eax
push dword [ebp - 0x20]
call fcn.0041eefb
mov dword [ebp - 0x14], 0xf049
lea ecx, [ebp - 0x34]
call fcn.0042189c
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 0xb
mov ecx, dword [eax + 0x5c]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x34]
call fcn.004219d0
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x34]
push ecx
push edx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], 1
mov ebx, dword [ecx]
call dword [ebx + 0xfc]
push fcn.00432e75
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_SetAbortProc]
call fcn.00418f90
test eax, eax
mov eax, 0
je 0x43331c
call fcn.00418f90
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x78]
xor esi, esi
mov ecx, eax
push esi
call fcn.00419dd3
lea ecx, [ebp - 0xe0]
call fcn.004184a5
push dword [ebp - 0x10]
push 0x7802
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xe0], vtable.CPrintingDialog.0
lea ecx, [ebp - 0xe0]
call fcn.00418574
push 0x404eca
mov ecx, 0x443488
call fcn.0042fd37
lea ecx, [ebp - 0x24]
mov dword [eax + 0xc], esi
mov byte [ebp - 4], 0xd
call fcn.0041d4e5
mov byte [ebp - 4], 0xe
push dword [ebp - 0x18]
push 0xc9
lea ecx, [ebp - 0xe0]
call fcn.00419bec
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x6c]
push eax
call fcn.00416d26
mov byte [ebp - 4], 0xf
push dword [eax]
push 0xca
lea ecx, [ebp - 0xe0]
call fcn.00419bec
mov byte [ebp - 4], 0xe
call fcn.00433686
push dword [ebp - 0x38]
push dword [ebp - 0x14]
lea edx, [ebp - 0x24]
push edx
call fcn.00426c08
push dword [ebp - 0x24]
push 0xcb
lea ecx, [ebp - 0xe0]
call fcn.00419bec
push 5
lea ecx, [ebp - 0xe0]
call fcn.00419d93
push dword [ebp - 0xc4]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [ebp - 0x84]
push ecx
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_StartDocA]
cmp eax, 0xffffffff
jne 0x433498
call fcn.00418f90
mov ecx, 0
test eax, eax
je 0x433422
call fcn.00418f90
mov ecx, eax
mov eax, dword [eax]
call dword [eax + 0x78]
mov ecx, eax
push 1
call fcn.00419dd3
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x34]
push eax
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x104]
lea ecx, [ebp - 0xe0]
call fcn.0041ad5a
lea ecx, [ebp - 0x34]
call fcn.00421a0c
push 0xffffffffffffffff
push 0
push 0xf106
call fcn.00425796
mov byte [ebp - 4], 0xd
call fcn.0043368e
mov byte [ebp - 4], 0xb
call fcn.004336a1
mov byte [ebp - 4], 9
call fcn.004336ac
mov byte [ebp - 4], 8
call fcn.004336b4
mov byte [ebp - 4], 1
call fcn.004336bc
mov byte [ebp - 4], 0
call fcn.004336c4
jmp 0x43304a
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x5c]
movzx edi, word [eax + 0x1a]
movzx esi, word [eax + 0x18]
movzx ecx, word [eax + 0x1c]
cmp edi, ecx
jae 0x4334b0
mov edi, ecx
movzx eax, word [eax + 0x1e]
cmp edi, eax
jbe 0x4334ba
mov edi, eax
cmp esi, ecx
jae 0x4334c0
mov esi, ecx
cmp esi, eax
jbe 0x4334c6
mov esi, eax
mov eax, 0xffff
cmp edi, esi
sbb ebx, ebx
and bl, 0xfe
inc ebx
cmp edi, eax
jne 0x4334db
mov edi, eax
jmp 0x4334dd
add edi, ebx
push 0xf043
lea ecx, [ebp - 0x24]
call fcn.0041fd46
mov dword [ebp - 0x5c], esi
cmp esi, edi
mov dword [ebp - 0x14], 0
je 0x4335eb
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov esi, dword [ecx + 0xe0]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x34]
push eax
push ecx
mov ecx, dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x60], 0
je 0x4335eb
push dword [ebp - 0x5c]
push dword [ebp - 0x24]
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x130]
push ecx
push 0xcc
lea ecx, [ebp - 0xe0]
call fcn.00419bec
push 0xa
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push dword [ebp - 0x1c]
push eax
push 0
lea edx, [ebp - 0x4c]
push 0
push edx
call dword [sym.imp.USER32.dll_SetRect]
push 2
lea ecx, [ebp - 0x4c]
push ecx
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_DPtoLP]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_StartPage]
test eax, eax
jl 0x4335e4
cmp dword [0x4451b0], 0
je 0x4335a8
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x34]
push eax
push ecx
mov ecx, dword [ebp - 0x10]
call esi
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x34]
push eax
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x100]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_EndPage]
test eax, eax
jl 0x4335e4
push 0
push dword [ebp - 0x30]
call fcn.00432e75
test eax, eax
je 0x4335e4
add dword [ebp - 0x5c], ebx
cmp edi, dword [ebp - 0x5c]
jne 0x433507
jmp 0x4335eb
mov dword [ebp - 0x14], 1
push dword [ebp - 0x30]
cmp dword [ebp - 0x14], 0
jne 0x4335fc
call dword [sym.imp.GDI32.dll_EndDoc]
jmp 0x433602
call dword [sym.imp.GDI32.dll_AbortDoc]
call fcn.00418f90
mov ecx, 0
test eax, eax
je 0x43361e
call fcn.00418f90
mov ecx, eax
mov eax, dword [eax]
call dword [eax + 0x78]
mov ecx, eax
push 1
call fcn.00419dd3
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x34]
push eax
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x104]
lea ecx, [ebp - 0xe0]
call fcn.0041ad5a
lea ecx, [ebp - 0x34]
call fcn.00421a0c
mov byte [ebp - 4], 0xd
call fcn.0043368e
mov byte [ebp - 4], 0xb
call fcn.004336a1
mov byte [ebp - 4], 9
call fcn.004336ac
mov byte [ebp - 4], 8
call fcn.004336b4
mov byte [ebp - 4], 1
call fcn.004336bc
mov byte [ebp - 4], 0
call fcn.004336c4
jmp 0x43304a