Function at 0x1000d4b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10098688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], edx
mov edi, ecx
mov dword [ebp - 0x84], edi
mov dword [ebp - 4], 2
mov eax, dword [0x100985e8]
mov ecx, 0x100985e8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
lea eax, [ebp - 0x70]
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.100045a0
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
mov dword [ebp - 0x58], 0x44
call fcn.1005ec70
mov eax, 1
mov word [ebp - 0x28], ax
mov eax, dword [0x100985e8]
add esp, 0x1c
mov ecx, 0x100985e8
mov dword [ebp - 0x2c], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
mov eax, 0x100923f6
mov byte [ebp - 4], 4
push 0
test eax, 0xffff0000
jne 0x1000d580
movzx esi, ax
push esi
call fcn.10004950
add esp, 8
test eax, eax
je 0x1000d58d
push esi
push eax
lea ecx, [ebp - 0x74]
call fcn.10004a60
jmp 0x1000d58d
push 0x100923f6
lea ecx, [ebp - 0x74]
call fcn.10004bd0
mov byte [ebp - 4], 5
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x78], 0
mov edx, dword [esi - 0xc]
test edx, edx
js 0x1000d7fe
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x1000d5c9
push edx
lea ecx, [ebp - 0x70]
call fcn.10004e30
mov esi, dword [ebp - 0x70]
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 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1000d60f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp - 0x80]
push dword [ebp - 0x64]
mov dword [ecx], eax
call ebx
push dword [ebp - 0x68]
call ebx
jmp 0x1000d617
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
mov dword [ebp - 0x7c], 0
mov edi, edi
mov edi, dword [ebp + 0x10]
push ecx
mov ecx, dword [edi - 0x10]
mov dword [ebp - 0x6c], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi - 4], 0
lea edx, [edi - 4]
mov ecx, eax
jl 0x1000d64d
cmp ecx, dword [edi - 0x10]
jne 0x1000d64d
lea ebx, [edi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x1000d679
mov eax, dword [ecx]
push 1
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x1000d7f9
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.1005b07d
add esp, 0x10
mov ecx, dword [ebp - 0x6c]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
call fcn.1000d310
add esp, 4
test eax, eax
jne 0x1000d6a8
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [ebp - 0x7c]
inc ebx
mov dword [ebp - 0x7c], ebx
cmp ebx, 0xa
jl 0x1000d620
mov edi, dword [ebp + 0x10]
push ecx
mov ecx, dword [edi - 0x10]
mov dword [ebp - 0x6c], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi - 4], 0
lea edx, [edi - 4]
mov ecx, eax
jl 0x1000d6d5
cmp ecx, dword [edi - 0x10]
jne 0x1000d6d5
lea ebx, [edi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x1000d701
mov eax, dword [ecx]
push 1
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x1000d7f9
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.1005b07d
add esp, 0x10
mov ecx, dword [ebp - 0x6c]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
call fcn.1000d310
add esp, 4
test eax, eax
jne 0x1000d735
mov eax, dword [ebp - 0x78]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x78], eax
cmp eax, 5
jl 0x1000d5a1
xor ebx, ebx
jmp 0x1000d73a
mov ebx, 1
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000d75d
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 0x1000d77a
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 0x1000d79a
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 0x1000d7ba
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 0x1000d7db
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c9a6
mov esp, ebp
pop ebp
ret
call fcn.10004de0
push 0x80070057
call fcn.10004f00
int3