Function at 0x45a560
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54965b
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5953a4]
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 0x45a7b2
cmp edi, 0xffffffff
je 0x45a7b2
lea eax, [ebp - 0x248]
mov dword [ebp - 0x248], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x45a7b2
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 1
call fcn.00462d7f
add esp, 4
add ebx, 0x200
lea ecx, [ebx + 4]
mov byte [ebp - 4], 4
call fcn.00427160
push 8
mov ecx, ebx
call fcn.00426ea0
mov byte [ebp - 4], 3
movss xmm0, dword [0x579a20]
divss xmm0, dword [ebx]
addss xmm0, dword [0x5799e8]
call fcn.004e1870
mov ecx, 8
cmp eax, ecx
jbe 0x45a652
nop word [eax + eax]
cmp ecx, 0xfffffff
jae 0x45a7ec
add ecx, ecx
cmp ecx, eax
jb 0x45a640
mov eax, dword [ebx + 8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x579a60]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
movd xmm0, ecx
divss xmm1, dword [ebx]
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x579a60]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x45a6b9
cmp ecx, 0xfffffff
jae 0x45a6b9
add ecx, ecx
mov eax, ecx
shr eax, 0x1f
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x579a60]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x45a690
push ecx
mov ecx, ebx
call fcn.00426ea0
mov eax, dword [ebx + 4]
cmp dword [eax], eax
je 0x45a6ef
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.00431df0
cmp esi, edi
jne 0x45a6d0
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 0x45a7a4
nop word [eax + eax]
mov byte [ebp - 4], 5
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 0x45a746
sub ecx, edx
lea eax, [ebp - 0x224]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x26c]
call fcn.00426a90
mov byte [ebp - 4], 6
lea eax, [ebp - 0x270]
push dword [ebp - 0x24c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.0045c1b0
lea ecx, [ebp - 0x26c]
call fcn.00426890
lea eax, [ebp - 0x248]
push eax
push edi
call esi
test eax, eax
jne 0x45a710
push dword [ebp - 0x24c]
call fcn.00462d9b
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x45a7d0
cmp edi, 0xffffffff
je 0x45a7d0
push edi
mov dword [ebp - 4], 7
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.004e095c
mov esp, ebp
pop ebp
ret
cmp ecx, eax
jae 0x45a652
push str.invalid_hash_bucket_count
call fcn.00461301
int3