Function at 0x4b98e0
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x91940
call fcn.004f2630
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, str.rundll32.exe
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x750]
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
mov dword [ebp - 4], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
mov esi, eax
push ecx
push 0x20
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4b99a3
lea edx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push edx
push 0x50d674
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [ebp - 0x14]
push 0
push 0
lea eax, [ebp - 0x28]
push 0x10
push eax
push 0
push ecx
mov dword [ebp - 0x1c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
jmp 0x4b99a9
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call edi
push esi
call edi
push 0
push 2
mov dword [ebp + 0xc], 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, eax
mov dword [ebp + 0xc], edx
mov ecx, 0x49
xor eax, eax
lea edi, [ebp - 0x14c]
mov dword [ebp - 0x150], 0x128
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 1
push ecx
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4b9c18
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x4b9a34
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x150]
push edx
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4b9c18
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x4b9a34
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004a6f00
test eax, eax
je 0x4b9c18
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x250]
push edx
push eax
call fcn.004a6cb0
lea edi, [ebp - 0x250]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 5
jl 0x4b9bac
lea edi, [ebp - 0x250]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x650]
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 - 0x650]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp eax, ecx
jge 0x4b9ac5
mov edx, ecx
sub edx, eax
mov dl, byte [ebp + edx - 0x650]
cmp dl, 0x5c
mov byte [ebp + eax - 0x450], dl
jne 0x4b9ac2
cmp eax, 2
jge 0x4b9ac5
inc eax
jmp 0x4b9aa2
sub ecx, eax
xor edx, edx
mov edi, ecx
cmp edx, edi
jge 0x4b9ae0
mov cl, byte [ebp + edx - 0x650]
mov byte [ebp + edx - 0x950], cl
inc edx
jmp 0x4b9acb
mov byte [ebp + edi - 0x950], 0
xor esi, esi
cmp esi, eax
jge 0x4b9b11
lea edx, [esi + edi]
mov dl, byte [ebp + edx - 0x64f]
cmp dl, 0x5c
je 0x4b9b06
mov byte [ebp + esi - 0x450], dl
jne 0x4b9b0e
mov byte [ebp + esi - 0x450], 0
inc esi
jmp 0x4b9aea
mov byte [ebp + eax - 0x450], 0
lea eax, [ebp - 0x450]
lea ecx, [ebp - 0x750]
push eax
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4b9bac
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x91950]
push edx
push eax
push ecx
call fcn.004a6d30
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
jle 0x4b9bac
mov edx, 1
cmp edx, dword [ebp - 0x14]
jge 0x4b9bac
mov esi, dword [ebx]
mov ecx, dword [ebp + 8]
lea eax, [edx + edx*8]
shl eax, 4
add eax, edx
shl esi, 8
lea edi, [ebp + eax*4 - 0x9180c]
add esi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 0x18], esi
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 0x18]
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 [ebx]
inc ecx
mov eax, ecx
mov dword [ebx], ecx
cmp eax, 0xff
je 0x4b9bac
inc edx
jmp 0x4b9b5c
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x150]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4b9c18
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x4b9a34
lea eax, [ebp - 0x150]
push eax
jmp 0x4b9a2c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp + 8]
mov esi, eax
push ecx
push 0x20
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4b9c7a
lea edx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push edx
push 0x50d674
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [ebp + 8]
push 0
push 0
lea eax, [ebp - 0x28]
push 0x10
push eax
push 0
push ecx
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
jmp 0x4b9c80
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
call edi
push esi
call edi
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x4b9c94
push eax
call edi
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