Function at 0x46eac0
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x91940
call fcn.0047bda0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, str.ctfmon.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]
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 0x46eb7d
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 - 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 0x46eddc
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x46ebff
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x150]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x46eddc
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x46ebff
lea eax, [ebp - 0x150]
lea ecx, [ebp + 0xc]
push eax
call fcn.00404a00
test eax, eax
je 0x46eddc
mov edx, dword [ebp - 0x148]
lea ecx, [ebp - 0x250]
push ecx
push edx
call fcn.004047b0
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 0x46ed77
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 0x46ec90
mov edx, ecx
sub edx, eax
mov dl, byte [ebp + edx - 0x650]
cmp dl, 0x5c
mov byte [ebp + eax - 0x450], dl
jne 0x46ec8d
cmp eax, 2
jge 0x46ec90
inc eax
jmp 0x46ec6d
sub ecx, eax
xor edx, edx
mov edi, ecx
cmp edx, edi
jge 0x46ecab
mov cl, byte [ebp + edx - 0x650]
mov byte [ebp + edx - 0x950], cl
inc edx
jmp 0x46ec96
mov byte [ebp + edi - 0x950], 0
xor esi, esi
cmp esi, eax
jge 0x46ecdc
lea edx, [esi + edi]
mov dl, byte [ebp + edx - 0x64f]
cmp dl, 0x5c
je 0x46ecd1
mov byte [ebp + esi - 0x450], dl
jne 0x46ecd9
mov byte [ebp + esi - 0x450], 0
inc esi
jmp 0x46ecb5
mov byte [ebp + eax - 0x450], 0
lea eax, [ebp - 0x450]
lea ecx, [ebp - 0x750]
push eax
push ecx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x46ed77
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.00404830
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
jle 0x46ed77
mov edx, 1
cmp edx, dword [ebp - 0x14]
jge 0x46ed77
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 0x46ed77
inc edx
jmp 0x46ed27
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x150]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x46eddc
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x46ebff
jmp 0x46ebf0
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 0x46ee38
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 0x46ee47
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