Function at 0x1800b2b60
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r13
sub rsp, 0x9c0
mov rdx, qword [rcx + 0x19550]
mov byte [rsp + 0x40], 1
xor r13d, r13d
mov esi, dword [rdx + 0x78]
lea rax, [rsp + 0x50]
lea r9, [r11 - 0x928]
and esi, 0xfffff
lea r8, [0x1800281a0]
mov rdi, rcx
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rax
lea rax, [r11 - 0x828]
mov qword [rsp + 0x28], rax
lea rax, [r11 + 8]
mov dword [r11 + 8], r13d
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x58], 2
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x5c], 3
mov qword [r11 + 0x10], r13
call fcn.18018c190
test eax, eax
je 0x1800b2d87
mov rdx, qword [rdi + 0x19550]
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x38], esi
lea rax, [rsp + 0x50]
lea r9, [rsp + 0xb0]
lea r8, [0x180028210]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1b0]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x9e0]
mov qword [rsp + 0x20], rax
call fcn.18018c190
test eax, eax
je 0x1800b2d87
mov rdx, qword [rdi + 0x19550]
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x38], esi
lea rax, [rsp + 0x50]
lea r9, [rsp + 0xb0]
lea r8, [0x180028280]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1b0]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x9e0]
mov qword [rsp + 0x20], rax
call fcn.18018c190
test eax, eax
je 0x1800b2d87
mov rdx, qword [rdi + 0x19550]
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x38], esi
lea rax, [rsp + 0x50]
lea r9, [rsp + 0xb0]
lea r8, [0x1800282f0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1b0]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x9e0]
mov qword [rsp + 0x20], rax
call fcn.18018c190
test eax, eax
je 0x1800b2d87
mov rdx, qword [rdi + 0x19550]
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x38], esi
lea rax, [rsp + 0x50]
lea r9, [rsp + 0xb0]
lea r8, [0x180028360]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1b0]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x9e0]
mov qword [rsp + 0x20], rax
call fcn.18018c190
test eax, eax
je 0x1800b2d87
mov rdx, qword [rdi + 0x19550]
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x38], esi
lea rax, [rsp + 0x50]
lea r9, [rsp + 0xb0]
lea r8, [0x1800283d0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1b0]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x9e0]
mov qword [rsp + 0x20], rax
call fcn.18018c190
test eax, eax
jne 0x1800b30d3
mov qword [rsp + 0x9b0], r12
lea r12, [rsi*8]
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x50]
mov r8, r12
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x70]
mov r8, r12
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x90]
mov r8, r12
call sub.msvcrt.dll_memcpy
mov r11d, r13d
test esi, esi
je 0x1800b2e4c
movzx edx, byte [rdi + 0xcef7]
xorpd xmm1, xmm1
movsd xmm2, qword [0x1800685e8]
shr dl, 4
lea rcx, [rsp + 0x50]
and dl, 1
movsd xmm3, qword [0x180068590]
mov rax, qword [rcx]
test dl, dl
je 0x1800b2e40
test byte [rax + 0xf8], 1
jne 0x1800b2e40
movsd xmm0, qword [rax + 0x158]
comisd xmm0, xmm1
jb 0x1800b2f41
comisd xmm0, xmm2
jb 0x1800b2f41
comisd xmm3, xmmword [rax + 0x160]
jb 0x1800b2f41
inc r11d
add rcx, 8
cmp r11d, esi
jb 0x1800b2e06
mov r9, qword [rdi + 0x19550]
mov r8d, esi
lea eax, [rsi + rsi*2]
and r8d, 0xfffff
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x9e8]
mov rcx, rdi
or r8d, 0x90000000
mov qword [rsp + 0x9f0], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x9b8], rbp
call fcn.18019f360
mov rbx, qword [rsp + 0x9e8]
mov ebp, eax
test eax, eax
js 0x1800b2f17
mov rdx, qword [rdi + 0x19550]
mov rcx, qword [rbx + 0x28]
mov r8, r12
mov rdx, qword [rdx + 0x28]
call sub.msvcrt.dll_memcpy
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x50]
mov r8, r12
call sub.msvcrt.dll_memcpy
mov r11, qword [rbx + 0x18]
lea rdx, [rsp + 0x90]
lea rcx, [r12 + r11]
mov r8, r12
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x18]
lea r11d, [rsi + rsi]
lea rdx, [rsp + 0x70]
lea rcx, [rax + r11*8]
mov r8, r12
call sub.msvcrt.dll_memcpy
mov r11, qword [rdi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [r11 + 0x98]
test al, al
je 0x1800b2f78
mov ebp, 1
test rbx, rbx
je 0x1800b30b9
cmp word [rbx + 0x7c], r13w
je 0x1800b305c
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1800b301d
mov rax, r13
jmp 0x1800b3023
mov rdx, qword [rdi + 0x19550]
test rdx, rdx
je 0x1800b2f56
mov rdx, qword [rdx + 0x70]
test rdx, rdx
jne 0x1800b2f59
mov rdx, r13
lea r9, [0x18003ccb8]
mov r8d, 0x125f
mov rcx, rdi
call fcn.18019df60
mov eax, 1
jmp 0x1800b30cb
mov rcx, qword [rdi + 0x19550]
mov rax, qword [rcx]
mov esi, dword [rcx + 0x30]
mov qword [rbx], rax
mov rax, qword [rcx]
test rax, rax
je 0x1800b2f96
mov qword [rax + 8], rbx
jmp 0x1800b2f9a
mov qword [rdi + 0x20], rbx
mov qword [rbx + 8], rcx
mov rax, qword [rcx + 8]
mov qword [rcx], rbx
test rax, rax
je 0x1800b2faf
mov qword [rax], rbx
jmp 0x1800b2fb3
mov qword [rdi + 0x18], rbx
mov rdx, qword [rcx]
test rdx, rdx
je 0x1800b2fc5
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
jmp 0x1800b2fcd
mov rax, qword [rcx + 8]
mov qword [rdi + 0x20], rax
mov edx, 1
mov qword [rcx], 0xffffffffffffffff
mov qword [rcx + 8], 0xffffffffffffffff
call fcn.1800c5dc0
cmp dword [rbx + 0x30], 0xffffffff
je 0x1800b2ff3
mov ebp, 0x80004005
jmp 0x1800b2ffd
mov dword [rbx + 0x30], esi
or dword [rdi + 0x28], 6
mov ebp, r13d
test ebp, ebp
js 0x1800b2f17
mov rcx, rdi
call fcn.1801b3770
test eax, eax
js 0x1800b30bb
mov eax, r13d
jmp 0x1800b30bb
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
movzx ecx, word [rbx + 0x7c]
cmp ecx, dword [rax + 0x250]
ja 0x1800b3053
mov r8, qword [rbx + 0x18]
dec ecx
movsxd rdx, ecx
shl rdx, 5
add rdx, qword [rax + 0x248]
test r8, r8
je 0x1800b3053
mov rax, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r8
mov word [rbx + 0x7c], r13w
mov qword [rbx + 0x18], r13
cmp word [rbx + 0x7e], r13w
je 0x1800b30b1
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1800b3072
mov rax, r13
jmp 0x1800b3078
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
movzx ecx, word [rbx + 0x7e]
cmp ecx, dword [rax + 0x250]
ja 0x1800b30a8
mov r8, qword [rbx + 0x28]
dec ecx
movsxd rdx, ecx
shl rdx, 5
add rdx, qword [rax + 0x248]
test r8, r8
je 0x1800b30a8
mov rax, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r8
mov word [rbx + 0x7e], r13w
mov qword [rbx + 0x28], r13
mov rcx, rbx
call fcn.1801979c0
mov eax, ebp
mov rbp, qword [rsp + 0x9b8]
mov rbx, qword [rsp + 0x9f0]
mov r12, qword [rsp + 0x9b0]
add rsp, 0x9c0
pop r13
pop rdi
pop rsi
ret