Function at 0x4bae00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x4bae72
cmp dword [ebp + 8], 0
je 0x4bae3f
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0x244], eax
jmp 0x4bae49
mov dword [ebp - 0x244], 0
push 0x4d8134
push str.Failed_to_CreateToolhelp32Snapshot
mov ecx, dword [ebp - 0x244]
push ecx
call fcn.00424ff0
add esp, 8
push eax
call fcn.00424ff0
add esp, 8
xor al, al
jmp 0x4bb15b
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4baee7
cmp dword [ebp + 8], 0
je 0x4baea7
mov ecx, dword [ebp + 8]
add ecx, 8
mov dword [ebp - 0x248], ecx
jmp 0x4baeb1
mov dword [ebp - 0x248], 0
push 0x4d8188
push str.Failed_to_Process32First
mov edx, dword [ebp - 0x248]
push edx
call fcn.00424ff0
add esp, 8
push eax
call fcn.00424ff0
add esp, 8
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4bb15b
cmp dword [ebp + 8], 0
je 0x4baefb
mov ecx, dword [ebp + 8]
add ecx, 8
mov dword [ebp - 0x24c], ecx
jmp 0x4baf05
mov dword [ebp - 0x24c], 0
push 0x4d81c4
push 0x4d81d0
mov edx, dword [ebp - 0x24c]
push edx
call fcn.00424ff0
add esp, 8
push eax
call fcn.00424ff0
add esp, 8
cmp dword [ebp + 8], 0
je 0x4baf3b
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0x250], eax
jmp 0x4baf45
mov dword [ebp - 0x250], 0
push 0x4d823c
lea ecx, [ebp - 0x214]
push ecx
push str.PROCESS_NAME:_t
mov edx, dword [ebp - 0x250]
push edx
call fcn.00424ff0
add esp, 8
push eax
call fcn.00424ff0
add esp, 8
push eax
call fcn.00424ff0
add esp, 8
mov eax, dword [ebp - 0x230]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x4bafdc
cmp dword [ebp + 8], 0
je 0x4bafae
mov ecx, dword [ebp + 8]
add ecx, 8
mov dword [ebp - 0x254], ecx
jmp 0x4bafb8
mov dword [ebp - 0x254], 0
push 0x4d8264
push str.Failed_to_OpenProcess
mov edx, dword [ebp - 0x254]
push edx
call fcn.00424ff0
add esp, 8
push eax
call fcn.00424ff0
add esp, 8
jmp 0x4bafe9
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xe00
push 0x800
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
add ecx, dword [edx + 4]
call fcn.0040c380
push 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 4]
mov ecx, edx
call fcn.0042f3b0
cmp dword [ebp + 8], 0
je 0x4bb02b
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0x258], eax
jmp 0x4bb035
mov dword [ebp - 0x258], 0
push 0x4d8298
mov ecx, dword [ebp - 0x230]
push ecx
push str.Process_ID_t
mov edx, dword [ebp - 0x258]
push edx
call fcn.00424ff0
add esp, 8
mov ecx, eax
call fcn.00438cc0
push eax
call fcn.00424ff0
add esp, 8
cmp dword [ebp + 8], 0
je 0x4bb079
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0x25c], eax
jmp 0x4bb083
mov dword [ebp - 0x25c], 0
push 0x4d82bc
mov ecx, dword [ebp - 0x220]
push ecx
push str.Parent_process_ID_t
mov edx, dword [ebp - 0x25c]
push edx
call fcn.00424ff0
add esp, 8
mov ecx, eax
call fcn.00438cc0
push eax
call fcn.00424ff0
add esp, 8
push 0xe00
push 0x200
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 4]
mov ecx, edx
call fcn.0040c380
push 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 4]
mov ecx, edx
call fcn.0042f3e0
cmp dword [ebp + 8], 0
je 0x4bb0f7
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0x260], eax
jmp 0x4bb101
mov dword [ebp - 0x260], 0
push 0x4d82f0
mov ecx, dword [ebp - 0x224]
push ecx
push str.Thread_count_t
mov edx, dword [ebp - 0x260]
push edx
call fcn.00424ff0
add esp, 8
mov ecx, eax
call fcn.00438cc0
push eax
call fcn.00424ff0
add esp, 8
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4baee7
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret