Function at 0x40b680
Capabilities:
Enumerate threads

Disassembly:
mov ecx, dword [0x4556a8]
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [0x45569c]
mov eax, 0x5397829d
imul ebp
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
shl edx, 4
add edx, ecx
mov ebx, edx
sub ebx, eax
push esi
push edi
mov edi, dword [0x455690]
mov eax, 0x2aaaaaab
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x66666667
imul dword [0x455694]
sar edx, 2
add ebx, edx
mov esi, edx
mov edx, dword [0x45568c]
imul edx, edx, 0x34
shr esi, 0x1f
add esi, ebx
mov ebx, dword [esp + 0x30]
add esi, edx
test ebx, ebx
mov dword [str._r_____r____], esi
jne 0x40b786
mov edx, dword [0x4556a4]
mov eax, 0x38e38e39
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4556a0]
imul edx, edx, 0xffffffcf
sub edx, eax
mov dword [esp + 0x30], edx
mov eax, 0x151d07eb
imul ebp
mov ebp, dword [esp + 0x30]
sar edx, 3
add ebp, edx
mov eax, edx
mov edx, edi
imul edx, edx, 0x39
shr eax, 0x1f
add eax, ebp
mov ebp, dword [esp + 0x34]
sub eax, edx
mov edx, dword [0x455688]
add eax, esi
add edx, eax
test ebp, ebp
mov dword [0x455688], edx
je 0x40b786
mov esi, ebp
lea edx, [esi + 1]
lea ecx, [ecx]
mov al, byte [esi]
inc esi
test al, al
jne 0x40b760
sub esi, edx
mov dword [esp + 0x30], esi
je 0x40b786
push ebp
call fcn.0040af40
mov edi, dword [0x455690]
mov ecx, dword [0x4556a8]
add esp, 4
mov ebx, eax
mov esi, dword [0x4556a0]
mov ebp, esi
imul ebp, ebp, 0x34
mov eax, ecx
shl eax, 4
add eax, ecx
sub ebp, eax
mov eax, 0x30c30c31
imul dword [0x45568c]
sar edx, 3
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
sub eax, dword [0x455694]
add eax, 0x37
test ebx, ebx
mov dword [0x45568c], eax
jne 0x40b7e2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov eax, dword [0x455688]
lea edx, [eax + eax*8]
lea eax, [ecx + ecx*2]
shl eax, 4
lea ecx, [eax + edx*4]
mov eax, 0x2aaaaaab
imul dword [0x45569c]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x94f2095
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, esi
sub ecx, 0x39
push ebx
mov dword [0x455690], ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebx, eax
push ebx
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, dword [0x455698]
mov ebp, eax
mov edi, dword [0x45568c]
lea ecx, [esi + esi*8]
shl ecx, 2
mov eax, ecx
mov ecx, dword [0x45569c]
mov dword [esp + 0x30], eax
mov eax, 0x30c30c31
imul ecx
sar edx, 3
mov ecx, dword [esp + 0x30]
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, dword [0x4556a4]
mov edx, edi
imul edx, edx, 0x34
add edx, eax
mov eax, dword [str._r_____r____]
add edx, ecx
lea eax, [eax + eax*4]
lea ecx, [edx + eax*2 - 0x39]
xor edx, edx
mov dword [esp + 0x10], 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 eax, 0x78787879
imul esi
mov eax, dword [0x4556a0]
imul eax, eax, 0x2a
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [0x4556a8]
add esi, eax
mov eax, edx
imul eax, eax, 0x39
sub esi, eax
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [0x455694], ecx
sub esi, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, ecx
imul eax, eax, 0x39
mov dword [esp + 0x30], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [esp + 0x30]
sar edx, 3
add eax, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, eax
mov eax, dword [0x455690]
imul eax, eax, 0x31
mov edx, edi
imul edx, edx, 0x61
add ecx, edx
add ecx, eax
mov eax, 0x38e38e39
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov dword [0x45569c], ecx
lea ecx, [esp + 0x10]
push ecx
mov dword [0x455698], esi
push ebp
mov dword [esp + 0x18], 0x1c
xor esi, esi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x40bad1
mov edi, dword [0x45568c]
mov ecx, dword [0x455698]
mov eax, 0x94f2095
imul ecx, ecx, 0x17
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
imul edx, edx, 0x37
sub ecx, eax
mov eax, dword [esp + 0x1c]
add ecx, edx
cmp eax, ebx
mov dword [0x4556a0], ecx
jne 0x40ba05
mov edx, dword [0x4556a4]
mov ebx, dword [0x455688]
mov esi, dword [0x45569c]
imul ebx, ebx, 0x2a
mov eax, 0x2aaaaaab
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x5397829d
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
lea edx, [esi + esi*4]
lea esi, [ebx + edx*2]
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov dword [0x4556a4], esi
mov esi, dword [esp + 0x18]
jmp 0x40bad7
mov eax, 0x30c30c31
imul ecx, ecx, 0x43
imul dword [0x455698]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x151d07eb
imul dword [str._r_____r____]
sub edi, ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x455690]
imul edx, edx, 0x34
lea eax, [esp + 0x10]
sub edi, ecx
push eax
add edi, edx
push ebp
mov dword [0x4556a8], edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x40bad1
jmp 0x40ba60
mov ecx, dword [0x4556a4]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [0x4556a0]
mov edi, ecx
imul edi, edi, 0xffffffcf
sub edi, edx
mov eax, 0x151d07eb
imul dword [0x45569c]
sar edx, 3
mov eax, edx
add edi, edx
shr eax, 0x1f
add eax, edi
mov edi, dword [0x455690]
mov edx, edi
imul edx, edx, 0x39
sub eax, edx
add eax, dword [str._r_____r____]
mov edx, dword [0x455688]
add edx, eax
cmp dword [esp + 0x1c], ebx
mov dword [0x455688], edx
je 0x40bb41
lea eax, [esp + 0x10]
push eax
push ebp
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x40ba60
mov ecx, dword [0x4556a0]
mov eax, 0x78787879
imul ecx, ecx, 0x2a
imul dword [0x455698]
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
add edi, ecx
mov ecx, dword [0x4556a8]
mov edx, ecx
imul edx, edx, 0x39
sub edi, edx
mov eax, 0x4ec4ec4f
imul ecx
mov ecx, dword [0x455694]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
push ebp
mov dword [0x455698], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [0x455688]
lea edx, [eax + eax*8]
mov eax, dword [0x4556a8]
lea eax, [eax + eax*2]
shl eax, 4
lea esi, [eax + edx*4]
mov eax, 0x2aaaaaab
imul dword [0x45569c]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x94f2095
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
sub esi, ecx
sub esi, 0x39
mov dword [0x455690], esi
mov esi, dword [esp + 0x18]
jmp 0x40bad7