Function at 0x1400c7d20
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x228
movaps xmmword [rsp + 0x210], xmm6
mov rbp, r9
mov rdi, rcx
mov rcx, qword [rsp + 0x2c8]
mov ebx, dword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2a0]
mov r9, qword [rsp + 0x290]
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x208], rax
mov qword [rsp + 0x90], rdx
mov qword [rdx], 0
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov esi, r8d
mov edx, r8d
mov r8, rbp
call fcn.1400c88d0
test al, al
je 0x1400c809a
mov r12d, dword [rsp + 0x2d0]
lea rbx, [rdi + 0x300]
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400c81b2
movsxd rcx, dword [rdi + 0x300]
shl rcx, 4
mov qword [rax + rcx], rbx
mov ecx, dword [rdi + 0x304]
movsxd rdx, dword [rdi + 0x300]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rbx, qword [rsp + 0x2b8]
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x88], rax
test r12d, 0x180
je 0x1400c7e20
mov eax, r12d
and eax, 0x800
jne 0x1400c80ce
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rdi + 0x198]
mov r14, qword [rbx]
lea rdx, [rcx + rax]
add rdx, 2
cmp rdx, 2
jb 0x1400c81cc
xor edx, edx
cmp r14, rcx
setns dl
add rdx, rax
sub r14, rcx
cmovo r14, rdx
test r12d, 0x410
jne 0x1400c7e67
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov cl, byte [rbp]
test cl, 1
je 0x1400c81e5
mov rcx, rdi
call fcn.1400c8e10
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400c81c5
movsxd rcx, dword [rdi + 0x2f0]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rdi + 0x2f4]
jne 0x1400c81c5
mov rax, qword [rax + rcx]
mov qword [rsp + 0x68], rax
mov cl, byte [rbp]
test cl, 1
je 0x1400c81f1
mov r13, qword [rdi + 0x370]
test r13, r13
je 0x1400c812b
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x150], rax
movaps xmm0, xmmword [0x1401c8a80]
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
lea r15, [rsp + 0xf0]
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax]
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], rax
movaps xmm0, xmmword [0x1401d2c00]
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rbp
lea rbx, [rsp + 0x108]
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], 0
lea rbp, [rsp + 0x118]
mov byte [rsp + 0x118], 0
mov eax, dword [rsp + 0x2b0]
mov dword [rsp + 0x140], eax
mov dword [rsp + 0x144], r12d
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x148], rax
mov byte [rsp + 0x150], sil
mov rsi, qword [rsp + 0x2c8]
test rsi, rsi
je 0x1400c800c
cmp rbp, rsi
jne 0x1400c80ea
lea rdx, [rsp + 0x110]
mov qword [rsp + 0x20], r15
and r12b, 1
mov rcx, rbp
mov r8d, r12d
mov r9, rbx
call fcn.1400b7190
cmp qword [rsp + 0x68], 0
setne dl
lea rcx, [rsp + 0xc0]
mov r8, qword [rsp + 0x90]
call r13
mov rcx, rbp
call fcn.1400b2680
mov rdx, qword [rsp + 0x110]
test rdx, rdx
jne 0x1400c8119
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400c809a
movsxd rcx, dword [rdi + 0x300]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rdi + 0x304]
movsxd rdx, dword [rdi + 0x300]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.1400f32c0
mov rax, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x210]
add rsp, 0x228
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x88]
xor rax, qword [rdi + 0x188]
mov qword [rsp + 0x88], rax
jmp 0x1400c7e20
mov rcx, rbp
call fcn.1400b2680
mov rax, qword [rsi + 0x20]
mov qword [rbp + 0x20], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp], xmm0
mov byte [rsi], 0
mov r12d, dword [rsp + 0x144]
jmp 0x1400c800c
mov rcx, qword [0x1401f8278]
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x1400c8060
mov r13, rbx
mov al, 1
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
test cl, 0x10
jne 0x1400c81fb
xor ecx, ecx
mov qword [rsp + 0x70], rcx
xor ebx, ebx
test al, al
je 0x1400c8168
cmp byte [rsp + 0x70], 0
je 0x1400c84aa
movzx esi, byte [rsp + 0xb7]
mov rbp, rsi
test sil, sil
jns 0x1400c8180
mov rbp, qword [rsp + 0xa8]
test rbp, rbp
jne 0x1400c8434
test rbx, rbx
jne 0x1400c8487
cmp byte [rsp + 0xb7], 0
jns 0x1400c8060
mov rcx, qword [rsp + 0xa0]
call fcn.1400f0498
jmp 0x1400c8060
test rbx, rbx
je 0x1400c7df1
call fcn.140001340
jmp 0x1400c7dcd
xor eax, eax
jmp 0x1400c7eb0
cmp r14, rcx
je 0x1400c88b1
lea r14, [rax + 1]
test rcx, rcx
cmovs r14, rax
jmp 0x1400c7e58
mov r13, rbx
xor eax, eax
mov qword [rsp + 0x68], rax
jmp 0x1400c81f4
mov r13, rbx
xor eax, eax
jmp 0x1400c8130
mov ecx, 0x98
call fcn.1400f045c
mov rcx, rax
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax]
mov qword [rcx], r14
mov qword [rcx + 8], rax
movaps xmm0, xmmword [0x1401d2c00]
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
lea rbx, [rcx + 0x30]
mov rax, qword [rsp + 0x298]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rbp
lea rax, [rcx + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x290]
mov qword [rcx + 0x48], rax
lea rax, [rcx + 0x50]
mov qword [rsp + 0x98], rax
mov qword [rcx + 0x50], 0
lea rax, [rcx + 0x58]
mov qword [rsp + 0x80], rax
mov byte [rcx + 0x58], 0
mov eax, dword [rsp + 0x2b0]
mov dword [rcx + 0x80], eax
mov dword [rcx + 0x84], r12d
mov rax, qword [rsp + 0x88]
mov qword [rcx + 0x88], rax
mov r15, rcx
mov byte [rcx + 0x90], sil
mov r8d, r12d
cmp qword [rsp + 0x2c8], 0
je 0x1400c82d6
mov r8d, r12d
mov rax, qword [rsp + 0x80]
cmp rax, qword [rsp + 0x2c8]
jne 0x1400c8647
mov qword [rsp + 0x20], rbx
and r8b, 1
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x98]
mov r9, qword [rsp + 0x70]
call fcn.1400b7190
mov ebx, dword [rbp + 4]
mov al, 1
test ebx, ebx
je 0x1400c8558
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x78], rax
xorps xmm6, xmm6
test bl, 1
jne 0x1400c832b
shr ebx, 1
add qword [rsp + 0x78], 8
test ebx, ebx
jne 0x1400c8315
jmp 0x1400c855d
mov eax, dword [0x1401fea30]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x1400c8389
lea rcx, [0x1401fea30]
call fcn.1400f0548
cmp dword [0x1401fea30], 0xffffffff
jne 0x1400c8389
mov ecx, 0x18
call fcn.1400f045c
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [0x1401fea28], rax
lea rcx, [0x1401fea30]
call fcn.1400f07ac
mov rax, qword [0x1401fea28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + rcx], 0
je 0x1400c831a
mov eax, dword [0x1401fea30]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x1400c8401
lea rcx, [0x1401fea30]
call fcn.1400f0548
cmp dword [0x1401fea30], 0xffffffff
jne 0x1400c8401
mov ecx, 0x18
call fcn.1400f045c
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [0x1401fea28], rax
lea rcx, [0x1401fea30]
call fcn.1400f07ac
mov rax, qword [0x1401fea28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rax + rcx]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 8]
xor ecx, ecx
test al, al
jne 0x1400c8428
movzx ecx, byte [rsp + 0x70]
mov eax, ecx
mov qword [rsp + 0x70], rax
jmp 0x1400c831a
mov ecx, 2
call fcn.1400e8860
test al, al
je 0x1400c8189
lea rdx, str..._.._base_trace_event_trace_log.cc
lea r14, [rsp + 0xc0]
mov rcx, r14
mov r8d, 0x549
mov r9d, 2
call fcn.140002b90
lea rcx, [rsp + 0xd0]
test sil, sil
jns 0x1400c85af
mov rdx, qword [rsp + 0xa0]
jmp 0x1400c85b7
lea rcx, [rbx + 0x58]
call fcn.1400b2680
mov rdx, qword [rbx + 0x50]
test rdx, rdx
jne 0x1400c886f
mov rcx, rbx
call fcn.1400f0498
jmp 0x1400c8192
lea rax, [rdi + 8]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x68], 0
je 0x1400c8689
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400c8725
cmp qword [rcx], 0x40
je 0x1400c86b7
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0xc0]
mov qword [rdx], rax
call fcn.140149b60
mov r15, rax
cmp qword [rsp + 0x90], 0
je 0x1400c8536
test r15, r15
je 0x1400c8536
mov eax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x68]
movzx r8d, word [rcx + 0x20]
mov rdx, qword [rcx + 0x18]
mov edx, dword [rdx + 0x2610]
mov rcx, qword [rsp + 0x90]
mov dword [rcx], edx
shl eax, 0x1a
or eax, r8d
mov dword [rcx + 4], eax
test r15, r15
je 0x1400c87e2
test rbx, rbx
je 0x1400c85cc
mov rcx, r15
mov rdx, rbx
call fcn.140148c10
jmp 0x1400c87e5
mov qword [rsp + 0x70], rax
xor ebx, ebx
cmp byte [rsp + 0x70], 0
mov rax, r15
cmove rbx, r15
test r15, r15
je 0x1400c85a5
cmp byte [rsp + 0x70], 0
je 0x1400c85a5
mov rcx, qword [rsp + 0x80]
call fcn.1400b2680
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax]
test rdx, rdx
jne 0x1400c8881
mov rcx, r15
call fcn.1400f0498
jmp 0x1400c8168
mov al, byte [rbp]
and al, 1
jmp 0x1400c8159
lea rdx, [rsp + 0xa0]
mov r8, rbp
call fcn.1400d6670
mov rcx, r14
call fcn.14002ed20
jmp 0x1400c8189
mov rax, qword [rsp + 0x2c0]
mov r9, qword [rax]
mov dword [rsp + 0x60], r12d
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rcx, r15
mov edx, dword [rsp + 0x2b0]
mov r8, r14
call fcn.1400361f0
jmp 0x1400c87e5
mov rcx, qword [rsp + 0x80]
call fcn.1400b2680
mov rcx, qword [rsp + 0x2c8]
mov rax, qword [rcx + 0x20]
mov rdx, qword [rsp + 0x80]
mov qword [rdx + 0x20], rax
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
mov byte [rcx], 0
mov r8d, dword [r15 + 0x84]
jmp 0x1400c82d6
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400c8893
mov rcx, rdi
mov rdx, qword [rsp + 0x90]
mov r8b, 1
call fcn.140148ac0
mov r15, rax
jmp 0x1400c8536
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x10]
add rcx, 8
mov qword [rsp + 0x78], rcx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400c88b4
mov r15, qword [rsp + 0x68]
mov rcx, r15
call fcn.14014a090
mov rax, qword [r15 + 0x18]
mov qword [r15 + 0x18], 0
test rax, rax
je 0x1400c8708
mov r15, rax
mov rcx, rax
call fcn.140149420
mov rcx, r15
call fcn.1400f0498
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x18]
test rcx, rcx
jne 0x1400c84db
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x10]
add rcx, 8
mov qword [rsp + 0x78], rcx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400c88a2
mov r15, qword [rsp + 0x68]
mov rax, qword [r15 + 0x10]
mov rcx, qword [rax + 0x20]
lea r8, [r15 + 0x20]
mov rax, qword [rcx]
lea rdx, [rsp + 0xc0]
call qword [rax + 8]
lea rcx, [rsp + 0xc0]
mov rax, qword [rcx]
mov qword [rcx], 0
mov rcx, qword [r15 + 0x18]
mov qword [r15 + 0x18], rax
test rcx, rcx
je 0x1400c87bc
mov r15, rcx
call fcn.140149420
mov rcx, r15
call fcn.1400f0498
mov r15, qword [rsp + 0xc0]
mov qword [rsp + 0xc0], 0
test r15, r15
je 0x1400c87bc
mov rcx, r15
call fcn.140149420
mov rcx, r15
call fcn.1400f0498
mov r15, qword [rsp + 0x68]
mov rcx, qword [r15 + 0x10]
call fcn.140147ce0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [r15 + 0x18]
test rcx, rcx
jne 0x1400c84db
xor r15d, r15d
mov rax, qword [rdi + 0x1a0]
test al, 8
jne 0x1400c880c
cmp qword [rsp + 0x68], 0
jne 0x1400c8168
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x1400c8168
cmp sil, 0x58
movzx eax, sil
mov r8d, 0x42
cmovne r8d, eax
mov qword [rsp + 0x20], r15
lea rdx, [rsp + 0xc0]
mov rcx, rdi
mov r9, r13
call fcn.14014a100
cmp byte [rsp + 0xb7], 0
jns 0x1400c884d
mov rcx, qword [rsp + 0xa0]
call fcn.1400f0498
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0xa0], xmm0
jmp 0x1400c87f0
mov rcx, qword [0x1401f8278]
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x1400c849d
mov rcx, qword [0x1401f8278]
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x1400c8598
mov rcx, qword [rsp + 0x70]
call fcn.1400b0d10
jmp 0x1400c869c
mov rcx, qword [rsp + 0x78]
call fcn.1400b0d10
jmp 0x1400c8745
int3
mov rcx, qword [rsp + 0x78]
call fcn.1400b0d10
jmp 0x1400c86d7