Function at 0x140095220
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402a7d08]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rdx
mov rsi, rcx
movzx r15d, r8b
xor r15, 1
shl r15, 7
cmp qword [rcx + 0x410], r15
jle 0x1400955bf
lea rbx, str.ServiceNtfsMftScanner::flushFilesList
lea r12, [0x1402b05f8]
lea r13, [0x1402aa8a0]
mov eax, dword [r14]
test eax, eax
jne 0x1400955bf
mov edi, 0x80
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov rax, qword [rsi + 0x80]
mov qword [rbp - 0x40], rax
mov word [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov byte [rbp - 0x20], 1
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x10], 0xd9
lea r9, [0x14022e9d0]
lea r8d, [rdi + 0x59]
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1400bc8e0
mov rcx, qword [0x1402b0640]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x140047660.0]
mov ecx, eax
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov qword [rbp - 0x28], rax
test rax, rax
jne 0x140095328
xor r8d, r8d
lea rdx, str.Retrieving_thread_context_failed._Queuing
lea rcx, [rbp - 0x40]
call fcn.1400bc870
jmp 0x14009545b
mov ebx, 0x65
mov qword [rbp - 0x60], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov byte [rbp - 0x58], 1
cmp byte [rbp - 0x37], 0
je 0x14009537d
mov rax, qword [0x1402b05e8]
test rax, rax
jne 0x140095368
lea rax, [rbp - 0x40]
mov qword [0x1402b05e0], rax
lea rax, [rbp - 0x40]
mov qword [0x1402b05e8], rax
jmp 0x1400953b4
lea rcx, [rbp - 0x40]
mov qword [rax + 0x10], rcx
lea rax, [rbp - 0x40]
mov qword [0x1402b05e8], rax
jmp 0x1400953b4
mov rax, qword [0x1402b05d8]
test rax, rax
jne 0x1400953a1
lea rax, [rbp - 0x40]
mov qword [0x1402b05d8], rax
lea rax, [rbp - 0x40]
mov qword [0x1402b05d0], rax
jmp 0x1400953b4
lea rcx, [rbp - 0x40]
mov qword [rax + 0x10], rcx
lea rax, [rbp - 0x40]
mov qword [0x1402b05d8], rax
mov rax, qword [0x1402b05b0]
inc rax
mov qword [0x1402b05b0], rax
cmp byte [0x1402b05c8], 0
jne 0x1400953d9
lea rcx, [rbp - 0x40]
call fcn.14007e640
mov ebx, eax
mov byte [rbp - 0x58], 0
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp ebx, 0x65
je 0x1400953fe
mov r8d, ebx
lea rdx, str.Begin
lea rcx, [rbp - 0x40]
call fcn.1400bc870
lea r9, str.WAITTING
mov r8d, 0xd9
lea rdx, str.ServiceNtfsMftScanner::flushFilesList
lea rcx, [rbp - 0x40]
call fcn.1400bc8e0
mov rax, qword [rbp - 0x28]
mov edx, 0xffffffff
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea r9, str.ENTERED
mov r8d, 0xd9
lea rdx, str.ServiceNtfsMftScanner::flushFilesList
lea rcx, [rbp - 0x40]
call fcn.1400bc8e0
mov rax, qword [0x1402b05c0]
inc rax
mov qword [0x1402b05c0], rax
nop dword [rax + rax]
mov eax, dword [r14]
test eax, eax
jne 0x14009550f
lea rcx, [rsi + 0x400]
call qword [sym.imp.KERNEL32.DLL_InterlockedPopEntrySList]
test rax, rax
je 0x14009550f
lock dec qword [rsi + 0x410]
mov rbx, qword [rax + 0x10]
mov rcx, rax
call fcn.1400e1604
test rbx, rbx
je 0x14009550f
mov r8b, 1
mov rdx, rbx
mov rcx, qword [rsi + 0x80]
call fcn.1400baae0
test eax, eax
je 0x1400954e0
mov rcx, qword [0x1402aa8a0]
cmp rcx, r13
je 0x1400954e0
test byte [rcx + 0x44], 4
je 0x1400954e0
cmp byte [rcx + 0x41], 3
jb 0x1400954e0
mov r9d, eax
mov edx, 0x13
lea r8, [0x140230e20]
mov rcx, qword [rcx + 0x38]
call fcn.140034f00
lea rcx, [rbx + 0x260]
call fcn.140086860
lea rcx, [rbx + 0x40]
call fcn.140038050
lea rcx, [rbx + 0x10]
call fcn.140038290
mov rcx, rbx
call fcn.1400e1604
add edi, 0xffffffff
jne 0x140095460
mov byte [rbp - 0x38], 1
mov ebx, 0x65
cmp byte [rbp - 0x20], 0
je 0x140095541
lea r9, str.COMMIT
mov r8d, dword [rbp - 0x10]
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x40]
call fcn.1400bc8e0
mov rcx, qword [rbp - 0x40]
call fcn.1400bc140
mov ebx, eax
mov qword [rbp - 0x50], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov byte [rbp - 0x48], 1
lea rcx, [rbp - 0x40]
call fcn.14007e640
mov edi, eax
mov byte [rbp - 0x48], 0
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp ebx, 0x65
je 0x140095582
mov r8d, ebx
lea rdx, str.Commit
lea rcx, [rbp - 0x40]
call fcn.1400bc870
cmp edi, 0x65
je 0x14009559b
mov r8d, edi
lea rdx, str.Begin
lea rcx, [rbp - 0x40]
call fcn.1400bc870
nop
cmp byte [rbp - 0x38], 0
jne 0x1400955ab
lea rcx, [rbp - 0x40]
call fcn.140096910
nop
cmp qword [rsi + 0x410], r15
lea rbx, str.ServiceNtfsMftScanner::flushFilesList
jg 0x140095284
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140140100
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret