Function at 0x14001235e
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x118
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], rcx
mov ecx, dword [0x1401ab0a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0xf8], rax
mov ecx, dword [0x1401ab0a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
mov rax, qword [rsp + 0xf8]
add rcx, 0x60
mov qword [rsp + 0x100], rcx
mov rcx, rax
add rcx, 0x20
mov qword [rsp + 0x108], rcx
mov rdx, qword [rax + 0x20]
movabs rcx, 0x221b3d9342ce4463
movabs rax, 0xdde4c26cbd31bb9c
xor rcx, rax
mov rax, rdx
add rax, rcx
mov qword [rsp + 0x110], rax
mov rcx, rax
xor rcx, rdx
movabs rdx, 0xa11782bbe0c03463
movabs r8, 0xa11782bbe0c03463
xor rdx, r8
cmp rcx, rdx
setl cl
cmp rax, 0xffffffffffffffff
setg al
and al, cl
test al, 1
jne 0x140012441
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xf8]
add rcx, 0x30
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rax
jmp 0x14001244b
call fcn.14000a590
jmp 0x140012c34
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xd0], rax
cmp rax, rcx
jl 0x140012582
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov r9, rdx
shl r9, 4
mov rcx, rax
add rcx, r9
mov rcx, qword [rcx]
shl rdx, 4
add rax, rdx
add rax, 8
mov rdx, qword [rax]
call fcn.140010b79
mov rax, qword [rsp + 0x100]
mov al, byte [rax]
mov cl, 0xf2
xor cl, 0xf2
cmp al, cl
jne 0x140012c34
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
add rax, 0xffffffffffffffff
mov r8, rax
xor r8, rcx
movabs rdx, 0x67c49f6a5b1bac9a
movabs r9, 0x983b6095a4e45365
xor rdx, r9
xor r8, rdx
mov rdx, rcx
and rdx, r8
shl rdx, 1
sub rdx, rcx
mov rcx, rax
sub rcx, rdx
movabs rdx, 0xd59127ad52fd577a
movabs r8, 0xd59127ad52fd577a
xor rdx, r8
cmp rcx, rdx
setl dl
cmp rax, 0xffffffffffffffff
setg cl
xor r8d, r8d
xor r8b, 1
xor cl, r8b
mov r8b, 1
xor r8b, 0
xor dl, r8b
xor r8d, r8d
xor r8b, 0
mov r9b, 1
xor r9b, 0
xor r8b, r9b
or cl, dl
xor edx, edx
xor dl, 0
or dl, r8b
xor r8d, r8d
xor r8b, 1
xor cl, r8b
and cl, dl
test cl, 1
mov qword [rsp + 0xe0], rax
jne 0x140012578
jmp 0x14001244b
call fcn.14000a590
jmp 0x140012c34
mov rax, qword [rsp + 0x110]
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rdx + 0x48]
cmp rcx, qword [rdx + 0x40]
mov qword [rsp + 0xc8], rax
jne 0x1400125ca
mov rax, qword [rsp + 0xf0]
mov cl, 0x77
xor cl, 0x76
mov byte [rax + 0x50], cl
mov eax, 1
mov qword [rsp + 0xc0], rax
jmp 0x14001273a
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0xb8], rcx
mov eax, 2
cmp rcx, rdx
mov qword [rsp + 0xc0], rax
jl 0x14001273a
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov r9, rdx
shl r9, 4
mov rcx, rax
add rcx, r9
mov rcx, qword [rcx]
shl rdx, 4
add rax, rdx
add rax, 8
mov rdx, qword [rax]
call fcn.1400117e1
mov rax, qword [rsp + 0x100]
cmp byte [rax], 0
jne 0x140012c34
mov r8, qword [rsp + 0xb8]
movabs rcx, 0x2359567be821716a
movabs rax, 0xdca6a98417de8e95
xor rcx, rax
movabs rax, 0xe3fb6239860cc196
movabs rdx, 0x1c049dc679f33e69
xor rax, rdx
xor rcx, rax
movabs rax, 0x6d398ce2d3b7db70
movabs rdx, 0x6d398ce2d3b7db70
xor rax, rdx
movabs rdx, 0x160ba727ee621a7f
movabs r9, 0x160ba727ee621a7e
xor rdx, r9
sub rax, rdx
sub rcx, rax
mov rax, r8
sub rax, rcx
mov rdx, rax
xor rdx, 0xffffffffffffffff
mov rcx, r8
and rcx, rdx
movabs rdx, 0x3f84a0c63484268c
movabs r9, 0xc07b5f39cb7bd973
xor rdx, r9
xor r8, rdx
mov rdx, rax
and rdx, r8
or rcx, rdx
movabs rdx, 0x9b98f361ea970a36
movabs r8, 0x9b98f361ea970a36
xor rdx, r8
cmp rcx, rdx
setl r8b
cmp rax, 0xffffffffffffffff
setg dl
xor r8b, 0xff
mov cl, dl
xor cl, r8b
and cl, dl
test cl, 1
mov qword [rsp + 0xc8], rax
jne 0x140012730
jmp 0x1400125ca
call fcn.14000a590
jmp 0x140012c34
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x90], rcx
mov rcx, rax
add rcx, 0x18
mov qword [rsp + 0x98], rcx
movabs rcx, 0x9b653cc9698903ab
movabs rdx, 0x9b653cc9698903ab
xor rcx, rdx
mov qword [rax + 0x18], rcx
mov rcx, rax
add rcx, 0x20
mov qword [rsp + 0xa0], rcx
mov qword [rax + 0x20], 0x400
mov ecx, dword [0x1401ab0a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
add rcx, 0x68
movabs rdx, 0x422af53aae294ea6
movabs rax, 0x422af53aae290ea6
xor rdx, rax
call fcn.14000d5e6
mov rcx, qword [rsp + 0x108]
mov rdx, rax
mov rax, qword [rsp + 0xf0]
mov r8, rax
add r8, 0x28
mov qword [rsp + 0xa8], r8
mov qword [rax + 0x28], rdx
xor eax, eax
cmp qword [rcx], 0
mov qword [rsp + 0xb0], rax
jg 0x14001287b
jmp 0x14001283c
mov rcx, qword [rsp + 0x108]
mov rax, qword [rsp + 0x88]
movabs rdx, 0xb8725a1694b56fb1
movabs r8, 0xb8725a1694b56fb0
xor rdx, r8
add rax, rdx
cmp rax, qword [rcx]
mov qword [rsp + 0xb0], rax
jl 0x14001287b
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
movabs rdx, 0xfd980e0c7e3dbabf
movabs rcx, 0xfd980e0c7e3dbabf
xor rdx, rcx
xor ecx, ecx
cmp rax, rdx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
jg 0x1400128ed
jmp 0x140012a7d
mov r9, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x90]
mov rax, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xb0]
mov qword [rsp + 0x88], rdx
mov rax, qword [rax]
mov r10, rdx
shl r10, 4
mov rcx, rax
add rcx, r10
mov rcx, qword [rcx]
mov qword [rcx + 8], 0
shl rdx, 4
add rax, rdx
add rax, 8
mov rdx, qword [rax]
call fcn.140011bb0
mov rax, qword [rsp + 0x100]
mov al, byte [rax]
mov cl, 0xed
xor cl, 0xed
cmp al, cl
je 0x140012801
jmp 0x140012c34
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x48], rcx
mov rax, qword [rax]
mov r8, rcx
shl r8, 4
mov rdx, rax
add rdx, r8
mov rdx, qword [rdx]
mov qword [rsp + 0x50], rdx
shl rcx, 4
add rax, rcx
add rax, 8
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov ecx, dword [0x1401ab0a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rdx
movabs rdx, 0xf884a8bc49294851
movabs r8, 0xf884a8bc49294841
xor rdx, r8
add rcx, rdx
mov qword [rsp + 0x68], rcx
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
cmp rax, 0
je 0x14001299a
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call rax
mov rax, qword [rsp + 0x60]
mov al, byte [rax + 0x60]
mov cl, 0xaa
xor cl, 0xaa
cmp al, cl
jne 0x1400129ef
mov rax, qword [rsp + 0x58]
movsx rdx, word [rax + 0x10]
mov qword [rsp + 0x40], rdx
mov ecx, 0x10
call fcn.14000a42f
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x40]
mov r8, rax
mov rax, rcx
xor rax, 0xffffffffffffffff
and rax, r8
movabs r9, 0x6c6b24510318da0b
movabs r10, 0x9394dbaefce725f4
xor r9, r10
xor r8, r9
and rcx, r8
sub rcx, rax
call fcn.1400121fd
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
movabs rdx, 0xba1622acc3589f26
movabs r8, 0xba1622acc3589f27
xor rdx, r8
movabs r8, 0x6a2852ec4326c94e
movabs r9, 0x95d7ad13bcd936b1
xor r8, r9
xor rdx, r8
movabs r8, 0x5d4a74af47fb1a16
movabs r9, 0x5d4a74af47fb1a16
xor r8, r9
movabs r9, 0x12150eefdbbbb07e
movabs r10, 0x12150eefdbbbb07f
xor r9, r10
sub r8, r9
sub rdx, r8
sub rcx, rdx
mov rax, qword [rax]
cmp rcx, rax
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
jl 0x1400128ed
mov rax, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x80]
mov rcx, rax
add rcx, 0x30
mov qword [rsp + 0x30], rcx
mov r9, qword [rax + 0x30]
movabs rax, 0xb43025ff9216bdec
movabs rcx, 0xb43025ff9216bdec
xor rax, rcx
sub rax, r8
mov rdx, r9
sub rdx, rax
mov qword [rsp + 0x38], rdx
mov rcx, rdx
and rcx, r9
movabs rax, 0xbc6605cddb535f3e
movabs r10, 0xbc6605cddb535f3c
xor rax, r10
imul rax, rcx
mov rcx, rdx
add rcx, r9
sub rcx, rax
mov rax, rdx
xor rax, r8
movabs r9, 0x4f89dfaf8b331bad
movabs r10, 0xb076205074cce452
xor r9, r10
xor rax, r9
mov r9, r8
and r9, rax
movabs rax, 0x523f3e14e15d8b99
movabs r10, 0x523f3e14e15d8b9b
xor rax, r10
imul rax, r9
sub rax, r8
sub rdx, rax
mov rax, rcx
xor rax, 0xffffffffffffffff
movabs r8, 0x476ccb54b2e10289
movabs r9, 0xb89334ab4d1efd76
xor r8, r9
xor rcx, r8
and rax, rcx
movabs r8, 0x4e8864ff6d4be1cb
movabs rcx, 0xb1779b0092b41e34
xor r8, rcx
mov rcx, rdx
xor rcx, r8
xor rdx, 0xffffffffffffffff
and rcx, rdx
movabs rdx, 0x9de15a5e9a10f711
movabs r8, 0x621ea5a165ef08ee
xor rdx, r8
xor rax, rdx
xor rcx, 0xffffffffffffffff
and rax, rcx
cmp rax, 0
jge 0x140012bb0
call fcn.14000a590
jmp 0x140012c34
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov qword [rcx], rdx
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
cmp rax, 0
je 0x140012c03
mov ecx, dword [0x1401ab0a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
add rcx, 0x68
call fcn.14000ffaa
mov rax, qword [rsp + 0xa8]
mov qword [rax], 0
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
movabs rdx, 0x72d4120e8d734509
movabs r8, 0x72d4120e8d734509
xor rdx, r8
mov qword [rcx], rdx
mov qword [rax], 0
add rsp, 0x118
ret