Function at 0x140016ffc
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rcx
cmp rdx, 0x11
jge 0x14001703b
mov ecx, dword [0x1401ab0a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, qword [rsp + 0x60]
mov rcx, rax
add rcx, 0x68
call fcn.14000d5e6
mov qword [rsp + 0x50], rax
jmp 0x140017463
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, r8
add rcx, rdx
mov qword [rsp + 0x48], rcx
mov rax, rcx
xor rax, rdx
mov r9, rcx
xor r9, r8
xor r9, 0xffffffffffffffff
mov rdx, r8
and rdx, r9
shl rdx, 1
sub rdx, r8
sub rcx, rdx
and rax, rcx
movabs rcx, 0xdb9caf5c0f34ef40
movabs rdx, 0xdb9caf5c0f34ef40
xor rcx, rdx
cmp rax, rcx
jge 0x14001709d
call fcn.14000a590
jmp 0x140017463
mov rdx, qword [rsp + 0x48]
movabs rcx, 0x753a76c5cbc03b3a
movabs rax, 0x8ac5893a343fc4c5
xor rcx, rax
mov rax, rdx
add rax, rcx
mov rcx, rax
xor rcx, rdx
movabs rdx, 0x589c79096c5f841e
movabs r8, 0x589c79096c5f841e
xor rdx, r8
cmp rcx, rdx
setl cl
cmp rax, 0xffffffffffffffff
setg al
and al, cl
test al, 1
jne 0x1400170f8
jmp 0x140017102
call fcn.14000a590
jmp 0x140017463
mov r8, qword [rsp + 0x48]
movabs rcx, 0x4e593fe56376e61f
movabs rax, 0x4e593fe56376e61f
xor rcx, rax
movabs rax, 0x197391e6a69b118
movabs rdx, 0x197391e6a69b119
xor rax, rdx
sub rcx, rax
mov rax, r8
sub rax, rcx
mov qword [rsp + 0x40], rax
mov rdx, 0xffffffffffffffff
xor rdx, 0
and rdx, r8
xor r8, 0xffffffffffffffff
movabs rcx, 0x8cb9620e2095a410
movabs r9, 0x8cb9620e2095a410
xor rcx, r9
and rcx, r8
sub rcx, rdx
and rax, rcx
movabs rcx, 0x4420647e395830bd
movabs rdx, 0x4420647e395830bd
xor rcx, rdx
cmp rax, rcx
jge 0x14001719f
call fcn.14000a590
jmp 0x140017463
mov rax, qword [rsp + 0x40]
movabs rcx, 0xcd58909cf514f552
movabs rdx, 0xcd58909cf514f552
xor rcx, rdx
cmp rax, rcx
jge 0x1400171d4
mov rcx, r8
mov rdx, r8
call fcn.140010917
jmp 0x140017463
mov ecx, dword [0x1401ab0a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, qword [rsp + 0x40]
mov rcx, rax
add rcx, 0x68
call fcn.14000d5e6
mov rcx, qword [rsp + 0x58]
mov rdx, rax
mov qword [rsp + 0x30], rdx
movabs rax, 0x3f194f6c6b0da89f
movabs r8, 0x3f194f6c6b0da89f
xor rax, r8
movabs r8, 0xfd87b2e746f2a46a
movabs r9, 0x2784d18b90d5b95
xor r8, r9
sub rax, r8
mov r8, rcx
sub r8, rax
mov rax, r8
xor rax, rdx
xor rax, 0xffffffffffffffff
or r8, rdx
and r8, rax
mov rax, rcx
xor rax, 0xffffffffffffffff
and rax, r8
movabs rdx, 0x50f64c6c5765bba1
movabs r9, 0xaf09b393a89a445e
xor rdx, r9
mov r9, r8
xor r9, rdx
mov rdx, rcx
and rdx, r9
sub rdx, rax
mov qword [rsp + 0x38], rdx
mov rax, rdx
xor rax, rcx
cmp rax, 0
setl al
mov rcx, rdx
or rcx, rcx
xor rcx, 0xffffffffffffffff
movabs r10, 0xdd8599020ed89cf6
movabs r9, 0x227a66fdf1276309
xor r10, r9
mov r9, r8
xor r9, r10
movabs r11, 0x9fe96acda67d6fff
movabs r10, 0x6016953259829000
xor r11, r10
mov r10, r8
xor r10, r11
and r9, r10
or rcx, r9
xor rcx, 0xffffffffffffffff
or rdx, r8
movabs r8, 0x40955bfaf57fb09e
movabs r9, 0xbf6aa4050a804f61
xor r8, r9
xor rdx, r8
or rcx, rdx
movabs rdx, 0xf1a797e2f139c2cd
movabs r8, 0xe58681d0ec63d32
xor rdx, r8
xor rcx, rdx
movabs rdx, 0x93f5753cae2dd665
movabs r8, 0x6c0a8ac351d2299a
xor rdx, r8
cmp rcx, rdx
setg cl
and al, cl
test al, 1
jne 0x14001733b
jmp 0x140017345
call fcn.14000a590
jmp 0x140017463
mov rax, qword [rsp + 0x38]
movabs rcx, 0x5f7d3d0da172d7f3
movabs rdx, 0xa082c2f25e8d280d
xor rcx, rdx
mov r9, rax
and r9, rcx
movabs rdx, 0x5c5bb7648952a4ba
movabs rcx, 0xa3a4489b76ad5b44
xor rdx, rcx
mov rcx, rax
or rcx, rdx
add r9, rcx
mov qword [rsp + 0x28], r9
mov rdx, r9
xor rdx, 0xffffffffffffffff
movabs rcx, 0xce15ac0195982fb7
movabs r8, 0x20bf675b7eeca816
xor rcx, r8
and rcx, rdx
movabs r10, 0xcb6b9dcaccb5545b
movabs rdx, 0x25c1569027c1d3fa
xor r10, rdx
movabs rdx, 0xe462bd87516b77c7
movabs r8, 0x1b9d4278ae948838
xor rdx, r8
xor r10, rdx
and r9, r10
movabs r8, 0x6fce84762d63ff7d
movabs rdx, 0x90317b89d29c0082
xor r8, rdx
mov rdx, rax
xor rdx, r8
movabs r8, 0xeeaacb5aeb7487a1
and rdx, r8
mov r8, rax
and r8, r10
or rcx, r9
or rdx, r8
xor rcx, rdx
cmp rcx, 0
setl cl
cmp rax, 1
setg al
and al, cl
test al, 1
jne 0x140017437
jmp 0x140017441
call fcn.14000a590
jmp 0x140017463
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
add rdx, rcx
mov r8w, ax
mov word [rdx], r8w
add rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rsp, 0x68
ret