Function at 0x1400ac9a0
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 [0x1402adcf8]
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.1400ac150
mov qword [rbp + 0x27], 0
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400aca5c
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 [0x1402b4bc8]
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 0x1400acb31
lea r14, [0x1402aebf0]
mov rcx, qword [0x1402aebf0]
cmp rcx, r14
je 0x1400acab2
test dword [rcx + 0x44], 0x10000
je 0x1400acab2
cmp byte [rcx + 0x41], 3
jb 0x1400acab2
lea edx, [rax + 0xf]
lea r8, [0x140228a68]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
call fcn.14007fe70
mov dword [rbp - 0x21], eax
test eax, eax
je 0x1400acb02
mov rcx, qword [0x1402aebf0]
cmp rcx, r14
je 0x1400acb8a
test dword [rcx + 0x44], 0x10000
je 0x1400acb8a
cmp byte [rcx + 0x41], 2
jb 0x1400acb8a
mov edx, 0x10
mov r9d, eax
lea r8, [0x140228a68]
mov rcx, qword [rcx + 0x38]
call fcn.14001ef30
jmp 0x1400acb8a
mov rax, qword [rbp + 0x27]
lea rcx, [rbp - 0x21]
mov qword [rbp + 0x27], rcx
test rax, rax
je 0x1400acb31
mov qword [rbp - 0x29], rax
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
jne 0x1400acb26
call fcn.1401851b0
int3
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
call qword [rax + 0x10]
nop
mov rax, qword [0x140241458]
cmp rax, qword [rbx]
jne 0x1400acb62
mov rax, qword [0x140241460]
cmp rax, qword [rbx + 8]
jne 0x1400acb62
mov eax, dword [rbx + 0x14]
test eax, eax
je 0x1400acb5e
dec eax
cmp eax, 1
seta al
mov byte [rdi + 0x50], al
jmp 0x1400acb62
mov byte [rdi + 0x50], 1
mov rax, qword [0x140241da8]
cmp rax, qword [rbx]
jne 0x1400acb81
mov rax, qword [0x140241db0]
cmp rax, qword [rbx + 8]
jne 0x1400acb81
mov eax, dword [rbx + 0x14]
mov byte [rdi + 0x52], al
mov rcx, rdi
call fcn.1400ac660
nop
mov rax, qword [rbp + 0x27]
test rax, rax
je 0x1400acbb0
mov qword [rbp - 0x29], rax
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
jne 0x1400acba6
call fcn.1401851b0
int3
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1400acbd1
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.1401a8cb0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret