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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x6ed0a4]
xor eax, esp
mov dword [esp + 0xb4], eax
xorps xmm0, xmm0
mov dword [esp + 0x2c], edx
push esi
push edi
mov edi, ecx
mov byte [esp + 0x18], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x5c], 0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x2c], 0
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
push ecx
push eax
mov esi, 0x30
mov dword [esp + 0x60], 0x44
mov dword [esp + 0x68], str.winsta0default
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x44ba49
mov dword [esp + 0x24], eax
or esi, 0xffffffff
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
push 1
push 0
push 0
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
mov edi, dword [esp + 0x20]
xor eax, eax
test edi, edi
je 0x44ba05
mov edx, dword [esp + 0x24]
lea ecx, [edi + 8]
nop dword [eax]
cmp eax, edx
jae 0x44ba05
cmp dword [ecx], 0
je 0x44b9ff
inc eax
add ecx, 0xc
jmp 0x44b9f0
lea eax, [eax + eax*2]
mov esi, dword [edi + eax*4]
push edi
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
cmp esi, 0xffffffff
mov eax, 1
cmove esi, eax
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x24], esi
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x44ba40
mov edx, dword [esp + 0x1c]
call fcn.0044b7a0
mov dword [esp + 0x10], eax
test eax, eax
je 0x44bb7b
mov edi, dword [esp + 0x28]
mov esi, 0x30
lea eax, [esp + 0x30]
push eax
push 4
lea eax, [esp + 0x34]
push eax
push 0x13
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x44ba72
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
jmp 0x44bb20
lea eax, [esp + 0x38]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x44bb7b
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xc]
push eax
push 1
push 1
push 0
push 0x2000000
push dword [esp + 0x24]
mov dword [esp + 0xb8], 1
mov dword [esp + 0xc4], 2
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x44bb7b
push 4
lea eax, [esp + 0x20]
push eax
push 0xc
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x44bafe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x44bb7b
push 0
push 0
push 0x10
lea eax, [esp + 0xac]
push eax
push 0
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x44bb7b
mov eax, dword [esp + 0xc]
push 1
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x44bb3d
mov eax, dword [esp + 0x14]
mov esi, 0x430
jmp 0x44bb43
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x5c]
push ecx
push 0
push eax
push esi
push 0
push 0
push 0
push dword [esp + 0x54]
push edi
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ecx, dword [esp + 0x18]
test eax, eax
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x44bb8d
push eax
call esi
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
je 0x44bb99
push eax
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x44bba4
push eax
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44bbaf
push eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44bbbe
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov ecx, dword [esp + 0xbc]
mov al, byte [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.0060f4a4
mov esp, ebp
pop ebp
ret