Function at 0x421120
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 [0x540010]
xor eax, ebp
mov dword [esp + 0xc8], eax
lea edi, [esp + 8]
mov ecx, edi
push 0x26d
push str.RunModuleAndWait
push 0
call fcn.00455190
lea ebx, [esp + 0x10]
lea ecx, [esp + 0x44]
push 0x522d12
push str.Run:
call fcn.004147c0
mov ecx, ebx
mov ebx, dword [ebp + 0x10]
push esi
call fcn.0041ef60
mov ecx, edi
call fcn.004553c0
test ebx, ebx
je 0x42118e
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 [0x522990]
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 0x421372
lea ecx, [esp + 8]
push 0x27e
push str.RunModuleAndWait
push 0
call fcn.00455190
lea edi, [esp + 0x44]
mov ecx, edi
push 0x522d3b
push str.Process_created:
call fcn.004147c0
lea esi, [esp + 0xbc]
push dword [esp + 0x68]
push esi
call fcn.004dcea0
add esp, 8
movzx eax, byte [esi + 0xb]
test al, al
jns 0x42123f
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0xbc]
mov ecx, edi
push eax
push esi
call fcn.00478310
cmp byte [esp + 0xc7], 0
jns 0x421261
push dword [esp + 0xbc]
call fcn.004dfb35
add esp, 4
lea ecx, [esp + 8]
call fcn.004553c0
mov esi, dword [esp + 4]
mov edi, dword [esi + 0x64]
test edi, edi
je 0x42129f
mov eax, dword [edi]
mov ebx, dword [eax + 0x1c]
mov ecx, ebx
call dword [0x53a380]
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 [0x53a380]
mov ecx, esi
call edi
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 8]
mov ecx, esi
push 0x286
push str.RunModuleAndWait
push 0
call fcn.00455190
lea ecx, [esp + 0x44]
push 0x522d54
push str.Wait_for_process_finish.
call fcn.004147c0
mov ecx, esi
call fcn.004553c0
push 0xffffffffffffffff
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4213f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0xbc]
push eax
push edi
call fcn.0050e3e0
add esp, 8
lea esi, [esp + 8]
mov ecx, esi
push edi
push 0x289
push str.RunModuleAndWait
push 1
call fcn.00455540
lea ecx, [esp + 0x44]
push 0x522d69
push str.Wait_process_failed.
call fcn.004147c0
mov ecx, esi
call fcn.00455590
cmp byte [edi + 0xb], 0
jns 0x42134c
push dword [esp + 0xbc]
call fcn.004dfb35
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.004e0685
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xd8
jne 0x421389
mov dword [0x556ed0], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0xbc]
push eax
push edi
call fcn.0050e3e0
add esp, 8
lea esi, [esp + 8]
mov ecx, esi
push edi
push 0x27b
push str.RunModuleAndWait
push 1
call fcn.00455540
lea ecx, [esp + 0x44]
push 0x522d29
push str.Create_process_failed.
call fcn.004147c0
mov ecx, esi
call fcn.00455590
cmp byte [edi + 0xb], 0
jns 0x4213e7
push dword [esp + 0xbc]
call fcn.004dfb35
add esp, 4
xor ebx, ebx
jmp 0x421358
mov bl, 1
jmp 0x42134e
test ebx, ebx
je 0x4213ee
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 0x4214c3
lea ecx, [esp + 8]
push 0x292
push str.RunModuleAndWait
push 0
call fcn.00455190
lea ecx, [esp + 0x44]
push 0x522dac
push str.Setup_process_exit_with_code:
call fcn.004147c0
lea ebx, [esp + 0xbc]
mov edi, esi
push dword [esi]
push ebx
call fcn.00455a80
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x421464
mov ebx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
add eax, ebx
lea ecx, [esp + 0x44]
push eax
push ebx
call fcn.004147c0
cmp byte [esp + 0xc7], 0
jns 0x42148a
push dword [esp + 0xbc]
call fcn.004dfb35
add esp, 4
lea ecx, [esp + 8]
call fcn.004553c0
mov ecx, dword [edi]
cmp ecx, 7
je 0x4214a8
mov al, 1
cmp ecx, 8
jne 0x4214b4
mov eax, 6
jmp 0x4214ad
mov eax, 5
mov dword [0x556ed0], eax
xor eax, eax
cmp dword [esp + 4], 0
setne bl
and bl, al
jmp 0x42134e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 0xbc]
push eax
push ebx
call fcn.0050e3e0
add esp, 8
lea edi, [esp + 8]
mov ecx, edi
push ebx
push 0x28e
push str.RunModuleAndWait
push 1
call fcn.00455540
lea ecx, [esp + 0x44]
push 0x522d8d
push str.Get_setup_process_exit_code_failed.
call fcn.004147c0
mov ecx, edi
call fcn.00455590
cmp byte [ebx + 0xb], 0
jns 0x421412
push dword [esp + 0xbc]
call fcn.004dfb35
add esp, 4
jmp 0x421412