Function at 0x475ea0
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6825f1
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1160
call fcn.00611f80
mov eax, dword [0x79cac4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
sub esp, 8
lea ecx, [ebp - 0x1170]
call fcn.00472b00
mov edx, 0x769040
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1160]
call fcn.0046dbb0
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
jb 0x475f19
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00473400
add esp, 4
mov edx, 0x76b528
mov ecx, eax
call fcn.0046dbb0
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x475f3d
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00473400
add esp, 4
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x1158]
push eax
call fcn.0046fb40
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00464990
mov byte [ebp - 4], 2
mov edx, dword [0x7aa7a8]
test edx, edx
je 0x475f9f
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x2c]
push ecx
push str.ACTION_Start___s_
push edx
call dword [eax + 4]
mov ecx, dword [0x7aa7a8]
add esp, 0xc
test ecx, ecx
je 0x475f9f
mov eax, dword [ecx]
call dword [eax + 8]
push 0x40
lea eax, [ebp - 0x10bc]
mov dword [ebp - 0x10c0], 0x44
push 0
push eax
call fcn.0064cc00
xorps xmm0, xmm0
lea eax, [ebp - 0x106c]
add esp, 0xc
mov dword [ebp - 0x1070], eax
movups xmmword [ebp - 0x106c], xmm0
lea eax, [ebp - 0x1068]
mov dword [ebp - 0x1074], eax
lea ecx, [ebp - 0x106c]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x10c0]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4760f6
xor esi, esi
test byte [ebx + 8], 1
je 0x476062
mov esi, dword [ebp - 0x106c]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x476056
mov dword [ebp - 0x105c], eax
lea eax, [ebp - 0x105c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x47605f
mov esi, dword [ebp - 0x105c]
jmp 0x476062
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
or esi, 0xffffffff
mov edx, dword [0x7aa7a8]
test edx, edx
je 0x476087
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x2c]
push esi
push ecx
push str.ACTION_Start_finished___s_:__d_r_n
push edx
call dword [eax + 4]
add esp, 0x10
mov eax, dword [ebp - 0x1068]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4760a4
push eax
call edi
mov dword [ebp - 0x1068], 0
mov eax, dword [ebp - 0x106c]
test eax, eax
je 0x4760bb
push eax
call edi
mov dword [ebp - 0x106c], 0
lea ecx, [ebp - 0x2c]
call fcn.00453390
lea ecx, [ebp - 0x44]
call fcn.00453390
lea ecx, [ebp - 0x1170]
call fcn.00471d90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00611399
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1058]
push str.CreateProcessW_failed_with_error__d
push eax
call fcn.004755b0
add esp, 0xc
lea eax, [ebp - 0x1058]
push 0x7901e8
push eax
call fcn.0064d863
int3