Function at 0x140030310
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x140091240]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r8, rdx
mov rbx, rcx
cmp qword [rcx + 0x20], 0
je 0x14003052b
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140030390
lea rcx, [0x140030730]
mov qword [rbp - 0x69], rcx
mov qword [rbp - 0x61], rdx
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x69]
mov rcx, rbx
call rax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140036b80
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret
mov rdi, qword [rcx + 0x10]
mov rax, qword [rdx + 8]
mov qword [rbp - 0x51], rax
mov rdx, qword [rdx + 0x20]
xor esi, esi
mov qword [r8 + 0x20], rsi
mov rcx, qword [r8 + 0x18]
mov qword [r8 + 0x18], rsi
mov rax, qword [r8 + 0x10]
mov qword [r8 + 0x10], rsi
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rcx
mov qword [rbp - 0x39], rdx
mov rax, qword [r8 + 0x28]
mov qword [rbp - 0x31], rax
mov rax, qword [r8 + 0x30]
mov qword [rbp - 0x29], rax
mov rax, qword [r8 + 0x38]
mov qword [rbp - 0x21], rax
mov rax, qword [r8 + 0x40]
mov qword [rbp - 0x19], rax
mov eax, dword [r8 + 0x48]
mov dword [rbp - 0x11], eax
mov rax, qword [r8 + 0x50]
mov qword [rbp - 9], rax
mov rax, qword [r8 + 0x58]
mov qword [rbp - 1], rax
mov rax, qword [r8 + 0x60]
mov qword [rbp + 7], rax
mov qword [r8 + 0x58], rsi
mov qword [r8 + 0x60], rsi
movups xmm0, xmmword [r8 + 0x68]
movups xmmword [rbp + 0xf], xmm0
mov rax, qword [r8 + 0x78]
mov qword [rbp + 0x1f], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x79]
mov qword [rbp + 0x27], rax
mov ecx, dword [0x140095af8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140030441
mov rdx, qword [rax + 8]
jmp 0x140030444
mov rdx, rsi
mov r8d, 0x90
call fcn.1400261b0
mov r9, rax
mov qword [rbp + 0x37], rsi
mov rcx, qword [rbp - 0x51]
mov qword [rax + 0x10], rcx
mov r8, qword [rbp - 0x39]
mov qword [rbp - 0x39], rsi
mov rdx, qword [rbp - 0x41]
mov qword [rbp - 0x41], rsi
mov rcx, qword [rbp - 0x49]
mov qword [rbp - 0x49], rsi
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], r8
mov rax, qword [rbp - 0x31]
mov qword [r9 + 0x30], rax
mov rax, qword [rbp - 0x29]
mov qword [r9 + 0x38], rax
mov rax, qword [rbp - 0x21]
mov qword [r9 + 0x40], rax
mov rax, qword [rbp - 0x19]
mov qword [r9 + 0x48], rax
mov eax, dword [rbp - 0x11]
mov dword [r9 + 0x50], eax
mov rax, qword [rbp - 9]
mov qword [r9 + 0x58], rax
mov qword [r9 + 0x60], rsi
mov qword [r9 + 0x68], rsi
mov rax, qword [rbp - 1]
mov qword [r9 + 0x60], rax
mov rax, qword [rbp + 7]
mov qword [r9 + 0x68], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [r9 + 0x70], xmm0
mov rax, qword [rbp + 0x1f]
mov qword [r9 + 0x80], rax
lea rax, [0x140030950]
mov qword [r9], rax
mov qword [rbp - 0x71], r9
mov qword [rbp + 0x2f], rsi
lea rcx, [rbp + 0x27]
call fcn.140030680
nop
lea rcx, [rbp - 0x59]
call fcn.14002ed70
nop
lea rdx, [rbp - 0x71]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x140030526
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x140030371
lea rcx, [rbp + 0x27]
call fcn.1400297c0
nop
lea rcx, [rbp + 0x27]
call fcn.140029830
int3