Function at 0x420b34
Capabilities:
Check if file exists
Terminate process

Disassembly:
push 0x74
mov eax, 0x4b7afc
call fcn.00499151
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
call fcn.004204fc
mov dword [ebp - 4], ebx
lea eax, [edi + 0x540]
mov dword [edi], vtable.PrintRequestWnd.0
mov dword [edi + 0x10], vtable.PrintRequestWnd.1.0
mov dword [edi + 0x14], vtable.PrintRequestWnd.2.0
xor ecx, ecx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
mov word [eax + 4], cx
lea esi, [edi + 0x55c]
call fcn.0040344e
lea esi, [edi + 0x578]
call fcn.0040344e
push ebx
push ebx
lea eax, [ebp - 0x2c]
call fcn.004377e8
push dword [ebp + 0xc]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 6
call fcn.0044e169
lea ecx, [ebp - 0x2c]
xor esi, esi
push ecx
mov byte [ebp - 4], 7
inc esi
mov ecx, eax
mov dword [ebp - 0x14], esi
call fcn.00401475
add esp, 0xc
test al, al
je 0x420bd0
cmp byte [ebp - 0x24], 7
mov byte [ebp + 0xf], bl
je 0x420bd4
mov byte [ebp + 0xf], 1
push ebx
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 6
call fcn.00403db0
cmp byte [ebp + 0xf], bl
je 0x420c04
push 0x10
push 0x4c13cc
push 0x4c4d40
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.printer
lea ecx, [ebp - 0x48]
call fcn.00403461
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x4c102f
mov byte [ebp - 4], 8
call fcn.00403461
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
lea esi, [ebp - 0x2c]
call fcn.0040694a
add esp, 0x24
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x55c]
mov byte [ebp - 4], 9
call fcn.00403caa
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00403db0
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.00403db0
push str.docName
lea ecx, [ebp - 0x48]
call fcn.00403461
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x4c102f
mov byte [ebp - 4], 0xa
call fcn.00403461
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040694a
add esp, 0x24
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x578]
mov byte [ebp - 4], 0xb
call fcn.00403caa
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00403db0
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.00403db0
cmp dword [edi + 0x570], ebx
je 0x420d98
cmp dword [edi + 0x58c], ebx
je 0x420d98
push 0x4c1578
lea ecx, [ebp - 0x48]
call fcn.00403461
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x4c102f
mov byte [ebp - 4], 0xc
call fcn.00403461
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040694a
add esp, 0x24
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call fcn.00401215
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x540]
push ecx
mov byte [ebp - 4], 0xe
call fcn.00403dfb
push ebx
push 1
lea esi, [ebp - 0x64]
call fcn.00403ead
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00403db0
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.00403db0
lea esi, [edi + 0x540]
cmp dword [esi + 0x18], 8
jb 0x420d69
mov eax, dword [esi + 4]
jmp 0x420d6c
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x420d82
push 0x4c1030
push esi
call fcn.00403e86
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00436b2e
mov eax, edi
call fcn.00499229
ret 8
push 0x10
push 0x4c13cc
push 0x4c4dd8
jmp 0x420bf6