Function at 0x40bf90
Capabilities:
Enumerate threads

Disassembly:
mov ecx, dword [0x456824]
mov eax, 0x7f3171f
imul ecx
sar edx, 0x15
sub esp, 0x24
push ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
push ebp
push esi
mov esi, dword [0x456838]
imul esi, esi, 0x372f5c1
push edi
mov edi, dword [0x456830]
mov edx, edi
imul edx, edx, 0x293deaa
sub esi, eax
add esi, edx
mov eax, 0x61bc1a5d
imul ecx
sar edx, 0x19
mov ebp, dword [esp + 0x38]
mov ecx, edx
add esi, edx
mov ebx, dword [0x456834]
shr ecx, 0x1f
add ecx, esi
mov esi, dword [0x45681c]
mov eax, 0x979d1eb7
imul esi
add edx, esi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
test ebp, ebp
mov dword [str._r_____r____], ecx
jne 0x40c0b6
mov eax, 0x3ac7f767
imul dword [0x456820]
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x38], eax
mov eax, 0x62ace781
imul ebx
mov eax, dword [esp + 0x38]
sar edx, 0x19
add eax, edx
mov esi, edx
mov edx, dword [0x456818]
imul edx, edx, 0x5305094
shr esi, 0x1f
add esi, eax
add esi, edx
mov eax, 0x936c7f27
imul ebx
add edx, ebx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, edi
imul edx, edx, 0x360833b
sub esi, eax
mov eax, dword [esp + 0x3c]
sub esi, edx
test eax, eax
mov dword [0x456818], esi
je 0x40c0bc
lea edx, [eax + 1]
mov dword [esp + 0x38], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c084
sub eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
je 0x40c0bc
mov eax, dword [esp + 0x3c]
push eax
call fcn.0040b7f0
mov ecx, dword [str._r_____r____]
mov edi, dword [0x456830]
mov ebx, dword [0x456834]
add esp, 4
mov ebp, eax
mov esi, dword [0x456818]
mov edx, dword [0x456838]
imul edi, edi, 0x293deaa
imul edx, edx, 0x372f5c1
sub edi, edx
mov eax, 0x13a45601
imul dword [0x45681c]
sar edx, 0x16
add edi, edx
mov eax, edx
shr eax, 0x1f
add eax, edi
mov edi, eax
mov eax, 0x61bc1a5d
imul dword [0x456838]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
sub eax, ecx
add eax, 0x294039f
test ebp, ebp
mov dword [0x45681c], eax
jne 0x40c11a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov edx, dword [0x45682c]
imul ecx, ecx, 0x4067eec
imul esi, esi, 0xde454f
mov eax, 0x7f3171f
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x31a5bd5f
imul dword [0x456820]
sar edx, 0x17
mov eax, edx
add ecx, esi
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, ebx
sub ecx, 0x5305094
push ebp
mov dword [0x456820], ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
push ebp
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ecx, dword [0x456818]
mov edx, dword [0x456828]
imul ecx, ecx, 0x293deaa
mov esi, dword [0x45682c]
imul edx, edx, 0xde454f
add ecx, edx
mov dword [esp + 0x14], eax
mov edi, dword [0x456830]
mov eax, 0x13a45601
imul esi
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
sub ecx, eax
imul edx, edx, 0x53d1950
add ecx, edi
lea eax, [edx + ecx - 0x5305094]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [0x456824], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [0x456838]
mov eax, 0x94723637
imul ecx
add edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x38], eax
mov ebx, dword [0x45681c]
mov eax, 0x63510a67
imul ecx
imul ecx, ecx, 0x5305094
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x38]
sub edx, eax
sub edx, ecx
mov ecx, ebx
imul ecx, ecx, 0x3422234
add edx, ecx
mov eax, 0x61bc1a5d
mov ecx, edx
imul dword [0x456824]
imul edi, edi, 0x22d753a
imul esi, esi, 0x5305094
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov dword [0x456828], ecx
mov ecx, dword [0x456820]
mov eax, 0x7f3171f
imul ecx
imul ecx, ecx, 0x360833b
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, edi
add eax, esi
mov dword [esp + 0x10], eax
mov eax, 0x936c7f27
imul ebx
add edx, ebx
mov ebx, dword [esp + 0x14]
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
add edx, ecx
lea ecx, [esp + 0x18]
push ecx
push ebx
mov dword [esp + 0x20], 0x1c
mov dword [esp + 0x40], 0
mov dword [0x45682c], edx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x40c4d2
mov ecx, dword [0x456828]
mov edx, dword [0x456824]
mov esi, dword [0x45682c]
imul edx, edx, 0xdef222
mov edi, ecx
imul edi, edi, 0x22d753a
mov eax, esi
imul eax, eax, 0x5305094
sub edi, edx
sub edi, eax
mov eax, 0x31a5bd5f
imul dword [0x45681c]
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
cmp dword [esp + 0x24], ebp
mov dword [0x456830], edi
jne 0x40c389
mov edx, dword [0x456834]
mov esi, dword [0x456818]
mov eax, 0x7f3171f
imul esi, esi, 0x3422234
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x61bc1a5d
imul ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul edx, edx, 0x53d1950
sub esi, eax
add esi, edx
mov eax, 0x979d1eb7
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x20]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov dword [0x456834], esi
mov dword [esp + 0x38], ecx
jmp 0x40c4d2
mov ecx, dword [str._r_____r____]
mov eax, 0x3ac7f767
imul ecx
mov ecx, dword [0x456834]
sar edx, 0x17
imul ecx, ecx, 0xfacfaf6c
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456820]
imul edx, edx, 0x2a93aa6
sub ecx, eax
sub ecx, edx
mov eax, 0x13a45601
imul esi
sar edx, 0x16
mov eax, edx
add ecx, edx
shr eax, 0x1f
add eax, ecx
lea ecx, [esp + 0x18]
push ecx
push ebx
mov dword [0x456838], eax
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x40c4d2
jmp 0x40c3f0
mov edi, dword [0x456820]
mov esi, dword [0x456834]
mov eax, 0x3ac7f767
imul edi
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
mov eax, 0x62ace781
imul esi
mov eax, dword [esp + 0x14]
sar edx, 0x19
add eax, edx
mov ecx, edx
mov edx, dword [0x456818]
imul edx, edx, 0x5305094
shr ecx, 0x1f
add ecx, eax
add ecx, edx
mov eax, 0x936c7f27
imul esi
add edx, esi
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0x360833b
sub ecx, eax
mov eax, dword [esp + 0x24]
sub ecx, edx
cmp eax, ebp
mov dword [0x456818], ecx
je 0x40c47c
lea eax, [esp + 0x18]
push eax
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x40c3f0
jmp 0x40c4d2
mov edx, dword [0x45682c]
imul ecx, ecx, 0xde454f
mov ebp, dword [str._r_____r____]
mov eax, 0x7f3171f
imul ebp, ebp, 0x4067eec
imul edx
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x31a5bd5f
imul edi
add ebp, ecx
sar edx, 0x17
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x20]
sub ebp, ecx
sub ebp, esi
sub ebp, 0x5305094
mov dword [0x456820], ebp
mov dword [esp + 0x38], edx
mov ecx, dword [0x456838]
mov eax, 0x94723637
imul ecx
add edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x63510a67
imul ecx
imul ecx, ecx, 0x5305094
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [0x45681c]
imul eax, eax, 0x3422234
sub esi, ecx
add esi, eax
mov eax, 0x61bc1a5d
imul dword [0x456824]
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
push ebx
mov dword [0x456828], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret