Function at 0x4146b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4184ef
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x427024]
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, edx
mov esi, ecx
mov dword [ebp - 0x2c0], esi
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2cc], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x228
lea eax, [ebp - 0x2b4]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x2c4], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2b8], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x2bc], eax
cmp eax, 0xffffffff
je 0x4149bf
lea ecx, [ebp - 0x2b8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4149b3
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x294], ax
je 0x4147a5
lea eax, [ebp - 0x294]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414796
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405240
mov eax, dword [edi + 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x414805
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov ebx, dword [edi + 0x14]
cmovae ecx, dword [ebp - 0x28]
cmp ebx, 8
jb 0x4147d4
mov edx, dword [edi]
jmp 0x4147d6
mov edx, edi
lea edx, [edx + eax*2]
cmp ebx, 8
jb 0x4147e2
mov eax, dword [edi]
jmp 0x4147e4
mov eax, edi
mov byte [ebp - 0x2c0], 0
push dword [ebp - 0x2c0]
push ecx
push ecx
mov ecx, eax
call fcn.004155f0
add esp, 0xc
test al, al
je 0x414805
mov bl, 1
jmp 0x414807
xor bl, bl
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x414819
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00405b30
test bl, bl
je 0x414998
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x294], ax
jne 0x414842
xor ecx, ecx
jmp 0x41485f
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414850
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405240
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x84], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
call fcn.00405340
xor eax, eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x48], 1
mov dword [ebp - 0x30], 7
cmp eax, 8
jb 0x4148f5
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00405b30
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 2
cmp eax, dword [esi + 4]
jae 0x41495e
mov eax, dword [esi]
lea ecx, [ebp - 0x88]
cmp eax, ecx
ja 0x41495e
sub ecx, eax
mov eax, 0xb21642c9
imul ecx
mov eax, dword [esi + 4]
add edx, ecx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp eax, dword [esi + 8]
jne 0x41494c
push ecx
mov ecx, esi
call fcn.00414d40
mov ecx, dword [esi + 4]
imul eax, ebx, 0x5c
add eax, dword [esi]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x414985
jmp 0x41497f
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x41496e
push ecx
mov ecx, esi
call fcn.00414d40
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x414985
lea eax, [ebp - 0x88]
push eax
call fcn.00415480
add dword [esi + 4], 0x5c
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.00414610
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x2bc]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x414770
push dword [ebp - 0x2bc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
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.00415b3b
mov esp, ebp
pop ebp
ret