Function at 0x5370fc
Capabilities:
Acquire debug privileges
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x537105
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004076f8
mov eax, dword [ebp + 0x14]
call fcn.004076f8
mov eax, dword [ebp + 0x10]
call fcn.004076f8
mov eax, dword [ebp + 0xc]
call fcn.004076f8
xor eax, eax
push ebp
push 0x537577
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
push ebp
push 0x537509
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x2000000
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5374ac
lea eax, [ebp - 0x18]
push eax
push 0x201eb
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x537470
lea eax, [ebp - 0x14]
push eax
push 1
push 1
push 0
push 0x2000000
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_DuplicateTokenEx
test eax, eax
jne 0x5371e0
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x90]
call fcn.00423a20
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov edx, 0x537598
call fcn.00408468
mov eax, dword [ebp - 0x8c]
call fcn.00535d94
push 4
lea eax, [ebp - 4]
push eax
push 0xc
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_SetTokenInformation
test eax, eax
jne 0x537226
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x98]
call fcn.00423a20
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
mov edx, 0x5375d0
call fcn.00408468
mov eax, dword [ebp - 0x94]
call fcn.00535d94
mov edx, 0x53760c
mov eax, dword [ebp - 0x14]
call fcn.0053694c
mov dword [ebp - 0x24], 0x30
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.userenv_CreateEnvironmentBlock
test eax, eax
je 0x537256
mov dword [ebp - 0x24], 0x430
jmp 0x53728c
xor eax, eax
mov dword [ebp - 0x20], eax
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0xa0]
call fcn.00423a20
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
mov edx, 0x53763c
call fcn.00408468
mov eax, dword [ebp - 0x9c]
call fcn.00535d94
cmp dword [ebp + 0xc], 0
jne 0x537299
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x5372a4
mov eax, dword [ebp + 0xc]
call fcn.00408224
mov dword [ebp - 0x28], eax
cmp dword [ebp + 0x14], 0
jne 0x5372b7
mov eax, dword [ebp + 0x10]
call fcn.00408224
mov dword [ebp - 0x2c], eax
jmp 0x5372e5
push 0x537680
push dword [ebp + 0x14]
push 0x537690
push dword [ebp + 0x10]
lea eax, [ebp - 0xa4]
mov edx, 4
call fcn.004084f0
mov eax, dword [ebp - 0xa4]
call fcn.00408224
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 0x10
call fcn.00404f60
lea eax, [ebp - 0x70]
xor ecx, ecx
mov edx, 0x44
call fcn.00404f60
mov dword [ebp - 0x70], 0x44
mov eax, dword [ebp - 8]
call fcn.00408224
mov dword [ebp - 0x68], eax
xor eax, eax
push ebp
push 0x53741d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x2c]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CreateProcessAsUserW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x5373a3
push 0x5376a4
push dword [ebp + 0x14]
push 0x5376dc
push dword [ebp + 0x10]
push 0x5376ec
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0xac]
call fcn.00423a20
push dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov edx, 6
call fcn.004084f0
mov eax, dword [ebp - 0xa8]
call fcn.00535d94
jmp 0x5373e9
push 0x53770c
push dword [ebp + 0x14]
push 0x5376dc
push dword [ebp + 0x10]
push 0x53774c
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0xb4]
call fcn.00423a20
push dword [ebp - 0xb4]
lea eax, [ebp - 0xb0]
mov edx, 6
call fcn.004084f0
mov eax, dword [ebp - 0xb0]
call fcn.00535d94
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jne 0x5373fc
mov eax, 0x537760
call fcn.00535d94
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53745c
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x5374a1
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0xc4]
call fcn.00423a20
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
mov edx, 0x5377d4
call fcn.00408468
mov eax, dword [ebp - 0xc0]
call fcn.00535d94
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x5374ff
push 0x537814
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xcc]
call fcn.0041f210
push dword [ebp - 0xcc]
push 0x537848
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0xd0]
call fcn.00423a20
push dword [ebp - 0xd0]
lea eax, [ebp - 0xc8]
mov edx, 4
call fcn.004084f0
mov eax, dword [ebp - 0xc8]
call fcn.00535d94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x537544
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53757e
lea eax, [ebp - 0xd8]
mov edx, 0x14
call fcn.00407674
lea eax, [ebp - 8]
call fcn.00407614
lea eax, [ebp + 0xc]
mov edx, 3
call fcn.00407674
ret