Function at 0x1400b4700
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 [0x1402b8d08]
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.1400b3eb0
mov qword [rbp + 0x27], 0
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400b47bc
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 [0x1402bf880]
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 0x1400b4891
lea r14, [0x1402b9860]
mov rcx, qword [0x1402b9860]
cmp rcx, r14
je 0x1400b4812
test dword [rcx + 0x44], 0x10000
je 0x1400b4812
cmp byte [rcx + 0x41], 3
jb 0x1400b4812
lea edx, [rax + 0xf]
lea r8, [0x140231c10]
mov rcx, qword [rcx + 0x38]
call fcn.140022ad0
call fcn.140086ea0
mov dword [rbp - 0x21], eax
test eax, eax
je 0x1400b4862
mov rcx, qword [0x1402b9860]
cmp rcx, r14
je 0x1400b48ea
test dword [rcx + 0x44], 0x10000
je 0x1400b48ea
cmp byte [rcx + 0x41], 2
jb 0x1400b48ea
mov edx, 0x10
mov r9d, eax
lea r8, [0x140231c10]
mov rcx, qword [rcx + 0x38]
call fcn.140024fa0
jmp 0x1400b48ea
mov rax, qword [rbp + 0x27]
lea rcx, [rbp - 0x21]
mov qword [rbp + 0x27], rcx
test rax, rax
je 0x1400b4891
mov qword [rbp - 0x29], rax
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
jne 0x1400b4886
call fcn.14018de24
int3
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
call qword [rax + 0x10]
nop
mov rax, qword [0x14024a6a8]
cmp rax, qword [rbx]
jne 0x1400b48c2
mov rax, qword [0x14024a6b0]
cmp rax, qword [rbx + 8]
jne 0x1400b48c2
mov eax, dword [rbx + 0x14]
test eax, eax
je 0x1400b48be
dec eax
cmp eax, 1
seta al
mov byte [rdi + 0x50], al
jmp 0x1400b48c2
mov byte [rdi + 0x50], 1
mov rax, qword [0x14024aff8]
cmp rax, qword [rbx]
jne 0x1400b48e1
mov rax, qword [0x14024b000]
cmp rax, qword [rbx + 8]
jne 0x1400b48e1
mov eax, dword [rbx + 0x14]
mov byte [rdi + 0x52], al
mov rcx, rdi
call fcn.1400b43c0
nop
mov rax, qword [rbp + 0x27]
test rax, rax
je 0x1400b4910
mov qword [rbp - 0x29], rax
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
jne 0x1400b4906
call fcn.14018de24
int3
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1400b4931
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.1401b1920
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret