Function at 0x440900
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479a30
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x49c128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0
push 4
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x440952
call esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
cmp ebx, 0xffffffff
jne 0x440984
push 0xc
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00455426
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
jmp 0x440b9b
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x1c
xorps xmm0, xmm0
push eax
push ebx
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x440a46
call esi
push str.get_process_tids
mov edx, 4
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0xf0]
call fcn.00404b20
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
mov al, byte [esi + 0x48]
test al, al
je 0x4409f7
mov edx, str.Thread32First_err
mov ecx, esi
call fcn.00416e30
mov al, byte [esi + 0x48]
test al, al
je 0x4409f7
push dword [ebp - 0x3c]
mov ecx, esi
call fcn.00435b20
lea ecx, [ebp - 0x90]
call fcn.004048b0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x90], vtable.std::ios_base.0
call fcn.00452e26
add esp, 4
mov byte [ebp - 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
push 0xc
call fcn.00455426
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
jmp 0x440b94
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
push 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00455426
mov esi, eax
add esp, 4
mov dword [esi], esi
mov dword [esi + 4], esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2c], eax
jne 0x440abe
cmp dword [ebp - 0x14], 0x15555555
je 0x440bb9
lea eax, [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
push 0xc
mov dword [ebp - 0x40], 0
call fcn.00455426
mov ecx, dword [ebp - 0x30]
add esp, 4
mov byte [ebp - 4], 3
mov dword [eax + 8], ecx
inc dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov dword [ecx], eax
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
je 0x440b33
nop dword [eax]
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x2c], eax
jne 0x440b24
cmp dword [ebp - 0x14], 0x15555555
mov esi, dword [ebp - 0x18]
je 0x440bb9
lea eax, [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 5
push 0xc
mov dword [ebp - 0x40], 0
call fcn.00455426
mov ecx, dword [ebp - 0x30]
add esp, 4
mov byte [ebp - 4], 3
mov dword [ebp - 0x40], 0
mov dword [eax + 8], ecx
inc dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov dword [ecx], eax
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x440ad0
push 0xc
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00455426
mov esi, eax
add esp, 4
mov dword [esi], esi
mov dword [esi + 4], esi
mov ecx, dword [ebp - 0x18]
mov dword [edi], ecx
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov dword [edi + 4], ecx
mov dword [ebp - 0x14], edx
mov eax, dword [esi + 4]
mov dword [eax], 0
mov eax, dword [esi]
test eax, eax
je 0x440b87
mov esi, dword [eax]
push 0xc
push eax
call fcn.004553f5
add esp, 8
mov eax, esi
test esi, esi
jne 0x440b74
push 0xc
push dword [ebp - 0x18]
call fcn.004553f5
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004553e7
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.0045238e
int3