Function at 0x1401454a0
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, 0x1d8
movaps xmmword [rsp + 0x1c0], xmm6
mov rbx, r8
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
cmp qword [rcx + 0x10], 0
jne 0x140145a55
mov rdi, r9
mov r15, rdx
mov r14, rcx
movaps xmm6, xmmword [0x140301d60]
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xf0], xmm6
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x100], rax
mov r13, qword [0x14034e980]
mov rax, qword [fcn.14007a620]
lea r12, [rsp + 0x28]
mov rcx, r12
call qword [case.0x140211850.0]
mov rsi, qword [rbx]
mov qword [rbx], 0
mov rax, qword [r12]
test rdi, rdi
je 0x14014556f
movabs rcx, 0x8000000000000001
lea rdx, [rdi + rcx]
cmp rdx, 2
jae 0x14014595a
add rcx, rax
cmp rcx, 1
ja 0x140145571
cmp rax, rdi
je 0x140145571
int3
xor edi, edi
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0xe4], xmm0
movups xmmword [rsp + 0xf4], xmm0
mov dword [rsp + 0x104], 0
mov ecx, 1
lock xadd dword [0x14035be08], ecx
mov r15, qword [r14 + 0x10]
mov r14, qword [r14 + 0x18]
test r14, r14
je 0x1401455c1
lock inc dword [r14 + 8]
mov qword [rsp + 0x60], rsi
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm1
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], r13
mov dword [rsp + 0xa0], 0
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xc4], rax
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movups xmmword [rsp + 0xb4], xmm1
movups xmmword [rsp + 0xa4], xmm0
mov dword [rsp + 0xcc], 0xaaaaaaaa
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0xd8], ecx
mov byte [rsp + 0xdc], 0
mov rax, qword [r15]
mov rax, qword [rax + 0x10]
lea rcx, [0x140145ca0]
cmp rax, rcx
jne 0x140145be6
test rsi, rsi
je 0x140145bfc
lea r12, [rsp + 0x88]
lea r13, [r15 - 0x18]
movaps xmmword [rsp + 0x1a0], xmm6
movaps xmmword [rsp + 0x190], xmm6
mov rax, qword [r12 - 0x18]
xor ecx, ecx
mov dl, byte [rax + rcx]
mov byte [rsp + rcx + 0x190], dl
test dl, dl
je 0x1401456b5
inc rcx
cmp rcx, 0x20
jne 0x140145696
mov byte [rsp + 0x1af], 0
lea rcx, [rsp + 0x190]
call fcn.14004a330
mov rbp, qword [r15 + 8]
mov al, byte [r14 + 0x16]
mov rcx, qword [rbp + 0x30]
mov ecx, dword [rcx]
test cl, 1
jne 0x140145992
cmp qword [rsp + 0xa8], 0
jne 0x1401457e9
mov eax, dword [0x14035c0b0]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140145ab5
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140145755
mov rcx, qword [0x14035c0a0]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14035c0a8]
jne 0x140145755
mov rax, qword [rax + rcx]
test rax, rax
je 0x140145755
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0xd0], rcx
mov eax, dword [rax + 8]
mov dword [rsp + 0xc8], eax
mov eax, dword [0x14035c080]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140145af7
mov ecx, dword [0x1403411e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1401457e9
mov rcx, qword [0x14035c070]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14035c078]
jne 0x1401457e9
mov rax, qword [rax + rcx]
test rax, rax
je 0x1401457e9
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0xa8], rcx
movups xmm0, xmmword [rax + 0x48]
mov rcx, qword [rax + 0x58]
mov qword [rsp + 0xc0], rcx
movups xmmword [rsp + 0xb0], xmm0
cmp byte [rax + 0x7c], 0
jne 0x140145973
cmp qword [rax + 0x60], 0
setne al
mov byte [rsp + 0xdc], al
test rdi, rdi
je 0x1401458f9
mov rbp, qword [r14 + 0x38]
test rbp, rbp
je 0x1401457ff
lock inc dword [rbp + 8]
add r15, 0x98
mov rax, qword [0x1403428e0]
and rax, r13
cmp rax, qword [0x1403428c8]
jne 0x140145821
mov rcx, r13
call fcn.140156f20
mov ecx, 0x38
call fcn.14016ecd4
mov dword [rax], 1
lea rcx, [0x140113ef0]
mov qword [rax + 8], rcx
lea rcx, [0x14012b550]
mov qword [rax + 0x10], rcx
lea rcx, [0x14020a2e0]
mov qword [rax + 0x18], rcx
mov qword [rax + 0x28], r14
mov qword [rax + 0x30], r13
lea r8, [rsp + 0x58]
mov qword [r8], rax
lea rax, [rsp + 0x138]
mov qword [rax - 0x28], rsi
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0x68]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax - 0x10], xmm1
movups xmmword [rax - 0x20], xmm0
mov ecx, 0xa
mov rdi, rax
mov rsi, r12
rep movsq qword [rdi], qword [rsi]
mov ecx, dword [r12 + 0x50]
mov dword [rax + 0x50], ecx
mov cl, byte [r12 + 0x54]
mov byte [rax + 0x54], cl
lea rdx, [rsp + 0x110]
mov rcx, r15
mov r9, rbp
call fcn.140145ee0
mov sil, 1
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14014597a
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140171860
mov eax, esi
movaps xmm6, xmmword [rsp + 0x1c0]
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x138]
mov qword [rax - 0x28], rsi
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0x68]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax - 0x10], xmm1
movups xmmword [rax - 0x20], xmm0
mov ecx, 0xa
mov rdi, rax
mov rsi, r12
rep movsq qword [rdi], qword [rsi]
mov ecx, dword [r12 + 0x50]
mov dword [rax + 0x50], ecx
mov cl, byte [r12 + 0x54]
mov byte [rax + 0x54], cl
lea rdx, [rsp + 0x110]
mov rcx, r13
mov r8, r14
call fcn.140146fa0
mov esi, eax
jmp 0x1401458bf
lea rcx, [rax + rdi]
sar rcx, 0x3f
btc rcx, 0x3f
add rdi, rax
cmovo rdi, rcx
jmp 0x140145571
mov al, 1
jmp 0x1401457e2
lock dec dword [rcx]
jne 0x1401458cb
mov rax, qword [rcx + 0x10]
call qword [case.0x140211850.0]
jmp 0x1401458cb
and al, 0x7f
cmp al, 2
je 0x140145bff
lock dec dword [rsi]
jne 0x1401459ae
mov rax, qword [rsi + 0x10]
mov rcx, rsi
call qword [case.0x140211850.0]
test r14, r14
je 0x140145a55
lock dec dword [r14 + 8]
jne 0x140145a55
lea rax, [0x1402ff3a8]
mov qword [r14], rax
mov rdx, qword [r14 + 0xa0]
test rdx, rdx
jne 0x140145bca
lea rsi, [r14 + 0x78]
mov rdi, qword [r14 + 0x78]
mov r15, qword [r14 + 0x80]
mov rdx, rdi
cmp r15, rdi
jne 0x140145c62
mov qword [r14 + 0x80], rdi
test rdx, rdx
jne 0x140145c27
mov rdi, qword [r14 + 0x60]
mov rsi, qword [r14 + 0x68]
cmp rsi, rdi
jne 0x140145a5c
mov rdx, qword [r14 + 0x50]
lea rcx, fcn.140055170
xor r8d, r8d
call fcn.140054930
lea rax, [0x1402ff408]
mov qword [r14], rax
mov rcx, qword [r14 + 0x38]
mov rax, qword [0x1403428e0]
and rax, rcx
cmp rax, qword [0x1403428c8]
jne 0x140145a4d
call fcn.1401571d0
mov rcx, r14
call fcn.14016eccc
xor esi, esi
jmp 0x1401458bf
mov r15, qword [r14 + 0x58]
jbe 0x140145b39
cmp r15, rsi
jb 0x140145c3c
cmp r15, rdi
jb 0x140145c3f
cmp rdi, rsi
jg 0x140145c42
mov r15, qword [r14 + 0x50]
shl rsi, 7
shl rdi, 7
mov rcx, qword [r15 + rdi]
test rcx, rcx
jne 0x140145aa4
sub rdi, 0xffffffffffffff80
cmp rsi, rdi
jne 0x140145a8d
jmp 0x140145a14
lock dec dword [rcx]
jne 0x140145a96
mov rax, qword [rcx + 0x10]
call qword [case.0x140211850.0]
jmp 0x140145a96
lea rcx, [0x14035c0b0]
call fcn.14016f8b4
cmp dword [0x14035c0b0], 0xffffffff
jne 0x14014570d
xorps xmm0, xmm0
movups xmmword [0x14035c0a0], xmm0
lea rcx, [0x14035c0a0]
xor edx, edx
call fcn.140041af0
lea rcx, [0x14035c0b0]
call fcn.14016ef8c
jmp 0x14014570d
lea rcx, [0x14035c080]
call fcn.14016f8b4
cmp dword [0x14035c080], 0xffffffff
jne 0x14014577a
xorps xmm0, xmm0
movups xmmword [0x14035c070], xmm0
lea rcx, [0x14035c070]
xor edx, edx
call fcn.140041af0
lea rcx, [0x14035c080]
call fcn.14016ef8c
jmp 0x14014577a
cmp r15, rdi
jb 0x140145c45
jl 0x140145c48
je 0x140145b7f
mov r12, qword [r14 + 0x50]
shl r15, 7
shl rdi, 7
mov rcx, qword [r12 + rdi]
test rcx, rcx
jne 0x140145b6a
sub rdi, 0xffffffffffffff80
cmp r15, rdi
jne 0x140145b56
jmp 0x140145b7b
lock dec dword [rcx]
jne 0x140145b5f
mov rax, qword [rcx + 0x10]
call qword [case.0x140211850.0]
jmp 0x140145b5f
mov rdi, qword [r14 + 0x58]
cmp rdi, rsi
jb 0x140145c4b
test rsi, rsi
js 0x140145c4e
je 0x140145a14
mov rdi, qword [r14 + 0x50]
shl rsi, 7
xor r15d, r15d
mov rcx, qword [rdi + r15]
test rcx, rcx
jne 0x140145bb9
sub r15, 0xffffffffffffff80
cmp rsi, r15
jne 0x140145ba2
jmp 0x140145a14
lock dec dword [rcx]
jne 0x140145bab
mov rax, qword [rcx + 0x10]
call qword [case.0x140211850.0]
jmp 0x140145bab
lea rsi, [r14 + 0xa0]
mov rcx, rsi
call fcn.1401b5410
mov rcx, qword [rsi]
call fcn.14016eccc
jmp 0x1401459dc
lea rdx, [rsp + 0x60]
mov rcx, r15
mov r8, r14
call qword [case.0x140211850.0]
jmp 0x140145953
int3
test rdi, rdi
jne 0x14014599c
add rbp, 0x70
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140145c7c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x1401456d9
mov rcx, rsi
call fcn.140246d90
mov rcx, qword [rsi]
call fcn.14016eccc
jmp 0x140145a07
int3
int3
int3
int3
int3
int3
int3
lock dec dword [rcx]
jne 0x140145c6f
mov rax, qword [rcx + 0x10]
call qword [case.0x140211850.0]
jmp 0x140145c6f
mov rcx, qword [r15 - 0x80]
add r15, 0xffffffffffffff80
test rcx, rcx
jne 0x140145c51
cmp r15, rdi
jne 0x140145c62
mov rdx, qword [rsi]
jmp 0x1401459f7
mov rcx, rbp
call fcn.140047ff0
jmp 0x140145c19