Function at 0x1400761e0
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 [0x140166028]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov eax, dword [0x14016c9e8]
mov ecx, dword [0x140169930]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140076488
cmp byte [rdi], 0
je 0x14007644f
mov eax, dword [0x14016c618]
mov ecx, dword [0x140169930]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400764be
cmp byte [0x14016c614], 0
je 0x140076470
lea rcx, [rsp + 0x50]
call fcn.140041bd0
mov rax, qword [0x140167ee0]
lea rcx, [0x1400347e0]
cmp rax, rcx
jne 0x140076521
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 0x1400762c5
imul rax, rax, 0xf4240
cqo
idiv qword [0x14016c648]
jmp 0x1400762e7
mov rcx, qword [0x14016c648]
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 [0x14016c7f0]
lea rbp, [rdx + rcx]
add rbp, 2
cmp rbp, 2
jae 0x140076321
cmp rax, rdx
je 0x140076694
lea rax, [rcx + 1]
test rdx, rdx
cmovs rax, rcx
jmp 0x140076334
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 0x14007644f
mov ebp, eax
mov ecx, dword [0x140169448]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140076380
movsxd rcx, dword [0x14016c958]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14016c95c]
jne 0x140076380
cmp qword [rax + rcx], 0
jne 0x14007644f
mov ecx, dword [0x140169448]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14007647e
lea rcx, [0x14016c958]
movsxd rdx, dword [0x14016c958]
shl rdx, 4
mov qword [rax + rdx], rcx
mov ecx, dword [0x14016c95c]
movsxd rdx, dword [0x14016c958]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
test sil, 8
jne 0x140076534
test sil, 1
je 0x140076544
mov rax, qword [0x14016c9d8]
test rax, rax
je 0x140076585
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 [0x140169448]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14007644f
movsxd rcx, dword [0x14016c958]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x14016c95c]
movsxd rdx, dword [0x14016c958]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14007ed30
nop
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsp + 0x50], 0
jmp 0x140076274
call fcn.140006690
jmp 0x140076396
lea rcx, [0x14016c9e8]
call fcn.14007c144
cmp dword [0x14016c9e8], 0xffffffff
jne 0x14007622f
lea rcx, [0x14016c658]
call fcn.1400c7900
lea rcx, [0x14016c9e8]
call fcn.14007c0e4
jmp 0x14007622f
lea rcx, [0x14016c618]
call fcn.14007c144
cmp dword [0x14016c618], 0xffffffff
jne 0x14007625d
lea rbp, [rsp + 0x58]
mov rcx, rbp
call fcn.1400c14f0
mov sil, byte [rbp + 0x2e]
cmp byte [rbp + 0x5f], 0
jns 0x1400764fb
mov rcx, qword [rsp + 0xa0]
call fcn.14007c098
cmp byte [rsp + 0x9f], 0
js 0x1400766c4
mov byte [0x14016c614], sil
lea rcx, [0x14016c618]
call fcn.14007c0e4
jmp 0x14007625d
lea rbp, [rsp + 0x58]
mov rcx, rbp
call rax
mov rax, qword [rbp]
jmp 0x1400762ec
mov rcx, rdi
mov rdx, r14
call fcn.1400ea0b0
jmp 0x1400763cb
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1a0], xmm0
mov qword [rsp + 0x1b0], 0
test sil, 0x10
jne 0x1400766b4
cmp byte [rsp + 0x1b7], 0
jns 0x140076415
mov rcx, qword [rsp + 0x1a0]
call fcn.14007c098
jmp 0x140076415
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, [0x14016c660]
mov qword [rdx], rax
mov rcx, rbx
call fcn.1400e9e00
mov rbx, rax
test rax, rax
je 0x1400765e5
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x50]
mov rcx, rbx
mov r9, 0xffffffffffffffff
call fcn.1400ea160
mov eax, dword [0x14016c7f8]
test al, 8
je 0x14007661c
lea rbp, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov rcx, rbp
mov r8, rbx
call fcn.14000b430
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 0x140076634
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movzx ebx, byte [rsp + 0x1b7]
mov rbp, rbx
test bl, bl
jns 0x14007664b
mov rbp, qword [rsp + 0x1a8]
test rbp, rbp
je 0x14007655b
cmp dword [0x14016c480], 2
jg 0x14007655b
lea rdx, str..._.._base_trace_event_trace_log.cc
lea r15, [rsp + 0x58]
mov rcx, r15
mov r8d, 0x77c
mov r9d, 2
call fcn.1400e5670
lea rcx, [rsp + 0x68]
test bl, bl
jns 0x140076697
mov rdx, qword [rsp + 0x1a0]
jmp 0x14007669f
int3
lea rdx, [rsp + 0x1a0]
mov r8, rbp
call fcn.14006ebf4
mov rcx, r15
call fcn.140001da0
jmp 0x14007655b
mov rcx, rdi
mov rdx, r14
call fcn.1400e9da0
jmp 0x140076565
mov rcx, qword [rsp + 0x88]
call fcn.14007c098
jmp 0x140076509