Function at 0x10005d40
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005bf2e
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x10073068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x1006b324
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1000b7f0
push str.WINDIR
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1003e380
add esp, 0xc
test eax, eax
jne 0x100060c3
cmp dword [ebp - 0x30], eax
je 0x10006114
push 0x11
mov edx, 0x10073b40
lea ecx, [ebp - 0xe4]
call fcn.10002170
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov edx, dword [ebp - 0x30]
mov ecx, edx
movups xmmword [ebp - 0xb4], xmm0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005e10
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xb4]
call fcn.1000b7f0
push esi
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x9c]
call fcn.1000c5f0
push 0x1006b37c
lea edx, [ebp - 0x9c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xcc]
call fcn.1000b280
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x10005ed8
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x10005ea6
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005e9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006145
push ecx
push edx
call fcn.10036bea
add esp, 8
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0xb8]
cmp ecx, 8
jb 0x10005f18
mov edx, dword [ebp - 0xcc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005f0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006145
push ecx
push edx
call fcn.10036bea
add esp, 8
mov ecx, dword [ebp - 0x88]
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
cmp ecx, 8
jb 0x10005f75
mov edx, dword [ebp - 0x9c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005f6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006145
push ecx
push edx
call fcn.10036bea
add esp, 8
mov ecx, dword [ebp - 0xa0]
xor eax, eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
cmp ecx, 8
jb 0x10005fd2
mov edx, dword [ebp - 0xb4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005fc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006145
push ecx
push edx
call fcn.10036bea
add esp, 8
mov ecx, dword [ebp - 0xd0]
cmp ecx, 8
jb 0x10006012
mov edx, dword [ebp - 0xe4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006008
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006145
push ecx
push edx
call fcn.10036bea
add esp, 8
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0x44
cmovae edx, dword [ebp - 0x2c]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x52], ecx
mov word [ebp - 0x4e], ax
or ecx, 0x100
mov eax, dword [0x10075cb0]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov eax, dword [0x10075cbc]
mov dword [ebp - 0x4c], eax
xor eax, eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x84]
movlpd qword [ebp - 0x80], xmm0
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push edx
push 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x58], ecx
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100060a3
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x3c]
call esi
push dword [0x10075cb0]
call esi
push dword [0x10075cbc]
call esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x100060f9
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100060ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006140
push ecx
push edx
call fcn.10036bea
add esp, 8
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.10036bdc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x100060f9
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100060ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100060ef
call fcn.1003da55
call fcn.1003da55
int3