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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100731a0
push 0x10031af0
mov eax, dword fs:[0]
push eax
sub esp, 0x8b8
mov eax, dword [0x10079214]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x848], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x86c], eax
xor edi, edi
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x834], edi
mov dword [ebp - 0x860], edi
mov dword [ebp - 0x828], edi
mov dword [ebp - 0x83c], edi
mov dword [ebp - 0x824], edi
mov dword [ebp - 0x82c], edi
mov dword [ebp - 0x85c], edi
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x850], edi
mov dword [ebp - 0x858], edi
mov dword [ebp - 0x854], edi
mov dword [ebp - 4], edi
mov dword [eax], edi
push 0x1005b810
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call esi
mov dword [ebp - 0x834], eax
test eax, eax
jne 0x1000df02
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.hModKernel32__NULL___d_n
call fcn.10004bd0
add esp, 8
mov esi, edi
jmp 0x1000e2f9
push str.wtsapi32.dll
call esi
mov esi, eax
mov dword [ebp - 0x860], esi
test esi, esi
jne 0x1000df34
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.hModWtsapi32__NULL___d_n
call fcn.10004bd0
add esp, 8
mov esi, dword [ebp - 0x820]
jmp 0x1000e2f9
push str.WTSGetActiveConsoleSessionId
push dword [ebp - 0x834]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x830], eax
test eax, eax
jne 0x1000df6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WTSGetActiveConsoleSessionId__NULL___d_n
call fcn.10004bd0
add esp, 8
mov esi, dword [ebp - 0x820]
jmp 0x1000e2f9
push str.WTSQueryUserToken
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x840], eax
test eax, eax
jne 0x1000dfa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WTSQueryUserToken__NULL___d_n
call fcn.10004bd0
add esp, 8
mov esi, dword [ebp - 0x820]
jmp 0x1000e2f9
push str.Wow64DisableWow64FsRedirection
mov esi, dword [ebp - 0x834]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x868], eax
push str.Wow64RevertWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x854], eax
call dword [ebp - 0x830]
mov esi, eax
push esi
push str.explorer.exe
call fcn.1000db10
mov dword [ebp - 0x830], eax
test eax, eax
jne 0x1000e009
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FindSessionPid_dwWinlogonPid___0___d_n
call fcn.10004bd0
add esp, 8
mov esi, dword [ebp - 0x820]
jmp 0x1000e2f9
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x83c], 0
mov dword [ebp - 0x844], 0
lea eax, [ebp - 0x844]
push eax
push esi
call dword [ebp - 0x840]
test eax, eax
je 0x1000e047
mov eax, dword [ebp - 0x844]
mov dword [ebp - 0x828], eax
jmp 0x1000e07b
push dword [ebp - 0x830]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x83c], esi
lea eax, [ebp - 0x828]
push eax
push 0xf00ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [ebp - 0x828]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1000e09b
call esi
push eax
push str.WTSQueryUserToken_OpenProcessToken_hPToken___NULL___d_n
call fcn.10004bd0
add esp, 8
mov eax, dword [ebp - 0x828]
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x840], 0
lea ecx, [ebp - 0x840]
push ecx
push 4
lea ecx, [ebp - 0x830]
push ecx
push 0x13
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1000e0e4
mov eax, dword [ebp - 0x830]
mov dword [ebp - 0x824], eax
jmp 0x1000e127
xorps xmm0, xmm0
movlpd qword [ebp - 0x884], xmm0
lea eax, [ebp - 0x884]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
lea eax, [ebp - 0x824]
push eax
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov eax, dword [ebp - 0x824]
test eax, eax
jne 0x1000e141
call esi
push eax
push str.GetTokenInformation_DuplicateTokenEx_hUserTokenDup___NULL___d_n
call fcn.10004bd0
add esp, 8
mov eax, dword [ebp - 0x824]
mov edi, 0x30
mov dword [ebp - 0x864], edi
mov dword [ebp - 0x82c], 0
push 1
push eax
lea eax, [ebp - 0x82c]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x1000e17c
mov edi, 0x430
mov dword [ebp - 0x864], edi
mov eax, dword [ebp - 0x82c]
jmp 0x1000e184
xor eax, eax
mov dword [ebp - 0x82c], eax
test eax, eax
jne 0x1000e198
call esi
push eax
push str.CreateEnvironmentBlock_pEnv___NULL___d_n
call fcn.10004bd0
add esp, 8
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.10031950
add esp, 0xc
mov eax, dword [ebp - 0x848]
test eax, eax
je 0x1000e1ec
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1000e1ec
mov eax, dword [ebp - 0x848]
push eax
push dword [ebp - 0x84c]
push str.__s___s
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
jmp 0x1000e204
push 0x3ff
push dword [ebp - 0x84c]
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x81c]
push eax
push str.CreateProcessAsUser__s_....._n
call fcn.10004bd0
xorps xmm0, xmm0
movups xmmword [ebp - 0x87c], xmm0
push 0x44
push 0
lea eax, [ebp - 0x8c8]
push eax
call fcn.10031950
add esp, 0x14
mov dword [ebp - 0x8c8], 0x44
mov eax, 5
mov word [ebp - 0x898], ax
mov dword [ebp - 0x8c0], str.winsta0default
mov eax, dword [ebp - 0x868]
test eax, eax
je 0x1000e26b
lea ecx, [ebp - 0x858]
push ecx
call eax
mov dword [ebp - 0x850], eax
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x8c8]
push eax
push 0
push dword [ebp - 0x82c]
push edi
push 0
push 0
push 0
lea eax, [ebp - 0x81c]
push eax
push 0
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
mov dword [ebp - 0x838], edi
test edi, edi
jne 0x1000e2c8
call esi
push eax
lea eax, [ebp - 0x81c]
push eax
push str.CreateProcessAsUser__s___FALSE___d_n
call fcn.10004bd0
add esp, 0xc
mov esi, dword [ebp - 0x820]
jmp 0x1000e2f9
mov eax, dword [ebp - 0x87c]
mov dword [ebp - 0x85c], eax
mov esi, dword [ebp - 0x878]
mov dword [ebp - 0x820], esi
mov eax, dword [ebp - 0x874]
mov ecx, dword [ebp - 0x86c]
mov dword [ecx], eax
mov edi, 1
mov dword [ebp - 0x838], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.1000e331
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002deb9
mov esp, ebp
pop ebp
ret 0xc