Function at 0x401280
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x427120]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push edi
xor edi, edi
call esi
push eax
lea ecx, [ebp - 0x618]
call fcn.00401040
push str._nolog
lea ecx, [ebp - 0x618]
call fcn.00401070
test al, al
sete al
movzx ecx, al
push ecx
call fcn.004063c0
add esp, 4
call fcn.004065d0
test eax, eax
je 0x4012ee
push 0x41e7dc
push str.novaPDF_version:__s
call fcn.004065d0
push eax
call fcn.004063d0
add esp, 0xc
call fcn.004065d0
test eax, eax
je 0x40130d
call esi
push eax
push str.Parameters:__s
call fcn.004065d0
push eax
call fcn.004063d0
add esp, 0xc
xor eax, eax
nop
movzx ecx, word [eax + str.doPDF_v7]
mov word [ebp + eax - 0x118], cx
add eax, 2
test cx, cx
jne 0x401310
lea edx, [ebp - 0x118]
push edx
push str._name
lea ecx, [ebp - 0x618]
call fcn.004010e0
lea ecx, [ebp - 0x624]
call fcn.00406620
push str.Spooler
lea ecx, [ebp - 0x624]
call fcn.00406640
test al, al
je 0x4013c6
lea ecx, [ebp - 0x624]
call fcn.004068d0
lea ecx, [ebp - 0x624]
mov bl, al
call fcn.00406a20
test bl, bl
jne 0x4013c6
call fcn.004065d0
test eax, eax
je 0x40139a
push str.Fatal_ERORR__could_not_start_the_print_spooler_service__
push 0x41e6ec
call fcn.004065d0
push eax
call fcn.004063d0
add esp, 0xc
lea ecx, [ebp - 0x624]
call fcn.00406630
lea ecx, [ebp - 0x618]
call fcn.00401060
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040ae4c
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x610]
call fcn.00403b00
push str._checkjobs
lea ecx, [ebp - 0x618]
call fcn.00401070
test al, al
je 0x401448
lea ecx, [ebp - 0x610]
xor esi, esi
call fcn.00405c10
test eax, eax
jne 0x401412
lea eax, [ebp - 0x118]
push eax
push esi
lea ecx, [ebp - 0x610]
call fcn.00401de0
test al, al
je 0x401412
mov esi, 1
lea ecx, [ebp - 0x610]
call fcn.00403b80
lea ecx, [ebp - 0x624]
call fcn.00406630
lea ecx, [ebp - 0x618]
call fcn.00401060
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040ae4c
mov esp, ebp
pop ebp
ret 0x10
push str._checkname
lea ecx, [ebp - 0x618]
call fcn.00401070
lea ecx, [ebp - 0x618]
test al, al
je 0x4014a2
push str._name
xor esi, esi
call fcn.00401070
lea ecx, [ebp - 0x610]
test al, al
jne 0x401482
call fcn.00403b80
jmp 0x40139a
call fcn.00405c10
test eax, eax
jne 0x401412
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x610]
call fcn.004018c0
jmp 0x401409
push str._install
call fcn.00401070
lea ecx, [ebp - 0x618]
test al, al
je 0x40175f
push str._default
call fcn.00401070
mov byte [ebp - 0x62c], al
test al, al
jne 0x4014e5
call fcn.004065d0
test eax, eax
je 0x401508
lea edx, [ebp - 0x118]
push edx
push str.WinMain__installing_printer:___s_
jmp 0x4014fa
call fcn.004065d0
test eax, eax
je 0x401508
lea eax, [ebp - 0x118]
push eax
push str.WinMain__installing_printer:___s__and_seting_as_default_printer
call fcn.004065d0
push eax
call fcn.004063d0
add esp, 0xc
push str._noprinter
lea ecx, [ebp - 0x618]
call fcn.00401070
mov bl, al
mov byte [ebp - 0x630], bl
test bl, bl
je 0x401545
call fcn.004065d0
test eax, eax
je 0x401545
push str.WinMain__do_not_install_a_printer
push 0x41e6ec
call fcn.004065d0
push eax
call fcn.004063d0
add esp, 0xc
push str._onlyAddPrinter
lea ecx, [ebp - 0x618]
call fcn.00401070
mov byte [ebp - 0x61c], al
test al, al
je 0x401582
call fcn.004065d0
test eax, eax
je 0x401582
lea ecx, [ebp - 0x118]
push ecx
push str.WinMain__only_add_a_printer:___s___do_not_install_printer_driver
call fcn.004065d0
push eax
call fcn.004063d0
add esp, 0xc
lea ecx, [ebp - 0x610]
call fcn.00405c10
mov edi, eax
test edi, edi
jne 0x4017d6
lea edx, [ebp - 0x198]
push edx
push str._languages
lea ecx, [ebp - 0x618]
mov byte [ebp - 0x198], al
mov byte [ebp - 0x18], al
call fcn.00401190
lea eax, [ebp - 0x18]
push eax
push str._deflanguage
lea ecx, [ebp - 0x618]
call fcn.00401190
push str._regpdfkey
lea ecx, [ebp - 0x618]
call fcn.00401070
xor ecx, ecx
push 0xfe
push ecx
lea edx, [ebp - 0x296]
push edx
mov byte [ebp - 0x628], al
mov word [ebp - 0x298], cx
call fcn.0040ae90
add esp, 0xc
lea eax, [ebp - 0x298]
push eax
push str._pagesizes
lea ecx, [ebp - 0x618]
call fcn.004010e0
mov edx, dword [ebp - 0x61c]
mov eax, dword [ebp - 0x630]
lea ecx, [ebp - 0x298]
push ecx
mov ecx, dword [ebp - 0x628]
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x62c]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x198]
push eax
push ecx
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x610]
call fcn.00405f20
lea ecx, [ebp - 0x610]
mov edi, eax
call fcn.00402eb0
test bl, bl
jne 0x4017d2
xor ebx, ebx
cmp edi, ebx
jne 0x4017d6
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x118]
push edx
mov dword [ebp - 0x63c], ebx
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x634], 8
call sub.WINSPOOL.DRV_OpenPrinterW
test eax, eax
je 0x401736
mov ecx, dword [ebp - 0x61c]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
push ecx
push ebx
call sub.WINSPOOL.DRV_DocumentPropertiesW
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 1
push ebx
mov esi, eax
mov eax, dword [ebp - 0x61c]
push esi
lea edx, [ebp - 0x118]
push edx
push eax
push ebx
call sub.WINSPOOL.DRV_DocumentPropertiesW
push 0xa
push esi
mov edx, 0x1f4
mov ecx, 0x100
mov word [esi + 0x4e], cx
mov eax, edx
push esi
lea ecx, [ebp - 0x118]
mov word [esi + 0x50], dx
mov word [esi + 0x52], ax
mov dword [esi + 0x48], 0xe
mov edx, dword [ebp - 0x61c]
push ecx
push edx
push ebx
call sub.WINSPOOL.DRV_DocumentPropertiesW
mov eax, dword [ebp - 0x61c]
push eax
call sub.WINSPOOL.DRV_ClosePrinter
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4017d2
call fcn.004065d0
test eax, eax
je 0x4017d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenPrinter_failed__error___d
call fcn.004065d0
push eax
call fcn.004063d0
add esp, 0xc
jmp 0x4017d2
push str._uninstall
call fcn.00401070
test al, al
je 0x4017e7
call fcn.004065d0
test eax, eax
je 0x401790
lea ecx, [ebp - 0x118]
push ecx
push str.WinMain__uninstalling_printer:__s
call fcn.004065d0
push eax
call fcn.004063d0
add esp, 0xc
lea ecx, [ebp - 0x610]
call fcn.00405c10
push 0
push 1
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x610]
call fcn.00405840
push str._askReason
lea ecx, [ebp - 0x618]
mov edi, eax
call fcn.00401070
test al, al
je 0x4017d2
lea ecx, [ebp - 0x610]
call fcn.00402810
test edi, edi
je 0x4017e7
call fcn.004065d0
test eax, eax
je 0x401808
push edi
push str.WinMain__There_were_some_ERRORS_returning_error_code:__u
jmp 0x4017fa
call fcn.004065d0
test eax, eax
je 0x401808
push str.Installation_completed_succesfully.
push 0x41e6ec
call fcn.004065d0
push eax
call fcn.004063d0
add esp, 0xc
lea ecx, [ebp - 0x610]
call fcn.00403b80
lea ecx, [ebp - 0x624]
call fcn.00406630
lea ecx, [ebp - 0x618]
call fcn.00401060
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ae4c
mov esp, ebp
pop ebp
ret 0x10