Function at 0x4032c0
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40bd38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x244
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
push 0x20
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x403341
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push ecx
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0x18]
push ebx
push ebx
lea edx, [ebp - 0x28]
push 0x10
push edx
push ebx
push eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
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 - 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 0x4034c0
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x4033c3
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4034c0
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x4033c3
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0x14]
push eax
call fcn.00403290
test eax, eax
je 0x4034c0
mov edx, dword [ebp - 0x148]
lea ecx, [ebp - 0x250]
push ecx
push edx
call fcn.00403200
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, 7
jl 0x403452
lea eax, [ebp - 0x250]
mov ecx, 0x42f778
push eax
call fcn.00403bf1
push 0xa
mov ecx, eax
call fcn.00403aaa
push 0x401250
mov ecx, eax
call fcn.00401190
mov ecx, dword [ebp + 8]
mov edx, ebx
shl edx, 8
add edx, ecx
lea edi, [ebp - 0x250]
or ecx, 0xffffffff
xor eax, eax
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
inc ebx
cmp ebx, 0x400
rep movsb byte es:[edi], byte [esi]
jg 0x4034c0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4034c0
mov ecx, dword [ebp - 0x148]
test ecx, ecx
jne 0x4033c3
jmp 0x4033b4
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
push 0x20
mov dword [edx], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x403521
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 + 0xc]
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 + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x403530
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