Function at 0x421fb0
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 + 4], ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [0x547008]
xor eax, ebp
mov dword [esp + 0xc8], eax
lea edi, [esp + 8]
mov ecx, edi
push 0x267
push str.RunModuleAndWait
push 0
call fcn.0045baa0
lea ebx, [esp + 0x10]
lea ecx, [esp + 0x44]
push 0x52acd2
push str.Run:
call fcn.004148f0
mov ecx, ebx
mov ebx, dword [ebp + 0x10]
push esi
call fcn.0041ff70
mov ecx, edi
call fcn.0045bd40
test ebx, ebx
je 0x42201e
mov dword [ebx], 0x190
xorps xmm0, xmm0
lea eax, [esp + 0x78]
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 + 0x60]
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 [0x52a950]
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
je 0x4220c9
lea ecx, [esp + 8]
push 0x278
push str.RunModuleAndWait
push 0
call fcn.0045baa0
lea edi, [esp + 0x44]
mov ecx, edi
push 0x52acfb
push str.Process_created:
call fcn.004148f0
lea esi, [esp + 0xbc]
push dword [esp + 0x68]
push esi
call fcn.004e5560
add esp, 8
movzx eax, byte [esi + 0xb]
test al, al
js 0x422145
and eax, 0x7f
jmp 0x422153
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xd8
jne 0x4220e0
mov dword [0x560ed0], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0xbc]
push eax
push edi
call fcn.00516ab0
add esp, 8
lea esi, [esp + 8]
mov ecx, esi
push edi
push 0x275
push str.RunModuleAndWait
push 1
call fcn.0045bec0
lea ecx, [esp + 0x44]
push 0x52ace9
push str.Create_process_failed.
call fcn.004148f0
mov ecx, esi
call fcn.0045bf00
cmp byte [edi + 0xb], 0
jns 0x42213e
push dword [esp + 0xbc]
call fcn.004e82d5
add esp, 4
xor ebx, ebx
jmp 0x42226c
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0xbc]
mov ecx, edi
push eax
push esi
call fcn.0047cfe0
cmp byte [esp + 0xc7], 0
jns 0x422175
push dword [esp + 0xbc]
call fcn.004e82d5
add esp, 4
lea ecx, [esp + 8]
call fcn.0045bd40
mov esi, dword [esp + 4]
mov edi, dword [esi + 0x64]
test edi, edi
je 0x4221b3
mov eax, dword [edi]
mov ebx, dword [eax + 0x1c]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 0x28
call ebx
mov ebx, dword [ebp + 0x10]
mov esi, dword [esi + 0x64]
mov eax, dword [esi]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 8]
mov ecx, esi
push 0x280
push str.RunModuleAndWait
push 0
call fcn.0045baa0
lea ecx, [esp + 0x44]
push 0x52ad14
push str.Wait_for_process_finish.
call fcn.004148f0
mov ecx, esi
call fcn.0045bd40
push 0xffffffffffffffff
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42228a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0xbc]
push eax
push edi
call fcn.00516ab0
add esp, 8
lea esi, [esp + 8]
mov ecx, esi
push edi
push 0x283
push str.RunModuleAndWait
push 1
call fcn.0045bec0
lea ecx, [esp + 0x44]
push 0x52ad29
push str.Wait_process_failed.
call fcn.004148f0
mov ecx, esi
call fcn.0045bf00
cmp byte [edi + 0xb], 0
jns 0x422260
push dword [esp + 0xbc]
call fcn.004e82d5
add esp, 4
xor ebx, ebx
push dword [esp + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.004e8be6
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov bl, 1
jmp 0x422262
test ebx, ebx
je 0x422286
push ebx
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [esp + 4], eax
test eax, eax
mov esi, ebx
je 0x42235d
lea ecx, [esp + 8]
push 0x28c
push str.RunModuleAndWait
push 0
call fcn.0045baa0
lea ecx, [esp + 0x44]
push 0x52ad6c
push str.Setup_process_exit_with_code:
call fcn.004148f0
lea ebx, [esp + 0xbc]
mov edi, esi
push dword [esi]
push ebx
call fcn.0045c350
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
js 0x4222f0
and eax, 0x7f
jmp 0x4222fe
mov ebx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
add eax, ebx
lea ecx, [esp + 0x44]
push eax
push ebx
call fcn.004148f0
cmp byte [esp + 0xc7], 0
jns 0x422324
push dword [esp + 0xbc]
call fcn.004e82d5
add esp, 4
lea ecx, [esp + 8]
call fcn.0045bd40
mov ecx, dword [edi]
cmp ecx, 7
je 0x422342
mov al, 1
cmp ecx, 8
jne 0x42234e
mov eax, 6
jmp 0x422347
mov eax, 5
mov dword [0x560ed0], eax
xor eax, eax
cmp dword [esp + 4], 0
setne bl
and bl, al
jmp 0x422262
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 0xbc]
push eax
push ebx
call fcn.00516ab0
add esp, 8
lea edi, [esp + 8]
mov ecx, edi
push ebx
push 0x288
push str.RunModuleAndWait
push 1
call fcn.0045bec0
lea ecx, [esp + 0x44]
push 0x52ad4d
push str.Get_setup_process_exit_code_failed.
call fcn.004148f0
mov ecx, edi
call fcn.0045bf00
cmp byte [ebx + 0xb], 0
jns 0x4222a7
push dword [esp + 0xbc]
call fcn.004e82d5
add esp, 4
jmp 0x4222a7