Function at 0x410b32
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
push ebx
xor ebx, ebx
cmp byte [ebp + 0xc], bl
push esi
push edi
jne 0x410b60
cmp dword [ebp + 0x10], ebx
jne 0x410b60
cmp dword [ebp + 0x14], ebx
jne 0x410b60
cmp dword [ebp + 0x18], ebx
jne 0x410b60
push dword [ebp + 8]
call fcn.00409a28
pop ecx
mov dword [ebp + 8], eax
mov al, byte [ebp + 0xc]
and al, 2
mov byte [ebp - 2], al
mov al, byte [ebp + 0xc]
and byte [ebp + 0xc], 1
and al, 0x10
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
cmp dword [0x48ae4c], ebx
mov dword [ebp - 0x1c], eax
jne 0x410ba1
push str.NtQuerySystemInformation
push str.ntdll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x48ae4c], eax
mov esi, 0x48b5d4
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
test byte [0x48b16c], 4
jne 0x410bd0
cmp dword [ebp + 0x10], ebx
je 0x410bd0
or byte [0x48b16c], 8
push 2
push str.SeDebugPrivilege
call fcn.0040c09f
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 0x45e2
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], ebx
call fcn.0042465d
mov eax, dword [ebp - 0x20]
lea esi, [eax + 0xa0]
lea ecx, [eax + 0x104]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], ecx
lea ecx, [eax + 0x190]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], ecx
lea ecx, [eax + 0x99a]
mov dword [ebp - 0x18], eax
add eax, 0xba4
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], eax
mov word [eax], bx
je 0x410cb9
push 7
pop ecx
xor eax, eax
cmp byte [0x48ab85], 1
push 0x4d
lea edi, [ebp - 0x68]
mov dword [ebp - 0x6c], ebx
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x2f0]
rep stosd dword es:[edi], eax
push 0x4e
pop ecx
lea edi, [ebp - 0x1bc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2f4], ebx
mov dword [ebp - 0x2f0], ebx
mov edi, 0x138
jne 0x410c76
mov edi, 0x270
push ebx
push 0x20
lea eax, [ebp - 0x6c]
push eax
push 3
call dword [0x48ae4c]
push ebx
push edi
lea eax, [ebp - 0x2f4]
push eax
push 2
call dword [0x48ae4c]
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f4]
push dword [ebp - 0x18]
call fcn.00434163
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push esi
call fcn.00434163
add esp, 0x18
cmp byte [ebp + 0xc], 0
jne 0x410da6
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x410da6
mov eax, dword [0x48ac18]
or eax, dword [0x48ac1c]
jne 0x410ce1
call fcn.0040b261
mov edi, dword [ebp + 0x10]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.0042a1b7
push 0x477d74
mov ecx, edi
call fcn.004246c0
push esi
mov ecx, edi
call fcn.004246c0
cmp byte [0x48abac], 0
ja 0x410d10
call fcn.0040372f
movzx eax, byte [0x48abac]
push eax
lea eax, [ebp - 0x36c]
push str._t_d_t
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x36c]
push eax
mov ecx, edi
call fcn.004246c0
push dword [0x48ac1c]
lea eax, [ebp - 0x36c]
push dword [0x48ac18]
push eax
call fcn.00434163
add esp, 0xc
lea eax, [ebp - 0x36c]
push eax
mov ecx, edi
call fcn.004246c0
fild qword [0x48ac18]
lea ecx, [ebp - 0xc]
fdivr qword [0x477d60]
fstp qword [ebp - 0x34]
call fcn.0042460b
fld qword [ebp - 0x34]
push str._t_lf
push ecx
push ecx
lea eax, [ebp - 0xc]
fstp qword [esp]
push eax
call fcn.00434104
add esp, 0x10
push dword [ebp - 0xc]
mov ecx, edi
call fcn.004246c0
lea ecx, [ebp - 0xc]
call fcn.00424686
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp byte [ebp - 2], 0
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
jne 0x410dc7
cmp byte [ebp + 0xc], 0
jne 0x410dc7
cmp esi, ebx
je 0x410de0
push dword [ebp + 0x18]
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
jne 0x410dd8
xor eax, eax
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x410e5f
lea eax, [ebp - 0x2b0]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x2b0], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
jmp 0x411051
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x410e11
cmp eax, dword [ebp - 0x298]
jne 0x411042
cmp byte [ebp - 2], 0
je 0x410e9c
cmp byte [ebp + 0xc], 0
je 0x410e77
cmp esi, ebx
je 0x410e3e
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x411042
cmp dword [ebp + 0x10], ebx
jne 0x410ef7
cmp byte [ebp - 1], 0
mov eax, dword [ebp - 0x2a8]
je 0x410e5c
cmp dword [ebp - 0x1c], eax
je 0x411042
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
call fcn.00402905
lea ecx, [ebp - 0x20]
call fcn.00424686
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
cmp esi, ebx
jne 0x410e8a
cmp word [ebp - 0x28c], bx
jne 0x411042
jmp 0x410efa
push dword [ebp + 8]
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
jmp 0x410e36
cmp byte [ebp + 0xc], 0
je 0x410ebb
cmp esi, ebx
je 0x410e3e
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x410e3e
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x411042
cmp byte [ebp + 0xc], al
jne 0x411042
mov ax, word [ebp + esi*2 - 0x28c]
cmp ax, bx
je 0x410e3e
cmp ax, 0x2e
jmp 0x410e38
inc dword [ebp - 8]
push dword [ebp - 0x2a8]
xor esi, esi
push esi
push 0x400
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x410f94
push esi
push 0x48ad74
push str.PSAPI.DLL
push str.GetProcessMemoryInfo
call fcn.0042584c
add esp, 0x10
push 0x28
pop edx
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x6c]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], esi
rep stosd dword es:[edi], eax
mov eax, dword [0x48ad74]
test eax, eax
je 0x410f56
push edx
lea ecx, [ebp - 0x74]
push ecx
push dword [ebp - 0x14]
call eax
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x14]
shr esi, 0xa
call dword [sym.imp.KERNEL32.DLL_GetProcessTimes]
test eax, eax
je 0x410f8b
mov ebx, dword [ebp - 0x4c]
add ebx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
adc eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0x2c]
push dword [ebp - 0x2a8]
call fcn.004037a0
mov edi, dword [ebp - 0x38]
push 0x8000
push edi
push dword [ebp - 0x2a8]
call fcn.004061b8
push dword [ebp - 0x30]
and word [edi + 0x8000], 0
push ebx
push dword [ebp - 0x24]
call fcn.00434163
mov eax, dword [ebp - 0x24]
add esp, 0x20
cmp dword [ebp - 0x2a8], 0
jne 0x410fdc
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x3c]
push eax
push esi
push dword [ebp - 0x298]
push dword [ebp - 0x2a8]
push str._lu_t_lu_t_lu_t_s_t_s_t
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
add esp, 0x1c
cmp word [eax], 0
je 0x411015
push 0x475c24
mov ecx, esi
call fcn.004246c0
push dword [ebp - 0x28]
mov ecx, esi
call fcn.004246c0
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.004246c0
push 0x477d74
mov ecx, esi
call fcn.004246c0
push edi
mov ecx, esi
call fcn.004246c0
mov esi, dword [ebp - 0x10]
xor ebx, ebx
lea eax, [ebp - 0x2b0]
push eax
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x410dfe
jmp 0x410e5f