Function at 0x46fcf0
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x91944
call fcn.0047bda0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edx, edx
mov edi, str.services.exe
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx], edx
lea esi, [ebp - 0x754]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp + 0xc], esi
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [ebp - 0x18], edx
and ecx, 3
mov dword [ebp - 4], edx
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x14]
push ecx
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x46fdae
lea edx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push edx
push str.SeDebugPrivilege
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]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 - 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 0x470018
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
jne 0x46fe30
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x154]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x470018
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
jne 0x46fe30
lea eax, [ebp - 0x154]
lea ecx, [ebp + 0xc]
push eax
call fcn.00404a00
test eax, eax
je 0x470018
mov edx, dword [ebp - 0x14c]
lea ecx, [ebp - 0x254]
push ecx
push edx
call fcn.004047b0
lea edi, [ebp - 0x254]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 5
jl 0x46ffb3
lea edi, [ebp - 0x254]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x654]
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 - 0x654]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp eax, ecx
jge 0x46fec1
mov edx, ecx
sub edx, eax
mov dl, byte [ebp + edx - 0x654]
cmp dl, 0x5c
mov byte [ebp + eax - 0x454], dl
jne 0x46febe
cmp eax, 2
jge 0x46fec1
inc eax
jmp 0x46fe9e
sub ecx, eax
xor edx, edx
mov edi, ecx
cmp edx, edi
jge 0x46fedc
mov cl, byte [ebp + edx - 0x654]
mov byte [ebp + edx - 0x954], cl
inc edx
jmp 0x46fec7
mov byte [ebp + edi - 0x954], 0
xor esi, esi
cmp esi, eax
jge 0x46ff0d
lea edx, [esi + edi]
mov dl, byte [ebp + edx - 0x653]
cmp dl, 0x5c
je 0x46ff02
mov byte [ebp + esi - 0x454], dl
jne 0x46ff0a
mov byte [ebp + esi - 0x454], 0
inc esi
jmp 0x46fee6
mov byte [ebp + eax - 0x454], 0
lea eax, [ebp - 0x454]
lea ecx, [ebp - 0x754]
push eax
push ecx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x46ffb3
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x91954]
push edx
push ecx
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
call fcn.00404830
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
jle 0x46ffb3
mov edx, 1
cmp edx, dword [ebp - 0x14]
jge 0x46ffb3
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 - 0x91810]
add esi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 0x2c], esi
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 0x2c]
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 0x46ffb3
inc edx
jmp 0x46ff63
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x154]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x470018
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
jne 0x46fe30
jmp 0x46fe21
lea ecx, [ebp + 8]
push ecx
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x470074
lea edx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push edx
push str.SeDebugPrivilege
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]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x470083
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret