Function at 0x4038f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbc28
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4e2210]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x258], 0
lea ecx, [ebp - 0x14]
call fcn.00417fe0
mov dword [ebp - 4], 0
mov dword [ebp - 0x254], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x403982
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.004057a0
mov ecx, dword [ebp - 0x258]
or ecx, 1
mov dword [ebp - 0x258], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00417fc0
mov eax, dword [ebp + 8]
jmp 0x403b2b
mov dword [ebp - 0x24c], 0x22c
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x4039e7
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.004057a0
mov eax, dword [ebp - 0x258]
or eax, 1
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00417fc0
mov eax, dword [ebp + 8]
jmp 0x403b2b
mov ecx, dword [ebp - 0x244]
cmp ecx, dword [ebp + 0xc]
jne 0x403a00
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x254], edx
jmp 0x403a14
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4039e7
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x403a69
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.004057a0
mov ecx, dword [ebp - 0x258]
or ecx, 1
mov dword [ebp - 0x258], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00417fc0
mov eax, dword [ebp + 8]
jmp 0x403b2b
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x403ac1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.004057a0
mov eax, dword [ebp - 0x258]
or eax, 1
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00417fc0
mov eax, dword [ebp + 8]
jmp 0x403b2b
mov ecx, dword [ebp - 0x244]
cmp ecx, dword [ebp - 0x254]
jne 0x403ae0
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x14]
call fcn.004058b0
jmp 0x403af4
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x403ac1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.004057a0
mov ecx, dword [ebp - 0x258]
or ecx, 1
mov dword [ebp - 0x258], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00417fc0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049d270
mov esp, ebp
pop ebp
ret