Function at 0x10004be0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x10036040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x124
lea eax, [ebp - 0x12c]
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x348], ebx
call fcn.1000ea10
add esp, 0xc
mov dword [ebp - 0x130], 0x128
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x130]
push eax
push edi
mov dword [ebp - 0x34c], edi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp edi, 0xffffffff
je 0x10004efb
lea esi, [ebp - 0x10c]
lea eax, [ebp - 0x33c]
sub esi, eax
mov dword [ebp - 0x344], esi
nop dword [eax + eax]
lea eax, [ebp - 0x10c]
push 0x104
push eax
call fcn.100115e9
lea edx, [ebp - 0x10c]
add esp, 8
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10004c80
sub edx, ecx
lea ecx, [ebp - 0x10c]
call fcn.10009c80
push 0x208
lea eax, [ebp - 0x33c]
push 0
push eax
call fcn.1000ea10
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x33c]
add esp, 0xc
mov dword [ebp - 0x340], eax
mov edx, 0x104
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10004cda
mov al, byte [esi + ecx]
test al, al
je 0x10004cda
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10004cc1
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
mov eax, dword [0x1003cf3c]
cmp eax, dword [0x1003cf40]
je 0x10004d19
mov ecx, 0x83
lea esi, [ebp - 0x340]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [0x1003cf3c], 0x20c
mov esi, dword [ebp - 0x344]
mov edi, dword [ebp - 0x34c]
jmp 0x10004d26
lea ecx, [ebp - 0x340]
push ecx
push eax
call fcn.10008c80
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10004c60
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [0x1003cf3c]
mov eax, edi
sub eax, dword [0x1003cf38]
je 0x10004efb
cmp dword [str.jzsqs0z], 0
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
je 0x10004dcb
mov eax, 0x10036aa0
mov dword [ebp - 0x344], eax
mov esi, dword [0x1003cf38]
cmp esi, edi
je 0x10004dbd
mov ebx, dword [ebp - 0x344]
push dword [ebx]
lea eax, [esi + 4]
push eax
call ecx
test eax, eax
je 0x10004d9d
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add esi, 0x20c
cmp esi, edi
jne 0x10004d81
mov edi, dword [0x1003cf3c]
mov ebx, dword [ebp - 0x348]
mov eax, dword [ebp - 0x344]
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
cmp esi, edi
jne 0x10004e60
add eax, 4
mov dword [ebp - 0x344], eax
cmp dword [eax], 0
jne 0x10004d71
cmp byte [0x1003baa0], 0
je 0x10004e39
mov eax, 0x1003baa0
mov dword [ebp - 0x344], eax
nop
mov esi, dword [0x1003cf38]
cmp esi, edi
je 0x10004e25
mov ebx, dword [ebp - 0x344]
push ebx
lea eax, [esi + 4]
push eax
call ecx
test eax, eax
je 0x10004e0b
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add esi, 0x20c
cmp esi, edi
jne 0x10004df0
mov edi, dword [0x1003cf3c]
mov ebx, dword [ebp - 0x348]
mov eax, dword [ebp - 0x344]
cmp esi, edi
jne 0x10004eb1
mov ecx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
sub eax, 0xffffff80
mov dword [ebp - 0x344], eax
cmp byte [eax], 0
jne 0x10004de0
xor eax, eax
mov ecx, dword [0x1003cf38]
cmp ecx, edi
je 0x10004efd
mov dword [0x1003cf3c], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d0c5
mov esp, ebp
pop ebp
ret
add esi, 4
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10004e68
sub edx, ecx
mov ecx, esi
call fcn.10009c80
mov ecx, 0x104
sub esi, ebx
nop
lea eax, [ecx + 0x7ffffefa]
test eax, eax
je 0x10004e99
mov al, byte [esi + ebx]
test al, al
je 0x10004e99
mov byte [ebx], al
inc ebx
sub ecx, 1
jne 0x10004e80
test ecx, ecx
lea eax, [ebx - 1]
cmovne eax, ebx
mov byte [eax], 0
mov eax, 4
mov edi, dword [0x1003cf3c]
jmp 0x10004e3b
add esi, 4
mov edx, esi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10004ec0
sub edx, ecx
mov ecx, esi
call fcn.10009c80
mov ecx, 0x104
sub esi, ebx
nop word [eax + eax]
lea eax, [ecx + 0x7ffffefa]
test eax, eax
je 0x10004e99
mov al, byte [ebx + esi]
test al, al
je 0x10004e99
mov byte [ebx], al
inc ebx
sub ecx, 1
jne 0x10004ee0
jmp 0x10004e99
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d0c5
mov esp, ebp
pop ebp
ret