Function at 0x4596a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a8eb
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5ac3e4]
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 ebx, ecx
mov dword [ebp - 0x24c], ebx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x459917
cmp edi, 0xffffffff
je 0x459917
lea eax, [ebp - 0x248]
mov dword [ebp - 0x248], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x459917
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 1
call fcn.0045fb6f
add esp, 4
add ebx, 0x200
mov byte [ebp - 4], 3
mov ecx, ebx
call fcn.0045a9f0
movss xmm0, dword [0x58f0d0]
divss xmm0, dword [ebx]
addss xmm0, dword [0x58f09c]
call fcn.004e1240
mov ecx, 8
cmp eax, ecx
jbe 0x459782
nop dword [eax + eax]
cmp ecx, 0xfffffff
jae 0x459951
add ecx, ecx
cmp ecx, eax
jb 0x459770
mov eax, dword [ebx + 8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x58f0e0]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
movd xmm0, ecx
divss xmm1, dword [ebx]
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x58f0e0]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x4597e9
cmp ecx, 0xfffffff
jae 0x4597e9
add ecx, ecx
mov eax, ecx
shr eax, 0x1f
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x58f0e0]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x4597c0
push ecx
mov ecx, ebx
call fcn.00429b30
mov eax, dword [ebx + 4]
cmp dword [eax], eax
je 0x45981f
mov eax, dword [eax + 4]
mov edi, eax
nop dword [eax]
mov esi, dword [ebx + 4]
mov ecx, ebx
mov esi, dword [esi]
push esi
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00434000
cmp esi, edi
jne 0x459800
mov edi, dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x248]
push eax
push edi
call esi
test eax, eax
je 0x459909
nop word [eax + eax]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x224]
mov eax, dword [ebp - 0x240]
lea edx, [ecx + 2]
mov dword [ebp - 0x270], eax
xor eax, eax
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 7
mov word [ebp - 0x26c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459876
sub ecx, edx
lea eax, [ebp - 0x224]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x26c]
call fcn.004295e0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x270]
push dword [ebp - 0x24c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.0045b5a0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x258]
cmp edx, 8
jb 0x4598f7
mov ecx, dword [ebp - 0x26c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4598ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45995a
push edx
push ecx
call fcn.004e0941
add esp, 8
lea eax, [ebp - 0x248]
push eax
push edi
call esi
test eax, eax
jne 0x459840
push dword [ebp - 0x24c]
call fcn.0045fb8b
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x459935
cmp edi, 0xffffffff
je 0x459935
push edi
mov dword [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.004e037c
mov esp, ebp
pop ebp
ret
cmp ecx, eax
jb 0x45995f
jmp 0x459782
call fcn.0052511b
push str.invalid_hash_bucket_count
call fcn.0045e7e4
int3