Function at 0x42532c
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
mov eax, 0x4e4d2a
call fcn.004afe60
sub esp, 0x374
push ebx
xor ebx, ebx
cmp byte [ebp + 0xc], bl
push esi
push edi
jne 0x425361
cmp dword [ebp + 0x10], ebx
jne 0x425361
cmp dword [ebp + 0x14], ebx
jne 0x425361
cmp dword [ebp + 0x18], ebx
jne 0x425361
push dword [ebp + 8]
call fcn.0041d762
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 [0x5190ec], ebx
mov dword [ebp - 0x2c], eax
jne 0x4253a2
push str.NtQuerySystemInformation
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5190ec], eax
mov esi, 0x5194ec
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [0x519468], 4
jne 0x4253d1
cmp dword [ebp + 0x10], ebx
je 0x4253d1
or byte [0x519468], 8
push 2
push str.SeDebugPrivilege
call fcn.00420c19
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.00446280
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 0x4254bd
push 7
pop ecx
xor eax, eax
cmp byte [0x518de1], 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 0x42547a
mov edi, 0x270
push ebx
push 0x20
lea eax, [ebp - 0x80]
push eax
push 3
call dword [0x5190ec]
push ebx
push edi
lea eax, [ebp - 0x308]
push eax
push 2
call dword [0x5190ec]
push dword [ebp - 0x304]
push dword [ebp - 0x308]
push dword [ebp - 0x28]
call fcn.004458f0
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push esi
call fcn.004458f0
add esp, 0x18
cmp byte [ebp + 0xc], 0
jne 0x4255a0
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x4255a0
mov edi, dword [ebp + 0x10]
push dword [ebp - 0x28]
mov ecx, edi
call fcn.004574e0
push 0x4f199c
mov ecx, edi
call fcn.004462e0
push esi
mov ecx, edi
call fcn.004462e0
cmp byte [0x518e08], 0
ja 0x425502
call fcn.00416362
movzx eax, byte [0x518e08]
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.004462e0
push dword [0x518ecc]
lea eax, [ebp - 0x380]
push dword [0x518ec8]
push eax
call fcn.004458f0
add esp, 0xc
lea eax, [ebp - 0x380]
push eax
mov ecx, edi
call fcn.004462e0
fild qword [0x518ec8]
lea ecx, [ebp - 0x18]
fdivr qword [0x4f1988]
fstp qword [ebp - 0x44]
call fcn.00446250
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.00464780
add esp, 0x10
push dword [ebp - 0x18]
mov ecx, edi
call fcn.004462e0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0043f290
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 0x4255c7
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x42566c
lea ecx, [ebp - 0x2c4]
push ecx
push eax
mov dword [ebp - 0x2c4], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4258b3
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x425605
cmp eax, dword [ebp - 0x2ac]
jne 0x4258a4
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x425618
cmp eax, dword [ebp - 0x2bc]
jne 0x4258a4
cmp byte [ebp - 0x19], 0
je 0x4256de
cmp byte [ebp + 0xc], 0
je 0x425692
cmp esi, ebx
je 0x425645
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x4258a4
cmp dword [ebp + 0x10], ebx
jne 0x425749
cmp byte [ebp - 0xd], 0
je 0x425663
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x2bc]
je 0x4258a4
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
call fcn.004151b3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0043f290
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 0x4256a8
cmp word [ebp - 0x2a0], bx
jne 0x4258a4
jmp 0x42574c
push dword [ebp + 8]
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4258a4
cmp dword [ebp + 0x10], ebx
jne 0x425749
cmp byte [ebp - 0xd], al
mov eax, dword [ebp - 0x2bc]
je 0x425669
cmp dword [ebp - 0x2c], eax
jne 0x425669
jmp 0x4258a4
cmp byte [ebp + 0xc], 0
je 0x425705
cmp esi, ebx
je 0x425645
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x425645
cmp esi, ebx
je 0x4258a4
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x4258a4
cmp byte [ebp + 0xc], al
jne 0x4258a4
mov ax, word [ebp + esi*2 - 0x2a0]
cmp ax, bx
je 0x425645
cmp ax, 0x2e
jmp 0x42563f
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 0x4257f6
push esi
push 0x519020
push str.PSAPI.DLL
push str.GetProcessMemoryInfo
call fcn.004404d0
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 [0x519020]
test eax, eax
je 0x4257b5
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 0x4257ed
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.004163d3
mov edi, dword [ebp - 0x48]
push 0x8000
push edi
push dword [ebp - 0x2bc]
call fcn.0041c408
push dword [ebp - 0x40]
and word [edi + 0x8000], 0
push ebx
push dword [ebp - 0x38]
call fcn.004458f0
mov eax, dword [ebp - 0x38]
add esp, 0x20
cmp dword [ebp - 0x2bc], 0
jne 0x42583e
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 0x425877
push 0x4f1930
mov ecx, esi
call fcn.004462e0
push dword [ebp - 0x3c]
mov ecx, esi
call fcn.004462e0
push dword [ebp - 0x30]
mov ecx, esi
call fcn.004462e0
push 0x4f199c
mov ecx, esi
call fcn.004462e0
push edi
mov ecx, esi
call fcn.004462e0
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 0x4255f2
jmp 0x42566c