Function at 0x41f450
Capabilities:
Create process on windows
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x48637b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4aeda0]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4aeda0]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14c]
mov ebp, dword [esp + 0x148]
mov dword [esp + 0x1c], eax
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [esp + 0x108], ecx
mov dword [esp + 0x104], eax
mov word [esp + 0xf4], dx
mov dword [esp + 0x140], eax
mov dword [esp + 0xec], ecx
mov dword [esp + 0xe8], eax
mov word [esp + 0xd8], ax
sub esp, 0x1c
mov ebx, ebp
mov ecx, esp
mov byte [esp + 0x15c], 1
lea esi, [esp + 0xf0]
lea edi, [esp + 0x10c]
mov dword [esp + 0x3c], esp
call fcn.0042aae0
mov edx, esi
mov ecx, edi
call fcn.0041f320
add esp, 0x1c
push 0x40
lea ecx, [esp + 0x94]
push 0
push ecx
call fcn.004504c0
xor eax, eax
add esp, 0xc
mov edx, esi
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x74]
push 0x49bb1c
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x98], 0x44
call fcn.0040b3d6
add esp, 0xc
push 0xffffffffffffffff
mov ecx, esi
push ecx
xor ebx, ebx
mov byte [esp + 0x148], 2
call fcn.0040191e
mov ebx, 8
mov byte [esp + 0x140], 1
cmp dword [esp + 0x88], ebx
jb 0x41f58c
mov edx, dword [esp + 0x74]
push edx
call fcn.0045061f
add esp, 4
push 0x49bb1c
call fcn.00450a1d
add esp, 4
push eax
mov eax, 0x49bb1c
lea ecx, [esp + 0xd8]
call fcn.00401880
mov esi, dword [esp + 0xe8]
add esi, 0x13
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004503d0
mov edi, eax
mov eax, dword [esp + 0xdc]
add esp, 4
mov dword [esp + 0x20], edi
cmp dword [esp + 0xec], ebx
jae 0x41f5ed
lea eax, [esp + 0xd8]
push eax
push esi
push edi
call fcn.00457fb5
add esp, 0xc
push 0x38
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.004504c0
add esp, 0xc
mov dword [esp + 0x34], 0x3c
mov dword [esp + 0x38], 0x4440
mov dword [esp + 0x40], str.runas
mov dword [esp + 0x44], ebp
cmp dword [esp + 0x108], ebx
jb 0x41f63b
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x4c], ecx
jmp 0x41f646
lea edx, [esp + 0xf4]
mov dword [esp + 0x4c], edx
xor eax, eax
mov dword [esp + 0x50], 0xa
mov word [esp + 0x10c], ax
mov dword [esp + 0x10e], eax
mov dword [esp + 0x112], eax
mov dword [esp + 0x116], eax
mov dword [esp + 0x11a], eax
mov dword [esp + 0x11e], eax
mov dword [esp + 0x122], eax
mov dword [esp + 0x126], eax
mov dword [esp + 0x12a], eax
mov dword [esp + 0x12e], eax
call fcn.00424060
push eax
push edx
lea ecx, [esp + 0x114]
push str.__X__X
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push str.Create_iRobot_process
push 0x45
call fcn.0041ef10
push eax
mov ebx, 0x2000040
mov ecx, str..HCLaunch.cpp
call fcn.0041f0d0
add esp, 0xc
lea edx, [esp + 0x10c]
push edx
push esi
push edi
call fcn.00457f38
xor esi, esi
add esp, 0xc
xor edi, edi
cmp dword [esp + 0x1c], esi
je 0x41f78b
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41f73b
push str.AssignProcessToJobObject
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
jne 0x41f767
push str.no_funAssignProcessToJobObject
push 0x55
call fcn.0041ef10
push eax
mov ebx, 0x2000004
mov ecx, str..HCLaunch.cpp
call fcn.0041f0d0
jmp 0x41f788
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.hInstance__NULL__GetLastError___lu
push 0x5a
push ecx
call fcn.0041ef10
add esp, 4
push eax
mov ebx, 0x2000004
mov ecx, str..HCLaunch.cpp
call fcn.0041f0d0
add esp, 0x10
jmp 0x41f78b
push str.CreationFlag__CreationFlag__CREATE_SUSPENDED
push 0x5f
call fcn.0041ef10
push eax
mov ebx, 0x2000004
mov ecx, str..HCLaunch.cpp
call fcn.0041f0d0
mov edi, 4
add esp, 0xc
cmp dword [esp + 0x108], 8
mov eax, dword [esp + 0xf4]
jae 0x41f7a3
lea eax, [esp + 0xf4]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x90]
push edx
push eax
push 0
push edi
mov edi, dword [esp + 0x34]
push 0
push 0
push 0
push edi
push ebp
mov dword [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41f862
cmp dword [esp + 0x1c], 0
je 0x41f846
test esi, esi
je 0x41f846
push str.before_pfAssignProcessToJobObject...
push 0x7b
call fcn.0041ef10
push eax
mov ebx, 0x2000004
mov ecx, str..HCLaunch.cpp
call fcn.0041f0d0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push eax
push ecx
call esi
test eax, eax
jne 0x41f833
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push str.bAssignProcessToJobObject_d__err_lu
push 0x7f
call fcn.0041ef10
push eax
mov ecx, str..HCLaunch.cpp
call fcn.0041f0d0
add esp, 0x14
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41f855
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jmp 0x41f8e7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x2e4
jne 0x41f8e7
call esi
push eax
push str.CreateProcess_failed__lu__Try_ShellExecuteEx...
push 0x8e
push ecx
call fcn.0041ef10
add esp, 4
push eax
mov ebx, 0x2000008
mov ecx, str..HCLaunch.cpp
call fcn.0041f0d0
add esp, 0x10
lea edx, [esp + 0x34]
lea ecx, [esp + 0x10c]
push edx
mov dword [esp + 0x4c], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41f8be
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
jmp 0x41f8e7
call esi
push eax
push str.ShellExecuteEx_failed_error___lu
push 0x94
push ecx
call fcn.0041ef10
add esp, 4
push eax
mov ebx, 0x2000002
mov ecx, str..HCLaunch.cpp
call fcn.0041f0d0
add esp, 0x10
test edi, edi
je 0x41f8f4
push edi
call fcn.004539c3
add esp, 4
mov esi, 8
cmp dword [esp + 0xec], esi
jb 0x41f912
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.0045061f
add esp, 4
xor edx, edx
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], 0
mov word [esp + 0xd8], dx
cmp dword [esp + 0x108], esi
jb 0x41f94b
mov eax, dword [esp + 0xf4]
push eax
call fcn.0045061f
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004504a7
add esp, 0x130
ret