Function at 0x1400c7590
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 [0x1402d7d18]
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 [0x140265530]
call qword [case.0x140047d56.0]
mov qword [rbp + 0xf], rax
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400c7654
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140047d56.0]
mov ecx, r12d
mov qword [rbp - 0x51], rcx
mov qword [rbp + 0x17], r12
test rcx, rcx
je 0x1400c7679
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140047d56.0]
mov qword [rbp - 0x51], r12
mov rcx, qword [0x1402e0770]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x140047d56.0]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x1400c77d8
lea r13, [0x1402daa50]
mov rcx, qword [0x1402daa50]
cmp rcx, r13
je 0x1400c76d6
test dword [rcx + 0x44], 0x10000
je 0x1400c76d6
cmp byte [rcx + 0x41], 3
jb 0x1400c76d6
lea edx, [rax + 0xf]
lea r8, [0x1402654b0]
mov rcx, qword [rcx + 0x38]
call fcn.140024250
mov rcx, qword [0x1402e0770]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x140047d56.0]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c7704
mov ebx, 0x1392
jmp 0x1400c780e
mov ecx, 8
call fcn.14015450c
mov rsi, rax
test rax, rax
je 0x1400c7809
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 0x1400c7746
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x1400c777a
mov rcx, qword [0x1402e0770]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x140047d56.0]
mov ecx, eax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400c7772
mov dword [rbp - 0x31], r12d
jmp 0x1400c77a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
je 0x1400c7790
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], 0xffffffffffffffff
mov edx, 8
mov rcx, rsi
call fcn.1401544c8
mov dword [rbp - 0x31], ebx
test ebx, ebx
jne 0x1400c7811
mov rax, qword [rbp + 0x17]
lea rcx, [rbp - 0x31]
mov qword [rbp + 0x17], rcx
test rax, rax
je 0x1400c77d8
mov qword [rbp - 0x39], rax
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400c78fb
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
mov rax, qword [rax + 0x10]
call qword [case.0x140047d56.0]
nop
mov rax, qword [0x140279818]
cmp rax, qword [rdi]
jne 0x1400c784b
mov rax, qword [0x140279820]
cmp rax, qword [rdi + 8]
jne 0x1400c784b
mov ecx, dword [rdi + 0x14]
test ecx, ecx
je 0x1400c7846
sub ecx, 1
je 0x1400c7802
cmp ecx, 1
jne 0x1400c7846
mov byte [r14 + 0x50], 0
jmp 0x1400c784b
mov ebx, 0xe
mov dword [rbp - 0x31], ebx
mov rcx, qword [0x1402daa50]
cmp rcx, r13
je 0x1400c7874
test dword [rcx + 0x44], 0x10000
je 0x1400c7874
cmp byte [rcx + 0x41], 2
jb 0x1400c7874
mov edx, 0x10
mov r9d, ebx
lea r8, [0x1402654b0]
mov rcx, qword [rcx + 0x38]
call fcn.140026620
jmp 0x1400c7874
mov byte [r14 + 0x50], 1
mov rax, qword [0x140279848]
cmp rax, qword [rdi]
jne 0x1400c786b
mov rax, qword [0x140279850]
cmp rax, qword [rdi + 8]
jne 0x1400c786b
mov eax, dword [rdi + 0x14]
mov byte [r14 + 0x52], al
mov rcx, r14
call fcn.1400c7120
nop
mov rax, qword [rbp + 0x17]
test rax, rax
je 0x1400c789b
mov qword [rbp - 0x39], rax
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400c78f5
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
mov rax, qword [rax + 0x10]
call qword [case.0x140047d56.0]
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400c78bf
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140047d56.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.140154660
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.1401565c0
nop
call fcn.1401565c0
int3