Function at 0x426786
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
mov eax, 0x4e8fab
call fcn.004b48a0
sub esp, 0x374
push ebx
xor ebx, ebx
cmp byte [ebp + 0xc], bl
push esi
push edi
jne 0x4267bb
cmp dword [ebp + 0x10], ebx
jne 0x4267bb
cmp dword [ebp + 0x14], ebx
jne 0x4267bb
cmp dword [ebp + 0x18], ebx
jne 0x4267bb
push dword [ebp + 8]
call fcn.0041f184
pop ecx
mov dword [ebp + 8], eax
mov al, byte [ebp + 0xc]
and al, 2
mov byte [ebp - 0x19], al
mov al, byte [ebp + 0xc]
and byte [ebp + 0xc], 1
and al, 0x10
mov byte [ebp - 0xd], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [0x51d23c], ebx
mov dword [ebp - 0x2c], eax
jne 0x4267fc
push str.NtQuerySystemInformation
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x51d23c], eax
mov esi, 0x51d5ec
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [0x51d638], 4
jne 0x42682b
cmp dword [ebp + 0x10], ebx
je 0x42682b
or byte [0x51d638], 8
push 2
push str.SeDebugPrivilege
call fcn.004226a0
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x45e2
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], ebx
call fcn.004494b0
mov eax, dword [ebp - 0x34]
lea esi, [eax + 0xa0]
lea ecx, [eax + 0x104]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x38], ecx
lea ecx, [eax + 0x190]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x3c], ecx
lea ecx, [eax + 0x99a]
mov dword [ebp - 0x28], eax
add eax, 0xba4
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x20], eax
mov word [eax], bx
je 0x426917
push 7
pop ecx
xor eax, eax
cmp byte [0x51c751], 1
push 0x4d
lea edi, [ebp - 0x7c]
mov dword [ebp - 0x80], ebx
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x304]
rep stosd dword es:[edi], eax
push 0x4e
pop ecx
lea edi, [ebp - 0x1d0]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x308], ebx
mov dword [ebp - 0x304], ebx
mov edi, 0x138
jne 0x4268d4
mov edi, 0x270
push ebx
push 0x20
lea eax, [ebp - 0x80]
push eax
push 3
call dword [0x51d23c]
push ebx
push edi
lea eax, [ebp - 0x308]
push eax
push 2
call dword [0x51d23c]
push dword [ebp - 0x304]
push dword [ebp - 0x308]
push dword [ebp - 0x28]
call fcn.004a48b0
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push esi
call fcn.004a48b0
add esp, 0x18
cmp byte [ebp + 0xc], 0
jne 0x4269fa
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x4269fa
mov edi, dword [ebp + 0x10]
push dword [ebp - 0x28]
mov ecx, edi
call fcn.00456630
push 0x4f5b1c
mov ecx, edi
call fcn.00449510
push esi
mov ecx, edi
call fcn.00449510
cmp byte [0x51c77c], 0
ja 0x42695c
call fcn.004177e6
movzx eax, byte [0x51c77c]
push eax
lea eax, [ebp - 0x380]
push str._t_d_t
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x380]
push eax
mov ecx, edi
call fcn.00449510
push dword [0x51d01c]
lea eax, [ebp - 0x380]
push dword [0x51d018]
push eax
call fcn.004a48b0
add esp, 0xc
lea eax, [ebp - 0x380]
push eax
mov ecx, edi
call fcn.00449510
fild qword [0x51d018]
lea ecx, [ebp - 0x18]
fdivr qword [0x4f5b08]
fstp qword [ebp - 0x44]
call fcn.00449480
fld qword [ebp - 0x44]
push str._t_lf
push ecx
push ecx
lea eax, [ebp - 0x18]
fstp qword [esp]
push eax
mov byte [ebp - 4], 1
call fcn.004a4840
add esp, 0x10
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00449510
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00443880
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov dword [ebp - 0x50], esi
push dword [ebp + 0x18]
mov byte [ebp - 4], 2
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x24], eax
jne 0x426a21
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x426ac6
lea ecx, [ebp - 0x2c4]
push ecx
push eax
mov dword [ebp - 0x2c4], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x426d0d
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x426a5f
cmp eax, dword [ebp - 0x2ac]
jne 0x426cfe
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x426a72
cmp eax, dword [ebp - 0x2bc]
jne 0x426cfe
cmp byte [ebp - 0x19], 0
je 0x426b38
cmp byte [ebp + 0xc], 0
je 0x426aec
cmp esi, ebx
je 0x426a9f
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x426cfe
cmp dword [ebp + 0x10], ebx
jne 0x426ba3
cmp byte [ebp - 0xd], 0
je 0x426abd
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x2bc]
je 0x426cfe
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
call fcn.004165a1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00443880
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
cmp esi, ebx
jne 0x426b02
cmp word [ebp - 0x2a0], bx
jne 0x426cfe
jmp 0x426ba6
push dword [ebp + 8]
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x426cfe
cmp dword [ebp + 0x10], ebx
jne 0x426ba3
cmp byte [ebp - 0xd], al
mov eax, dword [ebp - 0x2bc]
je 0x426ac3
cmp dword [ebp - 0x2c], eax
jne 0x426ac3
jmp 0x426cfe
cmp byte [ebp + 0xc], 0
je 0x426b5f
cmp esi, ebx
je 0x426a9f
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x426a9f
cmp esi, ebx
je 0x426cfe
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x426cfe
cmp byte [ebp + 0xc], al
jne 0x426cfe
mov ax, word [ebp + esi*2 - 0x2a0]
cmp ax, bx
je 0x426a9f
cmp ax, 0x2e
jmp 0x426a99
inc dword [ebp - 0x14]
push dword [ebp - 0x2bc]
xor esi, esi
push esi
push 0x400
mov dword [ebp - 0x40], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, esi
mov dword [ebp - 0x18], eax
je 0x426c50
push esi
push 0x51d170
push str.PSAPI.DLL
push str.GetProcessMemoryInfo
call fcn.00444a50
add esp, 0x10
push 0x28
pop edx
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x80]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], esi
rep stosd dword es:[edi], eax
mov eax, dword [0x51d170]
test eax, eax
je 0x426c0f
push edx
lea ecx, [ebp - 0x88]
push ecx
push dword [ebp - 0x18]
call eax
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x18]
shr esi, 0xa
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x426c47
mov ebx, dword [ebp - 0x60]
add ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
adc eax, dword [ebp - 0x54]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x30]
push dword [ebp - 0x2bc]
call fcn.00417857
mov edi, dword [ebp - 0x48]
push 0x8000
push edi
push dword [ebp - 0x2bc]
call fcn.0041de97
push dword [ebp - 0x40]
and word [edi + 0x8000], 0
push ebx
push dword [ebp - 0x38]
call fcn.004a48b0
mov eax, dword [ebp - 0x38]
add esp, 0x20
cmp dword [ebp - 0x2bc], 0
jne 0x426c98
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x4c]
push eax
push esi
push dword [ebp - 0x2ac]
push dword [ebp - 0x2bc]
push str._lu_t_lu_t_lu_t_s_t_s_t
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
add esp, 0x1c
cmp word [eax], 0
je 0x426cd1
push 0x4f5ab0
mov ecx, esi
call fcn.00449510
push dword [ebp - 0x3c]
mov ecx, esi
call fcn.00449510
push dword [ebp - 0x30]
mov ecx, esi
call fcn.00449510
push 0x4f5b1c
mov ecx, esi
call fcn.00449510
push edi
mov ecx, esi
call fcn.00449510
mov esi, dword [ebp - 0x50]
xor ebx, ebx
lea eax, [ebp - 0x2c4]
push eax
push dword [ebp - 0x24]
call sub.KERNEL32.dll_Process32NextW
cmp eax, ebx
jne 0x426a4c
jmp 0x426ac6