Function at 0x8705d5
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4e8
mov eax, dword [0x8750c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x480], eax
mov eax, dword [ebp + 0x10]
push 0x8708a8
mov dword [ebp - 0x484], eax
call fcn.0086afd3
mov edi, dword [ebp + 8]
shr edi, 0x1e
and edi, 1
push 0
pop esi
je 0x870625
call dword [0x8612b0]
mov dword [ebp - 0x47c], eax
jmp 0x87062b
mov dword [ebp - 0x47c], esi
mov dword [ebp - 0x478], esi
cmp dword [ebp + 8], esi
je 0x8707ba
call fcn.008704a6
mov ebx, eax
cmp ebx, esi
jne 0x870745
mov ebx, 0x100
lea eax, [ebp - 0x250]
cmp edi, esi
jne 0x870674
push dword [0x875118]
push 0x870980
push 0x87095c
push ebx
push eax
call fcn.00862691
add esp, 0x14
jmp 0x870694
push dword [ebp - 0x47c]
push dword [0x875118]
push 0x870980
push 0x870900
push ebx
push eax
call fcn.00862691
add esp, 0x18
xor ecx, ecx
test eax, eax
setl cl
mov eax, ecx
cmp eax, esi
je 0x8706a9
push 0x7a
pop ebx
jmp 0x870745
push 0x44
lea eax, [ebp - 0x4e8]
push esi
push eax
call fcn.008617f5
add esp, 0xc
mov dword [ebp - 0x4e8], 0x44
mov dword [ebp - 0x4e0], 0x8708d8
cmp edi, esi
je 0x8706d9
mov dword [ebp - 0x4e0], esi
mov eax, dword [0x8758c0]
or dword [ebp - 0x4a8], 0xffffffff
mov dword [ebp - 0x4b0], eax
mov eax, dword [0x8758c4]
mov dword [ebp - 0x4ac], eax
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x4e8]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 0x4bc], ebx
push esi
cmp dword [ebp - 0x480], esi
jne 0x870729
call dword [0x8612a0]
jmp 0x870735
push dword [ebp - 0x480]
call dword [0x875018]
test eax, eax
jne 0x87078d
call dword [fcn.008613ac]
mov ebx, eax
cmp ebx, esi
je 0x87074f
push 0x8708c8
call fcn.0086afd3
cmp dword [ebp - 0x478], esi
je 0x870764
lea eax, [ebp - 0x478]
push eax
call dword [0x861210]
cmp ebx, esi
je 0x870770
push dword [ebp + 8]
call fcn.0087050f
push 0x8708b8
call fcn.0086afd3
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.008615a4
leave
ret 0xc
mov eax, dword [ebp - 0x494]
push dword [ebp - 0x490]
mov dword [0x8758c8], eax
call dword [fcn.008613c4]
mov eax, dword [ebp - 0x48c]
mov ecx, dword [ebp - 0x484]
push esi
push eax
mov dword [ecx], eax
call dword [0x861010]
cmp edi, esi
je 0x8707c6
mov eax, dword [ebp - 0x47c]
jmp 0x8707de
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x1d4]
cmp eax, esi
jne 0x8707de
mov eax, dword [0x7ffe02d8]
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.00871121
mov ebx, eax
cmp ebx, esi
jne 0x870745
lea eax, [ebp - 0x478]
push eax
push esi
push esi
push esi
push 0x866e08
lea eax, [ebp - 0x50]
push eax
call dword [0x861274]
mov ebx, eax
cmp ebx, esi
jne 0x870745
push 0x8758bc
push dword [ebp - 0x478]
call dword [0x861270]
mov ebx, eax
cmp ebx, esi
jne 0x870745
cmp edi, esi
jne 0x87074f
push 0x111
lea eax, [ebp - 0x474]
push eax
call fcn.00871197
test eax, eax
je 0x87074f
xor eax, eax
inc eax
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x49c], esi
mov dword [ebp - 0x498], 2
lea eax, [ebp - 0x4a4]
push eax
push esi
push esi
push 0xa
push 6
lea eax, [ebp - 0x474]
push eax
push dword [0x8758bc]
call dword [0x86126c]
mov ebx, eax
cmp ebx, esi
je 0x87074f
push 0x12c
call dword [fcn.008612b8]
jmp 0x870870