Function at 0x140083710
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c8
movaps xmmword [rsp + 0x1b0], xmm6
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14012c028]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov eax, dword [0x14013eba0]
mov ecx, dword [0x14013ba7c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400839ef
cmp byte [rsi], 0
je 0x14008398b
mov eax, dword [0x14013e794]
mov ecx, dword [0x14013ba7c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140083a27
cmp byte [0x14013e790], 0
je 0x140083ad4
lea rcx, [rsp + 0x48]
call fcn.140083ce0
mov rax, qword [0x14013b5d0]
lea rcx, [0x140095b10]
lea r14, [rsp + 0x50]
cmp rax, rcx
jne 0x140083ac3
mov qword [r14], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r14]
movabs rcx, 0x8637bd05af6
cmp rax, rcx
jg 0x140083c1e
imul rax, rax, 0xf4240
cqo
idiv qword [0x14013e7d0]
mov qword [rsp + 0x50], rax
movabs rcx, 0x7fffffffffffffff
mov rdx, qword [0x14013e988]
lea r8, [rdx + rcx]
add r8, 2
cmp r8, 2
jb 0x140083ae2
xor r8d, r8d
cmp rax, rdx
setns r8b
add r8, rcx
sub rax, rdx
cmovo rax, r8
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp byte [rsi], 0
je 0x14008398b
mov ebp, eax
mov ecx, dword [0x14013b660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
jne 0x1400839b3
lea rdx, [0x14011a2a2]
lea r8, str....._base_threading_thread_local_storage.cc
lea r14, [rsp + 0x50]
mov rcx, r14
mov r9d, 0x1db
call fcn.140061ec0
mov edx, 0x11e1a300
mov rcx, r14
call fcn.1400c7be0
lea r14, [0x14013eb08]
mov rax, qword [0x14012dfa0]
and rax, r14
cmp rax, qword [0x14012df88]
je 0x140083b1c
mov ecx, dword [0x14013b660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400839e5
mov rcx, qword [0x14013eb08]
shl rcx, 4
mov qword [rax + rcx], r14
mov ecx, dword [0x14013eb10]
mov rdx, qword [0x14013eb08]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov al, byte [rsi]
test al, 8
jne 0x140083b2d
test al, 1
je 0x140083afb
mov rax, qword [0x14013eb90]
test rax, rax
je 0x140083b50
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov byte [rsp + 0x20], 0
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
mov r9d, ebp
call qword [0x140150008]
mov ecx, dword [0x14013b660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140083977
mov rcx, qword [0x14013eb08]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x14013eb10]
mov rdx, qword [0x14013eb08]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
and r14, qword [0x14012dfa0]
cmp r14, qword [0x14012df88]
je 0x140083b3f
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1400985e0
movaps xmm6, xmmword [rsp + 0x1b0]
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
and rax, 0xfffffffffffffffc
je 0x140083898
mov rcx, qword [0x14013eb08]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14013eb10]
jne 0x140083898
cmp qword [rax + rcx], 0
je 0x140083898
jmp 0x14008398b
call fcn.1400051d0
jmp 0x1400838cc
lea rcx, [0x14013eba0]
call fcn.140096578
cmp dword [0x14013eba0], 0xffffffff
jne 0x140083767
lea rcx, [0x14013e7d8]
xor edx, edx
call fcn.140024c50
lea rcx, [0x14013eba0]
call fcn.1400966f0
jmp 0x140083767
lea rcx, [0x14013e794]
call fcn.140096578
cmp dword [0x14013e794], 0xffffffff
jne 0x140083795
lea r14, [rsp + 0x80]
xorps xmm6, xmm6
movups xmmword [r14 - 0x15], xmm6
movaps xmmword [r14 - 0x20], xmm6
movaps xmmword [r14 - 0x30], xmm6
lea rdx, [0x140115454]
mov rcx, r14
call fcn.1400c7cc0
movups xmmword [r14 + 0x18], xmm6
mov qword [r14 + 0x28], 0
lea r14, [rsp + 0x50]
mov rcx, r14
xor edx, edx
call fcn.14001e0f0
mov bpl, byte [r14 + 0x29]
cmp byte [r14 + 0x5f], 0
jns 0x140083a9d
mov rcx, qword [rsp + 0x98]
call fcn.140096334
cmp byte [rsp + 0x97], 0
js 0x140083cbc
mov byte [0x14013e790], bpl
lea rcx, [0x14013e794]
call fcn.1400966f0
jmp 0x140083795
mov rcx, r14
call qword [0x140150008]
mov rax, qword [r14]
jmp 0x140083803
mov qword [rsp + 0x48], 0
jmp 0x1400837ac
cmp rax, rdx
je 0x140083cce
lea rax, [rcx + 1]
test rdx, rdx
cmovs rax, rcx
jmp 0x14008383a
xorps xmm0, xmm0
movaps xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x1a0], 0
xor eax, eax
xor r15d, r15d
jmp 0x140083bd6
lea rcx, [0x14013eb08]
call fcn.140062440
jmp 0x1400838b6
mov rcx, rsi
mov rdx, rbx
call fcn.1400f0050
mov al, byte [rsi]
jmp 0x1400838fa
lea rcx, [0x14013eb08]
call fcn.14006a8b0
jmp 0x14008398b
xorps xmm0, xmm0
movaps xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x1a0], 0
movabs rax, 0xaaaaaaaaaaaaaa00
lea rdx, [rsp + 0x50]
mov qword [rdx + 8], rax
lea rax, [0x14013e7e0]
mov qword [rdx], rax
mov rcx, rdi
call fcn.1400e5b80
mov rdi, rax
test rax, rax
je 0x140083ba6
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov rcx, rdi
call fcn.1400ebc10
mov eax, dword [0x14013e990]
test al, 8
jne 0x140083c83
cmp byte [rsp + 0x58], 0
je 0x140083bc6
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov r15b, byte [rsp + 0x1a7]
mov rax, qword [rsp + 0x198]
mov ecx, r15d
and cl, 0x7f
test r15b, r15b
movzx edi, cl
cmovs rdi, rax
test rdi, rdi
je 0x140083bf9
mov ecx, 2
call fcn.1400955a0
test al, al
jne 0x140083c4f
test byte [rsi], 0x10
jne 0x140083c45
cmp byte [rsp + 0x1a7], 0
jns 0x14008393d
mov rcx, qword [rsp + 0x190]
call fcn.140096334
jmp 0x14008393d
mov rcx, qword [0x14013e7d0]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400837fe
mov rcx, rsi
call fcn.1400e5af0
jmp 0x140083bfe
lea rdx, str....._base_trace_event_trace_log.cc
lea rbx, [rsp + 0x50]
mov rcx, rbx
mov r8d, 0x80d
mov r9d, 2
call fcn.140006060
lea rcx, [rsp + 0x60]
test r15b, r15b
jns 0x140083c9f
mov rdx, qword [rsp + 0x190]
jmp 0x140083ca7
lea rcx, [rsp + 0x190]
lea r8, [rsp + 0x40]
mov dl, 0x45
mov r9, rdi
call fcn.1400e5620
jmp 0x140083bb4
lea rdx, [rsp + 0x190]
mov r8, rdi
call fcn.1400c8050
mov rcx, rbx
call fcn.140007d80
jmp 0x140083bf9
mov rcx, qword [rsp + 0x80]
call fcn.140096334
jmp 0x140083aab
int3