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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
push 0x48
call fcn.10014c4d
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
push 0x10
call fcn.10014c4d
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0xc
call fcn.10014c4d
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 8
call fcn.10014c4d
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
add ebx, 4
push ebx
push 0xc
call fcn.10014c4d
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1001a791
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 1
push ecx
push ebx
push 8
call fcn.10014c4d
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
push 0xc
call fcn.10014c4d
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
pop ebx
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x10007d53
pop ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push dword [ebp - 4]
push dword [ebp + 0x10]
xor eax, eax
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
nop
nop
push 0x44
mov eax, dword [ebp - 8]
push eax
push 0x44
call fcn.10014c4d
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlZeroMemory]
nop
nop
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.10007c48
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.10014c47
add esp, 4
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 0x44
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x2c], ebx
mov eax, 0x1001a6cb
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.10006d67
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10007fb6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10007fb2
imul eax, dword [ebx]
jmp 0x10007fa7
mov ecx, eax
test ecx, ecx
je 0x10007fd5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10007fce
push ebx
push eax
call fcn.10014c47
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10007fbc
call fcn.10014c47
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x10007ff0
mov eax, 0x1001a200
push eax
push 1
mov ebx, 0x168
call fcn.10015500
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10008016
push ebx
call fcn.10014c47
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000802c
push ebx
call fcn.10014c47
add esp, 4
pop eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
push 0x10
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlZeroMemory]
nop
nop
xor eax, eax
call dword [0x1001da03]
nop
nop
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push 0x200e0
push 0x80000301
push 0
push 0x20008
push 0x80000301
push 0
push pe_nt_image_headers32
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 0x20
push 7
mov ebx, 0xc8
call fcn.10016690
add esp, 0x58
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x100080e3
mov eax, dword [ebp - 0x14]
jmp 0x100086f4
mov eax, 0x1001a719
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10006d67
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10008115
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10008111
imul eax, dword [ebx]
jmp 0x10008106
mov ecx, eax
test ecx, ecx
je 0x10008134
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000812d
push ebx
push eax
call fcn.10014c47
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000811b
call fcn.10014c47
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x1000814f
mov eax, 0x1001a200
push eax
push 1
mov ebx, 0x168
call fcn.10015500
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10008175
push ebx
call fcn.10014c47
add esp, 4
push dword [ebp - 0x18]
call fcn.10008792
push eax
push dword [ebp - 0x34]
push 0
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x100081a3
push ebx
call fcn.10014c47
add esp, 4
cmp dword [ebp - 0x3c], 0
jne 0x100081b5
mov eax, dword [ebp - 0x14]
jmp 0x100086f4
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 4]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x18]
push eax
push 0xc
call fcn.10014c4d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx]
push ebx
call fcn.10014c47
add esp, 4
pop eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 4]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 2
mov eax, 0x1001a769
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10006d67
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10008265
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10008261
imul eax, dword [ebx]
jmp 0x10008256
mov ecx, eax
test ecx, ecx
je 0x10008284
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000827d
push ebx
push eax
call fcn.10014c47
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000826b
call fcn.10014c47
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x1000829f
mov eax, 0x1001a200
push eax
push 1
mov ebx, 0x9dc
call fcn.10015b70
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100082c5
push ebx
call fcn.10014c47
add esp, 4
lea eax, [ebp - 0x20]
push eax
push 1
push 1
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
nop
nop
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x100082fd
mov eax, dword [ebp - 0x14]
jmp 0x100086f4
push 0x80000301
push 0
lea eax, [ebp + 0x10]
push eax
push 1
mov ebx, 4
mov eax, 0x100182b0
call fcn.100153c0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 4
push dword [ebp - 0x2c]
push 0xc
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
nop
nop
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x10008349
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x1c]
push eax
push 0x14
call fcn.10014c4d
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ecx, 1
mov ebx, dword [ebx]
add ebx, 8
push ebx
push ecx
mov ebx, dword [ebx]
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop ebx
add ebx, 4
dec ecx
jne 0x1000838b
pop ebx
add ebx, 4
push 0
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
nop
push eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
mov ecx, 1
add edi, 8
push ebx
push edi
push ecx
mov edi, dword [edi]
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0xc
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop edi
pop ebx
add edi, 4
add ebx, 0x10
dec ecx
jne 0x10008400
pop edi
add edi, 4
call fcn.10014c47
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x10008471
mov eax, dword [ebp - 0x14]
jmp 0x100086f4
push 1
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
xor eax, eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
nop
nop
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jne 0x100084c4
push 0x80000301
push 0
push 0x400
push 0x80000301
push 0
push dword [ebp - 0x28]
push 2
mov ebx, 0xc8
call fcn.10016690
add esp, 0x1c
mov dword [ebp - 0x28], eax
jmp 0x100084cb
mov dword [ebp - 0x24], 0
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push eax
push 0x44
call fcn.10014c4d
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0
push 0
push 0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
nop
nop
push eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.10007c48
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.10014c47
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x100086a7
mov eax, dword [ebp - 0x14]
jmp 0x100086f4
cmp dword [ebp - 4], 0
je 0x100086be
push dword [ebp - 4]
xor eax, eax
call dword [0x1001da13]
nop
nop
cmp dword [ebp - 0x20], 0
je 0x100086d5
push dword [ebp - 0x20]
xor eax, eax
call dword [0x1001da13]
nop
nop
cmp dword [ebp - 0x10], 0
je 0x100086ec
push dword [ebp - 0x10]
xor eax, eax
call dword [0x1001da13]
nop
nop
mov eax, dword [ebp - 0x14]
jmp 0x100086f4
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000870c
push ebx
call fcn.10014c47
add esp, 4
pop ebx
call fcn.10014c47
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.10014c47
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.10014c47
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10008752
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000874e
imul eax, dword [ebx]
jmp 0x10008743
mov ecx, eax
test ecx, ecx
je 0x1000877a
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10014c47
add esp, 4
pop ebx
call fcn.10014c47
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10008758
call fcn.10014c47
add esp, 4
pop ebx
call fcn.10014c47
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc