Function at 0x1400fd870
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 [0x1401ff028]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov eax, dword [0x140207458]
mov ecx, dword [0x1402029e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400fdb3c
cmp byte [rdi], 0
je 0x1400fdaae
mov eax, dword [0x140207060]
mov ecx, dword [0x1402029e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400fdad9
cmp byte [0x14020705c], 0
je 0x1400fdb80
lea rcx, [rsp + 0x50]
call fcn.1400e5000
mov rax, qword [0x140200ee8]
lea rcx, [0x140103600]
lea rbp, [rsp + 0x58]
cmp rax, rcx
jne 0x1400fdb72
mov qword [rbp], 0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp]
movabs rcx, 0x8637bd05af6
cmp rax, rcx
jg 0x1400fdce3
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402070a0]
mov qword [rsp + 0x58], rax
movabs rcx, 0x7fffffffffffffff
mov rdx, qword [0x140207260]
lea rbp, [rdx + rcx]
add rbp, 2
cmp rbp, 2
jb 0x1400fdb8e
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 0x1400fdaae
mov ebp, eax
mov ecx, dword [0x140200ec8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400fd9df
movsxd rcx, dword [0x1402073c8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402073cc]
jne 0x1400fd9df
cmp qword [rax + rcx], 0
jne 0x1400fdaae
mov ecx, dword [0x140200ec8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400fdacf
lea rcx, [0x1402073c8]
movsxd rdx, dword [0x1402073c8]
shl rdx, 4
mov qword [rax + rdx], rcx
mov ecx, dword [0x1402073cc]
movsxd rdx, dword [0x1402073c8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
test sil, 8
jne 0x1400fdbe8
test sil, 1
je 0x1400fdba7
mov rax, qword [0x140207448]
test rax, rax
je 0x1400fdbf8
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 [0x140200ec8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400fdaae
movsxd rcx, dword [0x1402073c8]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x1402073cc]
movsxd rdx, dword [0x1402073c8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140106510
nop
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400014c0
jmp 0x1400fd9f5
lea rcx, [0x140207060]
call fcn.1401044f8
cmp dword [0x140207060], 0xffffffff
jne 0x1400fd8ed
lea rbp, [rsp + 0x58]
mov rcx, rbp
call fcn.140038100
mov sil, byte [rbp + 0x2e]
cmp byte [rbp + 0x5f], 0
jns 0x1400fdb16
mov rcx, qword [rsp + 0xa0]
call fcn.1401039b0
cmp byte [rsp + 0x9f], 0
js 0x1400fdd6b
mov byte [0x14020705c], sil
lea rcx, [0x140207060]
call fcn.140103fa4
jmp 0x1400fd8ed
lea rcx, [0x140207458]
call fcn.1401044f8
cmp dword [0x140207458], 0xffffffff
jne 0x1400fd8bf
lea rcx, [0x1402070c8]
call fcn.14001e140
lea rcx, [0x140207458]
call fcn.140103fa4
jmp 0x1400fd8bf
mov rcx, rbp
call rax
mov rax, qword [rbp]
jmp 0x1400fd95d
mov qword [rsp + 0x50], 0
jmp 0x1400fd904
cmp rax, rdx
je 0x1400fdd7d
lea rax, [rcx + 1]
test rdx, rdx
cmovs rax, rcx
jmp 0x1400fd993
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1a0], xmm0
mov qword [rsp + 0x1b0], 0
test sil, 0x10
jne 0x1400fdd27
cmp byte [rsp + 0x1b7], 0
jns 0x1400fda74
mov rcx, qword [rsp + 0x1a0]
call fcn.1401039b0
jmp 0x1400fda74
mov rcx, rdi
mov rdx, r14
call fcn.140158ff0
jmp 0x1400fda2a
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, [0x1402070d0]
mov qword [rdx], rax
mov rcx, rbx
call fcn.140158d40
mov rbx, rax
test rax, rax
je 0x1400fdc58
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x50]
mov rcx, rbx
mov r9, 0xffffffffffffffff
call fcn.1401590a0
mov eax, dword [0x140207268]
test al, 8
jne 0x1400fdd37
cmp byte [rsp + 0x198], 0
je 0x1400fdc7e
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movzx ebx, byte [rsp + 0x1b7]
mov rbp, rbx
test bl, bl
jns 0x1400fdc95
mov rbp, qword [rsp + 0x1a8]
test rbp, rbp
je 0x1400fdbbe
mov ecx, 2
call fcn.1400cea70
test al, al
je 0x1400fdbbe
lea rdx, str..._.._base_trace_event_trace_log.cc
lea r15, [rsp + 0x58]
mov rcx, r15
mov r8d, 0x77c
mov r9d, 2
call fcn.14000a9d0
lea rcx, [rsp + 0x68]
test bl, bl
jns 0x1400fdd0a
mov rdx, qword [rsp + 0x1a0]
jmp 0x1400fdd12
mov rcx, qword [0x1402070a0]
cqo
idiv rcx
imul rbp, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, rbp
jmp 0x1400fd958
lea rdx, [rsp + 0x1a0]
mov r8, rbp
call fcn.1400ceb20
mov rcx, r15
call fcn.14000aaa0
jmp 0x1400fdbbe
mov rcx, rdi
mov rdx, r14
call fcn.140158ce0
jmp 0x1400fdbc8
lea rbp, [rsp + 0x58]
lea r8, [rsp + 0x48]
mov rcx, rbp
mov dl, 0x45
mov r9, rbx
call fcn.140157ff0
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x1a0], xmm0
jmp 0x1400fdc66
mov rcx, qword [rsp + 0x88]
call fcn.1401039b0
jmp 0x1400fdb24
int3