Function at 0x140038b10
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x78], rcx
mov ecx, dword [0x1402d10b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rsp + 0x78]
add rax, 0x60
mov qword [rsp + 0x80], rax
cmp qword [rcx], 0
jle 0x140038e05
mov rax, qword [rsp + 0x78]
add rax, 8
mov qword [rsp + 0x68], rax
xor eax, eax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov eax, dword [0x1402a97d8]
or eax, dword [0x1402a97dc]
sub eax, 0x891404
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 0xbd4a3f38
add ecx, eax
xor eax, eax
sub eax, ecx
mov ecx, 0x12ffc4fb
xor ecx, 0xabdac0a0
sub eax, ecx
cmp eax, 0xc105a116
je 0x140038ec9
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov ecx, dword [0x1402a97e0]
xor ecx, 0x922c4046
mov r9d, dword [0x1402a97e4]
mov eax, 0x733dfd5a
xor eax, 0x5552b8cb
xor r9d, eax
mov eax, ecx
xor eax, r9d
mov r10d, 0xd028fbf5
xor r10d, 0x2fd7040a
xor eax, r10d
or ecx, r9d
and ecx, eax
or ecx, 0x1aeabdf4
mov r9d, 0xffffffff
xor r9d, 0x9dc85926
mov eax, ecx
and eax, r9d
mov r10d, 0xf2a6cc9b
xor r10d, 0x6f6e95bd
mov r9d, ecx
xor r9d, r10d
add ecx, r9d
sub ecx, eax
mov eax, ecx
and eax, 0x50db6269
mov r9d, 0xfdb5d8ce
xor r9d, 0xad6ebaa7
or ecx, r9d
add eax, ecx
mov ecx, 0xf2ca6568
xor ecx, 0x7d0406b8
mov rdx, qword [rdx]
mov rdx, qword [rdx + r8*8 + 8]
mov qword [rsp + 0x50], rdx
cmp rdx, 0
sete dl
mov byte [rsp + 0x5f], dl
cmp eax, ecx
je 0x140038ec9
mov al, byte [rsp + 0x5f]
test al, 1
jne 0x140038dab
jmp 0x140038c65
mov rax, qword [rsp + 0x50]
movabs rcx, 0x7181f3167af79d81
sub rax, rcx
movabs rcx, 0x2b5e3d2edc7dca04
movabs rdx, 0xd4a1c2d1238235f4
xor rcx, rdx
add rax, rcx
movabs rcx, 0x7181f3167af79d81
add rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
cmp rax, 0x10
jb 0x140038d31
mov rdx, qword [rsp + 0x48]
mov rax, rdx
add rax, 0xfffffffffffffff0
mov qword [rsp + 0x38], rax
mov rcx, rax
xor rcx, rdx
movabs rdx, 0xac85661aadb5ae36
movabs r8, 0xac85661aadb5ae36
xor rdx, r8
cmp rcx, rdx
setl cl
movabs rdx, 0xef674ce21ed83763
movabs r8, 0x1098b31de127c89c
xor rdx, r8
cmp rax, rdx
setg al
and al, cl
test al, 1
jne 0x140038d15
jmp 0x140038d1f
call fcn.14000ee80
jmp 0x140038dab
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
jmp 0x140038dab
mov rcx, qword [rsp + 0x50]
call fcn.1401269e0
mov rax, qword [rsp + 0x80]
cmp byte [rax], 0
jne 0x140038e3a
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rax, qword [rax + rcx*8 + 8]
movabs rcx, 0xe10b0f598d7cafd6
sub rax, rcx
add rax, 0xfffffffffffffff0
movabs rcx, 0x14e894d168b1e111
movabs rdx, 0xf5e39b88e5cd4ec7
xor rcx, rdx
add rax, rcx
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1402d10b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
add rcx, 0x68
call fcn.140017ba0
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x60]
mov rdx, 0xffffffffffffffff
xor rdx, 1
movabs r8, 0xe17379b8a6826de8
movabs r9, 0xe17379b8a6826de8
xor r8, r9
movabs r9, 0x3e584660e6ce0f11
movabs r10, 0x3e584660e6ce0f10
xor r9, r10
sub r8, r9
sub rdx, r8
sub rax, rdx
cmp rax, qword [rcx]
mov qword [rsp + 0x70], rax
jl 0x140038b58
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp rax, 0
je 0x140038e3a
mov ecx, dword [0x1402d10b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
add rcx, 0x68
call fcn.140017ba0
mov eax, dword [str._y_]
xor eax, 0x9c0695d6
mov edx, dword [0x1402a97ec]
xor edx, 0x5b0389be
xor ecx, ecx
sub ecx, edx
sub eax, ecx
and eax, 0xc6474f83
or eax, 0x72612ee6
mov ecx, 0xb9013696
xor ecx, 0xf7e60f3f
imul eax, ecx
mov ecx, 0x97f65c0e
xor ecx, 0x4ad2b790
cmp eax, ecx
jae 0x140038ed2
mov eax, dword [0x1402a97f0]
imul eax, dword [0x1402a97f4]
mov ecx, eax
xor ecx, 0x3d9ba2c0
xor ecx, 0xffffffff
and ecx, 0x3d9ba2c0
shl ecx, 1
sub ecx, 0x3d9ba2c0
sub eax, ecx
sub eax, 0x27dd9c8
imul eax, eax, 0xef1ad321
cmp eax, 0x8b19d6e5
je 0x140038e82
add rsp, 0x88
ret
rol eax, 0xa8
jmp 0x140038b9c
sub al, dh
fmul dword [rax]
jmp 0x140038e82