Function at 0x4046b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4067dd
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x40a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
push 0
push 2
mov byte [ebp - 0x255], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x25c], eax
cmp eax, 0xffffffff
je 0x404904
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x254], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4048f8
nop dword [eax]
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404750
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00403ce0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x14]
cmp esi, 7
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmova ecx, edi
push 1
sub esp, 8
call fcn.00405120
mov ecx, eax
add esp, 0xc
cmp ecx, 0xffffffff
je 0x404833
cmp dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x268], 0
cmovb ecx, dword [ebp - 0x18]
cmp esi, 7
push ecx
cmova eax, edi
mov dword [ebp - 0x264], 0
push eax
lea ecx, [ebp - 0x278]
movups xmmword [ebp - 0x278], xmm0
call fcn.00403ce0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x404815
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40480b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4048e8
push ecx
push edx
call fcn.00405491
add esp, 8
movups xmm0, xmmword [ebp - 0x278]
movups xmmword [ebp - 0x28], xmm0
mov edi, dword [ebp - 0x28]
movq xmm0, qword [ebp - 0x268]
movq qword [ebp - 0x18], xmm0
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x260]
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x404843
mov ecx, dword [eax]
cmp esi, 7
lea eax, [ebp - 0x28]
push ecx
cmova eax, edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4048b5
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x404898
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40488e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4048e8
push ecx
push edx
call fcn.00405491
add esp, 8
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x404730
jmp 0x4048f8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x255], 1
cmp ecx, 7
jbe 0x4048f8
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4048ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4048ee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00405491
add esp, 8
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x255]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00405453
mov esp, ebp
pop ebp
ret