Function at 0x42cf00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484a5a
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], ecx
push 0x48f063
lea ecx, [ebp - 0x84]
call fcn.0040e440
mov dword [ebp - 4], 0
push 0x48f089
lea ecx, [ebp - 0x30]
call fcn.0040e440
mov byte [ebp - 4], 1
push 0x48f08a
lea ecx, [ebp - 0x18]
call fcn.0040e440
mov byte [ebp - 4], 2
push 0x48f08b
lea ecx, [ebp - 0x10]
call fcn.0040e440
mov byte [ebp - 4], 3
push 0x48f097
lea ecx, [ebp - 0x34]
call fcn.0040e440
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
call fcn.00412160
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x88], 0
jmp 0x42cfaf
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x2c]
call fcn.0043fec0
cmp dword [ebp - 0x88], eax
jge 0x42d23c
mov ecx, dword [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040e330
push eax
lea ecx, [ebp - 0x84]
call fcn.0040e510
push 0x48f990
lea ecx, [ebp - 0x9c]
call fcn.0040e440
mov byte [ebp - 4], 5
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.0042a270
mov byte [ebp - 0x95], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.0040e4c0
movzx ecx, byte [ebp - 0x95]
test ecx, ecx
je 0x42d237
push str._model
lea ecx, [ebp - 0xa0]
call fcn.0040e440
mov byte [ebp - 4], 6
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [ebp - 0xf0]
call fcn.0042a070
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040e510
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
call fcn.0040e4c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.0040e4c0
push str._name
lea ecx, [ebp - 0xa8]
call fcn.0040e440
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.0042a070
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x100]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040e510
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xac]
call fcn.0040e4c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
call fcn.0040e4c0
push str._port
lea ecx, [ebp - 0xb0]
call fcn.0040e440
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0xb4]
push edx
mov ecx, dword [ebp - 0xf0]
call fcn.0042a070
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040e510
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb4]
call fcn.0040e4c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.0040e4c0
push str._deviceid
lea ecx, [ebp - 0xb8]
call fcn.0040e440
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, dword [ebp - 0xf0]
call fcn.0042a070
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x110]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e510
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xbc]
call fcn.0040e4c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.0040e4c0
lea ecx, [ebp - 0x18]
call fcn.0040de50
movzx ecx, al
test ecx, ecx
je 0x42d226
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040e510
lea ecx, [ebp - 0x30]
call fcn.0040de50
movzx eax, al
test eax, eax
jne 0x42d237
jmp 0x42d23c
jmp 0x42cfa0
lea ecx, [ebp - 0x30]
call fcn.0040de50
movzx ecx, al
test ecx, ecx
je 0x42d29f
mov byte [ebp - 0xbd], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.0040e4c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.0040e4c0
mov al, byte [ebp - 0xbd]
jmp 0x42d76f
push str.PRINTER_MODEL
lea ecx, [ebp - 0xc4]
call fcn.0040e440
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.0042d780
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0xbe], cl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc4]
call fcn.0040e4c0
movzx edx, byte [ebp - 0xbe]
test edx, edx
je 0x42d347
mov byte [ebp - 0xc5], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.0040e4c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.0040e4c0
mov al, byte [ebp - 0xc5]
jmp 0x42d76f
push str.PRINTER_NAME
lea ecx, [ebp - 0xcc]
call fcn.0040e440
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xcc]
push ecx
mov ecx, dword [ebp - 0xf0]
call fcn.0042d780
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0xc6], dl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xcc]
call fcn.0040e4c0
movzx eax, byte [ebp - 0xc6]
test eax, eax
je 0x42d3ef
mov byte [ebp - 0xcd], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.0040e4c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.0040e4c0
mov al, byte [ebp - 0xcd]
jmp 0x42d76f
push str.PRINTER_PORT
lea ecx, [ebp - 0xd4]
call fcn.0040e440
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xd4]
push edx
mov ecx, dword [ebp - 0xf0]
call fcn.0042d780
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xce], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd4]
call fcn.0040e4c0
movzx ecx, byte [ebp - 0xce]
test ecx, ecx
je 0x42d497
mov byte [ebp - 0xd5], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.0040e4c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.0040e4c0
mov al, byte [ebp - 0xd5]
jmp 0x42d76f
push str.PRINTER_PNPID
lea ecx, [ebp - 0xdc]
call fcn.0040e440
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.0042d780
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0xd6], cl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xdc]
call fcn.0040e4c0
movzx edx, byte [ebp - 0xd6]
test edx, edx
je 0x42d53f
mov byte [ebp - 0xdd], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.0040e4c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.0040e4c0
mov al, byte [ebp - 0xdd]
jmp 0x42d76f
mov dword [ebp - 0x80], 0
push 0x44
lea eax, [ebp - 0x7c]
push eax
call fcn.0042d9e0
add esp, 8
mov dword [ebp - 0x7c], 0x44
push 0x48fa04
lea ecx, [ebp - 0xe4]
call fcn.0040e440
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.0042a070
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xe4]
call fcn.0040e4c0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x7c]
push edx
push 0
push 0
mov eax, dword [ebp - 0x80]
push eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x42d708
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x94], eax
push 0x7d
lea ecx, [ebp - 0x90]
push ecx
call fcn.00415aa0
add esp, 8
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x14]
call fcn.0040e550
push eax
push 0x48fa14
lea ecx, [ebp - 0x90]
call fcn.00411330
lea ecx, [ebp - 0x8c]
call fcn.0040e380
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x90]
push eax
push 0x48fa18
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00412a80
add esp, 0x10
push 0x30
push 0x66
lea edx, [ebp - 0xe8]
push edx
call fcn.00415aa0
add esp, 8
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x118]
call fcn.0040e550
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040e550
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe8]
call fcn.0040e4c0
mov byte [ebp - 0xe9], 0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x8c]
call fcn.0040e4c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x90]
call fcn.0040e4c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.0040e4c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.0040e4c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.0040e4c0
mov al, byte [ebp - 0xe9]
jmp 0x42d76f
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 0xea], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.0040e4c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.0040e4c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.0040e4c0
mov al, byte [ebp - 0xea]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4