Function at 0x140029309
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rcx
mov ecx, dword [0x1401ab0a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
add rax, 0x60
mov qword [rsp + 0x68], rax
mov rax, qword [rcx]
mov qword [rsp + 0x70], rax
cmp rax, rdx
jle 0x14002935b
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.140029072
jmp 0x140029724
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
cmp rax, rcx
jge 0x140029724
mov rax, qword [rsp + 0x58]
mov rcx, rax
add rcx, 8
mov qword [rsp + 0x48], rcx
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
cmp rax, 0
je 0x140029424
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
movabs r8, 0xbfffffffffffffff
mov rax, rdx
and rax, r8
movabs r8, 0x4309ad8dac58df3c
movabs r9, 0xbcf6527253a720c3
xor r8, r9
xor rax, r8
movabs r8, 0xc517c0e9845f66cf
movabs r9, 0x3ae83f167ba09930
xor r8, r9
xor rdx, r8
mov r8, 0xffffffffffffffff
movabs r9, 0xbfffffffffffffff
xor r8, r9
or rdx, r8
movabs r8, 0x3aa2b92aa2ca62d0
movabs r9, 0xc55d46d55d359d2f
xor r8, r9
xor rax, r8
xor rdx, 0xffffffffffffffff
or rax, rdx
cmp rax, rcx
jge 0x140029567
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x60]
mov rax, r9
sub rax, r8
mov qword [rsp + 0x40], rax
movabs rcx, 0x4f4e495fc5335837
movabs rdx, 0xb0b1b6a03acca7c8
xor rcx, rdx
mov rdx, rax
xor rdx, rcx
mov rcx, r9
and rcx, rdx
xor r9, 0xffffffffffffffff
mov rdx, rax
and rdx, r9
or rcx, rdx
cmp rcx, 0
setl dl
mov rcx, rax
xor rcx, r8
movabs r9, 0x27d9075b3fa3abdb
movabs r10, 0xd826f8a4c05c5424
xor r9, r10
xor rcx, r9
mov r9, r8
and r9, rcx
movabs rcx, 0xf2158ea52819aa22
movabs r10, 0xf2158ea52819aa20
xor rcx, r10
imul rcx, r9
sub rcx, r8
sub rax, rcx
movabs rcx, 0x6e373a2491f22022
movabs r8, 0x91c8c5db6e0ddfdd
xor rcx, r8
cmp rax, rcx
setg cl
mov r8b, 1
xor r8b, 0
mov al, dl
xor al, r8b
xor dl, 0xff
and al, dl
or cl, cl
xor edx, edx
xor dl, 1
xor cl, dl
mov dl, 1
xor dl, 0
xor al, dl
xor edx, edx
xor dl, 1
xor cl, dl
and al, cl
test al, 1
jne 0x14002955d
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
movabs r9, 0x25d19efb4b21ac3c
movabs rax, 0x25d19efb4b21ac34
xor r9, rax
movabs rax, 0xacd410f5ed20fb9c
movabs r10, 0xacd410f5ed20fb94
xor rax, r10
mov qword [rsp + 0x20], rax
call fcn.1400184ef
mov rcx, rax
mov rax, qword [rsp + 0x48]
mov qword [rax], rcx
jmp 0x140029567
call fcn.14000a590
jmp 0x140029724
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov qword [rcx], rdx
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
cmp rax, rcx
jge 0x140029724
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
add rcx, 8
shl rax, 3
add rcx, rax
xor eax, eax
mov edx, eax
call fcn.140089463
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
jne 0x140029724
mov r9, qword [rsp + 0x30]
movabs rcx, 0x2f8c892776d36716
mov rax, r9
add rax, rcx
movabs rcx, 0xbe23f76face2e356
movabs rdx, 0xbe23f76face2e357
xor rcx, rdx
add rax, rcx
movabs rcx, 0x2f8c892776d36716
sub rax, rcx
movabs rdx, 0xebbe6c5730bdf050
movabs rcx, 0x144193a8cf420faf
xor rdx, rcx
mov rcx, r9
xor rcx, rdx
movabs r8, 0xdefd12d239ac6aca
movabs rdx, 0x3d45b6b4e8ee6d78
xor r8, rdx
and r8, rcx
movabs rdx, 0x40b3ba7e8e298903
movabs rcx, 0xa30b1e185f6b8eb1
xor rdx, rcx
movabs rcx, 0x23490edd19a6ca19
movabs r10, 0xdcb6f122e65935e6
xor rcx, r10
xor rdx, rcx
and r9, rdx
mov rcx, 0xffffffffffffffff
xor rcx, 0xffffffffffffffff
movabs r10, 0xe3b8a466d14207b2
and rcx, r10
and rdx, 0xffffffffffffffff
or r8, r9
or rcx, rdx
xor r8, rcx
mov rcx, rax
xor rcx, 0xffffffffffffffff
xor r8, 0xffffffffffffffff
movabs rdx, 0xbd35cd45b2466ea4
movabs r9, 0xbbe76466cebfd27e
xor rdx, r9
movabs r9, 0xd7fc6fe72107fe67
movabs r10, 0x28039018def80198
xor r9, r10
xor rdx, r9
or rcx, r8
movabs r8, 0x6d2a9237cf9bcda
or rdx, r8
movabs r8, 0x99a76d59aa90a8bc
movabs r9, 0x665892a6556f5743
xor r8, r9
xor rcx, r8
and rcx, rdx
movabs rdx, 0x5422151adeb254f8
movabs r8, 0x5422151adeb254f8
xor rdx, r8
cmp rcx, rdx
mov qword [rsp + 0x38], rax
jge 0x14002957e
call fcn.14000a590
nop
add rsp, 0x78
ret