Function at 0x140021320
Capabilities:
Enumerate threads

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3e0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r14, rcx
xor r12d, r12d
mov esi, r12d
mov dword [rsp + 0x20], r12d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400219b6
mov dword [rsp + 0x48], 0x1c
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1400219ad
lea r13, [0x14005bc60]
lea r15, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
movsd xmm6, qword [0x14005ce28]
nop word [rax + rax]
mov r8d, dword [rsp + 0x54]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140021997
mov r8d, 0x50
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x14002198e
movups xmm0, xmmword [str._unknown_]
movaps xmmword [rbp + 0xb0], xmm0
mov eax, dword [0x140058cf0]
mov dword [rbp + 0xc0], eax
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0xc4]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x104
lea r8, [rbp + 0xb0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x40], r13
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
or esi, 1
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], r15
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x38], 4
lea rdx, str.THREAD_ID___________
lea rcx, [rbp - 0x40]
call fcn.140044780
mov edx, dword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x14005788c]
call fcn.140044780
lea rdx, str.OWNER_PID___________
lea rcx, [rbp - 0x40]
call fcn.140044780
mov edx, dword [rsp + 0x54]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140058d30]
call fcn.140044780
mov rcx, rax
lea rdx, [rbp + 0xb0]
call fcn.140044780
mov rcx, rax
lea rdx, [0x140058d28]
call fcn.140044780
lea rdx, str.PAGEFAULT_COUNT_____
lea rcx, [rbp - 0x40]
call fcn.140044780
mov edx, dword [rsp + 0x74]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, str.__Nombre_de_defauts_de_page_
call fcn.140044780
mov rcx, rax
lea rdx, [0x14005788c]
call fcn.140044780
lea rdx, str.PEAK_WORKING_SET____
lea rcx, [rbp - 0x40]
call fcn.140044780
mov rdx, rax
mov rcx, qword [rsp + 0x78]
xorps xmm1, xmm1
test rcx, rcx
js 0x140021593
cvtsi2sd xmm1, rcx
jmp 0x1400215a8
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, xmm6
mulsd xmm1, xmm6
mov rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___double____ptr64]
mov rcx, rax
lea rdx, str._Mo__Pic_de_la_memoire_physique_utilisee_
call fcn.140044780
mov rcx, rax
lea rdx, [0x14005788c]
call fcn.140044780
lea rdx, str.WORKING_SET_SIZE____
lea rcx, [rbp - 0x40]
call fcn.140044780
mov rdx, rax
mov rcx, qword [rbp - 0x80]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400215fd
cvtsi2sd xmm1, rcx
jmp 0x140021612
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, xmm6
mulsd xmm1, xmm6
mov rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___double____ptr64]
mov rcx, rax
lea rdx, str._Mo__Memoire_physique_utilisee_actuellement_
call fcn.140044780
mov rcx, rax
lea rdx, [0x14005788c]
call fcn.140044780
lea rdx, str.QUOTA_PEAK_PAGED____
lea rcx, [rbp - 0x40]
call fcn.140044780
mov rdx, rax
mov rcx, qword [rbp - 0x78]
xorps xmm1, xmm1
test rcx, rcx
js 0x140021667
cvtsi2sd xmm1, rcx
jmp 0x14002167c
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, xmm6
mulsd xmm1, xmm6
mov rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___double____ptr64]
mov rcx, rax
lea rdx, str._Mo__Pic_dutilisation_de_la_memoire_pool_paginee_
call fcn.140044780
mov rcx, rax
lea rdx, [0x14005788c]
call fcn.140044780
lea rdx, str.QUOTA_PAGED_________
lea rcx, [rbp - 0x40]
call fcn.140044780
mov rdx, rax
mov rcx, qword [rbp - 0x70]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400216d1
cvtsi2sd xmm1, rcx
jmp 0x1400216e6
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, xmm6
mulsd xmm1, xmm6
mov rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___double____ptr64]
mov rcx, rax
lea rdx, str._Mo__Utilisation_actuelle_de_la_memoire_pool_paginee_
call fcn.140044780
mov rcx, rax
lea rdx, [0x14005788c]
call fcn.140044780
lea rdx, str.QUOTA_PEAK_NONPAGED_
lea rcx, [rbp - 0x40]
call fcn.140044780
mov rdx, rax
mov rcx, qword [rbp - 0x68]
xorps xmm1, xmm1
test rcx, rcx
js 0x14002173b
cvtsi2sd xmm1, rcx
jmp 0x140021750
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, xmm6
mulsd xmm1, xmm6
mov rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___double____ptr64]
mov rcx, rax
lea rdx, str._Mo__Pic_dutilisation_de_la_memoire_pool_non_paginee_
call fcn.140044780
mov rcx, rax
lea rdx, [0x14005788c]
call fcn.140044780
lea rdx, str.QUOTA_NONPAGED______
lea rcx, [rbp - 0x40]
call fcn.140044780
mov rdx, rax
mov rcx, qword [rbp - 0x60]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400217a5
cvtsi2sd xmm1, rcx
jmp 0x1400217ba
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, xmm6
mulsd xmm1, xmm6
mov rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___double____ptr64]
mov rcx, rax
lea rdx, str._Mo__Utilisation_actuelle_de_la_memoire_pool_non_paginee_
call fcn.140044780
mov rcx, rax
lea rdx, [0x14005788c]
call fcn.140044780
lea rdx, str.PAGEFILE_USAGE______
lea rcx, [rbp - 0x40]
call fcn.140044780
mov rdx, rax
mov rcx, qword [rbp - 0x58]
xorps xmm1, xmm1
test rcx, rcx
js 0x14002180f
cvtsi2sd xmm1, rcx
jmp 0x140021824
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, xmm6
mulsd xmm1, xmm6
mov rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___double____ptr64]
mov rcx, rax
lea rdx, str._Mo__Utilisation_actuelle_de_la_memoire_virtuelle_
call fcn.140044780
mov rcx, rax
lea rdx, [0x14005788c]
call fcn.140044780
lea rdx, str.PEAK_PAGEFILE_______
lea rcx, [rbp - 0x40]
call fcn.140044780
mov rdx, rax
mov rcx, qword [rbp - 0x50]
xorps xmm1, xmm1
test rcx, rcx
js 0x140021879
cvtsi2sd xmm1, rcx
jmp 0x14002188e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, xmm6
mulsd xmm1, xmm6
mov rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___double____ptr64]
mov rcx, rax
lea rdx, str._Mo__Pic_dutilisation_de_la_memoire_virtuelle_
call fcn.140044780
mov rcx, rax
lea rdx, [0x14005788c]
call fcn.140044780
lea rdx, str._______________________________________________________________________________________________________________
lea rcx, [rbp - 0x40]
call fcn.140044780
mov rcx, rax
lea rdx, [0x14005788c]
call fcn.140044780
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x38]
call fcn.140042b60
or esi, 2
lea r9, [rsp + 0x28]
cmp qword [rsp + 0x40], 7
cmova r9, qword [rsp + 0x28]
xor r8d, r8d
mov edx, 0xc2
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140021952
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002194c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400219ed
call fcn.14004de50
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], r15
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x38]
call fcn.14003fa70
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400213c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14004de30
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3