Function at 0x42fec0
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d27e5
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x508164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x378], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x374], 0
mov dword [ebp - 0x370], 0
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x364], 0
call fcn.004326a0
test al, al
je 0x42ff6e
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x364], eax
test eax, eax
je 0x42ff6e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push eax
call esi
push str.Wow64RevertWow64FsRedirection
push dword [ebp - 0x364]
mov dword [ebp - 0x374], eax
call esi
mov dword [ebp - 0x370], eax
call fcn.004326a0
test al, al
je 0x42ffa9
cmp dword [ebp - 0x368], 0
jne 0x42ffa9
mov eax, dword [ebp - 0x374]
test eax, eax
je 0x42ffa9
lea ecx, [ebp - 0x36c]
push ecx
call eax
mov ecx, dword [ebp - 0x368]
test eax, eax
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x368], ecx
lea eax, [ebp - 0x360]
mov dword [ebp - 4], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x1c]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push 0
push dword [ebp - 0x360]
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x360]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x384]
call fcn.0040b4e0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x43004c
lea eax, [ebp - 0x35c]
mov dword [ebp - 0x35c], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4300c0
push edi
call esi
xor bl, bl
mov dword [ebp - 4], 0xd
call fcn.004326a0
test al, al
je 0x43008c
cmp dword [ebp - 0x368], 0
je 0x43008c
mov eax, dword [ebp - 0x370]
test eax, eax
je 0x43008c
push dword [ebp - 0x36c]
call eax
mov ecx, dword [ebp - 0x368]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x368], ecx
mov eax, dword [ebp - 0x364]
test eax, eax
je 0x43009d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d8b2
mov esp, ebp
pop ebp
ret 4
cmp dword [0x50d2a8], 0
jne 0x430296
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
push 0
mov byte [ebp - 4], 9
push 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.00432600
xorps xmm0, xmm0
mov dword [ebp - 0x28], eax
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x30], xmm0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x130]
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x338]
push eax
call fcn.00408080
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00409770
cmp dword [esi + 0x14], 0x10
jb 0x4301dd
mov esi, dword [esi]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4301e2
sub eax, edx
lea ecx, [ebp - 0x80]
push eax
push esi
call fcn.0040e3a0
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xc
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0x130]
push eax
call fcn.0048dbcc
mov ecx, dword [ebp - 0x378]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00430520
mov esi, dword [ebx]
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x37c]
mov ecx, ebx
push eax
call fcn.00432330
cmp dword [eax], esi
jne 0x430275
push dword [ebp - 0x37c]
lea eax, [ebp - 0xe8]
push eax
push ecx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.00432ea0
lea ecx, [ebp - 0xe8]
call fcn.004302b0
lea eax, [ebp - 0x35c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4300c0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x43004e