Function at 0x1400413f0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x98
mov qword [rsp + 0x88], rcx
mov ecx, dword [0x1402980b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rsp + 0x88]
add rax, 0x60
mov qword [rsp + 0x90], rax
cmp qword [rcx], 0
jle 0x14004174a
mov rax, qword [rsp + 0x88]
add rax, 8
mov qword [rsp + 0x78], rax
xor eax, eax
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x68], rcx
mov rax, qword [rax]
mov rax, qword [rax + rcx*8 + 8]
mov qword [rsp + 0x70], rax
cmp rax, 0
je 0x140041657
mov rax, qword [rsp + 0x70]
mov rcx, rax
add rcx, 0xfffffffffffffff0
mov qword [rsp + 0x58], rcx
mov rax, qword [rax - 0x10]
mov qword [rsp + 0x60], rax
cmp rax, 0x10
jb 0x140041528
mov rcx, qword [rsp + 0x60]
movabs rdx, 0x9896fa93966ec127
movabs rax, 0x9896fa93966ec127
xor rdx, rax
movabs rax, 0x3eb4257e7201a0fd
movabs r8, 0xc14bda818dfe5f0d
xor rax, r8
sub rdx, rax
mov rax, rcx
sub rax, rdx
mov qword [rsp + 0x50], rax
mov r8, rax
xor r8, rcx
xor r8, 0xffffffffffffffff
mov rdx, rcx
and rdx, r8
shl rdx, 1
sub rdx, rcx
mov rcx, rax
sub rcx, rdx
cmp rcx, 0
setl cl
cmp rax, 0xffffffffffffffff
setg al
and al, cl
test al, 1
jne 0x14004150c
jmp 0x140041516
call fcn.14000f24b
jmp 0x140041657
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
jmp 0x140041657
mov eax, dword [0x140274018]
xor eax, 0x64dcea45
mov ecx, dword [0x14027401c]
xor ecx, 0xffffffff
xor edx, edx
sub edx, 1
sub ecx, edx
sub eax, ecx
imul ecx, eax, 0x3ba397c4
mov eax, ecx
xor eax, 0xffffffff
xor ecx, 0xffffffff
and eax, ecx
mov ecx, 0xf119d270
xor ecx, 0x2a851357
mov edx, 0x40ddf956
xor edx, 0x9b413871
or ecx, edx
xor ecx, 0xffffffff
or eax, ecx
xor eax, 0xffffffff
mov ecx, 0xffffffff
xor ecx, 0x3a596488
xor edx, edx
sub edx, 1
sub ecx, edx
sub eax, ecx
mov ecx, 0x5349e807
xor ecx, 0xac33a06
cmp eax, ecx
je 0x14004178b
mov rcx, qword [rsp + 0x70]
mov eax, dword [0x140274020]
and eax, dword [str.aeJ]
or eax, 0x6b0f2edc
sub eax, 0xf2c12201
mov edx, 0xe5099e3f
xor edx, 0x7e57a813
and eax, edx
mov dword [rsp + 0x48], eax
call fcn.1400bb2e0
mov rcx, qword [rsp + 0x90]
mov eax, dword [rsp + 0x48]
mov cl, byte [rcx]
mov dl, 0x39
xor dl, 0x39
cmp cl, dl
sete cl
mov byte [rsp + 0x4f], cl
cmp eax, 0x2467593f
jbe 0x14004178b
mov al, byte [rsp + 0x4f]
test al, 1
jne 0x140041605
jmp 0x140041782
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax + rcx*8 + 8]
movabs rcx, 0x4c9618d3e0e6b3e5
add rax, rcx
add rax, 0xfffffffffffffff0
movabs rcx, 0x4c9618d3e0e6b3e5
sub rax, rcx
mov qword [rsp + 0x40], rax
mov ecx, dword [0x1402980b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, qword [rsp + 0x40]
mov rcx, rax
add rcx, 0x68
call fcn.1400190f0
mov eax, dword [0x140274028]
mov ecx, dword [0x14027402c]
xor ecx, 0x71c3b0dd
xor edx, edx
div ecx
and eax, 0x1e356147
imul eax, eax, 0x298a5fd8
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 0xa84d0a5b
add ecx, eax
xor eax, eax
sub eax, ecx
cmp eax, 0x3f0852f1
je 0x140041794
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
mov eax, dword [0x140274030]
xor eax, 0x3e67444
mov r9d, dword [0x140274034]
mov r8d, eax
xor r8d, r9d
mov r10d, 0x64f5ba25
xor r10d, 0x9b0a45da
xor r9d, r10d
and eax, r9d
shl eax, 1
sub eax, r8d
add eax, 0xd7af541d
mov r8d, 0x1b35cb0e
xor r8d, 0xf2d3174a
sub eax, r8d
mov r8d, 0xbec20bb8
xor r8d, 0xfa42b8b2
and eax, r8d
movabs r8, 0x72fd78f7f00aebdc
movabs r9, 0x72fd78f7f00aebdd
xor r8, r9
add rcx, r8
mov qword [rsp + 0x30], rcx
cmp rcx, qword [rdx]
setl cl
mov byte [rsp + 0x3f], cl
cmp eax, 0x6a56c3e1
ja 0x140041794
mov rax, qword [rsp + 0x30]
mov cl, byte [rsp + 0x3f]
test cl, 1
mov qword [rsp + 0x80], rax
jne 0x140041444
jmp 0x14004174a
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp rax, 0
je 0x140041782
mov ecx, dword [0x1402980b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
add rcx, 0x68
call fcn.1400190f0
nop
add rsp, 0x98
ret
invalid
shl byte [rax], cl
adc dword [rcx - 0x10817], esp
dec dword [rdi]
invalid