Function at 0x1400c7600
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r15, r8
mov r11, rdx
mov rdi, rcx
mov dword [rcx + 0x10], r9d
cmp r9d, 1
je 0x1400c77b5
add qword [rcx + 0x18], r8
mov r10, qword [rcx + 8]
mov r8, qword [r10 + 0x58]
movsxd rdx, dword [r8]
mov r9, r15
cmp rdx, r15
cmovb r9, rdx
sub edx, r9d
mov dword [r8], edx
mov rcx, qword [r10 + 0x40]
movsxd rax, r9d
add qword [rcx], rax
mov rax, qword [r10 + 0x40]
mov rcx, qword [rax]
mov rax, qword [r10 + 0x38]
sub ecx, dword [rax]
mov rax, qword [r10 + 0x50]
mov dword [rax], ecx
movzx r9d, byte [r11 + 4]
xor ebx, ebx
mov r10d, 0x10000
test r9b, r9b
cmovne r10d, ebx
mov qword [rbp + 0x20], r10
mov rsi, qword [rdi + 8]
mov r8, qword [rsi + 0x68]
mov rax, qword [rsi + 0x40]
mov rdx, qword [rax]
mov rax, qword [rsi + 0x38]
sub rdx, qword [rax]
sub r8, rdx
mov qword [rbp - 0x50], r8
mov rcx, qword [rsi + 0x80]
sub rcx, qword [rsi + 0x70]
sub rcx, rdx
lea rax, [rbp + 0x20]
lea rdx, [rbp - 0x50]
cmp r8, r10
cmovb rax, rdx
mov edx, 0x200
cmp rcx, rdx
cmova rdx, rcx
mov r14, qword [rax]
cmp r14, rdx
cmovae r14, rdx
test r9b, r9b
jne 0x1400c76e3
test r15, r15
je 0x1400c76ec
test r14, r14
jne 0x1400c7818
movups xmm0, xmmword [rdi + 0x30]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [r11]
movups xmmword [rbp - 0x28], xmm1
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x18], rax
lea rsi, [rdi + 0x28]
mov r14, qword [rdi + 0x20]
mov rdi, qword [rsi]
mov ecx, dword [0x1403caaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c772e
cmp qword [rax], rdi
je 0x1400c779c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c7720
lea rax, [rbp - 0x38]
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x38]
mov ecx, 0x68
call fcn.140034dd0
mov r8, rax
mov qword [rax + 0x20], rbx
lea rax, [0x1400b9b30]
mov qword [r8 + 0x28], rax
mov qword [r8], rbx
mov qword [r8 + 8], rbx
mov qword [r8 + 0x10], rbx
mov qword [r8 + 0x18], rbx
mov dword [r8 + 0x30], ebx
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [r8 + 0x38], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [r8 + 0x48], xmm1
mov rax, qword [rbp - 0x18]
mov qword [r8 + 0x58], rax
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x48], rbx
mov rdx, rsi
mov rcx, r14
call fcn.140037050
nop
jmp 0x1400c785a
cmp qword [rax + 8], rbx
je 0x1400c772e
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.1400bc410
nop
jmp 0x1400c785a
xor ebx, ebx
mov r10d, 0x10000
cmp byte [rdx + 4], bl
cmovne r10d, ebx
mov qword [rbp + 0x20], r10
mov rsi, qword [rcx + 8]
mov rax, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x38]
mov rdx, qword [rcx]
sub rdx, qword [rax]
mov rcx, qword [rsi + 0x68]
add rcx, rdx
mov qword [rbp - 0x50], rcx
mov r8, qword [rsi + 0x80]
sub r8, qword [rsi + 0x70]
add r8, rdx
lea rax, [rbp + 0x20]
lea rdx, [rbp - 0x50]
cmp rcx, r10
cmovb rax, rdx
mov edx, 0x200
cmp r8, rdx
cmova rdx, r8
mov r14, qword [rax]
cmp r14, rdx
cmovae r14, rdx
mov rdx, r14
mov rcx, rsi
call fcn.1400b2dd0
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax]
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], r14
mov rax, qword [rdi]
lea r8, [rax + 0x68]
lea rdx, [rax + 8]
mov rcx, qword [rax]
add rcx, 0x28
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp - 0x50]
call fcn.1400c7ee0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov r8, qword [rcx + 0x60]
add rcx, 0x10
xor r9d, r9d
lea rdx, [rcx + 0x40]
add rsp, 0x28
jmp 0x1400c7600