Function at 0x140337a90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140535ab8]
xor rax, rsp
mov qword [rbp + 0x2e8], rax
mov rbx, r8
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rcx + 0x48], r9d
mov esi, dword [rdx]
cmp r9d, 1
je 0x140337c1e
add rcx, 0x10
mov rdx, rbx
call fcn.140343f10
test esi, esi
jne 0x140337af3
test rbx, rbx
jne 0x140337af3
lea rbx, [rdi + 0x30]
jmp 0x140337b12
lea rbx, [rdi + 0x30]
mov rax, qword [rdi + 0x28]
cmp qword [rbx], rax
jae 0x140337b12
mov r8d, 0x10000
test esi, esi
cmovne r8, r15
je 0x140337c19
mov rbx, qword [rbx]
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rdi + 0x68]
lea rcx, [rsp + 0x58]
call fcn.14032a060
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rbx
mov r14, qword [rdi + 0x50]
lea rsi, [rdi + 0x58]
mov rbx, qword [rsi]
mov ecx, dword [0x140542770]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
test rax, rax
je 0x140337b62
cmp qword [rax], rbx
je 0x140337b83
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140337b54
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x50]
cmp byte [rdi + 0x400], 0
jne 0x140337b9e
mov byte [rdi + 0x400], 1
jmp 0x140337bab
cmp qword [rax + 8], 0
je 0x140337b62
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140319690
nop
nop
jmp 0x140337c0a
mov ecx, 0xc0
call fcn.14038a538
mov rdi, rax
mov qword [rdi + 0x20], r15
lea rax, [0x140347670]
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.14032b6b0
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]
call fcn.140331d10
jmp 0x140337d24
mov rcx, rdi
jmp 0x140337c2a
mov r8d, 0x10000
test esi, esi
cmovne r8, r15
mov eax, reloc.WS2_32.dll_recv
mov rbx, qword [rdi + 8]
add rcx, rax
lea rdx, [rbp + 0x1d0]
call fcn.14036ceb0
lea rdx, [rbx + 0xa8]
lea rcx, [rbx + 8]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rdx
lea rcx, [rbp - 0x20]
mov r8d, 2
nop
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub r8, 1
jne 0x140337c60
mov rax, qword [rax]
mov qword [rcx], rax
mov qword [rbp + 0xe8], r15
mov dword [rbp + 0xf0], r15d
lea rbx, [0x1405203c8]
mov qword [rbp + 0xf8], rbx
mov qword [rbp + 0x100], r15
mov rdx, rdi
lea rcx, [rbp + 0x108]
call fcn.14032d200
nop
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x28], rbx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.140334ee0
nop
lea rcx, [rbp + 0x108]
call fcn.140332020
mov rcx, qword [rbp + 0x2e8]
xor rcx, rsp
call fcn.14038a8e0
mov rbx, qword [rsp + 0x438]
add rsp, 0x3f0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret