Function at 0x430550
Capabilities:
Create process on windows
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 0x4d5889
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1148
call fcn.004848f0
mov eax, dword [0x56b06c]
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 - 0x1158]
call fcn.004298f0
mov edx, 0x542d04
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1148]
call fcn.004241d0
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
jb 0x4305c9
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.0042a220
add esp, 4
mov edx, 0x542cfc
mov ecx, eax
call fcn.004241d0
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x4305ed
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.0042a220
add esp, 4
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x1140]
push eax
call fcn.004265c0
mov byte [ebp - 4], 1
mov edx, dword [0x57396c]
test edx, edx
je 0x430640
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 [0x57396c]
add esp, 0xc
test ecx, ecx
je 0x430640
mov eax, dword [ecx]
call dword [eax + 8]
push 0x40
lea eax, [ebp - 0x10a4]
mov dword [ebp - 0x10a8], 0x44
push 0
push eax
call fcn.004a9e70
xorps xmm0, xmm0
lea eax, [ebp - 0x1054]
add esp, 0xc
mov dword [ebp - 0x1058], eax
movups xmmword [ebp - 0x1054], xmm0
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x105c], eax
lea ecx, [ebp - 0x1054]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x10a8]
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 0x4307d1
xor esi, esi
test byte [ebx + 8], 1
je 0x430703
mov esi, dword [ebp - 0x1054]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4306f7
mov dword [ebp - 0x1044], eax
lea eax, [ebp - 0x1044]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x430700
mov esi, dword [ebp - 0x1044]
jmp 0x430703
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
or esi, 0xffffffff
mov edx, dword [0x57396c]
test edx, edx
je 0x430728
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 - 0x1050]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x430745
push eax
call edi
mov dword [ebp - 0x1050], 0
mov eax, dword [ebp - 0x1054]
test eax, eax
je 0x43075c
push eax
call edi
mov dword [ebp - 0x1054], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x430792
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430788
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4307fd
push edx
push ecx
call fcn.004835cc
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1158]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00428940
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.0048358b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1040]
push str.CreateProcessW_failed_with_error__d
push eax
call fcn.0042fb70
add esp, 0xc
lea eax, [ebp - 0x1040]
push 0x562394
push eax
call fcn.004a92fe
call fcn.004b1db8
int3