Function at 0x140062c30
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c8
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140100028]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov eax, dword [0x140106700]
mov ecx, dword [0x1401036f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140062ed8
cmp byte [rdi], 0
je 0x140062e9f
mov eax, dword [0x140106330]
mov ecx, dword [0x1401036f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140062f0e
cmp byte [0x14010632c], 0
je 0x140062ec0
lea rcx, [rsp + 0x50]
call fcn.1400355a0
mov rax, qword [0x140103428]
lea rcx, [0x140027ff0]
cmp rax, rcx
jne 0x140062f71
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x58]
movabs rcx, 0x8637bd05af6
cmp rax, rcx
jg 0x140062d15
imul rax, rax, 0xf4240
cqo
idiv qword [0x140106360]
jmp 0x140062d37
mov rcx, qword [0x140106360]
cqo
idiv rcx
imul rbp, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, rbp
mov qword [rsp + 0x58], rax
movabs rcx, 0x7fffffffffffffff
mov rdx, qword [0x140106508]
lea rbp, [rdx + rcx]
add rbp, 2
cmp rbp, 2
jae 0x140062d71
cmp rax, rdx
je 0x1400630e4
lea rax, [rcx + 1]
test rdx, rdx
cmovs rax, rcx
jmp 0x140062d84
xor ebp, ebp
cmp rax, rdx
setns bpl
add rbp, rcx
sub rax, rdx
cmovo rax, rbp
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx esi, byte [rdi]
test esi, esi
je 0x140062e9f
mov ebp, eax
mov ecx, dword [0x140103438]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140062dd0
movsxd rcx, dword [0x140106670]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x140106674]
jne 0x140062dd0
cmp qword [rax + rcx], 0
jne 0x140062e9f
mov ecx, dword [0x140103438]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140062ece
lea rcx, [0x140106670]
movsxd rdx, dword [0x140106670]
shl rdx, 4
mov qword [rax + rdx], rcx
mov ecx, dword [0x140106674]
movsxd rdx, dword [0x140106670]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
test sil, 8
jne 0x140062f84
test sil, 1
je 0x140062f94
mov rax, qword [0x1401066f0]
test rax, rax
je 0x140062fd5
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], 0xffffffffffffffff
mov byte [rsp + 0x20], 0
mov rcx, rdi
mov rdx, r14
mov r8, rbx
mov r9d, ebp
call rax
mov ecx, dword [0x140103438]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140062e9f
movsxd rcx, dword [0x140106670]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x140106674]
movsxd rdx, dword [0x140106670]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140069890
nop
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsp + 0x50], 0
jmp 0x140062cc4
call fcn.140006a80
jmp 0x140062de6
lea rcx, [0x140106700]
call fcn.1400673a4
cmp dword [0x140106700], 0xffffffff
jne 0x140062c7f
lea rcx, [0x140106370]
call fcn.1400a3440
lea rcx, [0x140106700]
call fcn.140067344
jmp 0x140062c7f
lea rcx, [0x140106330]
call fcn.1400673a4
cmp dword [0x140106330], 0xffffffff
jne 0x140062cad
lea rbp, [rsp + 0x58]
mov rcx, rbp
call fcn.14009eb10
mov sil, byte [rbp + 0x2e]
cmp byte [rbp + 0x5f], 0
jns 0x140062f4b
mov rcx, qword [rsp + 0xa0]
call fcn.1400672f8
cmp byte [rsp + 0x9f], 0
js 0x140063114
mov byte [0x14010632c], sil
lea rcx, [0x140106330]
call fcn.140067344
jmp 0x140062cad
lea rbp, [rsp + 0x58]
mov rcx, rbp
call rax
mov rax, qword [rbp]
jmp 0x140062d3c
mov rcx, rdi
mov rdx, r14
call fcn.1400c4dd0
jmp 0x140062e1b
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1a0], xmm0
mov qword [rsp + 0x1b0], 0
test sil, 0x10
jne 0x140063104
cmp byte [rsp + 0x1b7], 0
jns 0x140062e65
mov rcx, qword [rsp + 0x1a0]
call fcn.1400672f8
jmp 0x140062e65
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1a0], xmm0
mov qword [rsp + 0x1b0], 0
movabs rax, 0xaaaaaaaaaaaaaa00
lea rdx, [rsp + 0x190]
mov qword [rdx + 8], rax
lea rax, [0x140106378]
mov qword [rdx], rax
mov rcx, rbx
call fcn.1400c4b20
mov rbx, rax
test rax, rax
je 0x140063035
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x50]
mov rcx, rbx
mov r9, 0xffffffffffffffff
call fcn.1400c4e80
mov eax, dword [0x140106510]
test al, 8
je 0x14006306c
lea rbp, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov rcx, rbp
mov r8, rbx
call fcn.14000aeb0
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x1a0], xmm0
cmp byte [rsp + 0x198], 0
je 0x140063084
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movzx ebx, byte [rsp + 0x1b7]
mov rbp, rbx
test bl, bl
jns 0x14006309b
mov rbp, qword [rsp + 0x1a8]
test rbp, rbp
je 0x140062fab
cmp dword [0x1401061e0], 2
jg 0x140062fab
lea rdx, str..._.._base_trace_event_trace_log.cc
lea r15, [rsp + 0x58]
mov rcx, r15
mov r8d, 0x77c
mov r9d, 2
call fcn.1400bec50
lea rcx, [rsp + 0x68]
test bl, bl
jns 0x1400630e7
mov rdx, qword [rsp + 0x1a0]
jmp 0x1400630ef
int3
lea rdx, [rsp + 0x1a0]
mov r8, rbp
call fcn.14005b754
mov rcx, r15
call fcn.140001da0
jmp 0x140062fab
mov rcx, rdi
mov rdx, r14
call fcn.1400c4ac0
jmp 0x140062fb5
mov rcx, qword [rsp + 0x88]
call fcn.1400672f8
jmp 0x140062f59