Function at 0x41b190
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov dword [esp + 8], ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [0x521014]
xor eax, ebp
mov dword [esp + 0xc8], eax
lea edi, [esp + 0x18]
mov ecx, edi
push 0x237
push str.RunModuleAndWait
push 0
call fcn.004b9b40
lea ebx, [esp + 0x20]
lea ecx, [esp + 0x54]
push 0x5074e4
push str.Run:
call fcn.004b5d50
mov ecx, ebx
push esi
call fcn.004b6280
mov ecx, edi
mov edi, dword [ebp + 0x10]
call fcn.004379a0
test edi, edi
je 0x41b1fe
mov dword [edi], 0x190
xorps xmm0, xmm0
lea eax, [esp + 0x84]
movups xmmword [eax + 0x34], xmm0
movups xmmword [eax + 0x24], xmm0
movups xmmword [eax + 0x14], xmm0
movups xmmword [eax + 4], xmm0
mov dword [eax], 0x44
lea ecx, [esp + 0x70]
movaps xmmword [ecx], xmm0
sub esp, 0x28
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
movaps xmm0, xmmword [0x5071a0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], esi
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41b2d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xd8
jne 0x41b271
mov dword [0x5310d8], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0xc]
push eax
push edi
call fcn.004b9e70
add esp, 8
lea esi, [esp + 0x18]
mov ecx, esi
push edi
push 0x245
push str.RunModuleAndWait
push 1
call fcn.004b9c70
lea ecx, [esp + 0x54]
push 0x5074fb
push str.Create_process_failed.
call fcn.004b5d50
mov ecx, esi
call fcn.004b9cb0
cmp byte [edi + 0xb], 0
jns 0x41b2c9
push dword [esp + 0xc]
call fcn.0048b376
add esp, 4
xor ebx, ebx
jmp 0x41b38c
lea edi, [esp + 0x18]
mov ecx, edi
push 0x248
push str.RunModuleAndWait
push 0
call fcn.004b9b40
lea ebx, [esp + 0x20]
lea ecx, [esp + 0x54]
push 0x50750d
push str.Process_created:
call fcn.004b5d50
mov ecx, ebx
push dword [esp + 0x78]
call fcn.004b5c00
mov ecx, edi
call fcn.004379a0
mov esi, dword [esp + 8]
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x41b32a
mov eax, dword [ecx]
push 0x28
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x68]
mov eax, dword [ecx]
call dword [eax + 0x20]
push dword [esp + 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x18]
mov ecx, esi
push 0x250
push str.RunModuleAndWait
push 0
call fcn.004b9b40
lea ecx, [esp + 0x54]
push 0x507526
push str.Wait_for_process_finish.
call fcn.004b5d50
mov ecx, esi
call fcn.004379a0
push 0xffffffffffffffff
push dword [esp + 0x74]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov esi, dword [ebp + 0x10]
jne 0x41b3a6
mov bl, 1
test esi, esi
jne 0x41b402
push dword [esp + 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.0048b980
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0xc]
push eax
push edi
call fcn.004b9e70
add esp, 8
lea esi, [esp + 0x18]
mov ecx, esi
push edi
push 0x253
push str.RunModuleAndWait
push 1
call fcn.004b9c70
lea ecx, [esp + 0x54]
push 0x50753b
push str.Wait_process_failed.
call fcn.004b5d50
mov ecx, esi
call fcn.004b9cb0
cmp byte [edi + 0xb], 0
jns 0x41b3fe
push dword [esp + 0xc]
call fcn.0048b376
add esp, 4
xor ebx, ebx
jmp 0x41b382
push esi
push dword [esp + 0x74]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
setne bl
jne 0x41b46f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0xc]
push eax
push edi
call fcn.004b9e70
add esp, 8
lea esi, [esp + 0x18]
mov ecx, esi
push edi
push 0x258
push str.RunModuleAndWait
push 1
call fcn.004b9c70
lea ecx, [esp + 0x54]
push 0x50755f
push str.Get_setup_process_exit_code_failed.
call fcn.004b5d50
mov ecx, esi
call fcn.004b9cb0
cmp byte [edi + 0xb], 0
jns 0x41b46c
push dword [esp + 0xc]
call fcn.0048b376
add esp, 4
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x18]
push 0x25c
push str.RunModuleAndWait
push 0
call fcn.004b9b40
lea ecx, [esp + 0x54]
push 0x50757e
push str.Setup_process_exit_with_code:
call fcn.004b5d50
lea edi, [esp + 0xc]
push dword [esi]
push edi
call fcn.00437ac0
add esp, 8
movzx eax, byte [edi + 0xb]
test al, al
jns 0x41b4b6
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add eax, edi
lea ecx, [esp + 0x54]
push eax
push edi
call fcn.004b5d50
cmp byte [esp + 0x17], 0
jns 0x41b4d6
push dword [esp + 0xc]
call fcn.0048b376
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004379a0
jmp 0x41b382