Function at 0x40d6b0
Capabilities:
Enumerate threads

Disassembly:
mov ecx, dword [0x459b58]
sub esp, 0x28
push ebx
push ebp
mov eax, 0x5e407cd
imul dword [0x459b44]
push esi
mov esi, dword [0x459b3c]
sar edx, 0x14
mov eax, esi
imul eax, eax, 0x1a0fa8c
mov ebx, ecx
imul ebx, ebx, 0x171ed6e
push edi
mov edi, edx
shr edi, 0x1f
add edi, edx
add eax, edi
add eax, ebx
shl eax, 1
mov ebp, eax
mov eax, 0x702fe9a3
imul dword [0x459b44]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x565ef47
imul esi
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, dword [esp + 0x3c]
test eax, eax
mov dword [str._r_____r____], ebp
jne 0x40d7d8
mov eax, 0x540f9495
imul dword [0x459b40]
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
mov eax, 0x186e8b3d
imul dword [0x459b40]
mov eax, dword [esp + 0x14]
sar edx, 0x17
add eax, edx
mov esi, edx
mov edx, dword [0x459b38]
shr esi, 0x1f
imul edx, edx, 0x53d33c3
add esi, eax
mov eax, dword [0x459b50]
imul eax, eax, 0xbdb188
add esi, edx
sub esi, eax
mov eax, 0x2742b221
imul dword [0x459b54]
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, edi
mov edi, dword [esp + 0x40]
add esi, ebx
test edi, edi
mov dword [0x459b38], esi
je 0x40d7de
mov eax, edi
lea ebx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40d7b0
sub eax, ebx
mov dword [esp + 0x18], eax
je 0x40d7de
push edi
call fcn.0040cdd0
mov ebp, dword [str._r_____r____]
mov ecx, dword [0x459b58]
add esp, 4
mov dword [esp + 0x3c], eax
mov esi, dword [0x459b38]
mov ebx, dword [0x459b50]
mov eax, 0x5e407cd
imul ebx, ebx, 0x1a0fa8c
imul dword [0x459b44]
sar edx, 0x14
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x545b9e19
imul dword [0x459b3c]
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add ebx, edi
add eax, edx
lea edx, [eax + ebx*2 + 0x3409364]
mov ebx, dword [esp + 0x3c]
sub edx, ebp
test ebx, ebx
mov dword [0x459b3c], edx
jne 0x40d837
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
mov edx, dword [0x459b4c]
imul ecx, ecx, 0x171ed6e
imul esi, esi, 0xd0a84b
mov eax, 0x702fe9a3
imul edx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x459b48]
imul edx, edx, 0x4905557
mov ebp, dword [0x459b54]
sub ecx, eax
add ecx, edx
mov eax, 0x4eb6fa85
imul dword [0x459b40]
sar edx, 0x18
mov eax, edx
add ecx, esi
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, ebp
lea ecx, [ecx + edi - 0x53d33c3]
push ebx
mov dword [0x459b40], ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push 4
mov dword [esp + 0x18], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, dword [0x459b4c]
mov dword [esp + 0x3c], eax
mov eax, 0x545b9e19
imul edi
sar edx, 0x17
mov ecx, dword [0x459b58]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x459b44]
mov ebx, edi
imul ebx, ebx, 0x341f518
sub ebx, eax
mov ebp, dword [0x459b48]
mov eax, 0x5e407cd
imul ebp, ebp, 0xd0a84b
imul edx
sar edx, 0x14
add ebx, edx
mov eax, edx
mov edx, dword [str._r_____r____]
shr eax, 0x1f
imul edx, edx, 0x2b75400
add eax, ebx
mov ebx, dword [0x459b50]
mov esi, ecx
imul esi, esi, 0x171ed6e
add edx, esi
add edx, eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
add ebp, edx
mov dword [esp + 0x34], eax
lea edx, [ebx + ebp - 0x53d33c3]
mov dword [0x459b44], edx
mov eax, 0x5e407cd
imul edx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
mov eax, 0x9d2b2fed
imul ecx
add edx, ecx
sar edx, 0x19
imul edi, edi, 0x53d33c3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, ebx
imul ebx, ebx, 0x185d014
imul ebp, ebp, 0x18470b7
sub ebp, eax
mov eax, 0x58945bfd
imul ecx
imul ecx, ecx, 0x3cb4655
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
sub eax, ecx
mov ecx, dword [0x459b54]
mov dword [0x459b48], eax
mov eax, 0x702fe9a3
imul ecx
mov ecx, dword [0x459b40]
imul ecx, ecx, 0xbdb188
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ebx
add eax, edi
add eax, ecx
mov ecx, dword [0x459b3c]
mov dword [esp + 0x18], eax
mov eax, 0x2742b221
imul ecx
mov ecx, dword [esp + 0x18]
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x3c]
sub ecx, eax
add ecx, dword [esp + 0x14]
add ecx, esi
mov dword [0x459b4c], ecx
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], 0x1c
xor ebp, ebp
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x40dc33
mov esi, dword [0x459b44]
mov ebx, dword [0x459b48]
mov eax, 0x5e407cd
imul esi
imul esi, esi, 0x171ed6e
sar edx, 0x14
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x459b4c]
imul edx, edx, 0x53d33c3
mov eax, ebx
imul eax, eax, 0x185d014
sub eax, esi
mov esi, dword [0x459b58]
sub eax, edx
mov edx, dword [0x459b3c]
mov dword [esp + 0x18], eax
mov eax, 0x4eb6fa85
imul edx
sar edx, 0x18
mov eax, edx
mov edi, esi
imul edi, edi, 0x4b280d2
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
sub edx, eax
mov eax, dword [esp + 0x28]
add edx, ecx
add edi, edx
mov edx, dword [esp + 0x10]
cmp eax, edx
mov dword [0x459b50], edi
jne 0x40db0f
mov ebp, dword [0x459b38]
mov edx, dword [str._r_____r____]
imul ebp, ebp, 0x18470b7
imul edx, edx, 0x2b75400
mov eax, esi
imul eax, eax, 0x171ed6e
add ebp, eax
add ebp, edx
mov edx, dword [0x459b54]
mov eax, 0x702fe9a3
imul edx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x5e407cd
imul ebx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x565ef47
imul ebx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
add ebp, ecx
mov dword [0x459b54], ebp
mov ebp, dword [esp + 0x24]
jmp 0x40dc3f
mov edx, dword [0x459b38]
imul esi, esi, 0x171ed6e
mov eax, 0x545b9e19
imul edx
sar edx, 0x17
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, dword [str._r_____r____]
mov eax, 0x540f9495
imul edx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x459b54]
imul edx, edx, 0x53d33c3
add edi, esi
sub edi, eax
mov eax, dword [0x459b40]
imul eax, eax, 0x8aa118
sub edi, edx
mov edx, dword [esp + 0x3c]
add edi, ecx
lea ecx, [esp + 0x1c]
push ecx
add eax, edi
push edx
mov dword [0x459b58], eax
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x40dc33
mov esi, dword [0x459b58]
mov ebx, dword [0x459b40]
mov eax, 0x5e407cd
imul dword [0x459b44]
mov ecx, esi
imul ecx, ecx, 0x171ed6e
sar edx, 0x14
add ecx, edx
mov edi, edx
mov eax, 0x540f9495
imul ebx
sar edx, 0x17
shr edi, 0x1f
add edi, ecx
add edi, edx
mov eax, edx
shr eax, 0x1f
add eax, edi
mov edi, eax
mov eax, 0x186e8b3d
imul ebx
sar edx, 0x17
mov ecx, edx
add edi, edx
mov edx, dword [0x459b38]
shr ecx, 0x1f
imul edx, edx, 0x53d33c3
add ecx, edi
mov edi, dword [0x459b50]
mov eax, edi
imul eax, eax, 0xbdb188
add ecx, edx
sub ecx, eax
mov eax, 0x2742b221
imul dword [0x459b54]
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub ecx, eax
cmp dword [esp + 0x28], edx
mov dword [0x459b38], ecx
je 0x40dca9
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
push ecx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x40db80
mov esi, dword [0x459b58]
mov edi, dword [0x459b50]
mov eax, 0x5e407cd
imul edi, edi, 0x18470b7
imul dword [0x459b44]
sar edx, 0x14
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x9d2b2fed
imul esi
add edx, esi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x58945bfd
imul esi
imul esi, esi, 0x3cb4655
mov dword [esp + 0x14], ecx
sar edx, 0x17
mov ecx, edx
shr ecx, 0x1f
add edi, edx
mov edx, dword [esp + 0x3c]
add ecx, edi
sub ecx, esi
push edx
mov dword [0x459b48], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, 0x5e407cd
imul ecx, ecx, 0xd0a84b
imul dword [0x459b44]
mov ebp, esi
imul ebp, ebp, 0x171ed6e
sar edx, 0x14
add ebp, edx
mov eax, edx
mov edx, dword [0x459b4c]
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0x702fe9a3
imul edx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x459b48]
imul edx, edx, 0x4905557
sub ebp, eax
add ebp, edx
mov eax, 0x4eb6fa85
imul ebx
sar edx, 0x18
add ebp, ecx
mov ecx, dword [0x459b54]
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
sub ebp, ecx
sub ebp, 0x53d33c3
mov dword [0x459b40], ebp
mov ebp, dword [esp + 0x24]
jmp 0x40dc3f