Function at 0x1800a9f70
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rbp
push r13
sub rsp, 0xb8
mov rdx, qword [rcx + 0x18]
mov qword [rax - 0x18], rbx
mov qword [rax - 0x20], rsi
mov qword [rax - 0x30], r12
xor r12d, r12d
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
lea r13d, [r12 + 1]
mov r15, rcx
mov ebp, r12d
mov rsi, r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x20], r12d
mov r14, r12
mov dword [rsp + 0xe8], r12d
mov ebx, r12d
test rdx, rdx
je 0x1800aa878
nop word [rax + rax]
mov ecx, dword [rdx + 0x78]
mov r8d, ecx
and r8d, 0xfffff
call fcn.18024179c
test al, al
je 0x1800a9ff9
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax + r8*8]
cmp dword [rcx + 0x13c], 0xffffffff
jne 0x1800a9ff9
inc ebx
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1800a9fd0
test ebx, ebx
je 0x1800aa878
mov qword [rsp + 0xa0], rdi
cmp ebx, 0x3ffffffd
jbe 0x1800aa020
mov ebp, 0x80070216
jmp 0x1800aa057
lea edi, [rbx*4]
mov eax, 4
lea rcx, [r15 + 0xd250]
test edi, edi
cmove edi, eax
mov edx, edi
mov dword [rsp + 0x20], edi
call fcn.1800c58b0
mov ebp, 0x8007000e
test rax, rax
mov rsi, rax
mov qword [rsp + 0x38], rax
cmovne ebp, r12d
test ebp, ebp
js 0x1800aa870
cmp ebx, 0xaaaaaaa
jbe 0x1800aa06e
mov ebp, 0x80070216
jmp 0x1800aa0a8
lea eax, [rbx + rbx*2]
mov ecx, 0x18
shl eax, 3
test eax, eax
cmove eax, ecx
lea rcx, [r15 + 0xd418]
lea edi, [rax + 7]
and edi, 0xfffffff8
mov edx, edi
mov dword [rsp + 0xe8], edi
call fcn.1800c58b0
mov ebp, 0x8007000e
test rax, rax
mov r14, rax
cmovne ebp, r12d
test ebp, ebp
js 0x1800aa870
mov rdx, qword [r15 + 0x18]
mov r10d, r12d
test rdx, rdx
je 0x1800aa117
mov rdi, rsi
lea r8, [r14 + 0x10]
mov ecx, dword [rdx + 0x78]
mov r9d, ecx
and r9d, 0xfffff
call fcn.18024179c
test al, al
je 0x1800aa10f
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax + r9*8]
cmp dword [rcx + 0x13c], 0xffffffff
jne 0x1800aa10f
mov qword [r8 - 0x10], rcx
mov rax, qword [rdx + 0x18]
add r8, 0x18
mov rcx, qword [rax]
mov qword [r8 - 0x18], 0xffffffffffffffff
mov qword [r8 - 0x20], rcx
mov dword [rdi], r10d
inc r10d
add rdi, 4
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1800aa0c3
cmp r10d, ebx
je 0x1800aa126
mov ebp, 0x80004005
jmp 0x1800aa870
lea rcx, [0x1800a9f20]
mov r9, r14
mov r8d, r10d
mov rdx, rsi
call fcn.1800c51b0
mov edi, r12d
mov dword [rsp + 0xd8], r12d
test ebx, ebx
je 0x1800aa1bd
mov edi, r13d
mov dword [rsp + 0xd8], r13d
cmp ebx, r13d
jbe 0x1800aa1bd
lea rcx, [rsi + 4]
dec ebx
mov r8, rcx
nop word [rax + rax]
mov eax, dword [rcx - 4]
mov r11d, dword [r8]
lea r9, [r11 + r11*2]
lea r10, [rax + rax*2]
mov rax, qword [r14 + r10*8]
mov rdx, qword [r14 + r9*8]
cmp rax, rdx
jb 0x1800aa1a4
cmp rax, rdx
ja 0x1800aa1a4
mov rax, qword [r14 + r10*8 + 8]
mov rdx, qword [r14 + r9*8 + 8]
cmp rax, rdx
jb 0x1800aa1a4
cmp rax, rdx
jbe 0x1800aa1ad
mov dword [rcx], r11d
inc edi
add rcx, 4
add r8, 4
sub rbx, r13
jne 0x1800aa170
mov dword [rsp + 0xd8], edi
movaps xmmword [rsp + 0x70], xmm6
mov r13d, r12d
mov dword [rsp + 0xd0], r12d
movaps xmmword [rsp + 0x60], xmm7
mov rbx, r12
test edi, edi
je 0x1800aa79f
movsd xmm6, qword [0x1800685a0]
movsd xmm7, qword [0x1800685d8]
mov r12, qword [rsp + 0xd0]
nop word [rax + rax]
test byte [r15 + 0xceff], 0x80
mov eax, dword [rsi + rbx*4]
lea rcx, [rax + rax*2]
mov rbp, qword [r14 + rcx*8]
mov qword [rsp + 0x40], rbp
jne 0x1800aa24c
cmp dword [rbp + 0x110], 0
je 0x1800aa24c
mov rax, qword [rbp + 0x108]
test rax, rax
je 0x1800aa235
lea rdx, [rax + 0x20]
jmp 0x1800aa237
xor edx, edx
lea r9, [0x18003c990]
mov r8d, 0x11e5
mov rcx, r15
call fcn.18019df20
mov r8d, r13d
mov dword [rsp + 0xe0], r13d
mov rdx, rbx
mov qword [rsp + 0x30], rbx
cmp r13d, edi
jae 0x1800aa77b
nop dword [rax + rax]
mov eax, dword [rsi + rdx*4]
lea rdx, [rax + rax*2]
mov eax, dword [rsi + rbx*4]
lea rcx, [rax + rax*2]
mov rax, qword [r14 + rcx*8]
cmp qword [r14 + rdx*8], rax
jne 0x1800aa773
cmp qword [r14 + rdx*8 + 0x10], 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov r13d, r8d
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0xd0], r8d
jne 0x1800aa750
mov rdx, qword [r14 + rdx*8 + 8]
lea r8, [rsp + 0x48]
mov rcx, r15
mov qword [rsp + 0x28], rdx
mov rdx, qword [rdx + 0xa8]
call fcn.18019f710
mov ebp, eax
test eax, eax
js 0x1800aa860
mov r9, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r10, qword [rsp + 0x28]
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x10]
mov rax, 0xffffffffffffffff
mov qword [r9 + 0x10], rcx
test byte [r15 + 0xceff], 0x80
mov r8, qword [r10 + 0xa8]
cmovne rax, rbp
or qword [r9 + 0x10], 0x10000000
mov rdx, qword [r9 + 0x10]
mov qword [r9 + 0xa0], rax
mov rcx, qword [r8 + 8]
movzx eax, byte [rcx]
test al, al
je 0x1800aa342
nop dword [rax + rax]
cmp al, 0x73
je 0x1800aa376
cmp al, 0x20
je 0x1800aa36a
mov al, byte [rcx + 1]
inc rcx
test al, al
jne 0x1800aa334
lea rax, [0x1800338e8]
btr rdx, 0xb
mov qword [r9 + 8], rax
mov qword [r9 + 0x10], rdx
mov rax, qword [r10 + 0xa8]
mov r13, qword [rax + 0x30]
test r13, r13
jne 0x1800aa389
xor ebx, ebx
jmp 0x1800aa38d
mov al, byte [rcx + 1]
inc rcx
test al, al
jne 0x1800aa330
jmp 0x1800aa342
bts rdx, 0xb
mov qword [r9 + 0x10], rdx
mov rax, qword [r8 + 8]
mov qword [r9 + 8], rax
jmp 0x1800aa356
mov rbx, qword [r13]
test r13, r13
je 0x1800aa73b
test byte [r15 + 0xceff], 0x80
je 0x1800aa3ba
mov rax, qword [r10 + 0xa8]
mov ecx, dword [rax + 0x10]
bt rcx, 0x1c
jae 0x1800aa3ba
cmp r13, r10
jne 0x1800aa70d
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1800aa3cb
xor ebp, ebp
mov rcx, rbp
jmp 0x1800aa3d6
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebp, ebp
mov rcx, rax
cmp qword [rcx + 0x18], 0
je 0x1800aa40a
mov rdi, qword [rcx + 0x18]
test rdi, rdi
jne 0x1800aa3eb
mov rdi, rbp
jmp 0x1800aa421
mov rax, qword [rdi]
mov qword [rcx + 0x18], rax
test rax, rax
jne 0x1800aa3fb
mov qword [rcx + 0x20], rbp
movabs rax, 0xfefefefefefefefe
mov qword [rdi], rax
jmp 0x1800aa421
mov rcx, qword [rcx + 0x10]
mov edx, 0x188
mov r8d, 0x10
call fcn.180243b70
mov rdi, rax
test rdi, rdi
je 0x1800aa584
mov rdx, r13
mov rcx, rdi
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
mov qword [rdi + 0x78], rbp
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x88], rbp
mov qword [rdi + 0x90], rbp
mov dword [rdi + 0xa0], 0xffffffff
mov qword [rdi + 0xa8], 0xffffffffffffffff
mov qword [rdi + 0x40], rbp
call fcn.1801994e0
mov ebp, eax
test eax, eax
js 0x1800aa529
mov rdx, qword [rdi + 0xa8]
mov eax, dword [rdx + 0x10]
bt rax, 8
jae 0x1800aa4dd
cmp qword [rdi + 0xc0], 0xffffffffffffffff
jne 0x1800aa4dd
cmp qword [rdi + 0xb8], 0xffffffffffffffff
jne 0x1800aa4dd
movsd xmm1, qword [rdi + 0x140]
or qword [rdi + 0x98], 0x1000010
mov rcx, qword [rdi + 0x98]
cvttsd2si eax, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
andpd xmm1, xmm6
comisd xmm7, xmm1
jbe 0x1800aa4dd
bts rcx, 0x15
mov qword [rdi + 0x98], rcx
mov rcx, rdi
call fcn.18019c4f0
test al, al
je 0x1800aa4f4
or qword [rdi + 0x98], 0x20000
mov rax, qword [rdx + 0x10]
test al, 0x10
je 0x1800aa50b
bt rax, 0x15
jae 0x1800aa50b
or qword [rdi + 0x98], 0x10
mov eax, dword [r15 + 0x10]
mov r12, rdi
mov dword [rdi + 0xa0], eax
inc dword [r15 + 0x10]
or dword [r15 + 0x28], 4
xor r8d, r8d
mov ebp, r8d
jmp 0x1800aa58c
call fcn.1801991c0
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1800aa53c
xor esi, esi
jmp 0x1800aa545
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov edx, 0xfe
mov r8d, 0x188
mov rcx, rdi
call fcn.18024adb8
xor r8d, r8d
mov qword [rdi], r8
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x1800aa575
mov qword [rax], rdi
mov qword [rsi + 0x20], rdi
mov rsi, qword [rsp + 0x38]
jmp 0x1800aa58c
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], rdi
mov rsi, qword [rsp + 0x38]
jmp 0x1800aa58c
mov ebp, 0x8007000e
xor r8d, r8d
test ebp, ebp
js 0x1800aa858
mov eax, dword [r13 + 0xa0]
mov dword [r12 + 0x13c], eax
test byte [r15 + 0xceff], 0x80
je 0x1800aa5cd
mov r10, qword [rsp + 0x28]
mov rax, qword [r10 + 0xa8]
mov ecx, dword [rax + 0x10]
bt rcx, 0x1c
jae 0x1800aa5d2
mov dword [r12 + 0xc8], r8d
jmp 0x1800aa5e1
mov r10, qword [rsp + 0x28]
mov eax, dword [r13 + 0xc8]
mov dword [r12 + 0xc8], eax
mov rbp, qword [rsp + 0x40]
mov rcx, qword [r12 + 0xa8]
mov r9, qword [rsp + 0x48]
mov rax, qword [rbp + 0x108]
mov qword [r12 + 0x128], rax
cmp rcx, r9
je 0x1800aa67b
test rcx, rcx
je 0x1800aa64a
cmp rcx, 0xffffffffffffffff
je 0x1800aa64a
mov rdx, qword [r12 + 8]
test rdx, rdx
je 0x1800aa625
mov rax, qword [r12]
mov qword [rdx], rax
jmp 0x1800aa62d
mov rax, qword [r12]
mov qword [rcx + 0x30], rax
mov rdx, qword [r12]
test rdx, rdx
je 0x1800aa641
mov rax, qword [r12 + 8]
mov qword [rdx + 8], rax
jmp 0x1800aa64a
mov rax, qword [r12 + 8]
mov qword [rcx + 0x38], rax
cmp r9, 0xffffffffffffffff
je 0x1800aa673
mov rax, qword [r9 + 0x38]
mov qword [r12 + 8], rax
mov rax, qword [r9 + 0x38]
test rax, rax
je 0x1800aa667
mov qword [rax], r12
jmp 0x1800aa66b
mov qword [r9 + 0x30], r12
mov qword [r12], r8
mov qword [r9 + 0x38], r12
mov qword [r12 + 0xa8], r9
mov edx, r8d
mov rdi, r8
mov eax, dword [rsi + rdi*4]
lea rcx, [rax + rax*2]
cmp qword [r14 + rcx*8 + 0x10], 0xffffffffffffffff
jne 0x1800aa6c1
cmp qword [r14 + rcx*8 + 8], r13
jne 0x1800aa6c1
cmp qword [r14 + rcx*8], rbp
jne 0x1800aa6a4
mov qword [r14 + rcx*8 + 0x10], r12
jmp 0x1800aa6c1
test byte [r15 + 0xceff], 0x80
jne 0x1800aa6c1
mov rax, qword [rsp + 0x30]
mov eax, dword [rsi + rax*4]
lea rcx, [rax + rax*2]
cmp r13, qword [r14 + rcx*8 + 8]
jne 0x1800aa6d1
inc edx
inc rdi
cmp edx, dword [rsp + 0xd8]
jb 0x1800aa681
jmp 0x1800aa70d
mov rax, qword [r13 + 0x108]
test rax, rax
je 0x1800aa6e3
lea rdx, [rax + 0x20]
jmp 0x1800aa6e6
mov rdx, r8
lea r9, [0x18003c9f0]
mov r8d, 0x11e5
mov rcx, r15
call fcn.18019df20
mov r11d, dword [rsi + rdi*4]
mov r10, qword [rsp + 0x28]
lea rax, [r11 + r11*2]
mov qword [r14 + rax*8 + 0x10], r12
mov r13, rbx
test rbx, rbx
je 0x1800aa71d
mov rbx, qword [rbx]
jmp 0x1800aa396
mov edi, dword [rsp + 0xd8]
mov r8d, dword [rsp + 0xe0]
mov rbx, qword [rsp + 0x50]
mov r13d, dword [rsp + 0xd0]
jmp 0x1800aa750
mov r8d, dword [rsp + 0xe0]
mov rbx, qword [rsp + 0x50]
mov r13d, dword [rsp + 0xd0]
mov rdx, qword [rsp + 0x30]
inc r8d
inc rdx
mov dword [rsp + 0xe0], r8d
mov qword [rsp + 0x30], rdx
cmp r8d, edi
jb 0x1800aa270
jmp 0x1800aa77b
mov r13d, dword [rsp + 0xd0]
inc r13d
inc rbx
mov dword [rbp + 0x13c], 0xffffffff
mov dword [rsp + 0xd0], r13d
cmp r13d, edi
jb 0x1800aa200
xor r12d, r12d
mov r10, qword [r15 + 0x18]
test r10, r10
je 0x1800aa840
nop dword [rax]
mov ecx, dword [r10 + 0x78]
mov r11d, ecx
and r11d, 0xfffff
call fcn.18024179c
test al, al
je 0x1800aa834
mov r8d, r12d
mov rdx, r12
movsxd r9, r11d
test edi, edi
je 0x1800aa82f
mov rcx, qword [r10 + 0x18]
shl r9, 3
mov rbx, qword [r9 + rcx]
mov eax, dword [rsi + rdx*4]
lea rax, [rax + rax*2]
cmp rbx, qword [r14 + rax*8]
jne 0x1800aa7f7
mov rax, qword [r14 + rax*8 + 8]
cmp qword [rcx], rax
je 0x1800aa804
inc r8d
inc rdx
cmp r8d, edi
jb 0x1800aa7e0
jmp 0x1800aa82f
test r11d, r11d
je 0x1800aa82f
nop dword [rax]
mov eax, dword [rsi + rdx*4]
mov rcx, qword [r10 + 0x18]
add r9, 8
sub r11, 1
lea rax, [rax + rax*2]
mov rax, qword [r14 + rax*8 + 0x10]
mov qword [r9 + rcx - 8], rax
jne 0x1800aa810
cmp r8d, edi
je 0x1800aa84b
mov r10, qword [r10]
test r10, r10
jne 0x1800aa7b0
mov ebp, r12d
mov r13d, 1
jmp 0x1800aa866
mov ebp, 0x80004005
mov r13d, 1
jmp 0x1800aa866
mov r13d, 1
jmp 0x1800aa866
mov r13d, 1
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
mov rdi, qword [rsp + 0xa0]
mov eax, dword [rsp + 0xe8]
mov r12, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xb0]
test r14, r14
mov r14, qword [rsp + 0x90]
lea rcx, [r15 + 0xd418]
je 0x1800aa8c4
mov rdx, qword [rcx]
test rax, rax
cmove rax, r13
cmp rax, qword [rdx + 8]
jae 0x1800aa8b9
sub qword [rdx + 8], rax
jmp 0x1800aa8c4
mov rax, qword [rdx]
mov qword [rcx], rax
call fcn.1800c56f0
mov eax, dword [rsp + 0x20]
lea rcx, [r15 + 0xd250]
mov r15, qword [rsp + 0x88]
test rsi, rsi
mov rsi, qword [rsp + 0xa8]
je 0x1800aa910
mov rdx, qword [rcx]
test rax, rax
cmove rax, r13
cmp rax, qword [rdx + 8]
jae 0x1800aa905
sub qword [rdx + 8], rax
mov eax, ebp
add rsp, 0xb8
pop r13
pop rbp
ret
mov rax, qword [rdx]
mov qword [rcx], rax
call fcn.1800c56f0
mov eax, ebp
add rsp, 0xb8
pop r13
pop rbp
ret