Function at 0x180003ae8
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x80
comisd xmm0, xmmword [0x180030d08]
mov ecx, 0x48
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm10
movaps xmmword [rax - 0x48], xmm11
movaps xmmword [rax - 0x58], xmm12
movaps xmmword [rax - 0x68], xmm13
jb 0x180003e6b
call fcn.180003700
movss xmm10, dword [0x180030f70]
xorps xmm1, xmm1
cvttss2si rax, xmm0
xorps xmm7, xmm7
cvtsi2sd xmm1, rax
addsd xmm1, xmm7
comisd xmm1, xmmword [0x180030f18]
jbe 0x180003c50
movss xmm6, dword [0x180030cd8]
movss xmm12, dword [0x180030f78]
movsd xmm13, qword [0x180030df0]
movsd xmm11, qword [0x180030e18]
addss xmm6, xmm10
movss xmm10, dword [0x180030cd8]
cvttss2si rax, xmm6
xorps xmm6, xmm6
cvtsi2ss xmm6, rax
movaps xmm0, xmm6
addss xmm0, xmm10
comiss xmm12, xmm0
jbe 0x180003cad
mov ecx, 0x14
call fcn.1800038a4
movsx ecx, al
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
comisd xmm13, xmm0
jb 0x180003be4
movsd xmm0, qword [0x180030e30]
call fcn.180003ae8
mulss xmm0, dword [0x180030ff4]
xorps xmm1, xmm1
subss xmm0, dword [0x180030fe4]
cvtss2sd xmm1, xmm0
jmp 0x180003c29
call qword [sym.imp.USER32.dll_GetOpenClipboardWindow]
mov ecx, 3
call fcn.1800038a4
movsx ecx, al
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
movaps xmm2, xmm1
addss xmm0, dword [0x180030ff0]
divss xmm2, xmm0
addss xmm1, xmm0
cvttss2si eax, xmm1
movsx ecx, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
cvtps2pd xmm1, xmm2
comisd xmm1, xmmword [0x180030d10]
jb 0x180003c3b
movsd xmm1, qword [0x180031078]
comisd xmm11, xmm1
jae 0x180003cb3
comisd xmm1, xmmword [0x180030f18]
ja 0x180003b75
movsd xmm0, qword [0x180030ef8]
comisd xmm0, xmm1
jb 0x180003d3c
call qword [sym.imp.KERNEL32.dll_AreFileApisANSI]
movsd xmm6, qword [0x180030de0]
call qword [sym.imp.KERNEL32.dll_GetThreadErrorMode]
movaps xmm0, xmm6
call fcn.180003ae8
cvttss2si rax, xmm0
xorps xmm6, xmm6
cvtsi2sd xmm6, rax
comisd xmm6, xmm7
jae 0x180003c70
ucomisd xmm6, qword [0x180030d38]
jp 0x180003cf8
jne 0x180003cf8
call qword [sym.imp.USER32.dll_GetClipboardViewer]
movsd xmm2, qword [0x180030f40]
jmp 0x180003d19
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ebx, 0x63
lea ecx, [rbx - 0xc]
call fcn.180003700
movsd xmm2, qword [0x180030e80]
cvttss2si eax, xmm0
movsx ecx, al
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
ucomisd xmm1, xmm2
jmp 0x180003cec
imul ebx, ebx
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
ucomisd xmm0, xmm2
jp 0x180003cdd
jne 0x180003cdd
call qword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
jmp 0x180003cf0
mov ecx, 0x4b
call fcn.1800038a4
movsd xmm2, qword [0x180030f28]
movsx ecx, al
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
comisd xmm2, xmmword [0x180030da0]
jbe 0x180003d54
mov ecx, 0x5d
call fcn.180003700
cvttss2si rax, xmm0
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
jmp 0x180003d54
call qword [sym.imp.GDI32.dll_GdiFlush]
mov cl, 0x2a
call fcn.1800039f8
movsx ecx, al
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
movsd xmm7, qword [0x180030eb0]
comisd xmm7, xmm2
movss xmm6, dword [0x180031010]
jb 0x180003e29
movss xmm10, dword [0x180030f60]
call qword [sym.imp.USER32.dll_GetKBCodePage]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
call fcn.180003ae8
comiss xmm10, xmm0
movaps xmm6, xmm0
jbe 0x180003dbf
mov ecx, 0x4d
call fcn.180003700
cvttss2si eax, xmm0
movsx ecx, al
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x180030ca8]
subss xmm1, dword [0x180030cd8]
cvtps2pd xmm0, xmm1
jmp 0x180003dc7
movsd xmm0, qword [0x180030f48]
ucomisd xmm0, qword [0x180030dd0]
jp 0x180003e11
jne 0x180003e11
movsd xmm0, qword [0x180030f50]
call fcn.180003ae8
movsd xmm2, qword [0x180030f50]
mov eax, 0x20bf
cvttss2si rcx, xmm0
cqo
xorps xmm1, xmm1
xorps xmm0, xmm0
idiv rcx
cvtsi2sd xmm1, rcx
cvtsi2sd xmm0, rax
divsd xmm1, xmm0
subsd xmm2, xmm1
jmp 0x180003e1f
call qword [sym.imp.USER32.dll_GetOpenClipboardWindow]
movsd xmm2, qword [0x180030f88]
comisd xmm7, xmm2
jae 0x180003d77
ucomisd xmm2, qword [0x180030e50]
jp 0x180003e39
je 0x180003f0f
movsd xmm0, qword [0x180030e58]
call fcn.180003ae8
xor ecx, ecx
cvttss2si rbx, xmm0
call fcn.1800039f8
movsx rcx, al
mov rax, rbx
cqo
xorps xmm2, xmm2
idiv rcx
cvtsi2sd xmm2, rax
jmp 0x180003f0f
call fcn.180003700
movss xmm6, dword [0x180031044]
xorps xmm1, xmm1
movsd xmm7, qword [0x180030d68]
cvttss2si rax, xmm0
cvtsi2sd xmm1, rax
addsd xmm1, qword [0x180030cf8]
jmp 0x180003ec7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
call fcn.180003ae8
cvttss2si eax, xmm0
xorps xmm0, xmm0
movaps xmm1, xmm6
addss xmm1, xmm6
movsx eax, al
cvtsi2ss xmm0, eax
mulss xmm6, xmm1
divss xmm0, xmm1
subss xmm0, xmm6
cvtps2pd xmm1, xmm0
comisd xmm7, xmm1
ja 0x180003e97
movsd xmm0, qword [0x180030d38]
comisd xmm0, xmm1
jbe 0x180003f07
call qword [sym.imp.USER32.dll_GetClipboardSequenceNumber]
movsd xmm0, qword [0x180030e78]
call fcn.180003ae8
cvttss2si rdx, xmm0
xorps xmm2, xmm2
lea eax, [rdx + 0x39]
movsx rcx, al
sub rdx, rcx
cvtsi2sd xmm2, rdx
jmp 0x180003f0f
movsd xmm2, qword [0x180031080]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm10, xmmword [rsp + 0x50]
movaps xmm11, xmmword [rsp + 0x40]
movaps xmm12, xmmword [rsp + 0x30]
movaps xmm13, xmmword [rsp + 0x20]
cvtpd2ps xmm0, xmm2
add rsp, 0x80
pop rbx
ret