Function at 0x40b620
Capabilities:
Enumerate threads

Disassembly:
mov eax, dword [0x45568c]
sub esp, 0x20
imul eax, eax, 0x6e7be
push ebx
push ebp
push esi
mov esi, dword [0x4556a8]
mov ebx, esi
imul ebx, ebx, 0xcecf4
add ebx, eax
push edi
mov edi, dword [0x45569c]
mov eax, 0x948af151
imul edi
add edx, edi
sar edx, 0x13
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x3b1784cb
imul dword [0x455694]
sub ebx, ecx
sar edx, 0x11
mov ecx, edx
add ebx, edx
shr ecx, 0x1f
add ecx, ebx
mov ebx, dword [0x455690]
mov eax, 0xcccc28f7
imul ebx
add edx, ebx
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [str._r_____r____], ecx
jne 0x40b735
mov edx, dword [0x4556a4]
mov ebp, dword [0x4556a0]
mov eax, 0x1784740b
imul ebp, ebp, 0xfff23675
imul edx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x3b1db3af
imul edi
sar edx, 0x11
add ebp, edx
mov eax, edx
mov edx, ebx
imul edx, edx, 0x205c4
shr eax, 0x1f
add eax, ebp
sub eax, edx
add eax, ecx
mov ecx, dword [0x455688]
add ecx, eax
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [0x455688], ecx
je 0x40b73b
mov ebp, eax
lea edx, [ebp + 1]
mov dword [esp + 0x10], edx
mov dl, byte [ebp]
inc ebp
test dl, dl
jne 0x40b704
sub ebp, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
je 0x40b73b
push eax
call fcn.0040ae60
mov ebx, dword [0x455690]
mov edi, dword [0x45569c]
mov esi, dword [0x4556a8]
add esp, 4
mov dword [esp + 0x34], eax
mov ecx, dword [0x455688]
mov ebp, dword [0x4556a0]
imul ebp, ebp, 0x6e7be
mov eax, esi
imul eax, eax, 0xcecf4
sub ebp, eax
mov eax, 0x30f1b28f
imul dword [0x45568c]
sar edx, 0x10
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0x3b1784cb
imul ebx
sar edx, 0x11
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
sub eax, dword [0x455694]
mov ebp, dword [esp + 0x34]
add eax, 0xbae2b
test ebp, ebp
mov dword [0x45568c], eax
jne 0x40b79f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov eax, 0x57ab2ce3
imul ecx, ecx, 0x5715a
imul esi, esi, 0xa0008
imul ebx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0xcccc28f7
imul edi
add edx, edi
mov edi, dword [0x4556a0]
sar edx, 0x13
mov eax, edx
add ecx, esi
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, edi
sub ecx, 0x205c4
push ebp
mov dword [0x455690], ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebx, eax
push ebx
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, dword [0x455698]
mov ecx, dword [0x45568c]
mov dword [esp + 0x34], eax
mov esi, edi
imul esi, esi, 0x5715a
mov edx, ecx
imul edx, edx, 0x6e7be
add esi, edx
mov edx, dword [0x45569c]
mov eax, 0x30f1b28f
imul edx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
sub esi, eax
imul edx, edx, 0x8aa1b
add esi, dword [0x4556a4]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 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
lea esi, [edx + esi - 0x205c4]
mov eax, 0x9e71fdc9
imul edi
add edx, edi
mov edi, dword [0x4556a8]
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0x944b09c1
imul edi
add edx, edi
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4556a0]
imul edx, edx, 0x53aff
sub ebp, eax
add ebp, edx
mov eax, 0x3b1784cb
imul esi
mov dword [0x455694], esi
sar edx, 0x11
mov eax, edx
imul edi, edi, 0x205c4
shr eax, 0x1f
add eax, edx
sub ebp, eax
sub ebp, edi
mov edi, dword [0x455690]
mov eax, 0x1784740b
imul edi, edi, 0xdc98b
imul ecx
imul ecx, ecx, 0x8a933
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
mov eax, 0xcccc28f7
imul esi
mov ecx, esi
imul ecx, ecx, 0x205c4
add edx, esi
sar edx, 0x13
add edi, ecx
mov eax, edx
add edi, edx
shr eax, 0x1f
add eax, edi
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
mov dword [0x455698], ebp
push edi
mov dword [esp + 0x1c], 0x1c
xor ebp, ebp
mov dword [0x45569c], eax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x40badb
mov ecx, dword [0x455698]
mov eax, ecx
imul eax, eax, 0x64985
mov dword [esp + 0x10], eax
mov eax, 0xa854d31d
imul dword [0x45568c]
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
imul edx, edx, 0xbae2b
mov esi, eax
mov eax, dword [esp + 0x10]
sub esi, eax
mov eax, dword [esp + 0x20]
add esi, edx
cmp eax, ebx
mov dword [0x4556a0], esi
jne 0x40b9f8
mov ecx, dword [0x45569c]
mov edi, dword [0x455688]
mov eax, 0x948af151
imul edi, edi, 0x53aff
imul ecx
add edx, ecx
imul ecx, ecx, 0x8aa1b
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x3b1784cb
imul dword [0x45568c]
sar edx, 0x11
add edi, ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov ebp, dword [esp + 0x1c]
sub edi, ecx
mov ecx, dword [0x4556a4]
mov eax, 0xcccc28f7
imul ecx
add edx, ecx
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov dword [0x4556a4], edi
jmp 0x40bae1
mov eax, dword [0x455690]
imul esi, esi, 0xaafdf
imul eax, eax, 0x6e7be
mov dword [esp + 0x10], eax
mov eax, 0x30f1b28f
imul ecx
mov eax, dword [esp + 0x10]
sar edx, 0x10
add eax, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, eax
mov eax, 0x3b1db3af
imul dword [str._r_____r____]
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
sub ecx, esi
add eax, edx
sub ecx, eax
mov dword [0x4556a8], ecx
lea ecx, [esp + 0x14]
push ecx
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x40badb
jmp 0x40ba60
mov ecx, dword [0x4556a4]
mov esi, dword [0x4556a0]
mov eax, 0x1784740b
imul ecx
sar edx, 0xf
mov ecx, esi
imul ecx, ecx, 0xfff23675
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x3b1db3af
imul dword [0x45569c]
sar edx, 0x11
add ecx, edx
mov eax, edx
mov edx, dword [0x455690]
shr eax, 0x1f
add eax, ecx
mov ecx, edx
imul ecx, ecx, 0x205c4
sub eax, ecx
add eax, dword [str._r_____r____]
mov ecx, dword [0x455688]
add ecx, eax
cmp dword [esp + 0x20], ebx
mov dword [0x455688], ecx
je 0x40bb5b
lea edx, [esp + 0x14]
push edx
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x40ba60
mov esi, dword [0x4556a0]
mov edi, dword [0x4556a8]
mov ecx, dword [0x455698]
imul esi, esi, 0x53aff
mov eax, 0x9e71fdc9
imul ecx
add edx, ecx
sar edx, 0x13
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x944b09c1
imul edi
add edx, edi
imul edi, edi, 0x205c4
sar edx, 0x12
mov eax, edx
mov ebx, ecx
mov ecx, dword [0x455694]
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, 0x3b1784cb
imul ecx
sar edx, 0x11
mov ecx, edx
shr ecx, 0x1f
add ebx, esi
add ecx, edx
mov edx, dword [esp + 0x34]
sub ebx, ecx
sub ebx, edi
push edx
mov dword [0x455698], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x20
ret
mov edi, dword [0x4556a8]
imul ecx, ecx, 0x5715a
mov ebx, dword [0x45569c]
mov eax, 0x57ab2ce3
imul edx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, edi
imul edx, edx, 0xa0008
sub ecx, eax
add ecx, edx
mov ebp, dword [esp + 0x1c]
mov eax, 0xcccc28f7
imul ebx
add edx, ebx
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, esi
sub ecx, 0x205c4
mov dword [0x455690], ecx
jmp 0x40bae7