Function at 0x41b050
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 [0x520014]
xor eax, ebp
mov dword [esp + 0xc8], eax
lea edi, [esp + 0x18]
mov ecx, edi
push 0x241
push str.RunModuleAndWait
push 0
call fcn.004b83c0
lea ebx, [esp + 0x20]
lea ecx, [esp + 0x54]
push 0x5049b4
push str.Run:
call fcn.004b45d0
mov ecx, ebx
push esi
call fcn.004b4b00
mov ecx, edi
mov edi, dword [ebp + 0x10]
call fcn.004374c0
test edi, edi
je 0x41b0be
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 [0x504670]
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 0x41b179
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0xc]
push eax
push edi
call fcn.004b86f0
add esp, 8
lea esi, [esp + 0x18]
mov ecx, esi
push edi
push 0x24c
push str.RunModuleAndWait
push 1
call fcn.004b84f0
lea ecx, [esp + 0x54]
push 0x5049cb
push str.Create_process_failed.
call fcn.004b45d0
mov ecx, esi
call fcn.004b8530
cmp byte [edi + 0xb], 0
jns 0x41b172
push dword [esp + 0xc]
call fcn.00489982
add esp, 4
xor ebx, ebx
jmp 0x41b235
lea edi, [esp + 0x18]
mov ecx, edi
push 0x24f
push str.RunModuleAndWait
push 0
call fcn.004b83c0
lea ebx, [esp + 0x20]
lea ecx, [esp + 0x54]
push 0x5049dd
push str.Process_created:
call fcn.004b45d0
mov ecx, ebx
push dword [esp + 0x78]
call fcn.004b44e0
mov ecx, edi
call fcn.004374c0
mov esi, dword [esp + 8]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x41b1d3
mov eax, dword [ecx]
push 0x28
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x64]
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 0x257
push str.RunModuleAndWait
push 0
call fcn.004b83c0
lea ecx, [esp + 0x54]
push 0x5049f6
push str.Wait_for_process_finish.
call fcn.004b45d0
mov ecx, esi
call fcn.004374c0
push 0xffffffffffffffff
push dword [esp + 0x74]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov esi, dword [ebp + 0x10]
jne 0x41b24f
mov bl, 1
test esi, esi
jne 0x41b2ab
push dword [esp + 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.0048a678
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.004b86f0
add esp, 8
lea esi, [esp + 0x18]
mov ecx, esi
push edi
push 0x25a
push str.RunModuleAndWait
push 1
call fcn.004b84f0
lea ecx, [esp + 0x54]
push 0x504a0b
push str.Wait_process_failed.
call fcn.004b45d0
mov ecx, esi
call fcn.004b8530
cmp byte [edi + 0xb], 0
jns 0x41b2a7
push dword [esp + 0xc]
call fcn.00489982
add esp, 4
xor ebx, ebx
jmp 0x41b22b
push esi
push dword [esp + 0x74]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
setne bl
jne 0x41b318
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0xc]
push eax
push edi
call fcn.004b86f0
add esp, 8
lea esi, [esp + 0x18]
mov ecx, esi
push edi
push 0x25f
push str.RunModuleAndWait
push 1
call fcn.004b84f0
lea ecx, [esp + 0x54]
push 0x504a2f
push str.Get_setup_process_exit_code_failed.
call fcn.004b45d0
mov ecx, esi
call fcn.004b8530
cmp byte [edi + 0xb], 0
jns 0x41b315
push dword [esp + 0xc]
call fcn.00489982
add esp, 4
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x18]
push 0x263
push str.RunModuleAndWait
push 0
call fcn.004b83c0
lea ecx, [esp + 0x54]
push 0x504a4e
push str.Setup_process_exit_with_code:
call fcn.004b45d0
lea edi, [esp + 0xc]
push dword [esi]
push edi
call fcn.004375e0
add esp, 8
movzx eax, byte [edi + 0xb]
test al, al
jns 0x41b35f
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add eax, edi
lea ecx, [esp + 0x54]
push eax
push edi
call fcn.004b45d0
cmp byte [esp + 0x17], 0
jns 0x41b37f
push dword [esp + 0xc]
call fcn.00489982
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004374c0
jmp 0x41b22b