Function at 0x14003def0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov rsi, r8
mov r15, rdx
mov r14, rcx
mov rax, qword [0x140131038]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x70], r8
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], r12
movaps xmm6, xmmword [0x1401146a0]
movaps xmmword [rsp + 0x50], xmm6
call fcn.14003e3b0
mov rdi, rax
movsxd rax, dword [rsi + 0x68]
mov qword [rsp + 0xa8], rax
mov rsi, qword [rsi + 0x20]
mov rcx, qword [0x140138090]
test rcx, rcx
jne 0x14003e206
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
test byte [0x1401340e0], 0x19
jne 0x14003e240
mov bl, byte [0x140133bb0]
test bl, 0x19
jne 0x14003e25a
xor r14d, r14d
mov r13, r12
movups xmmword [rsp + 0xd0], xmm6
movups xmmword [rsp + 0xc0], xmm6
movups xmmword [rsp + 0xb0], xmm6
movabs rax, 0xc001c0ded017d00d
mov qword [rsp + 0xa8], rax
movabs rax, 0xd00d1d1d178119
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0xb0], rcx
movups xmm0, xmmword [rax + 0x38]
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rsp + 0xc8], xmm1
movups xmmword [rsp + 0xb8], xmm0
mov eax, dword [rax + 0x58]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xa8]
call fcn.14003e3a0
mov eax, dword [0x14013d8a8]
mov ecx, dword [0x140134a78]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003e196
mov ecx, dword [0x140134758]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003e1ff
movsxd rcx, dword [0x14013d8a0]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14013d8a4]
jne 0x14003e1ff
mov rdi, qword [rax + rcx]
mov rsi, qword [rsp + 0x70]
mov ecx, dword [0x140134758]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003e1d9
movsxd rcx, dword [0x14013d8a0]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x14013d8a4]
movsxd rdx, dword [0x14013d8a0]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, qword [rsp + 0x70]
mov rsi, qword [rax]
mov qword [rax], 0
mov rcx, rsi
call qword [rsi + 8]
test rsi, rsi
jne 0x14003e181
mov ecx, dword [0x140134758]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003e1ec
movsxd rcx, dword [0x14013d8a0]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [0x14013d8a4]
movsxd rdx, dword [0x14013d8a0]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xe0], 0
lea rcx, [rsp + 0xa8]
call fcn.14003e3a0
test bl, 0x19
jne 0x14003e2ca
test byte [0x1401340e0], 0x19
jne 0x14003e2e7
lea rcx, [rsp + 0x50]
call fcn.14003e3c0
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140079ea0
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lock sub dword [rsi], 1
jne 0x14003e0d6
mov rcx, rsi
call qword [rsi + 0x10]
jmp 0x14003e0d6
lea rcx, [0x14013d8a8]
call fcn.140076f64
cmp dword [0x14013d8a8], 0xffffffff
jne 0x14003e044
mov qword [0x14013d8a0], 0
lea rcx, [0x14013d8a0]
xor edx, edx
call fcn.14003f000
lea rcx, [0x14013d8a8]
call fcn.140076f04
jmp 0x14003e044
test rsi, rsi
je 0x14003e0b8
call fcn.140006d10
jmp 0x14003e094
test rdi, rdi
je 0x14003e110
call fcn.140006d10
jmp 0x14003e0ec
xor edi, edi
jmp 0x14003e079
call fcn.1400e4ea0
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14003df77
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9b, 0x10
call fcn.1400e4ee0
mov dword [rsp + 0x58], eax
jmp 0x14003df77
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0xa8]
mov qword [rcx], rax
call fcn.140100a40
jmp 0x14003df8d
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x68]
shl rax, 0x20
mov esi, r14d
or rsi, rax
call sub.KERNEL32.dll_GetCurrentThreadId
mov ebp, eax
lea rdi, [rsp + 0xa8]
mov qword [rdi], r12
mov rcx, rdi
call fcn.140049dd0
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 0x880
lea r14, [0x140133bb0]
mov cl, 0x58
mov rdx, r14
mov r8, r15
xor r9d, r9d
call fcn.140037330
mov r13, rax
mov r12, r15
jmp 0x14003dfa2
cmp byte [r14], 0
je 0x14003e13e
mov rcx, r14
mov rdx, r12
mov r8, r13
call fcn.140073060
jmp 0x14003e13e
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x90]
mov qword [rsi + 0x10], rax
movaps xmmword [rsi], xmm6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x1401340e0]
lea r9, [0x14011498e]
mov rcx, rsi
mov dl, 0x45
call fcn.1400371b0
mov rbx, qword [rsi]
test rbx, rbx
je 0x14003e388
lea rsi, [rsp + 0x90]
mov rbp, qword [rsi + 8]
lea rdi, [rsp + 0x78]
mov rcx, rdi
xor edx, edx
call fcn.140065c6a
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbp
lea rbx, [rsp + 0xa8]
mov rcx, rbx
mov rdx, rdi
call fcn.1400326e0
movups xmm0, xmmword [rdi + 8]
movups xmmword [rbx + 8], xmm0
mov rcx, rbx
call fcn.140065c92
mov rcx, rdi
call fcn.140065c92
mov rcx, rsi
call fcn.140065c80
jmp 0x14003e14b
lea rcx, [rsp + 0x90]
jmp 0x14003e37e