Function at 0x40f7f0
Capabilities:
Enumerate threads

Disassembly:
mov ecx, dword [0x45ebd4]
mov eax, 0x4be59407
imul ecx
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esp, 0x28
push ebx
mov ebx, eax
mov eax, 0x2e45b009
imul ecx
sar edx, 0x1b
push ebp
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push esi
mov esi, dword [0x45ebd8]
push edi
mov edi, dword [0x45ebe0]
mov edx, edi
imul edx, edx, 0x15c6babc
sub ebx, ecx
mov ecx, dword [0x45ebcc]
sub ebx, edx
mov eax, 0x9c5fe915
imul esi
add edx, esi
sar edx, 0x1d
add ebx, edx
mov ebp, edx
mov eax, 0x9c5fe915
imul ecx
add edx, ecx
shr ebp, 0x1f
sar edx, 0x1d
add ebp, ebx
mov ecx, edx
shr ecx, 0x1f
add ebp, edx
add ecx, ebp
mov ebp, dword [0x45ebdc]
mov eax, ebp
imul eax, eax, 0x3e20adb7
add ecx, eax
mov eax, dword [esp + 0x3c]
test eax, eax
mov dword [0x45ebc4], ecx
jne 0x40f946
mov eax, 0x2d01dbc7
imul ebp
mov ebx, edi
imul ebx, ebx, 0x4d0e971
sar edx, 0x1b
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov ebx, eax
mov eax, 0x273a7861
imul edi
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov edi, dword [0x45ebe4]
mov eax, 0x5e0c18e7
imul dword [0x45ebd0]
sar edx, 0x1b
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, 0x56a9121b
imul edi
mov eax, dword [esp + 0x14]
sar edx, 0x1a
add eax, edx
mov ebx, edx
mov edx, esi
imul edx, edx, 0xbd0f4c0
shr ebx, 0x1f
add ebx, eax
mov eax, dword [esp + 0x40]
add ebx, edx
test eax, eax
mov dword [0x45ebc8], ebx
je 0x40f952
lea edx, [eax + 1]
mov dword [esp + 0x14], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40f912
sub eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
je 0x40f952
mov eax, dword [esp + 0x40]
push eax
call fcn.0040edc0
mov ecx, dword [0x45ebc4]
mov ebp, dword [0x45ebdc]
mov esi, dword [0x45ebd8]
add esp, 4
mov dword [esp + 0x3c], eax
mov ebx, dword [0x45ebc8]
mov edi, dword [0x45ebe4]
mov eax, ecx
imul eax, eax, 0x31136cfe
mov dword [esp + 0x14], eax
mov eax, 0xc09944a7
imul ebp
add edx, dword [0x45ebdc]
mov eax, dword [esp + 0x14]
sar edx, 0x1c
add eax, edx
mov ebp, edx
shr ebp, 0x1f
add ebp, eax
mov eax, 0x273a7861
imul dword [0x45ebd0]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x2e45b009
imul dword [0x45ebe0]
sar edx, 0x1b
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov ebp, eax
mov eax, 0x9c5fe915
imul ebx
add edx, ebx
sar edx, 0x1d
add ebp, edx
mov ebx, edx
mov eax, 0x9c5fe915
imul esi
add edx, esi
sar edx, 0x1d
mov eax, edx
shr eax, 0x1f
add eax, edx
shr ebx, 0x1f
add ebx, ebp
sub ebx, eax
mov eax, 0x56a9121b
imul dword [0x45ebd4]
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
mov dword [0x45ebcc], eax
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40fa03
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
mov ebx, dword [0x45ebe8]
imul edi, edi, 0xd0d40b9
imul ecx, ecx, 0x346312ef
mov eax, 0xc09944a7
imul dword [0x45ebd0]
add edx, dword [0x45ebd0]
sar edx, 0x1c
mov ebp, ebx
imul ebp, ebp, 0x31136cfe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov eax, 0x9c5fe915
imul ebx
add edx, ebx
sar edx, 0x1d
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebp, edi
sub ebp, eax
mov eax, 0x56a9121b
imul esi
mov esi, dword [0x45ebe0]
mov eax, dword [esp + 0x3c]
sub ebp, ecx
sar edx, 0x1a
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ebp, esi
lea edx, [ecx + ebp - 0xbd0f4c0]
push eax
mov dword [0x45ebd0], edx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push 4
mov dword [esp + 0x1c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ecx, dword [0x45ebdc]
mov esi, dword [0x45ebe8]
mov dword [esp + 0x3c], eax
mov eax, 0x4be59407
imul ecx
mov edi, esi
imul edi, edi, 0x35f7d09c
sar edx, 0x1c
add edi, edx
mov ebx, edx
mov eax, 0x83008757
imul ecx
add edx, ecx
sar edx, 0x1c
mov ecx, edx
shr ebx, 0x1f
add ebx, edi
mov edi, dword [0x45ebc4]
shr ecx, 0x1f
add ecx, edx
sub ebx, ecx
mov ecx, dword [0x45ebc8]
mov edx, ecx
imul edx, edx, 0x15c6babc
mov eax, edi
imul eax, eax, 0x1a1a8172
sub ebx, edx
add ebx, dword [0x45ebe4]
lea edx, [eax + ebx + 0xbd0f4c0]
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
mov dword [esp + 0x34], eax
mov dword [0x45ebd4], edx
mov eax, 0x4be59407
imul ecx
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, ecx
imul ecx, ecx, 0x2d80f713
imul ebx, ebx, 0x35f7d09c
sub ebx, eax
mov eax, 0x53766c07
imul edi
imul edi, edi, 0xbd0f4c0
sar edx, 0x1c
mov ebp, edx
add ebx, edx
shr ebp, 0x1f
add ebp, ebx
mov ebx, dword [0x45ebe0]
mov eax, 0x83008757
imul ebx
add edx, ebx
mov ebx, dword [0x45ebcc]
sar edx, 0x1c
add ebp, edx
mov eax, edx
shr eax, 0x1f
add eax, ebp
mov edx, ebx
imul edx, edx, 0x1f444551
sub eax, edx
mov ebp, eax
mov eax, 0x5e0c18e7
imul esi
imul esi, esi, 0xbd0f4c0
sar edx, 0x1b
mov eax, edx
shr eax, 0x1f
add ebp, edx
add eax, ebp
sub eax, esi
mov dword [0x45ebd8], eax
mov eax, 0x4be59407
imul dword [0x45ebe4]
sar edx, 0x1c
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, ebx
imul edx, edx, 0x5885071a
add esi, edx
mov eax, 0x273a7861
imul ebx
sar edx, 0x19
mov eax, edx
add esi, ecx
mov ecx, dword [0x45ebd0]
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x9c5fe915
imul ecx
mov eax, dword [esp + 0x3c]
add edx, ecx
sar edx, 0x1d
mov ecx, edx
shr ecx, 0x1f
add esi, edx
lea edx, [esp + 0x1c]
add ecx, esi
push edx
add ecx, edi
push eax
mov dword [esp + 0x24], 0x1c
mov dword [esp + 0x18], 0
mov dword [0x45ebdc], ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x40fe75
mov esi, dword [0x45ebd0]
mov ebx, dword [0x45ebd4]
mov ecx, dword [0x45ebc8]
mov ebp, dword [0x45ebd8]
mov eax, esi
sub eax, ebx
imul eax, eax, 0x15445b42
mov edx, ecx
imul edx, edx, 0x31136cfe
add eax, edx
mov edx, ebp
imul edx, edx, 0x2d80f713
add eax, edx
mov dword [esp + 0x18], eax
mov edi, dword [0x45ebe8]
mov eax, 0xc09944a7
imul esi
add edx, esi
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
sub edx, eax
mov dword [esp + 0x18], edx
mov eax, 0x2e45b009
imul edi
mov eax, dword [esp + 0x18]
sar edx, 0x1b
add eax, edx
mov esi, edx
mov edx, dword [0x45ebcc]
shr esi, 0x1f
add esi, eax
mov eax, edx
imul eax, eax, 0xbd0f4c0
sub esi, eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], eax
mov dword [0x45ebe0], esi
jne 0x40fd47
mov eax, 0x4be59407
imul ebp, ebp, 0x35f7d09c
imul ebx, ebx, 0x3e888aa2
imul edx
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebp
mov dword [esp + 0x18], eax
mov eax, 0xc09944a7
imul dword [0x45ebc4]
add edx, dword [0x45ebc4]
mov eax, dword [esp + 0x18]
sar edx, 0x1c
add eax, edx
mov ebp, edx
shr ebp, 0x1f
add ebp, eax
mov eax, 0x2e45b009
imul dword [0x45ebd0]
sar edx, 0x1b
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebp, ebx
mov ebx, dword [0x45ebe4]
sub ebp, eax
mov eax, 0x9c5fe915
imul ebx
add edx, ebx
sar edx, 0x1d
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x24]
sub ebp, eax
mov dword [0x45ebe4], ebp
mov dword [esp + 0x10], edx
jmp 0x40fe87
mov eax, dword [0x45ebd0]
imul ebx, ebx, 0xbd0f4c0
lea esi, [eax + ebp]
mov eax, 0x4be59407
imul esi, esi, 0x15c6babc
imul ecx
sar edx, 0x1c
mov edi, edx
add esi, edx
mov eax, 0x2d01dbc7
imul ebp
mov ecx, ebp
imul ecx, ecx, 0x35f7d09c
sar edx, 0x1b
mov eax, edx
shr edi, 0x1f
shr eax, 0x1f
add eax, edx
add edi, esi
add edi, ecx
mov ecx, dword [0x45ebdc]
sub edi, eax
mov eax, 0x83008757
imul ecx
mov eax, dword [esp + 0x3c]
add edx, ecx
sar edx, 0x1c
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [esp + 0x1c]
sub edi, ecx
push edx
sub edi, ebx
push eax
mov dword [0x45ebe8], edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x40fe75
jmp 0x40fdd0
mov esi, dword [0x45ebe0]
mov ecx, dword [0x45ebdc]
mov eax, 0x2d01dbc7
imul ecx
mov edi, esi
imul edi, edi, 0x4d0e971
sar edx, 0x1b
add edi, edx
mov ebp, dword [0x45ebd0]
mov ecx, edx
mov eax, 0x273a7861
imul esi
sar edx, 0x19
mov ebx, dword [0x45ebe4]
mov eax, edx
shr ecx, 0x1f
add ecx, edi
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x5e0c18e7
imul ebp
sar edx, 0x1b
add ecx, edx
mov edi, edx
mov eax, 0x56a9121b
imul ebx
mov eax, dword [esp + 0x14]
sar edx, 0x1a
shr edi, 0x1f
add edi, ecx
add edi, edx
mov ecx, edx
mov edx, dword [0x45ebd8]
imul edx, edx, 0xbd0f4c0
shr ecx, 0x1f
add ecx, edi
add ecx, edx
cmp dword [esp + 0x28], eax
mov dword [0x45ebc8], ecx
je 0x40ff10
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
push ecx
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x40fdd0
mov esi, dword [0x45ebe0]
mov ecx, dword [0x45ebc8]
mov edi, dword [0x45ebe8]
mov eax, 0x4be59407
imul ecx
imul ecx, ecx, 0x35f7d09c
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x53766c07
imul dword [0x45ebc4]
sar edx, 0x1c
add ecx, edx
mov ebx, edx
mov eax, 0x83008757
imul esi
mov eax, dword [0x45ebcc]
imul eax, eax, 0x1f444551
add edx, esi
sar edx, 0x1c
shr ebx, 0x1f
add ebx, ecx
mov ecx, edx
shr ecx, 0x1f
add ebx, edx
add ecx, ebx
sub ecx, eax
mov eax, 0x5e0c18e7
imul edi
imul edi, edi, 0xbd0f4c0
sar edx, 0x1b
mov eax, edx
shr eax, 0x1f
add ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x3c]
sub eax, edi
push ecx
mov dword [0x45ebd8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edi, dword [0x45ebe8]
imul ebx, ebx, 0xd0d40b9
mov eax, edi
imul eax, eax, 0x31136cfe
mov dword [esp + 0x18], eax
mov eax, 0xc09944a7
imul ebp
add edx, dword [0x45ebd0]
sar edx, 0x1c
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
sub edx, eax
add edx, ebx
mov dword [esp + 0x18], edx
mov eax, 0x9c5fe915
imul edi
add edx, edi
sar edx, 0x1d
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
sub edx, eax
mov eax, dword [0x45ebc4]
imul eax, eax, 0x346312ef
sub edx, eax
mov dword [esp + 0x18], edx
mov eax, 0x56a9121b
imul dword [0x45ebd8]
sar edx, 0x1a
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
add edx, esi
lea edx, [eax + edx - 0xbd0f4c0]
mov eax, dword [esp + 0x24]
mov dword [0x45ebd0], edx
mov dword [esp + 0x10], eax
jmp 0x40fe87