Function at 0x40f420
Capabilities:
Enumerate threads

Disassembly:
mov ecx, dword [0x45dbd4]
mov eax, 0x771da23
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, 0x77668d35
imul ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
mov ecx, dword [0x45dbcc]
mov eax, 0x77668d35
imul ecx
sar edx, 0xc
add edi, edx
mov esi, edx
mov edx, dword [0x45dbe8]
imul edx, edx, 0x2214
mov eax, ecx
imul eax, eax, 0x2179
shr esi, 0x1f
add esi, edi
add esi, edx
add esi, eax
mov eax, 0x98742075
imul ecx
mov eax, dword [esp + 0x38]
mov ebp, dword [0x45dbe0]
mov edi, dword [0x45dbd0]
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45dbdc]
imul edx, edx, 0x147d
sub esi, ecx
add esi, edx
test eax, eax
mov dword [str._r_____r____], esi
jne 0x40f580
mov ecx, dword [0x45dbe4]
mov eax, 0x3d2f2c3f
imul edi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0xc7eb4e25
imul ecx
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x92bc6f7d
imul edi
add edx, edi
sub ebx, ecx
sar edx, 0xb
add ebx, edx
mov eax, edx
mov edx, ebp
imul edx, edx, 0x736
shr eax, 0x1f
add eax, ebx
add eax, edx
mov ebx, eax
mov eax, 0x6931b881
imul edi
mov eax, dword [0x45dbc8]
imul eax, eax, 0x4de
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ebx, edx
mov edx, dword [esp + 0x3c]
add ecx, ebx
add ecx, eax
test edx, edx
mov dword [0x45dbc8], ecx
je 0x40f586
mov eax, edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], ebx
jmp 0x40f550
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x40f550
sub eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
je 0x40f586
push edx
call fcn.0040ea40
mov esi, dword [str._r_____r____]
mov edi, dword [0x45dbd0]
mov ebp, dword [0x45dbe0]
add esp, 4
mov dword [esp + 0x38], eax
mov ecx, dword [0x45dbc8]
mov eax, 0x771da23
imul ebp, ebp, 0x2179
imul dword [0x45dbd4]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ebp
mov dword [esp + 0x10], eax
mov eax, 0xc7eb4e25
imul dword [0x45dbd4]
add edx, dword [0x45dbd4]
mov eax, dword [esp + 0x10]
mov ebx, dword [0x45dbe8]
sar edx, 0xc
imul ebx, ebx, 0x2214
add eax, edx
mov ebp, edx
shr ebp, 0x1f
add ebp, eax
mov eax, 0x49e7e4dd
imul dword [0x45dbcc]
sar edx, 0xa
add ebp, edx
mov eax, edx
mov edx, dword [0x45dbe4]
imul edx, edx, 0x4de
shr eax, 0x1f
add eax, ebp
add eax, edx
sub eax, ebx
sub eax, esi
add eax, 0x1cbc
mov dword [0x45dbcc], eax
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x40f619
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov esi, dword [0x45dbd8]
imul ecx, ecx, 0x147d
mov eax, 0x77668d35
imul dword [0x45dbdc]
sar edx, 0xc
mov ebp, esi
imul ebp, ebp, 0x224e
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x8e8c0a95
imul edi
add edx, edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x6931b881
imul esi
mov esi, dword [0x45dbe4]
mov eax, dword [esp + 0x38]
add ebp, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ebp, edx
add ecx, ebp
sub ecx, esi
lea edx, [ecx + ebx - 0x4de]
push eax
mov dword [0x45dbd0], edx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebx, eax
push ebx
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, dword [str._r_____r____]
mov ecx, dword [0x45dbd8]
mov dword [esp + 0x38], eax
lea edi, [ecx + esi]
imul esi, esi, 0x2263
mov ecx, dword [0x45dbdc]
imul edi, edi, 0x147d
mov eax, 0x771da23
imul ecx
sar edx, 8
add edi, edx
mov ebp, edx
mov edx, ecx
imul edx, edx, 0x2179
shr ebp, 0x1f
add ebp, edi
add ebp, esi
add ebp, edx
mov eax, 0x49e7e4dd
imul ecx
mov esi, dword [0x45dbe0]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
xor eax, 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 edx, [esi + ebp - 0x4de]
mov ebp, dword [0x45dbc8]
mov dword [esp + 0x30], eax
imul ebp, ebp, 0x2263
mov dword [0x45dbd4], edx
mov eax, 0x771da23
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, ecx, 0x4de
sub ebp, eax
mov edi, dword [0x45dbe8]
mov eax, 0x1e0c7127
imul edi
sar edx, 0xa
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0x3d2f2c3f
imul edi
imul edi, edi, 0x4de
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x49e7e4dd
imul esi
sar edx, 0xa
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov edx, esi
imul esi, esi, 0xdf5
imul edx, edx, 0xddb
add eax, edx
sub eax, edi
mov edi, dword [0x45dbcc]
mov dword [0x45dbd8], eax
mov eax, dword [0x45dbd0]
lea ebp, [eax + edi]
imul ebp, ebp, 0x1ade
mov eax, 0x771da23
imul dword [0x45dbe4]
sar edx, 8
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov dword [esp + 0x14], eax
mov eax, 0x77668d35
imul dword [0x45dbe4]
mov eax, dword [esp + 0x14]
sar edx, 0xc
add eax, edx
mov ebp, edx
shr ebp, 0x1f
add ebp, eax
mov eax, 0xc7eb4e25
imul edi
add edx, edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x38]
sub ebp, eax
add ebp, esi
add ebp, ecx
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], 0x1c
mov dword [esp + 0x18], 0
mov dword [0x45dbdc], ebp
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x40fa60
mov ebp, dword [0x45dbe8]
mov ecx, dword [0x45dbd0]
mov eax, dword [0x45dbd4]
mov esi, dword [0x45dbcc]
imul eax, eax, 0x2214
lea edi, [ecx + ebp]
imul edi, edi, 0x1cbc
sub edi, eax
mov eax, 0x8e8c0a95
imul esi
add edx, esi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x98742075
imul ebp
mov eax, dword [0x45dbdc]
add edx, ebp
imul eax, eax, 0x4de
sar edx, 0xc
mov esi, edx
add edi, edx
shr esi, 0x1f
add esi, edi
mov edi, dword [0x45dbd8]
mov edx, edi
imul edx, edx, 0xdf5
add esi, edx
sub esi, eax
cmp dword [esp + 0x24], ebx
mov dword [0x45dbe0], esi
mov eax, 0x771da23
jne 0x40f942
mov edx, dword [0x45dbd4]
mov ecx, dword [0x45dbc8]
lea ebx, [ecx + edx]
imul edi
sar edx, 8
imul ebx, ebx, 0xddb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45dbe4]
sub ebx, eax
mov eax, 0x77668d35
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r____]
sub ebx, eax
mov eax, edx
imul eax, eax, 0x2263
add ebx, eax
mov eax, 0x8e8c0a95
imul edx
add edx, dword [str._r_____r____]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
mov ebx, eax
mov eax, 0x98742075
imul edi
add edx, edi
mov edi, dword [esp + 0x20]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov dword [0x45dbe4], ebx
jmp 0x40fa76
add edi, ecx
imul ecx, ecx, 0x2263
imul edi, edi, 0x2179
sub edi, ecx
mov ecx, dword [0x45dbc8]
imul ecx
sar edx, 8
add edi, edx
mov esi, edx
mov eax, 0x49e7e4dd
imul ecx
mov ecx, dword [str._r_____r____]
sar edx, 0xa
shr esi, 0x1f
add esi, edi
mov edi, edx
add esi, edx
mov eax, 0x92bc6f7d
imul ecx
add edx, ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45dbe4]
imul edx, edx, 0x4de
shr edi, 0x1f
add edi, esi
sub edi, ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
sub edi, edx
push ecx
mov dword [0x45dbe8], edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x40fa60
nop
mov edi, dword [0x45dbd0]
mov ecx, dword [0x45dbe4]
mov eax, 0x3d2f2c3f
imul edi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0xc7eb4e25
imul ecx
add edx, ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x92bc6f7d
imul edi
add edx, edi
sar edx, 0xb
sub esi, ecx
mov ebp, edx
add esi, edx
shr ebp, 0x1f
add ebp, esi
mov esi, dword [0x45dbe0]
mov edx, esi
imul edx, edx, 0x736
add ebp, edx
mov eax, 0x6931b881
imul edi
mov eax, dword [0x45dbc8]
imul eax, eax, 0x4de
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ebp, edx
add ecx, ebp
add ecx, eax
cmp dword [esp + 0x24], ebx
mov dword [0x45dbc8], ecx
je 0x40faf6
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x18]
push ecx
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x40f9c0
mov ebp, dword [0x45dbe8]
mov ecx, dword [0x45dbc8]
mov esi, dword [0x45dbe0]
mov edi, dword [esp + 0x10]
mov eax, 0x771da23
imul ecx, ecx, 0x2263
imul dword [0x45dbd4]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x1e0c7127
imul ebp
sar edx, 0xa
add ecx, edx
mov ebx, edx
mov eax, 0x3d2f2c3f
imul ebp
imul ebp, ebp, 0x4de
shr ebx, 0x1f
add ebx, ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x49e7e4dd
imul esi
imul esi, esi, 0xddb
sar edx, 0xa
sub ebx, ecx
mov ecx, dword [esp + 0x38]
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
add eax, esi
sub eax, ebp
push ecx
mov dword [0x45dbd8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov edx, dword [0x45dbdc]
mov ebx, dword [0x45dbd8]
mov ebp, dword [0x45dbe8]
imul ebx, ebx, 0x224e
mov eax, 0x77668d35
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov edx, ebp
imul edx, edx, 0x2214
add ebx, edx
mov eax, 0x8e8c0a95
imul edi
add edx, edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, dword [0x45dbe4]
mov edx, ecx
imul edx, edx, 0x147d
sub ebx, eax
add ebx, edx
mov eax, 0x6931b881
imul dword [0x45dbd8]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, edi
mov edi, dword [esp + 0x20]
sub eax, 0x4de
mov dword [0x45dbd0], eax
jmp 0x40fa76