Function at 0x1400ac9d0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14027ef78]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rdx
mov rdi, rcx
lea rsi, [rcx + 0x28]
mov qword [rsp + 0x28], rsi
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov byte [rbp - 0x79], 1
xor eax, eax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
lea rax, vtable.std::_Func_impl_class__lambda_d3a0a57ccea6807d4415d7ffabd75713___class_std::allocator_int___void__unsigned_long_int____ptr64_.0
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x69]
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x19]
call fcn.1400ac180
mov qword [rbp + 0x27], 0
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400aca8c
mov rax, qword [rcx]
lea rdx, [rbp - 0x69]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x31], 0
mov rcx, qword [0x140285e30]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov ecx, eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
jne 0x1400acb61
lea r14, [0x14027fe70]
mov rcx, qword [0x14027fe70]
cmp rcx, r14
je 0x1400acae2
test dword [rcx + 0x44], 0x10000
je 0x1400acae2
cmp byte [rcx + 0x41], 3
jb 0x1400acae2
lea edx, [rax + 0xf]
lea r8, [0x1401fda68]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
call fcn.14007fe60
mov dword [rbp - 0x21], eax
test eax, eax
je 0x1400acb32
mov rcx, qword [0x14027fe70]
cmp rcx, r14
je 0x1400acbba
test dword [rcx + 0x44], 0x10000
je 0x1400acbba
cmp byte [rcx + 0x41], 2
jb 0x1400acbba
mov edx, 0x10
mov r9d, eax
lea r8, [0x1401fda68]
mov rcx, qword [rcx + 0x38]
call fcn.14001ef30
jmp 0x1400acbba
mov rax, qword [rbp + 0x27]
lea rcx, [rbp - 0x21]
mov qword [rbp + 0x27], rcx
test rax, rax
je 0x1400acb61
mov qword [rbp - 0x29], rax
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
jne 0x1400acb56
call fcn.14015a504
int3
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
call qword [rax + 0x10]
nop
mov rax, qword [0x1402135b8]
cmp rax, qword [rbx]
jne 0x1400acb92
mov rax, qword [0x1402135c0]
cmp rax, qword [rbx + 8]
jne 0x1400acb92
mov eax, dword [rbx + 0x14]
test eax, eax
je 0x1400acb8e
dec eax
cmp eax, 1
seta al
mov byte [rdi + 0x50], al
jmp 0x1400acb92
mov byte [rdi + 0x50], 1
mov rax, qword [0x140213f08]
cmp rax, qword [rbx]
jne 0x1400acbb1
mov rax, qword [0x140213f10]
cmp rax, qword [rbx + 8]
jne 0x1400acbb1
mov eax, dword [rbx + 0x14]
mov byte [rdi + 0x52], al
mov rcx, rdi
call fcn.1400ac690
nop
mov rax, qword [rbp + 0x27]
test rax, rax
je 0x1400acbe0
mov qword [rbp - 0x29], rax
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
jne 0x1400acbd6
call fcn.14015a504
int3
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1400acc01
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x1f], 0
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14017e000
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret