Function at 0x100313a0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005881b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x10076098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 4], 1
mov byte [ebp - 0x89], 0
movzx eax, byte [ebp - 0x89]
test eax, eax
jne 0x1003143f
movzx ecx, byte [ebp + 0x3c]
test ecx, ecx
je 0x1003143f
lea ecx, [ebp + 8]
call fcn.10005cd0
push eax
call fcn.10032340
mov ecx, eax
call fcn.10032330
movzx edx, al
test edx, edx
jne 0x1003143f
mov byte [ebp - 0x8a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10001c5a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.10001c5a
mov al, byte [ebp - 0x8a]
jmp 0x100316f2
push 0x44
push 0
lea eax, [ebp - 0xf4]
push eax
call fcn.10034760
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0xf4], 0x44
mov dword [ebp - 0xc8], 0x80
lea ecx, [ebp + 0x20]
call fcn.10005cc0
movzx edx, al
test edx, edx
jne 0x100314e5
lea ecx, [ebp + 0x20]
call fcn.10005cd0
movzx eax, word [eax]
cmp eax, 0x20
je 0x100314e5
lea ecx, [ebp + 0x20]
push ecx
push 0x1006c72c
lea edx, [ebp - 0x70]
push edx
call fcn.100069a0
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xa4]
push ecx
lea ecx, [ebp + 0x20]
call fcn.1000193b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.10001c5a
lea ecx, [ebp - 0x28]
call fcn.10006750
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp + 8]
push eax
call fcn.10010d10
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x10031510
lea ecx, [ebp - 0x28]
call fcn.100075d0
lea edx, [ebp + 8]
push edx
push 0x1006c728
lea eax, [ebp - 0x88]
push eax
call fcn.100069a0
add esp, 0xc
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 4
push 0x1006c728
mov edx, dword [ebp - 0xac]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.10006a60
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.10001c5a
lea ecx, [ebp + 0x20]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.100068f0
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0xf4]
push edx
lea ecx, [ebp - 0x28]
call fcn.10005cd0
push eax
push 0
push 0x4000020
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.10005cd0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10031607
mov byte [ebp - 0x8b], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.10001c5a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.10001c5a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10001c5a
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10001c5a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.10001c5a
mov al, byte [ebp - 0x8b]
jmp 0x100316f2
cmp dword [ebp + 0x40], 0
je 0x10031618
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp - 0x94]
mov dword [eax], ecx
movzx edx, byte [ebp + 0x38]
test edx, edx
je 0x10031666
cmp dword [ebp - 0x9c], 0
je 0x10031666
push 0xffffffffffffffff
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x44], 0
je 0x1003164f
mov ecx, dword [ebp + 0x44]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x98], 0
je 0x10031686
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x98], 0
cmp dword [ebp - 0x9c], 0
je 0x100316a6
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0x8c], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.10001c5a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.10001c5a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10001c5a
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10001c5a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.10001c5a
mov al, byte [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100325c7
mov esp, ebp
pop ebp
ret