Function at 0x41b970
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 0x238
push str.RunModuleAndWait
push 0
call fcn.0043a1a0
lea ebx, [esp + 0x20]
lea ecx, [esp + 0x54]
push 0x506614
push str.Run:
call fcn.004b9460
mov ecx, ebx
push esi
call fcn.004b9bc0
mov ecx, edi
mov edi, dword [ebp + 0x10]
call fcn.0043a3d0
test edi, edi
je 0x41b9de
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 [0x5062d0]
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 0x41bab0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xd8
jne 0x41ba51
mov dword [0x5390d8], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0xc]
push eax
push edi
call fcn.004bcc70
add esp, 8
lea esi, [esp + 0x18]
mov ecx, esi
push edi
push 0x246
push str.RunModuleAndWait
push 1
call fcn.004bca70
lea ecx, [esp + 0x54]
push 0x50662b
push str.Create_process_failed.
call fcn.004b9460
mov ecx, esi
call fcn.004bcab0
cmp byte [edi + 0xb], 0
jns 0x41baa9
push dword [esp + 0xc]
call fcn.0048e90d
add esp, 4
xor ebx, ebx
jmp 0x41bb84
lea edi, [esp + 0x18]
mov ecx, edi
push 0x249
push str.RunModuleAndWait
push 0
call fcn.0043a1a0
lea ebx, [esp + 0x20]
lea ecx, [esp + 0x54]
push 0x50663d
push str.Process_created:
call fcn.004b9460
mov ecx, ebx
push dword [esp + 0x78]
call fcn.004b9380
mov ecx, edi
call fcn.0043a3d0
mov esi, dword [esp + 8]
mov edi, dword [esi + 0x68]
test edi, edi
je 0x41bb22
mov eax, dword [edi]
mov ebx, dword [eax + 0x1c]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 0x28
call ebx
mov esi, dword [esi + 0x68]
mov eax, dword [esi]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
push dword [esp + 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x18]
mov ecx, esi
push 0x251
push str.RunModuleAndWait
push 0
call fcn.0043a1a0
lea ecx, [esp + 0x54]
push 0x506656
push str.Wait_for_process_finish.
call fcn.004b9460
mov ecx, esi
call fcn.0043a3d0
push 0xffffffffffffffff
push dword [esp + 0x74]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41bb9e
mov bl, 1
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x41bbff
push dword [esp + 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.0048f468
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.004bcc70
add esp, 8
lea esi, [esp + 0x18]
mov ecx, esi
push edi
push 0x254
push str.RunModuleAndWait
push 1
call fcn.004bca70
lea ecx, [esp + 0x54]
push 0x50666b
push str.Wait_process_failed.
call fcn.004b9460
mov ecx, esi
call fcn.004bcab0
cmp byte [edi + 0xb], 0
jns 0x41bcf2
push dword [esp + 0xc]
call fcn.0048e90d
add esp, 4
jmp 0x41bcf2
push esi
push dword [esp + 0x74]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
setne bl
jne 0x41bc6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0xc]
push eax
push edi
call fcn.004bcc70
add esp, 8
lea esi, [esp + 0x18]
mov ecx, esi
push edi
push 0x259
push str.RunModuleAndWait
push 1
call fcn.004bca70
lea ecx, [esp + 0x54]
push 0x50668f
push str.Get_setup_process_exit_code_failed.
call fcn.004b9460
mov ecx, esi
call fcn.004bcab0
cmp byte [edi + 0xb], 0
jns 0x41bc69
push dword [esp + 0xc]
call fcn.0048e90d
add esp, 4
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x18]
push 0x25d
push str.RunModuleAndWait
push 0
call fcn.0043a1a0
lea ecx, [esp + 0x54]
push 0x5066ae
push str.Setup_process_exit_with_code:
call fcn.004b9460
lea edi, [esp + 0xc]
push dword [esi]
push edi
call fcn.0043a7e0
add esp, 8
movzx eax, byte [edi + 0xb]
test al, al
jns 0x41bcb3
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add eax, edi
lea ecx, [esp + 0x54]
push eax
push edi
call fcn.004b9460
cmp byte [esp + 0x17], 0
jns 0x41bcd3
push dword [esp + 0xc]
call fcn.0048e90d
add esp, 4
lea ecx, [esp + 0x18]
call fcn.0043a3d0
mov eax, dword [ebp + 0x10]
cmp dword [eax], 7
jne 0x41bb7a
mov dword [0x5390d8], 5
xor ebx, ebx
jmp 0x41bb7a