Function at 0x140336c90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140535ab8]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov r10d, r9d
mov r9, r8
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rcx + 0x28], r10d
mov r8d, dword [rdx]
mov rdx, qword [rcx + 0x20]
cmp r10d, 1
je 0x140336e05
lea rdi, [rdx + r9]
mov qword [rcx + 0x20], rdi
test r8d, r8d
jne 0x140336cec
test r9, r9
je 0x140336d07
cmp rdi, qword [rcx + 0x18]
jae 0x140336d07
test r8d, r8d
jne 0x140336d07
cmp rdi, qword [rcx]
jae 0x140336d07
mov r9d, 0x10000
jmp 0x140336e18
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x50], rax
lea rdx, [rcx + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14032a060
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov r14, qword [rbx + 0x30]
lea rsi, [rbx + 0x38]
mov rbx, qword [rsi]
mov ecx, dword [0x140542770]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
test rax, rax
je 0x140336d53
cmp qword [rax], rbx
je 0x140336d74
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140336d45
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x50]
cmp byte [rdi + 0x400], 0
jne 0x140336d8f
mov byte [rdi + 0x400], 1
jmp 0x140336d9c
cmp qword [rax + 8], 0
je 0x140336d53
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140319690
nop
nop
jmp 0x140336dfb
mov ecx, 0xc0
call fcn.14038a538
mov rdi, rax
mov qword [rdi + 0x20], r15
lea rax, [0x1403477a0]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rdx, [rsp + 0x50]
lea rcx, [rdi + 0x38]
call fcn.14032b720
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rdi + 0xa0], xmm0
mov rax, qword [rbp - 0x38]
mov qword [rdi + 0xb0], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.14034e960
nop
lea rcx, [rsp + 0x60]
jmp 0x140336ee4
test r8d, r8d
jne 0x140336e15
cmp rdx, qword [rcx]
mov r9d, 0x10000
jb 0x140336e18
mov r9, r15
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x20]
mov r8, qword [rcx + 0x18]
cmp rdx, r8
cmovae rdx, r8
sub r8, rdx
add rdx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rdx
cmp r8, r9
cmovae r8, r9
mov qword [rsp + 0x28], r8
lea rdx, [rax + 0xa8]
lea rcx, [rax + 8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], r15d
lea rdi, [0x1405203c8]
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], r15
mov rcx, qword [rbx]
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rax
movups xmm0, xmmword [rbx + 0x10]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rbx + 0x20]
movsd qword [rbp - 0x50], xmm1
mov dword [rbp - 0x48], r10d
movups xmm0, xmmword [rbx + 0x30]
movaps xmmword [rbp - 0x40], xmm0
lea rdx, [rbx + 0x40]
lea rcx, [rbp - 0x30]
call fcn.14032b720
nop
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x28], rdi
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1403349b0
nop
lea rcx, [rbp - 0x20]
call fcn.140331d10
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.14038a8e0
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret