Function at 0x1400c41e0
Capabilities:
Get thread local storage value
Set 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
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1402a7d08]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov r14, rcx
lea r15, [rcx + 0x28]
mov qword [rbp - 0x49], r15
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov byte [rbp - 0x41], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_63598ccc07ae38de7b3411494a28777d___void__unsigned_long_int____ptr64_.0
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x20]
mov qword [rbp - 0x51], rax
xor r12d, r12d
mov qword [rbp + 0xf], r12
lea rdx, [rbp - 0x29]
lea rcx, [rsp + 0x20]
mov rax, qword [0x1402345e8]
call qword [case.0x140047660.0]
mov qword [rbp + 0xf], rax
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400c42a4
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140047660.0]
mov qword [rbp - 0x51], r12
mov ecx, r12d
mov qword [rbp + 0x17], r12
test rcx, rcx
je 0x1400c42c9
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140047660.0]
mov qword [rbp - 0x51], r12
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]
test rax, rax
jne 0x1400c43fb
lea r13, [0x1402aa8a0]
mov rcx, qword [0x1402aa8a0]
cmp rcx, r13
je 0x1400c4326
test dword [rcx + 0x44], 0x10000
je 0x1400c4326
cmp byte [rcx + 0x41], 3
jb 0x1400c4326
lea edx, [rax + 0xf]
lea r8, [0x140234568]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
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]
test rax, rax
je 0x1400c4357
mov ebx, 0x1392
mov dword [rbp - 0x31], ebx
jmp 0x1400c4472
mov ecx, 8
call fcn.14013ffac
mov rsi, rax
test rax, rax
je 0x1400c4462
mov qword [rax], 0xffffffffffffffff
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateEventW]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
je 0x1400c439d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
test eax, eax
jne 0x1400c443d
mov rcx, qword [0x1402b0640]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x140047660.0]
mov ecx, eax
mov rdx, rsi
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
test eax, eax
je 0x1400c4435
mov dword [rbp - 0x31], r12d
mov rax, qword [rbp + 0x17]
lea rcx, [rbp - 0x31]
mov qword [rbp + 0x17], rcx
test rax, rax
je 0x1400c43fb
mov qword [rbp - 0x39], rax
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400c455c
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
mov rax, qword [rax + 0x10]
call qword [case.0x140047660.0]
nop
mov rax, qword [0x140249c18]
cmp rax, qword [rdi]
jne 0x1400c44ac
mov rax, qword [0x140249c20]
cmp rax, qword [rdi + 8]
jne 0x1400c44ac
mov eax, dword [rdi + 0x14]
test eax, eax
je 0x1400c44a7
dec eax
cmp eax, 1
seta al
mov byte [r14 + 0x50], al
jmp 0x1400c44ac
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
je 0x1400c4453
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rsi], 0xffffffffffffffff
mov edx, 8
mov rcx, rsi
call fcn.14013ff64
jmp 0x1400c4467
mov ebx, 0xe
mov dword [rbp - 0x31], ebx
test ebx, ebx
je 0x1400c43c7
mov rcx, qword [0x1402aa8a0]
cmp rcx, r13
je 0x1400c44d5
test dword [rcx + 0x44], 0x10000
je 0x1400c44d5
cmp byte [rcx + 0x41], 2
jb 0x1400c44d5
mov edx, 0x10
mov r9d, ebx
lea r8, [0x140234568]
mov rcx, qword [rcx + 0x38]
call fcn.140026630
jmp 0x1400c44d5
mov byte [r14 + 0x50], 1
mov rax, qword [0x14024a638]
cmp rax, qword [rdi]
jne 0x1400c44cc
mov rax, qword [0x14024a640]
cmp rax, qword [rdi + 8]
jne 0x1400c44cc
mov eax, dword [rdi + 0x14]
mov byte [r14 + 0x52], al
mov rcx, r14
call fcn.1400c3d70
nop
mov rax, qword [rbp + 0x17]
test rax, rax
je 0x1400c44fc
mov qword [rbp - 0x39], rax
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400c4556
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
mov rax, qword [rax + 0x10]
call qword [case.0x140047660.0]
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400c4520
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140047660.0]
mov qword [rbp + 0xf], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140140100
lea r11, [rsp + 0xe0]
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
call fcn.140141ff0
nop
call fcn.140141ff0
int3