Function at 0x4b3120
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f1459
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x6656b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48c], eax
or esi, 0xffffffff
mov dword [ebp - 0x484], esi
xor edi, edi
mov dword [ebp - 0x488], edi
mov dword [ebp - 0x480], edi
mov dword [ebp - 0x230], 7
mov dword [ebp - 0x234], edi
xor ecx, ecx
mov word [ebp - 0x244], cx
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
call fcn.004b04e0
cmp dword [eax + 0xf8], edi
je 0x4b321a
call fcn.004b04e0
cmp dword [eax + 0xfc], edi
je 0x4b321a
call fcn.004b04e0
cmp dword [eax + 0x100], edi
je 0x4b321a
call fcn.004b04e0
cmp dword [eax + 0x104], edi
je 0x4b321a
call fcn.004b04e0
cmp dword [eax + 0x108], edi
je 0x4b321a
call fcn.004b04e0
cmp dword [eax + 0xc0], edi
je 0x4b321a
call fcn.004b04e0
mov eax, dword [eax + 0xf8]
push edi
push 2
call eax
mov ebx, eax
mov dword [ebp - 0x484], ebx
or esi, esi
cmp ebx, esi
jne 0x4b3222
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x48c]
mov dword [edx + 0x24], eax
push eax
push 0x633950
call fcn.004a7cf0
add esp, 8
mov dword [ebp - 4], esi
jmp 0x4b36b1
mov dword [ebp - 0x47c], 0x22c
call fcn.004b04e0
mov eax, dword [eax + 0xfc]
lea ecx, [ebp - 0x47c]
push ecx
push ebx
call eax
test eax, eax
jne 0x4b327a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x48c]
mov dword [edi + 0x24], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x484], esi
mov edx, dword [edi + 0x24]
push edx
push 0x633a08
call fcn.004a7cf0
add esp, 8
mov dword [ebp - 4], esi
jmp 0x4b36b1
lea eax, [ebp - 0x480]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, 1
jne 0x4b3367
lea ecx, [ebp - 0x4a8]
push ecx
push str.SeDebugPrivilege
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x4b32f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CProcessList::ReadProcessListWinNT___:_LUID
call fcn.004a7cf0
add esp, 8
mov eax, dword [ebp - 0x480]
cmp eax, edi
je 0x4b32db
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x480], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x484], esi
mov dword [ebp - 4], esi
jmp 0x4b36b1
mov dword [ebp - 0x4ac], 1
mov dword [ebp - 0x4a0], 2
push edi
push edi
push edi
lea edx, [ebp - 0x4ac]
push edx
push edi
mov eax, dword [ebp - 0x480]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x4b3382
call esi
push eax
push 0x633b38
call fcn.004a7cf0
add esp, 8
mov eax, dword [ebp - 0x480]
cmp eax, edi
je 0x4b334f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x480], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
mov dword [ebp - 0x484], eax
mov dword [ebp - 4], eax
jmp 0x4b36b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x633be0
call fcn.004a7cf0
add esp, 8
jmp 0x4b3382
xor edi, edi
push 0x44
call fcn.004c47c8
add esp, 4
mov dword [ebp - 0x49c], eax
mov byte [ebp - 4], 2
cmp eax, edi
je 0x4b33a2
push eax
call fcn.00410730
mov edi, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x490], edi
test edi, edi
je 0x4b360d
mov ecx, dword [ebp - 0x464]
mov dword [edi], ecx
mov edx, dword [ebp - 0x474]
mov dword [edi + 4], edx
lea esi, [edi + 8]
mov dword [esi], 0
call fcn.004b04e0
mov eax, dword [eax + 0xc0]
push esi
mov ecx, dword [edi + 4]
push ecx
call eax
mov edx, dword [ebp - 0x474]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x488], esi
test esi, esi
je 0x4b3586
call fcn.004b04e0
mov eax, dword [eax + 0x104]
lea ecx, [ebp - 0x498]
push ecx
push 4
lea edx, [ebp - 0x494]
push edx
push esi
call eax
cmp eax, 1
jne 0x4b3553
push 0x106
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.005bfee0
add esp, 0xc
call fcn.004b04e0
mov eax, dword [eax + 0x108]
push 0x104
lea ecx, [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x494]
push edx
push esi
call eax
test eax, eax
jne 0x4b3476
lea ebx, [edi + 0x28]
push ebx
lea eax, [ebp - 0x458]
push eax
jmp 0x4b355e
lea ecx, [ebp - 0x248]
push ecx
lea eax, [ebp - 0x22c]
call fcn.0040f7e0
lea eax, [ebp - 0x248]
call fcn.004bc320
cmp dword [ebp - 0x230], 8
mov eax, dword [ebp - 0x244]
jae 0x4b34a8
lea eax, [ebp - 0x244]
lea ebx, [edi + 0x28]
push ebx
call fcn.0040f7e0
push 0xb
lea ecx, [ebp - 0x248]
call fcn.004bcd20
add esp, 4
mov esi, str.SYSTEMROOT
lea ecx, [ebp - 0x248]
call fcn.0040b980
test eax, eax
jne 0x4b3503
mov ecx, dword [ebp - 0x48c]
cmp dword [ecx + 0x40], 8
jb 0x4b34f0
mov ecx, dword [ecx + 0x2c]
push esi
push ebx
call fcn.004bcbc0
add esp, 8
jmp 0x4b356d
add ecx, 0x2c
push str.SYSTEMROOT
push ebx
call fcn.004bcbc0
add esp, 8
jmp 0x4b356d
push 4
lea ecx, [ebp - 0x248]
call fcn.004bcd20
add esp, 4
mov esi, str.___
lea ecx, [ebp - 0x248]
call fcn.0040b980
test eax, eax
jne 0x4b3533
lea ecx, [eax + 4]
mov edx, ebx
call fcn.004bcc90
jmp 0x4b356d
mov esi, 0x633cac
lea ecx, [ebp - 0x248]
call fcn.0040b980
test eax, eax
jne 0x4b356d
lea ecx, [eax + 4]
mov edx, ebx
call fcn.004bcc90
jmp 0x4b356d
lea ebx, [edi + 0x28]
push ebx
lea edx, [ebp - 0x458]
push edx
call fcn.004bcad0
add esp, 8
mov eax, ebx
call fcn.004bc320
mov eax, dword [ebp - 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x488], 0
jmp 0x4b35a0
lea ebx, [edi + 0x28]
push ebx
lea ecx, [ebp - 0x458]
push ecx
call fcn.004bcad0
add esp, 8
mov eax, ebx
call fcn.004bc320
add edi, 0xc
push edi
mov ecx, ebx
call fcn.004bc550
add esp, 4
mov edi, dword [ebp - 0x48c]
add edi, 0x44
lea ebx, [ebp - 0x490]
call fcn.004b3fd0
mov esi, dword [ebp - 0x48c]
lea edi, [esi + 0x5c]
call fcn.004b3fd0
lea edi, [esi + 0x74]
call fcn.004b3fd0
lea edi, [esi + 0x8c]
call fcn.004b3fd0
call fcn.004b04e0
mov eax, dword [eax + 0x100]
lea edx, [ebp - 0x47c]
push edx
mov ecx, dword [ebp - 0x484]
push ecx
call eax
mov ebx, dword [ebp - 0x484]
cmp eax, 1
je 0x4b3380
mov eax, dword [ebp - 0x480]
test eax, eax
je 0x4b3628
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x480], 0
or esi, 0xffffffff
cmp ebx, esi
je 0x4b363c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x484], esi
mov dword [ebp - 4], esi
lea esi, [ebp - 0x248]
call fcn.0040f810
mov al, 1
jmp 0x4b36be
lea esi, [ebp - 0x248]
call fcn.0040f810
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005b7e8e
mov esp, ebp
pop ebp
ret 4