Function at 0x448268
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xc8
mov eax, 0x5aafd1
call fcn.00588aeb
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
xor eax, eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], eax
mov ebx, eax
call fcn.0046c48f
push 7
pop ecx
xor edx, edx
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov word [ebp - 0x28], ax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 3
cmp dword [ebp + 0xc], eax
jne 0x4482ed
xor edi, edi
inc edi
mov ebx, edi
xor esi, esi
push esi
push edi
lea ecx, [ebp - 0x40]
call fcn.00403a7f
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.00403a7f
xor eax, eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], al
call fcn.0046c546
lea ecx, [ebp + 8]
call fcn.00406bbf
mov eax, ebx
call fcn.00588a9a
ret 0x14
push 0x44
pop edi
push edi
push edx
lea eax, [ebp - 0xd4]
push eax
call fcn.00587a70
mov dword [ebp - 0xd4], edi
xor edi, edi
inc edi
add esp, 0xc
mov dword [ebp - 0xa8], edi
call fcn.00473832
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.00419e2e
and eax, 0xf
cmp al, 2
jne 0x448335
xor eax, eax
mov word [ebp - 0xa4], ax
jmp 0x44833c
mov word [ebp - 0xa4], di
cmp dword [ebp + 0xc], edi
jbe 0x44846a
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x64], eax
cmp eax, ecx
je 0x4484d8
add eax, 0x10
cmp dword [eax + 0x14], 8
jb 0x448360
mov eax, dword [eax]
push 0x5c
push eax
lea ecx, [ebp - 0x7c]
call fcn.0046d9ee
push edi
lea ecx, [ebp - 0x7c]
call fcn.0046caa8
test eax, eax
je 0x4483bf
push 2
lea ecx, [ebp - 0x7c]
call fcn.0046caa8
test eax, eax
je 0x4483bf
test esi, esi
je 0x4483bf
cmp dword [ebp - 0x5c], 0
je 0x4483bf
push esi
push edi
lea ecx, [ebp - 0x7c]
call fcn.0046caa8
push eax
call fcn.0058b527
pop ecx
pop ecx
test eax, eax
jne 0x4483bf
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x7c]
push 2
call fcn.0046caa8
push eax
call fcn.0058b527
pop ecx
pop ecx
test eax, eax
je 0x4483d4
lea ecx, [ebp - 0x64]
call fcn.0042049a
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp + 8]
jne 0x448355
jmp 0x4484d8
push str.Two_or_more_added_printers_have_been_found._n
push str.CInstallAction::SetPrinterAsDefaultW
push 5
call fcn.00423f75
add esp, 0xc
xor esi, esi
push esi
lea ecx, [ebp - 0x7c]
call fcn.0046caa8
push eax
push str.PrinterName____1_lS___n
push str.CInstallAction::SetPrinterAsDefaultW
push 5
call fcn.00423f75
add esp, 0x10
lea ecx, [ebp - 0x7c]
push edi
call fcn.0046caa8
push eax
push str.DriverName____1_lS___n
push str.CInstallAction::SetPrinterAsDefaultW
push 5
call fcn.00423f75
add esp, 0x10
lea ecx, [ebp - 0x7c]
push 2
call fcn.0046caa8
push eax
push str.PortName____1_lS___n
push str.CInstallAction::SetPrinterAsDefaultW
push 5
call fcn.00423f75
add esp, 0x10
lea ecx, [ebp - 0x7c]
push esi
call fcn.0046caa8
mov esi, eax
xor eax, eax
cmp word [esi], ax
je 0x44845e
push esi
call fcn.00588144
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00403cef
jmp 0x4484d8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, 0x10
cmp dword [eax + 0x14], 8
jb 0x44847a
mov eax, dword [eax]
push 0x5c
push eax
lea ecx, [ebp - 0x7c]
call fcn.0046d9ee
xor esi, esi
push esi
lea ecx, [ebp - 0x7c]
call fcn.0046caa8
mov esi, eax
xor eax, eax
cmp word [esi], ax
je 0x4484a0
push esi
call fcn.00588144
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00403cef
push str.A_last_added_printer_has_been_found._n
mov esi, str.CInstallAction::SetPrinterAsDefaultW
push esi
push 5
call fcn.00423f75
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.PrinterName____1_lS___n
push esi
push 5
call fcn.00423f75
add esp, 0x1c
cmp byte [ebp + 0x18], 0
jne 0x44852e
cmp dword [ebp - 0x18], 0
je 0x4482b8
lea ecx, [ebp - 0x5c]
call fcn.00460d1e
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.004613ec
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov esi, eax
call sub.WINSPOOL.DRV_Ordinal_204
mov ebx, eax
test esi, esi
je 0x44851d
lea ecx, [ebp - 0x5c]
call fcn.0046171d
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00460d27
jmp 0x4482b8
cmp dword [ebp - 0x18], 0
je 0x4482b8
call fcn.00473832
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0xcc]
call fcn.00412818
push eax
lea ecx, [ebp - 0x58]
call fcn.004010bc
mov esi, str.rundll32
push esi
mov byte [ebp - 4], 5
call fcn.00588144
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00403cef
cmp dword [ebp - 0x44], 8
lea esi, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
xor ebx, ebx
cmp word [esi], bx
jne 0x448584
mov eax, ebx
jmp 0x44858b
push esi
call fcn.00588144
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00403b92
mov esi, str._PrintUIEntry
push esi
call fcn.00588144
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00403b92
mov esi, str._y__n__
push esi
call fcn.00588144
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00403b92
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
cmp word [esi], bx
jne 0x4485d5
mov eax, ebx
jmp 0x4485dc
push esi
call fcn.00588144
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00403b92
mov esi, 0x5ca810
push esi
call fcn.00588144
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00403b92
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.CmdLine____1_lS___n
mov esi, str.CInstallAction::SetPrinterAsDefaultW
push esi
push 4
call fcn.00423f75
add esp, 0x10
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0xd4]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test ebx, ebx
jne 0x44865f
push str.CreateProcess_failed._n
push esi
push 2
call fcn.00423f75
add esp, 0xc
jmp 0x4486df
push str.CreateProcess_success._n
push esi
push 4
call fcn.00423f75
add esp, 0xc
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00473832
mov ecx, dword [eax + 4]
call fcn.00474e21
push 0x1f4
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
call fcn.0046f113
lea ecx, [ebp - 0x5d]
mov byte [ebp - 4], 5
call fcn.0040712f
cmp esi, 0x102
je 0x44867b
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push esi
push edi
lea ecx, [ebp - 0x58]
call fcn.00403a7f
jmp 0x4482ba