Function at 0x4d3cf0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push 0
mov dword [ebp - 0x234], edi
push 2
mov dword [ebp - 0x234], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4d3e56
xor eax, eax
mov dword [edi], 0
xor esi, esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4d3d50
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x4d3d8e
mov dword [edi + 0x10], esi
add esi, esi
push esi
push 0
push edi
call fcn.00572f50
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056cd75
mov esp, ebp
pop ebp
ret
cmp esi, 0x7ffffffe
ja 0x4d4035
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x4d3db8
mov dword [ebp - 0x234], SysReAllocString
mov eax, 0xfffffffe
jmp 0x4d3ddf
mov eax, 0xa
cmp ebx, eax
cmovb ebx, eax
mov dword [ebp - 0x234], ebx
lea eax, [ebx + 1]
cmp eax, 0x7fffffff
ja 0x4d400e
add eax, eax
cmp eax, 0x1000
jb 0x4d3e06
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4d400e
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4d4013
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4d3e21
test eax, eax
je 0x4d3e1f
push eax
call fcn.00591cad
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4d4024
jmp 0x4d3e21
xor ebx, ebx
mov eax, dword [ebp - 0x234]
mov dword [edi + 0x10], esi
add esi, esi
push esi
push 0
push ebx
mov dword [edi + 0x14], eax
call fcn.005729d0
add esp, 0xc
mov dword [edi], ebx
xor eax, eax
mov word [esi + ebx], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056cd75
mov esp, ebp
pop ebp
ret
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.00573610
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4d3ea2
cmp ebx, dword [ebp - 0x228]
je 0x4d3ed8
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4d3e88
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056cd75
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [edi], 0
lea esi, [ebp - 0x20c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
lea ecx, [esi + 2]
mov word [edi], ax
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4d3f01
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x4d3f44
mov dword [edi + 0x10], esi
lea eax, [ebp - 0x20c]
add esi, esi
push esi
push eax
push edi
call fcn.00572f50
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056cd75
mov esp, ebp
pop ebp
ret
cmp esi, 0x7ffffffe
ja 0x4d4035
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x4d3f69
mov ebx, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4d3f8a
mov eax, 0xa
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
cmp eax, 0x7fffffff
ja 0x4d400e
add eax, eax
cmp eax, 0x1000
jb 0x4d3faf
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4d400e
push ecx
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4d403a
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4d3fce
test eax, eax
je 0x4d3fcc
push eax
call fcn.00591cad
add esp, 4
mov dword [ebp - 0x234], eax
test eax, eax
je 0x4d404b
jmp 0x4d3fd4
xor eax, eax
mov dword [ebp - 0x234], eax
mov dword [edi + 0x10], esi
lea ecx, [ebp - 0x20c]
add esi, esi
mov dword [edi + 0x14], ebx
push esi
push ecx
push eax
call fcn.005729d0
mov eax, dword [ebp - 0x234]
add esp, 0xc
xor ecx, ecx
mov dword [edi], eax
mov word [esi + eax], cx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056cd75
mov esp, ebp
pop ebp
ret
call fcn.00407b84
push 0x638780
lea eax, [ebp - 0x235]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x236]
push eax
call fcn.0057359b
call fcn.0040791f
push 0x638780
lea eax, [ebp - 0x236]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x235]
push eax
call fcn.0057359b
int3