Function at 0x140050390
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rsi, r9
mov rbp, r8
mov r14, rdx
mov rbx, rcx
call fcn.14004fbf0
mov rdi, rax
test rax, rax
je 0x1400504b9
cmp byte [rsp + 0xa0], 0
je 0x1400503e5
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400503e5
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1400503e5
call qword [rax]
test rbp, rbp
jne 0x1400504a9
test rsi, rsi
jne 0x1400504a9
mov ecx, dword [0x1400a7108]
cmp ecx, 0xffffffff
je 0x140050410
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x14005042d
call fcn.14004fc80
mov ecx, dword [0x1400a7108]
cmp ecx, 0xffffffff
jne 0x140050424
xor edi, edi
jmp 0x14005042d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov r9, qword [rdi + 0x28]
mov rcx, qword [r9 + 8]
mov rax, rcx
mov r8, r9
cmp byte [rcx + 0x19], 0
jne 0x14005046a
mov rdx, qword [rax + 0x20]
cmp rdx, rbx
jae 0x140050450
mov rax, qword [rax + 0x10]
jmp 0x140050464
cmp byte [r8 + 0x19], 0
je 0x14005045e
cmp rbx, rdx
cmovb r8, rax
mov r9, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140050441
cmp byte [r8 + 0x19], 0
jne 0x140050474
mov rcx, qword [r8]
cmp byte [rcx + 0x19], 0
jne 0x140050498
nop word [rax + rax]
cmp rbx, qword [rcx + 0x20]
jae 0x14005048e
mov r8, rcx
mov rcx, qword [rcx]
jmp 0x140050492
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x140050480
mov rdx, r9
lea rcx, [rdi + 0x28]
call fcn.14004f0f0
jmp 0x1400505cd
mov qword [rdi], r14
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rsi
jmp 0x1400505cd
test rbp, rbp
jne 0x1400504c7
test rsi, rsi
je 0x1400505cd
xor edi, edi
mov ecx, dword [0x1400a7108]
cmp ecx, 0xffffffff
je 0x1400504df
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x1400504fa
call fcn.14004fc80
mov ecx, dword [0x1400a7108]
cmp ecx, 0xffffffff
jne 0x1400504f4
mov rax, rdi
jmp 0x1400504fa
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
lea rsi, [rax + 0x28]
mov rbp, qword [rsi]
mov rax, qword [rbp + 8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edi
mov rcx, rbp
cmp byte [rax + 0x19], dil
jne 0x140050559
nop word [rax + rax]
mov qword [rsp + 0x30], rax
cmp qword [rax + 0x20], rbx
jae 0x140050545
mov dword [rsp + 0x38], edi
mov rax, qword [rax + 0x10]
jmp 0x140050553
mov dword [rsp + 0x38], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], dil
je 0x140050530
cmp byte [rcx + 0x19], dil
jne 0x140050565
cmp rbx, qword [rcx + 0x20]
jae 0x1400505cd
movabs rax, 0x3ffffffffffffff
cmp qword [rsi + 8], rax
je 0x1400505e8
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rdi
mov ecx, 0x40
call fcn.14003d0d0
nop
mov qword [rax + 0x20], rbx
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x28], xmm0
movsd xmm1, qword [rsp + 0x60]
movsd qword [rax + 0x38], xmm1
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x20], xmm0
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400410f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.140041350
int3