Function at 0x46be60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50aec8
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x542040]
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 - 0xe4], edx
mov esi, ecx
mov dword [ebp - 0xe8], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xec], eax
cmp dword [eax + 4], 0
je 0x46beb1
xor al, al
jmp 0x46c14a
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 0x44
xor eax, eax
movlpd qword [ebp - 0xc8], xmm0
mov word [ebp - 0x8a], ax
mov eax, 0xa
push 0x5c
push esi
movlpd qword [ebp - 0xc0], xmm0
movlpd qword [ebp - 0xb8], xmm0
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0x9a], xmm0
movlpd qword [ebp - 0x92], xmm0
mov dword [ebp - 0xa0], 1
mov word [ebp - 0x9c], ax
call fcn.004de9db
add esp, 8
test eax, eax
jne 0x46bf2f
push 0x2f
push esi
call fcn.004de9db
add esp, 8
sub eax, esi
mov dword [ebp - 0x88], 0
sar eax, 1
lea ecx, [ebp - 0x88]
inc eax
push eax
push esi
call fcn.0042dfa0
mov dword [ebp - 4], 0
mov ecx, 0x115
mov dword [ebp - 0x80], 0
call fcn.00425b20
mov edx, eax
mov ecx, 0x8b
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [edx + 0x10]
mov dword [edx + 4], 1
mov dword [edx + 0xc], 0x105
mov dword [edx + 8], ecx
mov dword [ebp - 0x80], edx
mov dword [edx], 0x104
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x46bf9a
mov dword [eax], 0
push 0
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push 0x51f510
lea ecx, [ebp - 0x80]
movups xmmword [ebp - 0xdc], xmm0
call fcn.0042dfa0
push 0
push esi
lea ecx, [ebp - 0x80]
call fcn.00424170
push 0
push 0x52d3e4
mov ecx, eax
call fcn.00424170
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x18], 0x6c0025
push 0
push eax
mov dword [ebp - 0x14], 0x64
call fcn.004ded20
push dword [0x54a408]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x7c]
push 0x32
push eax
call fcn.00407ae0
add esp, 0x1c
lea ecx, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00424170
push 1
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], 0x20
push ecx
mov ecx, eax
call fcn.00424170
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x18], 0x6c0025
push 0
push eax
mov dword [ebp - 0x14], 0x64
call fcn.004ded20
push 0x54a1e0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x7c]
push 0x32
push eax
call fcn.00407ae0
add esp, 0x1c
lea ecx, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00424170
push 1
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], 0x20
push ecx
mov ecx, eax
call fcn.00424170
mov esi, dword [ebp - 0x88]
test esi, esi
je 0x46c092
mov ecx, dword [esi + 8]
jmp 0x46c094
xor ecx, ecx
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0xe4]
test eax, eax
je 0x46c0a6
mov eax, dword [eax + 8]
jmp 0x46c0a8
xor eax, eax
lea edi, [ebp - 0xdc]
push edi
lea edi, [ebp - 0xcc]
push edi
push ecx
push 0
push 0
push dword [edx + 8]
push 0
push edx
push eax
push dword [ebp - 0xe8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
mov eax, dword [ebp - 0xdc]
setne byte [ebp - 0xdd]
test eax, eax
je 0x46c102
mov ecx, dword [ebp - 0xec]
push dword [ebp - 0xd8]
cdq
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0xd4]
mov dword [ecx + 0x14], edx
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x46c123
add dword [eax + 4], 0xffffffff
jne 0x46c123
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x46c123
push eax
call fcn.004eb01a
add esp, 4
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 3
test esi, esi
je 0x46c144
add dword [esi + 4], 0xffffffff
jne 0x46c144
push esi
call fcn.004eb01a
add esp, 4
mov al, byte [ebp - 0xdd]
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.004dadd7
mov esp, ebp
pop ebp
ret