Function at 0x1400b4710
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 [0x14029fbf8]
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.1400b3ec0
mov qword [rbp + 0x27], 0
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400b47cc
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 [0x1402a6770]
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 0x1400b48a1
lea r14, str.P_a_
mov rcx, qword [str.P_a_]
cmp rcx, r14
je 0x1400b4822
test dword [rcx + 0x44], 0x10000
je 0x1400b4822
cmp byte [rcx + 0x41], 3
jb 0x1400b4822
lea edx, [rax + 0xf]
lea r8, [0x140219c10]
mov rcx, qword [rcx + 0x38]
call fcn.140022ad0
call fcn.140086eb0
mov dword [rbp - 0x21], eax
test eax, eax
je 0x1400b4872
mov rcx, qword [str.P_a_]
cmp rcx, r14
je 0x1400b48fa
test dword [rcx + 0x44], 0x10000
je 0x1400b48fa
cmp byte [rcx + 0x41], 2
jb 0x1400b48fa
mov edx, 0x10
mov r9d, eax
lea r8, [0x140219c10]
mov rcx, qword [rcx + 0x38]
call fcn.140024fa0
jmp 0x1400b48fa
mov rax, qword [rbp + 0x27]
lea rcx, [rbp - 0x21]
mov qword [rbp + 0x27], rcx
test rax, rax
je 0x1400b48a1
mov qword [rbp - 0x29], rax
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
jne 0x1400b4896
call fcn.140175f14
int3
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
call qword [rax + 0x10]
nop
mov rax, qword [0x1402320e8]
cmp rax, qword [rbx]
jne 0x1400b48d2
mov rax, qword [0x1402320f0]
cmp rax, qword [rbx + 8]
jne 0x1400b48d2
mov eax, dword [rbx + 0x14]
test eax, eax
je 0x1400b48ce
dec eax
cmp eax, 1
seta al
mov byte [rdi + 0x50], al
jmp 0x1400b48d2
mov byte [rdi + 0x50], 1
mov rax, qword [0x140232a38]
cmp rax, qword [rbx]
jne 0x1400b48f1
mov rax, qword [0x140232a40]
cmp rax, qword [rbx + 8]
jne 0x1400b48f1
mov eax, dword [rbx + 0x14]
mov byte [rdi + 0x52], al
mov rcx, rdi
call fcn.1400b43d0
nop
mov rax, qword [rbp + 0x27]
test rax, rax
je 0x1400b4920
mov qword [rbp - 0x29], rax
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
jne 0x1400b4916
call fcn.140175f14
int3
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1400b4941
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.140199a10
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret