Function at 0x404210
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428dc5
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
push edi
mov eax, dword [0x438040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.00403680
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0x72613c21
jne 0x4043f7
cmp dword [esi + 4], 0xa3e6863
jne 0x4043f7
lea edi, [esi + 0x42]
nop
cmp byte [edi], 0x60
je 0x404278
inc edi
jmp 0x404270
push 0xa
lea eax, [esi + 0x38]
add edi, 2
push 0
push eax
call fcn.00412c7d
add esp, 0xc
lea ecx, [edi + eax]
lea edi, [ecx + 0x3a]
mov eax, edi
cmp byte [eax], 0x60
je 0x40429b
inc eax
jmp 0x404293
push 0xa
mov dword [ebp - 0x10], eax
lea eax, [ecx + 0x30]
push 0
push eax
call fcn.00412c7d
add eax, dword [ebp - 0x10]
push 0xa
push 0
lea ecx, [eax + 0x3c]
add eax, 0x32
push eax
mov dword [ebp - 0x10], ecx
call fcn.00412c7d
add esp, 0x18
cmp byte [edi], 0x60
je 0x4042cc
inc edi
jmp 0x4042c4
mov ecx, dword [edi + 2]
lea edx, [edi + 2]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
nop dword [eax + eax]
cmp byte [eax], 0x60
je 0x4042e8
inc eax
jmp 0x4042e0
add eax, 2
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x4043f0
nop dword [eax + eax]
mov edi, dword [edx + eax*4 + 4]
lea eax, [esi + 0x30]
push 0xa
add eax, edi
push 0
push eax
call fcn.00412c7d
add esp, 0xc
cmp byte [edi + esi], 0x2f
jne 0x4043dd
push 0xa
lea eax, [esi + 1]
add eax, edi
push 0
push eax
call fcn.00412c7d
mov edi, eax
mov dword [ebp - 0x7c], 0x44
add edi, dword [ebp - 0x18]
lea eax, [ebp - 0x78]
push 0x40
push 0
push eax
call fcn.004105f0
push edi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push str.lib___s___remove:_S
push eax
movups xmmword [ebp - 0x38], xmm0
call fcn.0040dc60
add esp, 0x28
mov edi, eax
mov byte [ebp - 4], 1
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x40437c
push dword [eax - 0xc]
mov ecx, edi
call fcn.0040d750
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
push 0x400
push 0
push 0
push 0
push dword [edi]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov byte [ebp - 4], 0
mov edi, eax
mov edx, dword [ebp - 0x20]
or ecx, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4043be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4043dd
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x38]
call edi
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x24]
jne 0x404300
xor edi, edi
or eax, 0xffffffff
jmp 0x4043fc
mov edi, 0xb
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x404418
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret