Function at 0x14006f7d4
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov rsi, r9
mov ecx, dword [0x1400d7078]
mov rbp, r8
mov r14, rdx
call sub.KERNEL32.dll_TlsGetValue
mov rbx, rax
test rax, rax
je 0x1400639db
mov rcx, rax
call fcn.140065264
cmp rax, rdi
jne 0x1400639db
mov rcx, rbx
call fcn.140065224
jmp 0x1400639e2
mov rax, qword [rdi + 0x130]
mov r9, rsi
mov r8, rbp
mov rdx, r14
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp 0x14006f75c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, r8
mov rdi, rdx
mov r8b, 1
mov rdx, r9
mov rax, qword [rax + 0x28]
call qword [case.0x1400611e2.0]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14006f7d4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
test rdx, rdx
je 0x14006f95f
mov rax, qword [rcx + 0x1a8]
mov rsi, qword [rax + 8]
mov rcx, rsi
call fcn.140061d78
mov rbp, rax
mov rcx, qword [rdi + 0x1a8]
test byte [rcx + 0x50], 4
jne 0x14006f81b
lock inc dword [rcx + 0x28]
lea rcx, [rdi + 0x58]
call fcn.14005afb4
lea rdx, [rbp + 0x20]
and qword [rdx], 0
mov rax, qword [rdi + 0x50]
mov qword [rax], rbp
mov qword [rdi + 0x50], rdx
lea rcx, [rdi + 0x58]
call fcn.14005b004
nop
call fcn.140060f8c
mov rbx, rax
test rax, rax
je 0x14006f878
mov rcx, rax
call fcn.140065264
cmp rax, rsi
jne 0x14006f878
cmp byte [rbx + 0x88], 0
mov rax, qword [rbx + 0xf8]
je 0x14006f870
inc dword [rax + 0x20]
jmp 0x14006f8df
inc dword [rax + 0xa0]
jmp 0x14006f8df
mov ecx, dword [rsi + 0x20]
call sub.KERNEL32.dll_TlsGetValue
mov rbx, rax
test rax, rax
jne 0x14006f8dc
lea ecx, [rax + 0x40]
call fcn.140074c08
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14006f8c0
and dword [rax], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
and dword [rax + 0x20], 0
and dword [rax + 0x24], 0
and dword [rax + 0x28], 0
and dword [rax + 0x2c], 0
mov dword [rax + 0x30], 1
jmp 0x14006f8c2
xor ebx, ebx
lea rcx, [rsi + 0x150]
mov rdx, rbx
call fcn.14006e5fc
mov rdx, rbx
mov ecx, dword [rsi + 0x20]
call fcn.14005abe8
inc dword [rbx + 0x20]
mov ebx, 0xfffffff
test dword [rdi + 0x18], ebx
je 0x14006f8f9
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x1400611e2.0]
mov eax, dword [rsi + 0x2a8]
mov ecx, dword [rsi + 0x2a4]
sub ecx, eax
test ecx, ecx
jle 0x14006f94a
mov eax, dword [rdi + 0x18]
xor eax, eax
and eax, ebx
xor eax, dword [rdi + 0x18]
mov dword [rsp + 0x20], eax
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x28], rax
mov eax, dword [rdi + 0x1c]
mov dword [rsp + 0x24], eax
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi]
lea r8, [rsp + 0x20]
mov rdx, rdi
mov rcx, rsi
mov rax, qword [rax + 0x70]
call qword [case.0x1400611e2.0]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea rdx, str.proc
lea rcx, [rsp + 0x20]
call fcn.140055a00
lea rdx, [0x1400cd8f0]
lea rcx, [rsp + 0x20]
call fcn.1400760c4
int3