Function at 0x140010b79
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0xe8
mov qword [rsp + 0xc0], r8
mov qword [rsp + 0xc8], rdx
mov qword [rsp + 0xd0], rcx
mov ecx, dword [0x1401ab0a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rsp + 0xd0]
add rax, 0x60
mov qword [rsp + 0xd8], rax
mov rax, qword [rcx]
mov qword [rsp + 0xe0], rax
and rax, 3
movabs rcx, 0xde0c8dde1bf9124
movabs rdx, 0xde0c8dde1bf9125
xor rcx, rdx
cmp rax, rcx
je 0x1400113df
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xe0]
movabs r8, 0xd7840f29afc5cf50
movabs r9, 0x287bf0d6503a30ac
xor r8, r9
and rdx, r8
or rdx, 1
mov qword [rcx], rdx
mov rcx, rax
add rcx, 0x38
mov qword [rsp + 0xb0], rcx
mov rdx, qword [rax + 0x38]
movabs rcx, 0xa0e0d52fbaa288ad
movabs rax, 0xa0e0d52fbaa288ac
xor rcx, rax
mov rax, rdx
add rax, rcx
mov qword [rsp + 0xb8], rax
movabs r8, 0x36f5c74610ffa311
movabs rcx, 0xc90a38b9ef005cee
xor r8, rcx
mov rcx, rdx
xor rcx, r8
mov r8, rdx
xor r8, 0xffffffffffffffff
or rcx, r8
movabs r8, 0xec50e95af3a6b200
movabs r9, 0x13af16a50c594dff
xor r8, r9
and rcx, r8
movabs r8, 0x9885412ed105f8a
movabs r9, 0xf677abed12efa075
xor r8, r9
xor rcx, r8
movabs r8, 0xc1cd8bdf4ff26f21
movabs r9, 0x3e327420b00d90de
xor r8, r9
movabs r9, 0x328982b717ee8045
movabs r10, 0xcd767d48e8117fba
xor r9, r10
xor r8, r9
mov r9, 0xffffffffffffffff
xor r9, 0xffffffffffffffff
or r8, r9
and rdx, r8
xor rdx, 0xffffffffffffffff
and rcx, rdx
movabs rdx, 0x5f810f3aa5172e4a
movabs r8, 0xa07ef0c55ae8d1b5
xor rdx, r8
xor rcx, rdx
and rax, rcx
movabs rcx, 0x69c0c56790e14a4e
movabs rdx, 0x69c0c56790e14a4e
xor rcx, rdx
cmp rax, rcx
jl 0x1400113da
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
mov qword [rcx], rdx
movabs rcx, 0x63afcaefb56d6b2e
movabs rdx, 0x63afcaefb56d6b2a
xor rcx, rdx
sar rax, cl
mov rcx, rax
mov rdx, rcx
and rdx, 1
shl rdx, 1
mov rax, rcx
xor rax, 1
add rax, rdx
mov qword [rsp + 0xa8], rax
movabs rdx, 0x399ac8f107c93ae
movabs r8, 0xfc665370ef836c51
xor rdx, r8
xor rcx, rdx
and rax, rcx
cmp rax, 0
jl 0x1400113da
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xc0]
mov rcx, rax
add rcx, 0x48
mov qword [rsp + 0x98], rcx
mov r8, qword [rax + 0x48]
mov rcx, r8
add rcx, rdx
mov qword [rsp + 0xa0], rcx
mov rax, rcx
xor rax, r8
xor rcx, rdx
and rax, rcx
movabs rcx, 0x2967b8de3d1cf5da
movabs rdx, 0x2967b8de3d1cf5da
xor rcx, rdx
cmp rax, rcx
jl 0x1400113da
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
mov qword [rax], rcx
mov ecx, dword [0x1401ab0a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
cmp rax, 0
je 0x140010eaa
mov rax, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xd0]
movabs r8, 0xb2d908184071abb
movabs r9, 0x5096ab6c86afb9aa
xor r8, r9
sub rcx, r8
movabs r8, 0x70e8bd3bce2290e2
movabs r9, 0x70e8bd3bce2290f2
xor r8, r9
add rcx, r8
movabs r8, 0x5bbb3bed02a8a311
add rcx, r8
call rax
mov rax, qword [rsp + 0xd8]
cmp byte [rax], 0
jne 0x1400113df
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
cmp rax, 0
jle 0x1400113df
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xc0]
mov rdx, rcx
add rdx, 0x40
mov qword [rsp + 0x70], rdx
add rcx, 0x10
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov r8, 0xffffffffffffffff
xor r8, 0xffffffffffffffff
xor r9d, r9d
sub r9, 1
sub r8, r9
sub rdx, r8
mov r8, rdx
shl r8, 4
add r8, qword [rax]
mov rax, qword [r8]
mov r8, qword [r8 + 8]
mov qword [rsp + 0x48], r8
mov qword [rcx], rdx
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rcx, rax
add rcx, 0xfffffffffffffff0
mov qword [rsp + 0x58], rcx
mov rdx, qword [rax - 0x10]
mov qword [rsp + 0x60], rdx
movabs rcx, 0x63ef312e9a168dd4
movabs rax, 0x63ef312e9a168dd4
xor rcx, rax
movabs rax, 0xb6a074c1147254f9
movabs r8, 0x495f8b3eeb8dab09
xor rax, r8
sub rcx, rax
mov rax, rdx
sub rax, rcx
mov qword [rsp + 0x68], rax
mov rcx, rax
xor rcx, rdx
cmp rcx, 0
setl dl
movabs rcx, 0xfccdfc28bca7a82b
movabs r8, 0x33203d7435857d4
xor rcx, r8
cmp rax, rcx
setg cl
mov al, 1
xor al, 0
xor dl, al
mov al, cl
xor al, dl
and al, cl
test al, 1
jne 0x1400113da
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov qword [rcx], rdx
mov rcx, qword [rax]
movabs rdx, 0x34eb9718725e7a43
movabs rax, 0xe253038d26ff6e8d
xor rdx, rax
mov rax, rcx
sub rax, rdx
movabs rdx, 0xf2eeb2f956c4793d
movabs r8, 0xf2eeb2f956c4793c
xor rdx, r8
add rax, rdx
movabs rdx, 0x3aad839f1f62af7d
movabs r8, 0xec15170a4bc3bbb3
xor rdx, r8
add rax, rdx
mov qword [rsp + 0x40], rax
movabs rdx, 0x2a6437fded408e0a
movabs r8, 0xd59bc80212bf71f5
xor rdx, r8
mov r8, rcx
xor r8, rdx
movabs rdx, 0xb55ee1d7b085f1f6
movabs r9, 0x4aa11e284f7a0e09
xor rdx, r9
and rdx, r8
movabs r8, 0x287f02dcf17913f6
movabs r9, 0xd780fd230e86ec09
xor r8, r9
movabs r9, 0xfa73bc047d642e6e
movabs r10, 0x58c43fb829bd191
xor r9, r10
xor r8, r9
and rcx, r8
or rdx, rcx
xor rax, 0xffffffffffffffff
movabs rcx, 0x762ec16b2a330548
movabs r8, 0x89d13e94d5ccfab7
xor rcx, r8
xor rdx, rcx
mov rcx, 0xffffffffffffffff
movabs r8, 0xb95cd3a8996afeae
xor rcx, r8
or rax, rdx
movabs rdx, 0xb95cd3a8996afeae
or rcx, rdx
xor rax, 0xffffffffffffffff
and rax, rcx
movabs rcx, 0x7035501a984e4160
movabs rdx, 0x7035501a984e4160
xor rcx, rdx
cmp rax, rcx
jl 0x1400113da
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x40]
mov qword [rcx], rdx
and rax, 3
cmp rax, 1
je 0x1400113b8
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
movabs r8, 0xf6abc59bc486db42
movabs r9, 0x9543a643b7924be
xor r8, r9
and rdx, r8
movabs r8, 0x525dfdbbedd2c537
movabs r9, 0x525dfdbbedd2c536
xor r8, r9
or rdx, r8
mov qword [rcx], rdx
mov rcx, qword [rax]
movabs rdx, 0x5855ebd9c0109870
movabs rax, 0x5855ebd9c0109871
xor rdx, rax
mov rax, rcx
add rax, rdx
mov qword [rsp + 0x38], rax
xor rcx, 0xffffffffffffffff
and rax, rcx
cmp rax, 0
jl 0x1400113da
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x38]
mov qword [rcx], rdx
sar rax, 4
xor ecx, ecx
mov edx, ecx
sub rdx, rax
movabs rcx, 0x69f09a8cb3b2bc8f
movabs r8, 0x69f09a8cb3b2bc8f
xor rcx, r8
movabs r8, 0x9adb28be1e7e509a
movabs r9, 0x9adb28be1e7e5098
xor r8, r9
sub rcx, r8
add rdx, rcx
movabs rcx, 0x64505739ac36146c
movabs r8, 0x64505739ac36146c
xor rcx, r8
sub rcx, rdx
mov qword [rsp + 0x30], rcx
movabs rdx, 0x213fcc0acef68f6f
movabs r8, 0xdec033f531097090
xor rdx, r8
mov r8, rax
xor r8, rdx
movabs rdx, 0x8627d8107f70a467
movabs r9, 0x79d827ef808f5b98
xor rdx, r9
and rdx, r8
mov r8, 0xffffffffffffffff
xor r8, 0xffffffffffffffff
and rax, r8
or rdx, rax
xor rdx, 0xffffffffffffffff
mov rax, rcx
xor rax, rdx
and rax, rcx
cmp rax, 0
jl 0x1400113da
mov r8, qword [rsp + 0x30]
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov rdx, rax
add rdx, r8
mov qword [rsp + 0x28], rdx
mov r9, rdx
xor r9, rax
xor r9, 0xffffffffffffffff
mov rcx, rax
and rcx, r9
shl rcx, 1
sub rcx, rax
mov rax, rdx
sub rax, rcx
mov rcx, rdx
or rcx, rcx
movabs r9, 0x245308c55bcc8e06
movabs r10, 0xdbacf73aa43371f9
xor r9, r10
xor rcx, r9
mov r9, r8
or r9, r9
xor r9, 0xffffffffffffffff
or rcx, r9
movabs r9, 0x6a42039e1f85a659
movabs r10, 0x95bdfc61e07a59a6
xor r9, r10
xor rcx, r9
xor rdx, 0xffffffffffffffff
xor r8, 0xffffffffffffffff
and rdx, r8
or rcx, rdx
movabs rdx, 0xc3f5b935c3b31b29
movabs r8, 0x3c0a46ca3c4ce4d6
xor rdx, r8
xor rcx, rdx
and rax, rcx
movabs rcx, 0x33c8b5b29782c598
movabs rdx, 0x33c8b5b29782c598
xor rcx, rdx
cmp rax, rcx
jl 0x1400113da
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov ecx, dword [0x1401ab0a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rax
cmp rax, 0
je 0x1400113a7
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x50]
call rax
mov rax, qword [rsp + 0xd8]
cmp byte [rax], 0
jne 0x1400113df
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
cmp rax, 0
mov qword [rsp + 0x80], rax
jg 0x140010f05
jmp 0x1400113df
call fcn.14000a590
nop
add rsp, 0xe8
ret