Function at 0x40c0c0
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov ecx, dword [0x456824]
mov eax, 0xbdd265f5
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, dword [0x456830]
mov esi, eax
mov eax, 0x5f7fac71
imul dword [0x45681c]
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ebp
imul edx, edx, 0x1525
mov ebx, dword [esp + 0x34]
sub esi, eax
add esi, edx
mov eax, 0x61e35267
imul ecx
mov ecx, dword [0x456838]
imul ecx, ecx, 0x58f
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
test ebx, ebx
mov ecx, dword [0x456818]
mov edi, dword [0x456834]
mov dword [str._r_____r____], esi
jne 0x40c1df
mov eax, 0x214d0215
imul ebp, ebp, 0xffffea8e
imul ecx, ecx, 0x11cf
imul edi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0xe6005641
imul edi
add edx, edi
sar edx, 0xc
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
add eax, ecx
mov ebp, eax
mov eax, 0x4f950fb3
imul dword [0x456820]
mov eax, dword [esp + 0x38]
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ebp, edx
add ecx, ebp
test eax, eax
mov dword [0x456818], ecx
je 0x40c1df
mov ebp, eax
lea edx, [ebp + 1]
mov dword [esp + 0x34], edx
mov edi, edi
mov dl, byte [ebp]
inc ebp
test dl, dl
jne 0x40c1b0
sub ebp, dword [esp + 0x34]
mov dword [esp + 0x34], ebp
je 0x40c1df
push eax
call fcn.0040b910
mov esi, dword [str._r_____r____]
mov ecx, dword [0x456818]
mov edi, dword [0x456834]
add esp, 4
mov ebx, eax
mov eax, 0xbdd265f5
imul dword [0x456838]
add edx, dword [0x456838]
sar edx, 0xc
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov eax, 0xc152500d
imul dword [0x45681c]
add edx, dword [0x45681c]
sar edx, 0xc
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, dword [0x456830]
imul eax, eax, 0x1525
add ebp, eax
mov eax, dword [0x456838]
imul eax, eax, 0x58f
sub ebp, eax
sub ebp, esi
add ebp, 0x1126
test ebx, ebx
mov dword [0x45681c], ebp
jne 0x40c24f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov edx, dword [0x45682c]
imul ecx, ecx, 0x1ec0
imul esi, esi, 0x14ec
mov eax, 0x61e35267
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x776d83ad
imul dword [0x456820]
sar edx, 0xb
mov eax, edx
add ecx, esi
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, edi
sub ecx, 0x11cf
push ebx
mov dword [0x456820], ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebx, eax
push ebx
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ecx, dword [0x45682c]
mov dword [esp + 0x34], eax
mov edi, dword [0x456828]
mov eax, 0xc152500d
imul edi, edi, 0x1ec0
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
mov esi, dword [0x456830]
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
sub edi, eax
imul edx, edx, 0x1594
mov eax, dword [0x456818]
imul eax, eax, 0x1525
add edx, esi
add edx, edi
lea edi, [eax + edx - 0x11cf]
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov eax, 0xbdd265f5
imul edi
add edx, edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov dword [0x456824], edi
mov edi, dword [0x456838]
mov eax, 0x9f248ed3
imul edi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45681c]
imul edx, edx, 0x1530
sub eax, ebp
add eax, edx
mov edx, edi
imul edx, edx, 0x11cf
sub eax, edx
mov ebp, eax
mov eax, 0xb838211b
imul edi
imul ecx, ecx, 0x11cf
imul esi, esi, 0xcde
add edx, edi
sar edx, 0xa
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov dword [0x456828], eax
mov eax, 0x214d0215
imul dword [0x45681c]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456820]
mov ebp, edx
imul ebp, ebp, 0x1572
sub ebp, eax
mov eax, 0x61e35267
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
mov ebp, dword [esp + 0x34]
add eax, ecx
lea ecx, [esp + 0x14]
push ecx
add eax, esi
push ebp
mov dword [esp + 0x1c], 0x1c
xor edi, edi
mov dword [0x45682c], eax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x40c5e3
mov esi, dword [0x45682c]
mov eax, 0x88927c53
imul dword [0x45681c]
sar edx, 0xb
mov ecx, esi
imul ecx, ecx, 0x11cf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ecx
mov ecx, dword [0x456828]
mov edx, ecx
imul edx, edx, 0xcde
add eax, edx
mov edx, dword [0x456824]
imul edx, edx, 0xb97
add eax, edx
mov dword [0x456830], eax
cmp dword [esp + 0x20], ebx
jne 0x40c4a3
mov eax, 0xbdd265f5
imul ecx
add edx, ecx
mov esi, ecx
sar edx, 0xc
imul esi, esi, 0x1594
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x5f7fac71
imul ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456818]
imul edx, edx, 0x1530
sub esi, ecx
mov ecx, dword [0x456834]
add esi, edx
mov eax, 0x61e35267
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov dword [0x456834], esi
jmp 0x40c5df
mov eax, 0xc152500d
imul esi
add edx, esi
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456834]
imul edx, edx, 0x11cf
mov esi, ecx
mov ecx, dword [str._r_____r____]
sub esi, edx
mov eax, 0x4f950fb3
imul ecx
mov ecx, dword [0x456820]
sar edx, 0xa
imul ecx, ecx, 0x6f
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [esp + 0x14]
sub esi, eax
push edx
sub esi, ecx
push ebp
mov dword [0x456838], esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x40c5e3
mov esi, dword [0x456834]
mov ecx, dword [0x456830]
mov eax, 0x214d0215
imul ecx, ecx, 0xffffea8e
imul esi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0xe6005641
imul esi
mov ebp, dword [0x456820]
add edx, esi
sar edx, 0xc
add ecx, edx
mov eax, edx
mov edx, dword [0x456818]
imul edx, edx, 0x11cf
shr eax, 0x1f
add eax, ecx
add eax, edx
mov dword [esp + 0x10], eax
mov eax, 0x4f950fb3
imul ebp
mov eax, dword [esp + 0x10]
sar edx, 0xa
mov ecx, edx
add eax, edx
shr ecx, 0x1f
add ecx, eax
cmp dword [esp + 0x20], ebx
mov dword [0x456818], ecx
je 0x40c591
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
push ecx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x40c503
jmp 0x40c5e3
mov edx, dword [0x45682c]
imul ecx, ecx, 0x1ec0
mov eax, 0x61e35267
imul edx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
imul edx, edx, 0x14ec
sub ecx, eax
add ecx, edx
mov eax, 0x776d83ad
imul ebp
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, esi
sub ecx, 0x11cf
mov dword [0x456820], ecx
mov edi, dword [esp + 0x1c]
mov ecx, dword [0x456824]
mov eax, 0xbdd265f5
imul ecx
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, ecx
mov ecx, dword [0x456838]
mov eax, 0x9f248ed3
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, dword [0x45681c]
imul eax, eax, 0x1530
mov edx, ecx
imul edx, edx, 0x11cf
sub ebx, esi
add ebx, eax
sub ebx, edx
mov eax, 0xb838211b
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x34]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
push ecx
mov dword [0x456828], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret