Function at 0x418330
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaecd
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5383c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x278], ebx
mov byte [ebp - 0x26d], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418373
sub ecx, edx
cmp ecx, 4
jbe 0x418593
push 0x228
lea eax, [ebp - 0x268]
push 0
push eax
call fcn.004c0a60
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x274], eax
cmp eax, 0xffffffff
je 0x418593
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x22c
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x418587
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00401c30
add esp, 8
mov ecx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418406
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403ee0
cmp dword [ebp - 0x2c], 0x10
lea edi, [ebp - 0x40]
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
mov ebx, dword [ebp - 0x30]
setae al
cmovae edi, edx
test al, al
je 0x418439
mov esi, edx
add ebx, edx
jmp 0x41843e
add ebx, ecx
lea esi, [ebp - 0x40]
cmp esi, ebx
je 0x41845f
sub edi, esi
movsx ax, byte [esi]
movzx eax, ax
push eax
call fcn.004c9c34
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, ebx
jne 0x418444
mov edx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
setae al
cmovae edi, ecx
test al, al
je 0x41847f
mov esi, ecx
add ebx, ecx
jmp 0x418484
add ebx, esi
lea esi, [ebp - 0x28]
cmp esi, ebx
je 0x4184ab
sub edi, esi
nop word [eax + eax]
movsx ax, byte [esi]
movzx eax, ax
push eax
call fcn.004c9c34
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, ebx
jne 0x418490
mov edx, dword [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, edx
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004c1430
add esp, 8
test eax, eax
jne 0x418570
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x418506
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4184fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4185b5
push ecx
push edx
call fcn.004bec6b
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x41854f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418545
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4185b5
push ecx
push edx
call fcn.004bec6b
add esp, 8
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x274]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x418587
mov ebx, dword [ebp - 0x278]
jmp 0x4183d2
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x26d], 1
call fcn.004043a0
lea ecx, [ebp - 0x40]
call fcn.004043a0
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x26d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bebdd
mov esp, ebp
pop ebp
ret
call fcn.004c8fd6
int3