Function at 0x579fa0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b02e
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x659af8]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0x1c], xmm0
xor ebx, ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push 4
mov edi, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x57a09b
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x1c
xorps xmm0, xmm0
push eax
push esi
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x57a094
cmp dword [ebp - 0x38], 0x10
jb 0x57a079
cmp dword [ebp - 0x2c], edi
jne 0x57a079
cmp ebx, dword [ebp - 0x4c]
je 0x57a063
mov eax, dword [ebp - 0x30]
mov dword [ebx], eax
add ebx, 4
mov dword [ebp - 0x18], ebx
jmp 0x57a079
lea eax, [ebp - 0x30]
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0050a860
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x1c
push eax
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x57a046
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], edi
cmp edi, ecx
je 0x57a140
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x57a0ce
mov ecx, dword [edi]
nop dword [eax]
cmp ecx, dword [eax]
je 0x57a12f
add eax, 4
cmp eax, ebx
jne 0x57a0c0
mov ecx, dword [ebp - 0x44]
mov esi, dword [edx]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x57a132
mov ebx, dword [ebp - 0x40]
nop word [eax + eax]
lea edx, [eax + 0xc]
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x57a11f
mov edi, dword [esi + 4]
cmp edx, edi
je 0x57a110
lea eax, [edx - 8]
mov ecx, dword [eax + 0x10]
lea eax, [eax + 0xc]
mov dword [eax - 8], ecx
mov cl, byte [eax]
mov byte [eax - 0xc], cl
mov ecx, dword [edx]
add edx, 0xc
mov dword [eax - 0x10], ecx
cmp edx, edi
jne 0x57a0f3
mov edi, dword [esi + 4]
lea eax, [edi - 0xc]
mov edi, dword [ebp - 0x3c]
mov dword [esi + 4], eax
mov esi, dword [ebx]
mov eax, dword [esi]
jmp 0x57a121
mov eax, edx
add eax, 0xc
cmp eax, dword [esi + 4]
jne 0x57a0e0
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
add edi, 4
mov dword [ebp - 0x3c], edi
cmp edi, ecx
jne 0x57a0b4
mov edx, dword [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
test edx, edx
je 0x57a188
mov eax, dword [ebp - 0x4c]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
mov dword [ebp - 4], 1
cmp ecx, 0x1000
jb 0x57a17e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57a1a4
push ecx
push edx
call fcn.006084e7
add esp, 8
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.00608a00
mov esp, ebp
pop ebp
ret
call fcn.00540ccc
int3