Function at 0x4013e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b1b4
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x54735c]
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 edi, ecx
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x480], eax
cmp eax, 0xffffffff
je 0x40144e
lea ecx, [ebp - 0x47c]
mov dword [ebp - 0x47c], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x401455
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40169b
mov esi, dword [ebp - 0x480]
nop dword [eax + eax]
cmp dword [ebp - 0x474], 0xa
jb 0x40167c
xor eax, eax
mov dword [ebp - 0x250], 0
push eax
push 0x536234
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00403ab0
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x536234
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00403ab0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x458]
mov eax, dword [ebp - 0x474]
lea edx, [ecx + 2]
mov dword [ebp - 0x24c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401500
sub ecx, edx
lea eax, [ebp - 0x458]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00403ab0
push dword [ebp - 0x474]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40159c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f53d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x401595
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401573
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00403ab0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [edi + 4]
cmp dword [edi + 8], esi
je 0x4015e3
mov eax, dword [ebp - 0x250]
lea ecx, [esi + 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x24c]
mov dword [esi + 4], eax
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 0x484], esi
call fcn.004031b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x20]
call fcn.004031b0
add dword [edi + 4], 0x38
jmp 0x4015f2
lea eax, [ebp - 0x250]
mov ecx, edi
push eax
push esi
call fcn.00402af0
mov dword [ebp - 4], 0xffffffff
inc ebx
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40163a
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401630
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4016b7
push edx
push ecx
call fcn.004f2ead
add esp, 8
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x401676
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40166c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4016b7
push edx
push ecx
call fcn.004f2ead
add esp, 8
mov esi, dword [ebp - 0x480]
lea eax, [ebp - 0x47c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401460
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
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.004f313b
mov esp, ebp
pop ebp
ret
call fcn.004f855c
int3