Function at 0x14004c070
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rcx
mov ecx, dword [0x1402d10b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
add rax, 0x60
mov qword [rsp + 0x78], rax
mov rax, qword [rcx]
mov qword [rsp + 0x80], rax
cmp rax, rdx
jle 0x14004c1a2
mov eax, dword [0x1402aa098]
mov ecx, dword [0x1402aa09c]
sub eax, 0xce052e9c
add eax, ecx
add eax, 0xce052e9c
mov ecx, 0xfd732693
xor ecx, 0xdc55f3fc
xor edx, edx
div ecx
add eax, 0x85265d49
mov r8d, 0xffffffff
xor r8d, 0xc5811bb0
mov edx, eax
and edx, r8d
mov ecx, eax
or ecx, r8d
mov r8d, 0xb9f4f9ad
xor r8d, 0x460b0652
xor ecx, r8d
imul ecx, edx
mov r8d, 0x60685953
xor r8d, 0xa5e942e3
mov edx, eax
and edx, r8d
mov r8d, 0x7f711c5b
xor r8d, 0xbaf007eb
or eax, r8d
imul eax, edx
add eax, ecx
cmp eax, 0x11f5c238
jbe 0x14004c51a
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov eax, dword [0x1402aa0a0]
add eax, dword [0x1402aa0a4]
add eax, 0x303c1037
sub eax, 0x6220646c
mov r8d, 0x84985406
xor r8d, 0xb4a44431
sub eax, r8d
add eax, 0x8df7f3e7
add eax, 0x6d69304
mov dword [rsp + 0x64], eax
mov eax, 0x33431761
xor eax, 0x3bf3c2b
mov dword [rsp + 0x60], eax
call fcn.14004bd10
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x64]
cmp eax, ecx
jb 0x14004c13c
jmp 0x14004c511
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
cmp rax, rcx
jge 0x14004c511
mov rax, qword [rsp + 0x68]
mov rcx, rax
add rcx, 8
mov qword [rsp + 0x50], rcx
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
cmp rax, 0
je 0x14004c20c
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
movabs rdx, 0xa19609c951708189
movabs r8, 0x1e69f636ae8f7e76
xor rdx, r8
and rax, rdx
cmp rax, rcx
jge 0x14004c2a3
mov r8, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
mov rdx, rcx
sub rdx, r8
mov qword [rsp + 0x48], rdx
mov rax, rdx
xor rax, rcx
mov rcx, rdx
not rcx
mov r9, r8
not r9
or rdx, r9
or rcx, r8
not rdx
not rcx
or rdx, rcx
mov rcx, rax
and rcx, rdx
test rax, rax
sets al
test rcx, rcx
setns cl
add al, cl
inc al
test al, 1
jne 0x14004c299
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
mov r9d, 8
mov qword [rsp + 0x20], 8
call fcn.140023a90
mov rcx, rax
mov rax, qword [rsp + 0x50]
mov qword [rax], rcx
jmp 0x14004c2a3
call fcn.14000ee80
jmp 0x14004c511
mov eax, dword [0x1402aa0a8]
mov ecx, dword [0x1402aa0ac]
mov edx, 0x378fa480
xor edx, 0xb81fde2a
xor ecx, edx
xor eax, ecx
imul eax, eax, 0x9b84782b
mov ecx, 0xe0aec429
xor ecx, 0xc16a9595
xor edx, edx
div ecx
mov ecx, eax
mov eax, ecx
xor eax, 0xffffffff
and eax, 0x1c5a089d
mov edx, 0x525f691b
xor edx, 0x4e056186
mov r8d, 0x6fdf2e03
xor r8d, 0x9020d1fc
xor edx, r8d
and ecx, edx
or eax, ecx
cmp eax, 0xd62b75aa
jae 0x14004c523
mov rcx, qword [rsp + 0x68]
mov eax, dword [0x1402aa0b0]
xor edx, edx
div dword [0x1402aa0b4]
mov edx, eax
mov r8d, 0xd5193e2e
xor r8d, 0x2ae6c1d1
mov eax, edx
xor eax, r8d
mov r8d, 0xffffffff
xor r8d, 0x2ddc27e0
and eax, r8d
xor edx, 0xffffffff
mov r8d, 0xffffffff
xor r8d, 0x2ddc27e0
and edx, r8d
xor eax, 0xffffffff
xor edx, 0xffffffff
and eax, edx
mov r8d, 0xe8652756
xor edx, edx
div r8d
mov rdx, qword [rsp + 0x70]
mov r8d, eax
xor r8d, 0x734ec12b
mov r9d, 0x4c382f3
xor r9d, 0xfb3c7d0c
xor r8d, r9d
or eax, 0x734ec12b
and eax, r8d
mov qword [rcx], rdx
cmp eax, 0xb0fcb55a
jae 0x14004c309
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
jmp 0x14004c3ad
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
cmp rax, rcx
jge 0x14004c511
mov eax, dword [0x1402aa0b8]
add eax, dword [0x1402aa0bc]
and eax, 0xee5b854c
imul eax, eax, 0xb2f7eecf
mov ecx, 0xec19a9a1
xor edx, edx
div ecx
mov ecx, 0xc1891235
xor ecx, 0x2ea74676
cmp eax, ecx
je 0x14004c52c
mov rcx, qword [rsp + 0x50]
mov eax, dword [0x1402aa0c0]
mov edx, dword [0x1402aa0c4]
xor edx, 0x694cd928
xor edx, 0xffffffff
mov r8d, 0x40a9faaf
xor r8d, 0x40a9faaf
mov r9d, 0x6664fd9f
xor r9d, 0x6664fd9e
sub r8d, r9d
sub edx, r8d
sub eax, edx
xor eax, 0xc3dcf339
and eax, 0xe180d71b
mov r8d, 0x748140c0
xor r8d, 0xb19b5d02
xor edx, edx
div r8d
mov edx, eax
mov rax, qword [rsp + 0x38]
mov dword [rsp + 0x30], edx
mov rcx, qword [rcx]
add rcx, 8
shl rax, 3
add rcx, rax
xor eax, eax
mov edx, eax
call fcn.140247b90
mov rcx, qword [rsp + 0x78]
mov eax, dword [rsp + 0x30]
cmp byte [rcx], 0
sete cl
mov byte [rsp + 0x37], cl
cmp eax, 0xa37d1369
je 0x14004c52c
mov al, byte [rsp + 0x37]
test al, 1
jne 0x14004c4a1
jmp 0x14004c511
mov rdx, qword [rsp + 0x38]
movabs rcx, 0x41715abc1dd52090
mov rax, rdx
sub rax, rcx
movabs rcx, 0x1a3c17003d46d427
movabs r8, 0x1a3c17003d46d426
xor rcx, r8
add rax, rcx
movabs rcx, 0x41715abc1dd52090
add rax, rcx
movabs rcx, 0x7eeeeec61f892d29
movabs r8, 0x81111139e076d2d6
xor rcx, r8
xor rdx, rcx
mov rcx, rax
and rcx, rdx
cmp rcx, 0
mov qword [rsp + 0x40], rax
jge 0x14004c3ad
call fcn.14000ee80
nop
add rsp, 0x88
ret
sub al, 0x2d
xchg esi, eax
outsb dx, byte [rsi]
jmp 0x14004c13c
neg al
stc
stosd dword [rdi], eax
jmp 0x14004c309
fstp qword [rax]
invalid