Function at 0x44e230
Capabilities:
Create process on windows
Create process suspended
Impersonate user

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b28fb
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4e406c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp + 8]
or esi, 0xffffffff
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x1c]
push ecx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44e2d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, str.OpenProcessToken_failed:
mov ecx, 0x4e84e8
mov edi, eax
call fcn.00419a50
push edi
mov ecx, eax
call fcn.004196c0
xor bl, bl
jmp 0x44e433
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
push eax
push str.SeIncreaseQuotaPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x24], 2
push eax
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, eax
test ebx, ebx
je 0x44e333
mov edx, str.AdjustTokenPrivileges_failed:
mov ecx, 0x4e84e8
call fcn.00419a50
push ebx
mov ecx, eax
call fcn.004196c0
xor bl, bl
jmp 0x44e433
push ecx
lea eax, [ebp - 0x20]
mov edx, 0x400
push 2
push eax
lea ecx, [ebp - 0x18]
call fcn.0044dae0
add esp, 0xc
test al, al
jne 0x44e367
mov edx, str.Error_initializing_ShellProcess_instance
mov ecx, 0x4e84e8
call fcn.00419a50
mov esi, dword [ebp - 0x18]
xor bl, bl
jmp 0x44e433
lea eax, [ebp - 0x14]
push eax
push 1
push 2
push 0
push 0x18b
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x44e3a8
call edi
mov edx, str.Cant_get_primary_token:
mov ecx, 0x4e84e8
mov esi, eax
call fcn.00419a50
push esi
mov ecx, eax
call fcn.004196c0
mov esi, dword [ebp - 0x18]
xor bl, bl
jmp 0x44e433
push 0x54
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00485990
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.0044da10
push dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x90]
push 0
push 0
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
jne 0x44e41b
call edi
mov edx, str.CreateProcessWithTokenW_failed:
mov ecx, 0x4e84e8
mov esi, eax
call fcn.00419a50
push esi
mov ecx, eax
call fcn.004196c0
xor bl, bl
jmp 0x44e425
mov ecx, dword [ebp - 0x14]
call fcn.0044dbe0
mov bl, 1
lea ecx, [ebp - 0x88]
call fcn.0044da40
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x44e448
test eax, eax
je 0x44e448
push eax
call edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0xffffffff
cmp eax, 0xffffffff
je 0x44e45e
test eax, eax
je 0x44e45e
push eax
call edi
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], 0xffffffff
cmp eax, 0xffffffff
je 0x44e474
test eax, eax
je 0x44e474
push eax
call edi
mov dword [ebp - 0x20], 0xffffffff
cmp esi, 0xffffffff
je 0x44e487
test esi, esi
je 0x44e487
push esi
call edi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046d32d
mov esp, ebp
pop ebp
ret