Function at 0x10017000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cf00
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x1009d350]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], edx
mov edi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 2
mov eax, dword [0x1009d2a8]
mov ecx, 0x1009d2a8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.10009163
push 0x40
lea eax, [ebp - 0x7c]
push 0
push eax
mov dword [ebp - 0x80], 0x44
call fcn.1004e5f0
mov eax, 1
mov word [ebp - 0x50], ax
mov eax, dword [0x1009d2a8]
add esp, 0x1c
mov ecx, 0x1009d2a8
mov dword [ebp - 0x54], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, 0x1009231d
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x100170c6
movzx esi, ax
mov ecx, esi
call fcn.100017b9
test eax, eax
je 0x100170d5
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.10007221
jmp 0x100170d5
push 0
push 0x1009231d
lea ecx, [ebp - 0x14]
call fcn.100081be
mov byte [ebp - 4], 5
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0
lea esp, [esp]
mov edx, dword [esi - 0xc]
test edx, edx
js 0x10017341
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x10017118
push edx
lea ecx, [ebp - 0x10]
call fcn.10008240
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1001715e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x34]
mov dword [ecx], eax
call ebx
push dword [ebp - 0x38]
call ebx
jmp 0x10017166
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
mov dword [ebp - 0x18], 0
lea ecx, [ecx]
mov edi, dword [ebp + 0x10]
push ecx
mov ecx, dword [edi - 0x10]
mov dword [ebp - 0x24], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi - 4], 0
lea edx, [edi - 4]
mov ecx, eax
jl 0x1001719d
cmp ecx, dword [edi - 0x10]
jne 0x1001719d
lea ebx, [edi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x100171c9
mov eax, dword [ecx]
push 1
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x1001733c
mov ecx, dword [edi - 0xc]
mov dword [ebx + 4], ecx
mov ecx, dword [edi - 0xc]
inc ecx
push ecx
push edi
push ecx
lea eax, [ebx + 0x10]
push eax
call fcn.1004d8fb
add esp, 0x10
mov ecx, dword [ebp - 0x24]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
call fcn.10016e70
add esp, 4
test eax, eax
jne 0x100171f8
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [ebp - 0x18]
inc ebx
mov dword [ebp - 0x18], ebx
cmp ebx, 0xa
jl 0x10017170
mov edi, dword [ebp + 0x10]
push ecx
mov ecx, dword [edi - 0x10]
mov dword [ebp - 0x24], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi - 4], 0
lea edx, [edi - 4]
mov ecx, eax
jl 0x10017225
cmp ecx, dword [edi - 0x10]
jne 0x10017225
lea ebx, [edi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x10017251
mov eax, dword [ecx]
push 1
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x1001733c
mov ecx, dword [edi - 0xc]
mov dword [ebx + 4], ecx
mov ecx, dword [edi - 0xc]
inc ecx
push ecx
push edi
push ecx
lea eax, [ebx + 0x10]
push eax
call fcn.1004d8fb
add esp, 0x10
mov ecx, dword [ebp - 0x24]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
call fcn.10016e70
add esp, 4
test eax, eax
jne 0x10017282
mov eax, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 5
jl 0x100170f0
xor ebx, ebx
jmp 0x10017287
mov ebx, 1
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100172aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100172c7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100172e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017307
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x10]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x10017328
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10008235
push 0x80070057
call fcn.100016d9
int3