Function at 0x40dc12
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445527
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
mov dword [ebp - 0x144], ecx
lea ecx, [ebp - 0x124]
call fcn.00404460
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00404460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00404460
mov byte [ebp - 4], 2
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x8505c
push ecx
mov edx, esp
mov dword [ebp - 0x12c], esp
push ecx
mov ecx, edx
call fcn.00436d95
mov dword [ebp - 0x148], eax
mov ecx, 0x45ea40
call fcn.00412c50
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jne 0x40dceb
push str.Get_IP_Address_is_failed_so_that_job_monitor_is_not_launched
call fcn.00401000
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00437020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.00437020
jmp 0x40e0c5
push 0x461604
lea ecx, [ebp - 0x118]
call fcn.004371a9
mov eax, dword [ebp - 0x118]
push eax
push str.Job_mon_path_is___s
call fcn.00401000
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.004044d0
push eax
call fcn.004208c0
add esp, 4
test eax, eax
ja 0x40dd69
push str.Job_mon_path_is_null
call fcn.00401000
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00437020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.00437020
jmp 0x40e0c5
mov ecx, dword [ebp - 0x144]
add ecx, 0x8505c
call fcn.004044d0
push eax
mov ecx, 0x45ea40
call fcn.0041174b
mov ecx, dword [ebp - 0x144]
add ecx, 0x85058
call fcn.004044d0
push eax
mov ecx, 0x45ea40
call fcn.0041178d
push 0
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x144]
add ecx, 0x8505c
call fcn.004044d0
push eax
call sub.WINSPOOL.DRV_OpenPrinterA
mov dword [ebp - 0x128], eax
lea edx, [ebp - 0x11c]
push edx
push 0
push 0
push 2
mov eax, dword [ebp - 0x114]
push eax
call sub.WINSPOOL.DRV_GetPrinterA
test eax, eax
jne 0x40de24
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x40de24
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00437020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.00437020
jmp 0x40e0c5
mov ecx, dword [ebp - 0x11c]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x40de83
mov edx, dword [ebp - 0x114]
push edx
call sub.WINSPOOL.DRV_ClosePrinter
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00437020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.00437020
jmp 0x40e0c5
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x110]
push edx
push 2
mov eax, dword [ebp - 0x114]
push eax
call sub.WINSPOOL.DRV_GetPrinterA
test eax, eax
je 0x40dede
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx + 0x10]
push edx
lea eax, [ebp - 0x10c]
push eax
call fcn.004207d0
add esp, 8
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x114]
push edx
call sub.WINSPOOL.DRV_ClosePrinter
jmp 0x40deff
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetPrinter_fail___d__n
call fcn.00401000
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.00404600
test eax, eax
je 0x40e081
push 0x456b88
lea ecx, [ebp - 0x10c]
push ecx
push 0x456b8c
lea edx, [ebp - 0x120]
push edx
push 0x456b90
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.004372b5
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x154], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x154]
push eax
lea ecx, [ebp - 0x134]
push ecx
call fcn.0043724f
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.004372b5
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x164], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x164]
push eax
lea ecx, [ebp - 0x13c]
push ecx
call fcn.004372b5
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x140]
push ecx
call fcn.004372b5
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x174], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x174]
push eax
lea ecx, [ebp - 0x118]
call fcn.00437159
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x140]
call fcn.00437020
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x13c]
call fcn.00437020
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x138]
call fcn.00437020
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
call fcn.00437020
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x130]
call fcn.00437020
mov ecx, dword [ebp - 0x118]
push ecx
push str.jobmon_launched_:_path___s
call fcn.00401000
add esp, 8
push 5
lea ecx, [ebp - 0x118]
call fcn.004044d0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov edx, dword [ebp - 0x118]
push edx
push str.Run_LaunchJobMonitor_from_Manager..._s_n
call fcn.00401000
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00437020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00437020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.00437020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret