Function at 0x4084b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43499d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x446054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x70], eax
mov eax, dword [edx]
lea esi, [eax - 0x10]
movlpd qword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0x44
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x40853e
cmp ecx, dword [esi]
jne 0x40853e
lock inc dword [eax]
jmp 0x40856c
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
mov eax, dword [eax]
call eax
mov esi, eax
test esi, esi
je 0x4086d5
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi + 4], eax
mov edx, dword [edi]
inc edx
push edx
push dword [ebp - 0x14]
call fcn.0040e980
add esp, 8
add esi, 0x10
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov edi, dword [esi - 0xc]
test edi, edi
js 0x4086cb
cmp word [esi], 0x20
je 0x408601
mov eax, dword [esi - 8]
inc edi
mov ecx, 1
sub eax, edi
sub ecx, dword [esi - 4]
or eax, ecx
jge 0x4085a8
push edi
lea ecx, [ebp - 0x14]
call fcn.0040e910
mov esi, dword [ebp - 0x14]
lea ecx, [edi + edi]
lea eax, [esi + 2]
test ecx, ecx
je 0x4085dc
test eax, eax
jne 0x4085cd
call fcn.0041e19a
mov dword [eax], 0x16
call fcn.0041de16
mov eax, 0x16
jmp 0x4085de
test esi, esi
je 0x4085b6
push ecx
push esi
push eax
call fcn.00417590
add esp, 0xc
xor eax, eax
push eax
call fcn.00406c80
mov eax, 0x20
add esp, 4
mov word [esi], ax
cmp edi, dword [esi - 8]
jg 0x4086cb
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x408670
push esi
push dword [edi]
mov edx, str.Executing_process:
mov ecx, 0x447558
call fcn.0040edb0
mov ecx, eax
call fcn.0040b150
mov ecx, eax
call fcn.0040b150
push 0xffffffffffffffff
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x70]
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x68]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x64]
call edi
xor edi, edi
jmp 0x40868f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, str.Create_process_failed_with_error_code:
push edi
mov ecx, 0x447558
call fcn.0040edb0
mov ecx, eax
call fcn.0040b2c0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4086ae
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00415ea4
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00406c60
call fcn.0040e970
int3