Function at 0x100032d0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1002b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
test ebx, ebx
jne 0x10003306
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d045
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
mov edi, eax
test edi, edi
je 0x100033e7
mov ecx, dword [ebp + 0xc]
cmp dword [ebp - 0x14], ecx
jne 0x1000337a
mov edx, dword [ebp - 0x18]
push edx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
je 0x10003387
mov esi, eax
call fcn.10002f40
cmp eax, dword [ebp + 8]
jne 0x1000337a
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x1015e464]
je 0x1000337a
cmp eax, dword [0x1015e468]
je 0x1000337a
cmp eax, dword [0x1015e46c]
jne 0x1000338d
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
mov edi, eax
test edi, edi
jne 0x10003336
jmp 0x100033e7
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
push ecx
push 0x100239b0
push eax
push 0x10001a00
push 0x100019c0
push str.___VariableThread_3________:___0x
push edx
mov dword [0x1015e470], eax
call fcn.10019110
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push eax
call fcn.10019110
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
mov esi, eax
test esi, esi
je 0x100034b9
lea esp, [esp]
mov ecx, dword [ebp + 0xc]
cmp dword [ebp - 0x14], ecx
jne 0x1000344c
mov edx, dword [ebp - 0x18]
push edx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
je 0x10003459
mov esi, eax
call fcn.10002f40
cmp eax, dword [ebp + 8]
jne 0x1000344c
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x1015e464]
je 0x1000344c
cmp eax, dword [0x1015e468]
je 0x1000344c
cmp eax, dword [0x1015e46c]
je 0x1000344c
cmp eax, dword [0x1015e470]
jne 0x1000345f
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
mov esi, eax
test esi, esi
jne 0x10003400
jmp 0x100034b9
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
push ecx
push 0x100239b0
push eax
push 0x10001a00
push 0x100019c0
push str.___VariableThread_4________:___0x
push edx
mov dword [0x1015e474], eax
call fcn.10019110
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push eax
call fcn.10019110
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
mov edi, eax
test edi, edi
je 0x1000359d
mov edi, edi
mov ecx, dword [ebp + 0xc]
cmp dword [ebp - 0x14], ecx
jne 0x10003524
mov edx, dword [ebp - 0x18]
push edx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10003531
call fcn.10002f40
cmp eax, dword [ebp + 8]
jne 0x10003524
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x1015e464]
je 0x10003524
cmp eax, dword [0x1015e468]
je 0x10003524
cmp eax, dword [0x1015e46c]
je 0x10003524
cmp eax, dword [0x1015e470]
je 0x10003524
cmp eax, dword [0x1015e474]
jne 0x10003537
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
mov edi, eax
test edi, edi
jne 0x100034d0
jmp 0x1000359d
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
push ecx
push 0x100239b0
push eax
push 0x10001a00
push 0x100019c0
push str.___VariableThread_5________:___0x
push edx
mov dword [0x1015e478], eax
call fcn.10019110
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push eax
call fcn.10019110
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1001d045
mov esp, ebp
pop ebp
ret