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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x91ac4
call fcn.004f2630
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [eax], 0
mov edi, str.explorer.exe
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x8d4]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [ebp - 0x10], esp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x80
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1d4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [ebp - 0x14]
mov esi, eax
push edx
push 0x20
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4b8dc5
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 1
push eax
push 0x50d674
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov edx, dword [ebp - 0x14]
push 0
push 0
lea ecx, [ebp - 0x2c]
push 0x10
push ecx
push 0
push edx
mov dword [ebp - 0x20], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
jmp 0x4b8dcb
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call ebx
push esi
call ebx
push 0
push 2
mov dword [ebp - 0x18], 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, eax
mov dword [ebp - 0x18], edx
mov ecx, 0x49
xor eax, eax
lea edi, [ebp - 0x150]
mov dword [ebp - 0x154], 0x128
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 1
push eax
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4b90b7
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
jne 0x4b8e56
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x154]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4b90b7
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
jne 0x4b8e56
lea eax, [ebp - 0x154]
lea ecx, [ebp - 0x18]
push eax
call fcn.004a6f00
test eax, eax
je 0x4b90b7
mov edx, dword [ebp - 0x14c]
lea ecx, [ebp - 0x3d4]
push ecx
push edx
call fcn.004a6cb0
lea edi, [ebp - 0x3d4]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 5
jl 0x4b9049
lea edi, [ebp - 0x3d4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x5d4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x5d4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp eax, ecx
jge 0x4b8ee7
mov edx, ecx
sub edx, eax
mov dl, byte [ebp + edx - 0x5d4]
cmp dl, 0x5c
mov byte [ebp + eax - 0x7d4], dl
jne 0x4b8ee4
cmp eax, 2
jge 0x4b8ee7
inc eax
jmp 0x4b8ec4
sub ecx, eax
xor edx, edx
mov edi, ecx
cmp edx, edi
jge 0x4b8f02
mov cl, byte [ebp + edx - 0x5d4]
mov byte [ebp + edx - 0xad4], cl
inc edx
jmp 0x4b8eed
mov byte [ebp + edi - 0xad4], 0
xor esi, esi
cmp esi, eax
jge 0x4b8f33
lea edx, [esi + edi]
mov dl, byte [ebp + edx - 0x5d3]
cmp dl, 0x5c
je 0x4b8f28
mov byte [ebp + esi - 0x7d4], dl
jne 0x4b8f30
mov byte [ebp + esi - 0x7d4], 0
inc esi
jmp 0x4b8f0c
mov byte [ebp + eax - 0x7d4], 0
lea eax, [ebp - 0x7d4]
lea ecx, [ebp - 0x8d4]
push eax
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4b9049
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x91ad4]
push edx
push eax
push ecx
call fcn.004a6d30
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
jle 0x4b9049
mov ebx, 1
cmp ebx, dword [ebp - 0x14]
jge 0x4b9043
lea edx, [ebx + ebx*8]
push str.c:endpcachelockfile.dll
shl edx, 4
add edx, ebx
lea edi, [ebp + edx*4 - 0x91990]
push edi
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x4b903d
xor esi, esi
cmp esi, 0x23
jge 0x4b8ffc
mov eax, esi
lea ecx, [ebp - 0x1d4]
shl eax, 6
add eax, 0x527738
lea edx, [ebp - 0x2d4]
push eax
push ecx
push str._s_s
push edx
mov byte [ebp - 0x2d4], 0
call fcn.004f175f
lea eax, [ebp - 0x2d4]
push edi
push eax
call fcn.004f61e0
add esp, 0x18
test eax, eax
je 0x4b903d
inc esi
jmp 0x4b8fb6
xor eax, eax
cmp eax, 1
je 0x4b903d
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov esi, dword [edx]
shl esi, 8
add esi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 0x1c], esi
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx]
inc ecx
mov eax, ecx
mov dword [edx], ecx
cmp eax, 0xff
je 0x4b9043
inc ebx
jmp 0x4b8f86
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x154]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4b90b7
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
jne 0x4b8e56
jmp 0x4b8e47
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [ebp + 0xc]
mov esi, eax
push edx
push 0x20
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4b9111
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 1
push eax
push 0x50d674
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov edx, dword [ebp + 0xc]
push 0
push 0
lea ecx, [ebp - 0x2c]
push 0x10
push ecx
push 0
push edx
mov dword [ebp - 0x20], 0
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp + 0xc]
push eax
call ebx
mov ecx, dword [ebp + 0xc]
push ecx
call ebx
push esi
call ebx
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x4b9125
push eax
call ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret