Function at 0x3001686b
Capabilities:
Create process on windows

Disassembly:
push 0x4d8
mov eax, 0x3001d6e0
call fcn.300090a2
mov dword [ebp - 0x10], ecx
cmp dword [ecx + 4], 0xffffffff
je 0x300168c0
call fcn.3001679d
test al, al
jne 0x300168c0
push 0x300056e8
lea eax, [ebp - 0x3d8]
push 0x43
push eax
call fcn.3001bd9f
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x1c0]
rep movsd dword es:[edi], dword [esi]
push 0x3001de44
lea eax, [ebp - 0x1c0]
push eax
call fcn.3001bd9f
mov edi, 0x300027a4
push edi
lea ecx, [ebp - 0x48]
call fcn.30014ede
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.3001423c
test al, al
jne 0x30016943
mov ecx, dword [ebp + 0x14]
call fcn.3001423c
test al, al
jne 0x30016943
mov ecx, dword [ebp + 0x14]
push ebx
call fcn.3001bd9f
cmp ax, 0x20
je 0x30016943
push edi
lea ecx, [ebp - 0x70]
call fcn.30014ede
lea eax, [ebp - 0x70]
push eax
push esi
mov byte [ebp - 4], 1
call fcn.30016df5
mov ecx, dword [ebp + 0x14]
call fcn.30013ed2
push eax
lea ecx, [ebp - 0x70]
call fcn.30013ed2
push eax
lea eax, [ebp - 0x48]
push 0x300056dc
push eax
call fcn.3001bd9f
add esp, 0x10
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.300141f8
jmp 0x3001695a
mov ecx, dword [ebp + 0x14]
call fcn.3001423c
test al, al
jne 0x3001695a
push dword [ebp + 0x14]
lea ecx, [ebp - 0x48]
call fcn.3001bd9f
push 0x44
pop edi
push edi
lea eax, [ebp - 0xb4]
push ebx
push eax
call fcn.3000bbbe
mov dword [ebp - 0xb4], edi
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp byte [ebp + 8], bl
stosd dword es:[edi], eax
je 0x300169fc
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 8]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xb4]
push eax
push ebx
push ebx
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_GetPriorityClass]
or eax, 0x8000000
push eax
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x48]
call fcn.30013ed2
push eax
mov ecx, esi
call fcn.30013ed2
push eax
push edi
call dword [sym.imp.advapi32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x30016a83
mov ecx, dword [ebp + 0x14]
call fcn.30013ed2
push eax
mov ecx, esi
call fcn.30013ed2
push eax
push 0x3000569c
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x3d8]
push eax
call fcn.3001bd9f
add esp, 0x14
jmp 0x300168a2
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xb4]
push eax
push ebx
push ebx
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_GetPriorityClass]
or eax, 0x8000000
push eax
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x48]
call fcn.30013ed2
push eax
mov ecx, esi
call fcn.30013ed2
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
jne 0x30016a83
mov ecx, dword [ebp + 0x14]
call fcn.30013ed2
push eax
mov ecx, esi
call fcn.30013ed2
push eax
push 0x30005668
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x4e4]
push eax
call fcn.3001bd9f
add esp, 0x14
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x2cc]
rep movsd dword es:[edi], dword [esi]
push 0x3001de44
lea eax, [ebp - 0x2cc]
jmp 0x300168ba
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x103
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.300141f8
call fcn.3000917a
ret 0x10