Function at 0x18005c00c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x260
mov r14, qword [0x1801aa2d0]
xor r12d, r12d
movaps xmmword [rax - 0x48], xmm6
mov r13, r9
movaps xmmword [rax - 0x58], xmm7
mov ebx, r8d
movaps xmmword [rax - 0x68], xmm8
mov rsi, rdx
movaps xmmword [rax - 0x78], xmm9
mov r9, rcx
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
mov rax, qword [r14 + 0x3ec8]
mov qword [rbp + 0x30], r14
mov byte [rax + 0xb8], 1
mov r15, qword [r14 + 0x3ec8]
cmp byte [r15 + 0xbb], r12b
je 0x18005c0b5
xor al, al
jmp 0x18005dea1
mov rax, qword [r15 + 0x298]
mov qword [rbp + 0x28], rax
call fcn.18003f8f8
mov rcx, r9
mov dword [r14 + 0x4750], r12d
movaps xmm14, xmm0
call fcn.18003d370
mov eax, dword [r14 + 0x5b00]
mov dword [rbp + 0x60], eax
test eax, eax
jne 0x18005c0ff
movsxd rcx, dword [r15 + 0xf0]
mov rax, qword [r15 + 0xf8]
mov ecx, dword [rax + rcx*4 - 4]
mov dword [r14 + 0x5b00], ecx
call fcn.18003facc
mov edi, ebx
or edi, 0x10
bt ebx, 8
cmovb edi, ebx
test dil, 8
jne 0x18005c120
mov edx, edi
mov rcx, rsi
call fcn.18005ebf4
mov edx, 0x6000000
mov ecx, 0xa900000
test edx, edi
jne 0x18005c142
mov eax, dword [r14 + 0x5afc]
mov ebx, ecx
test edx, eax
cmovne ebx, eax
and ebx, edx
or ebx, edi
jmp 0x18005c144
mov ebx, edi
mov edx, 0x18000000
test edx, ebx
jne 0x18005c15d
mov eax, dword [r14 + 0x5afc]
test edx, eax
cmovne ecx, eax
and ecx, edx
or ebx, ecx
mov r8d, 0x10000
test bl, 8
jne 0x18005c174
mov eax, dword [r14 + 0x5afc]
and eax, r8d
or ebx, eax
mov rax, qword [0x1801aa2d0]
mov ecx, ebx
movsd xmm0, qword [r15 + 0x100]
and ecx, 2
movss xmm2, dword [r14 + 0x3848]
mov edx, ebx
movsd qword [rsp + 0x78], xmm0
and edx, 0x10002
movss xmm12, dword [rax + 0x3834]
cmp edx, r8d
movss xmm13, dword [rsp + 0x78]
addss xmm12, xmm12
movsd qword [rbp - 0x50], xmm0
movaps xmm0, xmm2
mov dword [rbp - 0x70], ecx
mov dword [rbp + 0x20], edx
mov rdx, rsi
addss xmm12, dword [rax + 0x3c28]
mov eax, r12d
sete al
inc eax
movaps xmm6, xmm12
movss dword [rbp - 0x74], xmm12
subss xmm6, dword [0x180158564]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, xmm6
movss dword [rbp - 0x78], xmm6
mulss xmm1, xmm0
movaps xmm0, xmm13
subss xmm14, xmm1
maxss xmm14, xmm6
addss xmm0, xmm14
movss dword [rbp + 0x58], xmm14
addss xmm0, xmm2
movss dword [rbp + 0x18], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [0x180158450]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
neg eax
lea rcx, [rbp + 0x68]
cvtdq2ps xmm0, xmm0
sbb r8, r8
and r8, 0xfffffffffffffffc
add r8, 0x10
movss dword [rbp + 0x5c], xmm0
call sub.VCRUNTIME140.dll_memcpy
movss xmm7, dword [0x180158494]
movaps xmm2, xmm14
and dword [rbp + 0x4c], r12d
movaps xmm0, xmm14
mulss xmm0, dword [0x180158430]
xorps xmm9, xmm9
mulss xmm2, xmm7
movss dword [rbp + 0x10], xmm0
movaps xmm1, xmm2
movss dword [rbp + 4], xmm2
subss xmm1, xmm0
movaps xmm0, xmm6
movss xmm6, dword [rsp + 0x7c]
mulss xmm0, xmm7
movss dword [rbp], xmm1
addss xmm0, xmm2
addss xmm0, xmm13
movss dword [rbp + 8], xmm0
movss dword [rbp - 0x68], xmm0
movaps xmm0, xmm2
addss xmm0, xmm6
movss dword [rbp + 0xc], xmm0
movss dword [rbp - 0x64], xmm0
movaps xmm0, xmm14
mulss xmm0, dword [0x18015840c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movaps xmm2, xmm1
movss dword [rbp + 0x48], xmm1
mulss xmm2, dword [0x1801586e0]
movss xmm15, dword [rsi + 8]
movaps xmm0, xmm1
mulss xmm0, dword [0x1801586ec]
movss xmm10, dword [rsi]
movss xmm8, dword [rsi + 4]
movss dword [rbp + 0x40], xmm0
movss dword [rsp + 0x5c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1801584cc]
movss dword [rbp + 0x44], xmm2
movss dword [rsp + 0x58], xmm2
movss dword [rbp - 0x58], xmm0
movss dword [rbp - 0x1c], xmm0
movss dword [rbp - 0x20], xmm2
movss dword [rsp + 0x6c], xmm10
movss dword [rsp + 0x70], xmm8
movss dword [rbp - 0x7c], xmm15
movss dword [rsp + 0x68], xmm15
bt ebx, 0x1b
jae 0x18005c3b6
lea rax, [rsp + 0x68]
movaps xmm2, xmm15
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x6c]
lea rax, [rsp + 0x70]
movaps xmm1, xmm8
movaps xmm0, xmm10
mov qword [rsp + 0x20], rax
call fcn.1800337ac
lea r9, [rsp + 0x68]
mov rcx, rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x6c]
call fcn.18005ac8c
movss xmm15, dword [rsp + 0x68]
movss xmm10, dword [rsp + 0x6c]
movss xmm8, dword [rsp + 0x70]
movss dword [rbp - 0x7c], xmm15
jmp 0x18005c3e3
bt ebx, 0x1c
jae 0x18005c3e3
lea rax, [rbp - 0x40]
movaps xmm2, xmm15
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x30]
lea rax, [rbp - 0x28]
movaps xmm1, xmm8
movaps xmm0, xmm10
mov qword [rsp + 0x20], rax
call fcn.180033854
mov ecx, 8
mov byte [rsp + 0x50], r12b
mov r15b, r12b
mov byte [rsp + 0x52], r12b
mov byte [rsp + 0x51], r12b
call fcn.18003cf78
movss xmm11, dword [0x1801584ec]
bt ebx, 0x1a
jae 0x18005c716
movaps xmm0, xmm14
movss dword [rbp - 0x3c], xmm14
addss xmm0, dword [r14 + 0x3848]
lea rdx, [rbp - 0x40]
lea rcx, [0x18015808c]
addss xmm0, dword [rbp - 0x78]
movss dword [rbp - 0x40], xmm0
call fcn.1800527c0
mov rdi, qword [0x1801aa2d0]
mov eax, dword [rdi + 0x3f28]
test eax, eax
je 0x18005c6fb
cmp eax, dword [rdi + 0x4764]
jne 0x18005c6fb
movss xmm0, dword [r14 + 0x36fc]
subss xmm0, dword [rbp + 0xc]
movss xmm13, dword [r14 + 0x36f8]
subss xmm13, dword [rbp + 8]
movss xmm1, dword [rbp]
movss xmm3, dword [r14 + 0xe08]
subss xmm1, xmm11
movss xmm4, dword [r14 + 0xe0c]
movaps xmm2, xmm0
subss xmm3, dword [rbp + 8]
subss xmm4, dword [rbp + 0xc]
mulss xmm2, xmm0
movss dword [rbp - 0x30], xmm0
movaps xmm0, xmm13
mulss xmm0, xmm13
mulss xmm1, xmm1
addss xmm2, xmm0
movss dword [rbp - 0x28], xmm3
movss dword [rbp - 0x40], xmm4
comiss xmm2, xmm1
jb 0x18005c51b
movss xmm0, dword [rbp + 4]
addss xmm0, xmm11
mulss xmm0, xmm0
comiss xmm2, xmm0
ja 0x18005c51b
movaps xmm1, xmm3
movaps xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm10, xmm0
mulss xmm10, dword [0x180158448]
comiss xmm10, xmm9
movss dword [rsp + 0x6c], xmm10
jae 0x18005c513
addss xmm10, xmm11
movss dword [rsp + 0x6c], xmm10
mov r15b, 1
mov byte [rsp + 0x50], r15b
movaps xmm1, xmm10
xorps xmm0, xmm0
mulss xmm1, dword [0x1801586f8]
mov r12b, r15b
mulss xmm1, dword [0x18015856c]
movss xmm0, xmm1
call fcn.1800d0ed0
movaps xmm6, xmm0
mov byte [rsp + 0x52], r15b
shufps xmm6, xmm0, 1
lea r9, [rbp - 0x30]
movaps xmm1, xmm0
lea r8, [rbp - 0x20]
movaps xmm12, xmm0
lea rdx, [rsp + 0x58]
movss xmm0, dword [rbp - 0x30]
lea rcx, [rbp + 0x48]
mulss xmm1, xmm0
movaps xmm3, xmm6
mulss xmm3, xmm0
movaps xmm2, xmm6
movaps xmm0, xmm12
mulss xmm2, xmm13
mulss xmm0, xmm13
subss xmm2, xmm1
addss xmm3, xmm0
movss dword [rbp - 0x30], xmm2
movss dword [rbp - 0x2c], xmm3
call fcn.180032b2c
test al, al
je 0x18005c6e8
movss xmm2, dword [rbp - 0x40]
lea r9, [rbp - 0x40]
movaps xmm7, xmm6
lea r8, [rbp - 0x20]
mulss xmm7, dword [rbp - 0x28]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x48]
movaps xmm0, xmm12
mulss xmm6, xmm2
mulss xmm12, dword [rbp - 0x28]
mulss xmm0, xmm2
addss xmm6, xmm12
subss xmm7, xmm0
movss dword [rbp - 0x3c], xmm6
movss dword [rbp - 0x40], xmm7
call fcn.180032b2c
test al, al
jne 0x18005c620
lea rax, [rbp - 0x40]
lea r9, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x28]
call fcn.180032bf8
movsd xmm0, qword [rax]
movsd qword [rbp - 0x40], xmm0
movss xmm6, dword [rbp - 0x3c]
movss xmm7, dword [rbp - 0x40]
movss xmm5, dword [rbp - 0x58]
movaps xmm3, xmm11
movss xmm4, dword [rbp + 0x40]
movaps xmm1, xmm5
movss xmm2, dword [rbp + 0x44]
movaps xmm0, xmm4
subss xmm2, dword [rbp + 0x48]
subss xmm7, dword [rbp + 0x48]
movss xmm8, dword [0x1801583ec]
movaps xmm15, xmm11
mulss xmm0, xmm2
mulss xmm6, xmm2
mulss xmm1, xmm2
subss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm7
subss xmm0, xmm6
divss xmm3, xmm1
mulss xmm0, xmm3
subss xmm15, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm7
comiss xmm15, xmm8
subss xmm6, xmm0
movaps xmm0, xmm15
mulss xmm6, xmm3
subss xmm0, xmm6
jae 0x18005c6a1
movss dword [rbp - 0x7c], xmm8
movaps xmm15, xmm8
jmp 0x18005c6ac
minss xmm15, xmm11
movss dword [rbp - 0x7c], xmm15
divss xmm0, xmm15
movss dword [rsp + 0x68], xmm15
comiss xmm0, xmm8
jb 0x18005c6c7
movaps xmm8, xmm0
minss xmm8, xmm11
movss xmm7, dword [0x180158494]
mov r15b, 1
mov byte [rsp + 0x50], r15b
movss dword [rsp + 0x70], xmm8
mov byte [rsp + 0x51], 1
mov byte [rsp + 0x52], r12b
movss xmm13, dword [rsp + 0x78]
movss xmm6, dword [rsp + 0x7c]
movss xmm12, dword [rbp - 0x74]
test bl, 8
jne 0x18005c70c
call fcn.180040b6c
mov rdi, qword [0x1801aa2d0]
mov r12b, byte [rsp + 0x51]
jmp 0x18005c90f
bt ebx, 0x19
jae 0x18005c908
lea rdx, [rsp + 0x58]
movss dword [rsp + 0x58], xmm14
lea rcx, [0x180158090]
movss dword [rsp + 0x5c], xmm14
call fcn.1800527c0
mov r8, qword [0x1801aa2d0]
mov eax, dword [r8 + 0x3f28]
test eax, eax
je 0x18005c835
cmp eax, dword [r8 + 0x4764]
jne 0x18005c835
movss xmm8, dword [r14 + 0xe08]
movaps xmm0, xmm14
subss xmm0, xmm11
movaps xmm1, xmm11
subss xmm8, xmm13
divss xmm1, xmm0
mulss xmm8, xmm1
comiss xmm8, xmm9
jae 0x18005c792
xorps xmm8, xmm8
jmp 0x18005c797
minss xmm8, xmm11
movss xmm0, dword [r14 + 0xe0c]
subss xmm0, xmm6
movss dword [rsp + 0x70], xmm8
mulss xmm0, xmm1
comiss xmm0, xmm9
jae 0x18005c7ba
xorps xmm0, xmm0
jmp 0x18005c7bf
minss xmm0, xmm11
mov eax, dword [r8 + 0x5b00]
movaps xmm15, xmm11
subss xmm15, xmm0
movss dword [rbp - 0x7c], xmm15
movss dword [rsp + 0x68], xmm15
cmp dword [r8 + 0x5b04], eax
jne 0x18005c82d
movss xmm0, dword [rsi]
lea rcx, [rsp + 0x58]
movss xmm1, dword [rsi + 4]
and dword [rsp + 0x64], r12d
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rsi + 8]
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.180033708
cmp dword [r8 + 0x5b10], eax
jne 0x18005c82d
movss xmm10, dword [r8 + 0x5b08]
movss dword [rsp + 0x6c], xmm10
mov r15b, 1
mov byte [rsp + 0x50], r15b
mov byte [rsp + 0x51], r15b
mov r12b, r15b
test bl, 8
jne 0x18005c84e
call fcn.180040b6c
mov r8, qword [0x1801aa2d0]
mov rax, qword [r8 + 0x3ec8]
lea rdx, [rsp + 0x58]
movss xmm0, dword [rbp + 0x18]
lea rcx, [0x180158094]
movss dword [rsp + 0x5c], xmm14
mov byte [rax + 0xb8], 1
mov rax, qword [r8 + 0x3ec8]
movss dword [rax + 0x100], xmm0
movss xmm0, dword [rbp - 0x78]
movss dword [rsp + 0x58], xmm0
movss dword [rax + 0x104], xmm6
mov byte [rax + 0x141], 1
call fcn.1800527c0
mov rdi, qword [0x1801aa2d0]
mov eax, dword [rdi + 0x3f28]
test eax, eax
je 0x18005c90f
mov byte [rsp + 0x51], r15b
cmp eax, dword [rdi + 0x4764]
jne 0x18005c90f
movss xmm10, dword [r14 + 0xe0c]
movaps xmm0, xmm14
subss xmm10, xmm6
subss xmm0, xmm11
divss xmm10, xmm0
comiss xmm10, xmm9
jae 0x18005c8e8
xorps xmm10, xmm10
jmp 0x18005c8ed
minss xmm10, xmm11
mov r15b, 1
movss dword [rsp + 0x6c], xmm10
mov byte [rsp + 0x50], r15b
mov byte [rsp + 0x52], 1
mov byte [rsp + 0x51], r12b
jmp 0x18005c90f
mov rdi, qword [0x1801aa2d0]
cmp dword [rbp + 0x20], 0x10000
jne 0x18005c9d6
mov rax, qword [rdi + 0x3ec8]
lea rdx, [rsp + 0x58]
movaps xmm0, xmm6
movss dword [rsp + 0x58], xmm14
addss xmm0, xmm14
lea rcx, [0x180158098]
addss xmm0, dword [r14 + 0x384c]
mov byte [rax + 0xb8], 1
mov rax, qword [rdi + 0x3ec8]
movss dword [rax + 0x104], xmm0
movss xmm0, dword [rbp - 0x78]
movss dword [rsp + 0x5c], xmm0
movss dword [rax + 0x100], xmm13
mov byte [rax + 0x141], 1
call fcn.1800527c0
mov rdi, qword [0x1801aa2d0]
mov eax, dword [rdi + 0x3f28]
test eax, eax
je 0x18005c9d6
cmp eax, dword [rdi + 0x4764]
jne 0x18005c9d6
movss xmm1, dword [r14 + 0xe08]
movaps xmm0, xmm14
subss xmm1, xmm13
subss xmm0, xmm11
divss xmm1, xmm0
comiss xmm1, xmm9
jae 0x18005c9bc
xorps xmm1, xmm1
jmp 0x18005c9c1
minss xmm1, xmm11
movaps xmm0, xmm11
mov r15b, 1
subss xmm0, xmm1
mov byte [rsp + 0x50], r15b
movss dword [rsi + 0xc], xmm0
movsxd rcx, dword [rdi + 0x4850]
lea eax, [rcx - 1]
mov dword [rdi + 0x4850], eax
mov rax, qword [rdi + 0x4858]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rdi + 0x4748], ecx
mov edi, ebx
and edi, 0x100
jne 0x18005ca17
movss xmm1, dword [r14 + 0x3848]
xorps xmm0, xmm0
call fcn.18003f7a4
call fcn.18003facc
test bl, bl
js 0x18005ca54
mov r9, qword [rbp + 0x1a0]
xor edx, edx
mov rcx, r9
call fcn.180033e84
mov rdx, rax
cmp r9, rax
je 0x18005ca54
test edi, edi
je 0x18005ca49
movss xmm1, dword [r14 + 0x3848]
xorps xmm0, xmm0
call fcn.18003f7a4
xor r8d, r8d
mov rcx, r9
call fcn.1800519a0
bt ebx, 8
jb 0x18005cbb6
mov ecx, 0x10
call fcn.18003cf78
test bl, 2
je 0x18005ca73
movaps xmm2, xmm11
jmp 0x18005ca78
movss xmm2, dword [rsi + 0xc]
movss xmm0, dword [rsi]
movss xmm1, dword [rsi + 4]
movss dword [rbp - 0x20], xmm0
movss xmm0, dword [rsi + 8]
movss dword [rbp - 0x18], xmm0
movss dword [rbp - 0x1c], xmm1
movss dword [rbp - 0x14], xmm2
test bl, bl
jns 0x18005caaa
lea rcx, str.Current
call fcn.180051e00
movaps xmm6, xmm12
lea r9, [rsp + 0x58]
mulss xmm6, dword [0x180158564]
addss xmm12, xmm12
mov edi, ebx
lea rdx, [rbp - 0x20]
and edi, 0x180e0040
lea rcx, str.current
mov r8d, edi
movss dword [rsp + 0x58], xmm6
movss dword [rsp + 0x5c], xmm12
call fcn.18005def4
test r13, r13
je 0x18005cb84
lea rcx, str.Original
call fcn.180051e00
test bl, 2
je 0x18005cb08
movaps xmm2, xmm11
jmp 0x18005cb0e
movss xmm2, dword [r13 + 0xc]
movss xmm0, dword [r13]
lea r9, [rsp + 0x58]
movss xmm1, dword [r13 + 4]
lea rdx, [rbp - 0x40]
movss dword [rbp - 0x40], xmm0
lea rcx, str.original
movss xmm0, dword [r13 + 8]
mov r8d, edi
movss dword [rbp - 0x38], xmm0
movss dword [rbp - 0x3c], xmm1
movss dword [rbp - 0x34], xmm2
movss dword [rsp + 0x58], xmm6
movss dword [rsp + 0x5c], xmm12
call fcn.18005def4
mov edi, dword [rbp - 0x70]
test al, al
je 0x18005cb87
mov eax, edi
mov rdx, r13
neg eax
mov rcx, rsi
sbb r8, r8
and r8, 0xfffffffffffffffc
add r8, 0x10
call sub.VCRUNTIME140.dll_memcpy
mov r15b, 1
mov byte [rsp + 0x50], r15b
jmp 0x18005cb87
mov edi, dword [rbp - 0x70]
mov rdx, qword [0x1801aa2d0]
movsxd rcx, dword [rdx + 0x4850]
lea eax, [rcx - 1]
mov dword [rdx + 0x4850], eax
mov rax, qword [rdx + 0x4858]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rdx + 0x4748], ecx
call fcn.18003fbf4
jmp 0x18005cbb9
mov edi, dword [rbp - 0x70]
movss xmm0, dword [rsi]
comiss xmm0, xmm9
jae 0x18005cbc8
xorps xmm0, xmm0
jmp 0x18005cbcd
minss xmm0, xmm11
movss xmm13, dword [0x180158664]
movss xmm1, dword [rsi + 4]
comiss xmm1, xmm9
mulss xmm0, xmm13
addss xmm0, xmm7
cvttss2si r9d, xmm0
jae 0x18005cbf4
xorps xmm1, xmm1
jmp 0x18005cbf9
minss xmm1, xmm11
movss xmm0, dword [rsi + 8]
comiss xmm0, xmm9
mulss xmm1, xmm13
addss xmm1, xmm7
cvttss2si edx, xmm1
jae 0x18005cc16
xorps xmm0, xmm0
jmp 0x18005cc1b
minss xmm0, xmm11
mulss xmm0, xmm13
addss xmm0, xmm7
cvttss2si ecx, xmm0
test bl, 2
jne 0x18005cc75
movss xmm0, dword [rsi + 0xc]
comiss xmm0, xmm9
jae 0x18005cc3d
xorps xmm0, xmm0
jmp 0x18005cc42
minss xmm0, xmm11
mulss xmm0, xmm13
lea r8, [0x180158008]
addss xmm0, xmm7
cvttss2si eax, xmm0
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
lea rcx, [rbp + 0x80]
mov dword [rsp + 0x20], edx
mov edx, 0x40
call fcn.180032d0c
jmp 0x18005cc95
mov dword [rsp + 0x28], ecx
lea r8, [0x180158020]
mov dword [rsp + 0x20], edx
lea rcx, [rbp + 0x80]
mov edx, 0x40
call fcn.180032d0c
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], 0x40400000
mov ecx, 0xe
mov dword [rsp + 0x5c], 0x41000000
call fcn.180033d6c
movss xmm12, dword [0x1801586f0]
lea rdx, [rbp + 0x80]
movss xmm6, dword [r14 + 0x3840]
lea rcx, [rbp - 0x20]
xor r9d, r9d
movss dword [rsp + 0x20], xmm12
xor r8d, r8d
call fcn.1800381c8
and dword [rsp + 0x5c], 0
lea rdx, [rsp + 0x58]
movaps xmm1, xmm14
mulss xmm6, xmm7
lea rcx, str.Copy
mulss xmm1, xmm7
movss xmm0, dword [rax]
mulss xmm0, xmm7
subss xmm1, xmm6
subss xmm1, xmm0
subss xmm1, dword [0x180158574]
movss dword [rsp + 0x58], xmm1
call fcn.180052538
xor r13d, r13d
test al, al
je 0x18005cd48
mov eax, edi
lea rcx, [0x180169728]
neg eax
mov rdx, rsi
sbb r8, r8
and r8, 0xfffffffffffffffc
add r8, 0x10
call sub.VCRUNTIME140.dll_memcpy
movaps xmm1, xmm12
xorps xmm0, xmm0
call fcn.18003f7a4
and dword [rsp + 0x58], r13d
lea rcx, [rbp + 0x80]
and dword [rsp + 0x5c], r13d
lea rdx, [rsp + 0x58]
call fcn.180052538
test al, al
je 0x18005cdd9
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18005cdd9
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rax, [rbp + 0x80]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], r13b
jne 0x18005cd90
inc rdx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r8, rax
lea rcx, [rbp + 0x80]
sub r8, rcx
lea rdx, [rbp + 0x80]
mov cl, byte [rdx]
mov byte [rdx + r8], cl
inc rdx
test cl, cl
jne 0x18005cdb8
mov rdx, rax
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
movaps xmm1, xmm12
movaps xmm0, xmm9
call fcn.18003f7a4
movss xmm6, dword [r14 + 0x3840]
lea rcx, [rbp - 0x20]
xor r9d, r9d
movss dword [rsp + 0x20], xmm12
xor r8d, r8d
lea rdx, [rbp + 0x80]
call fcn.1800381c8
and dword [rsp + 0x5c], r13d
lea rdx, [rsp + 0x58]
movaps xmm1, xmm14
mulss xmm6, xmm7
lea rcx, str.Paste
mulss xmm1, xmm7
movss xmm0, dword [rax]
mulss xmm0, xmm7
subss xmm1, xmm6
subss xmm1, xmm0
subss xmm1, dword [0x180158574]
movss dword [rsp + 0x58], xmm1
call fcn.180052538
test al, al
je 0x18005ce76
mov eax, edi
lea rdx, [0x180169728]
neg eax
mov rcx, rsi
sbb r8, r8
and r8, 0xfffffffffffffffc
add r8, 0x10
call sub.VCRUNTIME140.dll_memcpy
mov r15b, 1
mov byte [rsp + 0x50], r15b
mov ecx, 1
call fcn.180033df8
cmp byte [rsp + 0x52], r13b
jne 0x18005ce90
test r12b, r12b
je 0x18005cf2b
bt ebx, 0x1b
jae 0x18005cf14
lea rax, [rsi + 8]
mov r9, rsi
lea rcx, [rsi + 4]
mov qword [rsp + 0x28], rax
movaps xmm2, xmm15
mov qword [rsp + 0x20], rcx
movaps xmm1, xmm8
movaps xmm0, xmm10
call fcn.180033854
mov eax, dword [r14 + 0x5b00]
lea rcx, [rsp + 0x58]
and dword [rsp + 0x64], r13d
mov dword [r14 + 0x5b04], eax
movss dword [r14 + 0x5b08], xmm10
movss dword [r14 + 0x5b0c], xmm8
movss xmm0, dword [rsi]
movss xmm1, dword [rsi + 4]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rsi + 8]
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.180033708
mov dword [r14 + 0x5b10], eax
jmp 0x18005cf2b
bt ebx, 0x1c
jae 0x18005cf2b
movss dword [rsi], xmm10
movss dword [rsi + 4], xmm8
movss dword [rsi + 8], xmm15
movss xmm6, dword [rsp + 0x78]
mov r12b, r13b
test bl, 0x20
jne 0x18005d0e7
cmp dword [rbp + 0x20], 0x10000
jne 0x18005cf4b
movaps xmm0, xmm6
jmp 0x18005cf50
movss xmm0, dword [rbp + 0x18]
addss xmm0, dword [rbp - 0x78]
subss xmm0, xmm6
call fcn.18003f850
mov edi, ebx
and edi, 0x198e001a
bt ebx, 0x14
jb 0x18005cf74
test ebx, 0x700000
jne 0x18005cfae
mov r8d, edi
lea rcx, str.rgb
or r8d, 0x100004
mov rdx, rsi
call fcn.18005ad2c
test al, al
je 0x18005cfae
cmp dword [r14 + 0x3f28], r13d
je 0x18005cfa6
cmp byte [r14 + 0x3f35], r13b
jne 0x18005cfa6
mov r12b, 1
mov r15b, 1
mov byte [rsp + 0x50], r15b
bt ebx, 0x15
jb 0x18005cfbc
test ebx, 0x700000
jne 0x18005cfdd
mov r8d, edi
lea rcx, str.hsv
or r8d, 0x200004
mov rdx, rsi
call fcn.18005ad2c
or r15b, al
mov byte [rsp + 0x50], r15b
bt ebx, 0x16
jb 0x18005cfeb
test ebx, 0x700000
jne 0x18005d00b
or edi, 0x400004
lea rcx, str.hex
mov r8d, edi
mov rdx, rsi
call fcn.18005ad2c
or r15b, al
mov byte [rsp + 0x50], r15b
mov r8, qword [0x1801aa2d0]
mov rax, qword [r8 + 0x3ec8]
mov byte [rax + 0xb8], 1
mov r8, qword [r8 + 0x3ec8]
movsxd rdx, dword [r8 + 0x1c8]
mov rax, qword [r8 + 0x1d0]
mov ecx, dword [rax + rdx*4 - 4]
lea eax, [rdx - 1]
mov dword [r8 + 0x1c8], eax
mov dword [r8 + 0x1bc], ecx
test r12b, r12b
je 0x18005d0e7
bt ebx, 0x1b
jae 0x18005d0e7
movss xmm2, dword [rsi + 8]
lea rax, [rbp - 0x28]
movss xmm1, dword [rsi + 4]
lea r9, [rbp - 0x40]
movss xmm0, dword [rsi]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.1800337ac
movss xmm0, dword [rbp - 0x40]
comiss xmm0, xmm9
ja 0x18005d0e7
comiss xmm10, xmm9
jbe 0x18005d0e7
movss xmm2, dword [rbp - 0x28]
comiss xmm2, xmm9
ja 0x18005d0b6
ucomiss xmm15, xmm2
je 0x18005d0b6
movaps xmm2, xmm15
movaps xmm1, xmm8
mulss xmm2, xmm7
jmp 0x18005d0c9
movss xmm0, dword [rbp - 0x30]
comiss xmm0, xmm9
ja 0x18005d0e7
movaps xmm1, xmm8
mulss xmm1, xmm7
lea rax, [rsi + 8]
mov r9, rsi
lea rcx, [rsi + 4]
mov qword [rsp + 0x28], rax
movaps xmm0, xmm10
mov qword [rsp + 0x20], rcx
call fcn.180033854
mov byte [rbp - 0x80], r15b
test r15b, r15b
je 0x18005d19e
bt ebx, 0x1b
jae 0x18005d15a
movss xmm2, dword [rsi + 8]
lea rax, [rsp + 0x68]
movss xmm1, dword [rsi + 4]
lea r9, [rsp + 0x6c]
movss xmm0, dword [rsi]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.1800337ac
lea r9, [rsp + 0x68]
mov rcx, rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x6c]
call fcn.18005ac8c
movss xmm15, dword [rsp + 0x68]
movss xmm10, dword [rsp + 0x6c]
movss xmm8, dword [rsp + 0x70]
movss dword [rbp - 0x7c], xmm15
jmp 0x18005d19e
bt ebx, 0x1c
jae 0x18005d19e
movss xmm15, dword [rsi + 8]
lea rax, [rbp - 0x40]
movss xmm10, dword [rsi]
lea r9, [rbp - 0x30]
movss xmm8, dword [rsi + 4]
movaps xmm2, xmm15
mov qword [rsp + 0x28], rax
movaps xmm1, xmm8
lea rax, [rbp - 0x28]
movss dword [rbp - 0x7c], xmm15
movaps xmm0, xmm10
mov qword [rsp + 0x20], rax
call fcn.180033854
movss xmm1, dword [r14 + 0x37f4]
comiss xmm1, xmm9
jae 0x18005d1b3
movaps xmm0, xmm9
jmp 0x18005d1bb
movaps xmm0, xmm1
minss xmm0, xmm11
mulss xmm0, xmm13
lea r9, [rsp + 0x58]
mov dword [rsp + 0x58], 0x3f800000
movss dword [rsp + 0x64], xmm1
movaps xmm2, xmm11
movaps xmm1, xmm11
mov dword [rsp + 0x5c], 0x3f800000
addss xmm0, xmm7
mov dword [rsp + 0x60], 0x3f800000
cvttss2si r12d, xmm0
movaps xmm0, xmm10
shl r12d, 0x18
mov eax, r12d
mov dword [rbp - 0x30], r12d
or eax, 0xffffff
mov r13d, r12d
mov dword [rsp + 0x68], eax
or r13d, 0xff
mov eax, r12d
mov dword [rbp - 0x20], r13d
or eax, 0x808080
mov dword [rbp - 8], r13d
mov dword [rbp - 0x28], eax
mov edi, r12d
mov eax, r12d
or edi, 0xffff
or eax, 0xff00
mov dword [rbp - 0x1c], edi
mov dword [rbp - 0x18], eax
mov eax, r12d
or eax, 0xffff00
mov dword [rbp - 0x14], eax
mov eax, r12d
or eax, 0xff0000
mov dword [rbp - 0x10], eax
mov eax, r12d
or eax, 0xff00ff
mov dword [rbp - 0x74], eax
mov dword [rbp - 0xc], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
call fcn.180033854
lea rcx, [rsp + 0x58]
call fcn.180033708
movss dword [rsp + 0x70], xmm9
mov r8d, eax
movss dword [rsp + 0x74], xmm9
movaps xmm13, xmm9
mov dword [rbp - 0x40], eax
movaps xmm12, xmm9
mov r9d, 4
bt ebx, 0x1a
jae 0x18005d773
movss xmm0, dword [rbp + 4]
lea r15, [rbp - 0x20]
movss xmm11, dword [rbp]
mov eax, 0x2aaaaaab
movss xmm14, dword [rbp + 0x10]
movaps xmm12, xmm0
movss xmm9, dword [rbp + 8]
addss xmm12, xmm11
movss xmm15, dword [rbp + 0xc]
movaps xmm13, xmm7
mov esi, dword [rbp - 0x20]
mov r14d, dword [rsp + 0x68]
cvttss2si ecx, xmm0
divss xmm13, xmm0
imul ecx
mulss xmm12, xmm7
mov r13d, edx
sar r13d, 1
mov eax, r13d
shr eax, 0x1f
add r13d, eax
cmp r13d, r9d
cmovle r13d, r9d
xor r12d, r12d
mov rbx, qword [rbp + 0x28]
lea rdx, [rbp - 0x68]
movd xmm7, r12d
movaps xmm2, xmm12
cvtdq2ps xmm7, xmm7
mov dword [rsp + 0x28], r13d
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mulss xmm7, dword [0x1801584f0]
movaps xmm6, xmm7
addss xmm7, dword [0x1801584f0]
subss xmm6, xmm13
addss xmm7, xmm13
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.180049aac
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm14
and dword [rsp + 0x20], 0
call fcn.18004846c
and dword [rbx + 0x78], 0
movaps xmm1, xmm6
movaps xmm2, xmm7
movaps xmm0, xmm1
movaps xmm1, xmm2
call fcn.1800d0f13
mov rax, qword [rbp + 0x28]
movaps xmm2, xmm0
shufps xmm2, xmm0, 0xe
movaps xmm1, xmm0
shufps xmm1, xmm0, 1
movaps xmm3, xmm0
movaps xmm0, xmm2
mulss xmm1, xmm11
mov r8d, dword [rax + 0x20]
add r15, 4
shufps xmm0, xmm2, 1
mov edx, edi
mulss xmm0, xmm11
mov rcx, rax
mulss xmm3, xmm11
addss xmm1, xmm9
mov ebx, dword [r15]
mulss xmm2, xmm11
addss xmm0, xmm9
mov dword [rsp + 0x30], ebx
addss xmm3, xmm15
mov dword [rsp + 0x28], esi
addss xmm2, xmm15
unpcklps xmm1, xmm3
movq r9, xmm1
unpcklps xmm0, xmm2
movsd qword [rsp + 0x20], xmm0
call fcn.18004c2cc
inc r12d
mov esi, ebx
cmp r12d, 6
jl 0x18005d317
mulss xmm10, dword [0x180158530]
xorps xmm0, xmm0
mulss xmm10, dword [0x18015856c]
movss xmm0, xmm10
call fcn.1800d0ed0
cmp byte [rsp + 0x52], 0
movaps xmm6, xmm0
movss xmm14, dword [rbp + 8]
movaps xmm7, xmm0
movss xmm9, dword [rbp + 0xc]
movss xmm10, dword [rbp + 0x10]
shufps xmm6, xmm0, 1
movss xmm0, dword [rbp]
addss xmm0, dword [rbp + 4]
movaps xmm1, xmm0
mulss xmm0, xmm7
mulss xmm1, xmm6
mulss xmm0, dword [0x180158494]
mulss xmm1, dword [0x180158494]
addss xmm0, xmm9
addss xmm1, xmm14
movss dword [rsp + 0x5c], xmm0
movss dword [rsp + 0x58], xmm1
je 0x18005d4a1
mulss xmm10, dword [0x1801584a0]
jmp 0x18005d4aa
mulss xmm10, dword [0x180158498]
mov r13, qword [rbp + 0x28]
movaps xmm1, xmm10
mov rcx, r13
call fcn.180047d94
mov edi, dword [rbp - 0x40]
lea rdx, [rsp + 0x58]
mov r9d, edi
mov dword [rsp + 0x20], eax
movaps xmm2, xmm10
mov rcx, r13
mov ebx, eax
call fcn.18004bb4c
movss xmm11, dword [0x1801584ec]
lea rdx, [rsp + 0x58]
mov r14d, dword [rbp - 0x28]
movaps xmm2, xmm10
movss dword [rsp + 0x28], xmm11
addss xmm2, xmm11
mov r9d, r14d
mov dword [rsp + 0x20], ebx
mov rcx, r13
call fcn.18004ba70
mov esi, dword [rsp + 0x68]
lea rdx, [rsp + 0x58]
movss dword [rsp + 0x28], xmm11
mov r9d, esi
movaps xmm2, xmm10
mov dword [rsp + 0x20], ebx
mov rcx, r13
call fcn.18004ba70
mov rax, qword [0x1801aa2d0]
movaps xmm2, xmm6
mulss xmm2, dword [rbp + 0x44]
movaps xmm10, xmm6
mov edx, 3
mov rcx, r13
mulss xmm10, dword [rbp + 0x48]
movaps xmm12, xmm6
mov r8d, edx
mulss xmm12, dword [rbp + 0x40]
movaps xmm0, xmm7
mulss xmm0, dword [rbp + 0x48]
movaps xmm13, xmm2
movaps xmm1, xmm7
addss xmm10, xmm14
mulss xmm1, dword [rbp + 0x44]
addss xmm0, xmm9
addss xmm12, xmm1
movss dword [rbp - 0x74], xmm0
movaps xmm0, xmm7
mulss xmm0, dword [rbp + 0x40]
addss xmm12, xmm9
subss xmm13, xmm0
movss xmm0, dword [rbp - 0x58]
mulss xmm6, xmm0
mulss xmm7, xmm0
addss xmm6, xmm1
addss xmm13, xmm14
subss xmm2, xmm7
movss xmm7, dword [rax + 0x3c34]
addss xmm6, xmm9
addss xmm2, xmm14
movaps xmmword [rbp - 0x50], xmm6
movss xmm6, dword [rax + 0x3c30]
movss dword [rbp - 0x58], xmm2
call fcn.1800480f0
mov rcx, qword [r13 + 0x50]
movaps xmm0, xmm10
movzx eax, word [r13 + 0x34]
movss xmm1, dword [rbp - 0x74]
unpcklps xmm0, xmm1
mov word [rcx], ax
mov rax, qword [r13 + 0x48]
add qword [r13 + 0x50], 2
movsd qword [rbp - 0x20], xmm0
movsd qword [rax], xmm0
mov rax, qword [r13 + 0x48]
movss dword [rax + 8], xmm6
movss dword [rax + 0xc], xmm7
mov rax, qword [r13 + 0x48]
mov dword [rax + 0x10], edi
add qword [r13 + 0x48], 0x14
lea r9, [rbp - 0x68]
inc dword [r13 + 0x34]
lea r8, [rsp + 0x58]
mov rcx, qword [r13 + 0x50]
lea rdx, [rbp - 0x20]
movzx eax, word [r13 + 0x34]
movaps xmm0, xmm13
movaps xmm1, xmmword [rbp - 0x50]
mov r12d, dword [rbp - 0x30]
mov word [rcx], ax
mov rax, qword [r13 + 0x48]
add qword [r13 + 0x50], 2
unpcklps xmm0, xmm12
movsd qword [rsp + 0x58], xmm0
movsd qword [rax], xmm0
mov rax, qword [r13 + 0x48]
movss xmm0, dword [rbp - 0x58]
unpcklps xmm0, xmm1
movsd qword [rbp - 0x68], xmm0
movss dword [rax + 8], xmm6
movss dword [rax + 0xc], xmm7
mov rax, qword [r13 + 0x48]
mov dword [rsp + 0x20], r14d
mov dword [rax + 0x10], r12d
add qword [r13 + 0x48], 0x14
mov rcx, qword [r13 + 0x50]
inc dword [r13 + 0x34]
movzx eax, word [r13 + 0x34]
mov word [rcx], ax
mov rcx, r13
mov rax, qword [r13 + 0x48]
add qword [r13 + 0x50], 2
movsd qword [rax], xmm0
mov rax, qword [r13 + 0x48]
movss dword [rax + 8], xmm6
movss dword [rax + 0xc], xmm7
mov rax, qword [r13 + 0x48]
mov dword [rax + 0x10], esi
add qword [r13 + 0x48], 0x14
inc dword [r13 + 0x34]
call fcn.18004b7f8
movaps xmm1, xmm11
xorps xmm9, xmm9
subss xmm1, dword [rbp - 0x7c]
comiss xmm1, xmm9
jae 0x18005d6e1
xorps xmm1, xmm1
jmp 0x18005d6e6
minss xmm1, xmm11
comiss xmm8, xmm9
jae 0x18005d6f2
xorps xmm8, xmm8
jmp 0x18005d6f7
minss xmm8, xmm11
movaps xmm2, xmmword [rbp - 0x50]
mov r9d, 4
subss xmm10, dword [rbp - 0x58]
movss xmm0, dword [rbp - 0x74]
movss xmm14, dword [rbp + 0x58]
subss xmm0, xmm2
movss xmm7, dword [0x180158494]
mov rsi, qword [rbp + 0x1a8]
mov r14, qword [rbp + 0x30]
mov r15b, byte [rsp + 0x50]
mulss xmm0, xmm8
mulss xmm10, xmm8
addss xmm0, xmm2
addss xmm10, dword [rbp - 0x58]
subss xmm12, xmm0
subss xmm13, xmm10
mulss xmm12, xmm1
mulss xmm13, xmm1
addss xmm12, xmm0
addss xmm13, xmm10
movss dword [rsp + 0x74], xmm12
movss dword [rsp + 0x70], xmm13
jmp 0x18005dba3
bt ebx, 0x19
jae 0x18005db9f
mov rax, qword [0x1801aa2d0]
lea rcx, [rbp + 0x30]
movss xmm12, dword [rsp + 0x7c]
movaps xmm1, xmm6
addss xmm1, xmm14
addss xmm12, xmm14
movdqu xmm0, xmmword [rax + 0x38f0]
addss xmm6, xmm14
movups xmmword [rbp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rsp + 0x58], xmm1
movss dword [rsp + 0x5c], xmm12
movss dword [rbp + 0x3c], xmm0
call fcn.180033708
mov rbx, qword [rbp + 0x28]
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x48], 0xf0
mov r9d, eax
mov eax, dword [rsp + 0x68]
mov rcx, rbx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r8d
lea r8, [rsp + 0x58]
mov dword [rsp + 0x20], eax
call fcn.18004a75c
mov rax, qword [0x1801aa2d0]
lea rcx, [rbp + 0x30]
movss dword [rbp - 0x68], xmm6
movss dword [rbp - 0x64], xmm12
movdqu xmm0, xmmword [rax + 0x38f0]
movups xmmword [rbp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp + 0x3c], xmm0
call fcn.180033708
mov dword [rsp + 0x48], 0xf0
lea r8, [rbp - 0x68]
mov dword [rsp + 0x38], r12d
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x30], r12d
mov r9d, eax
and dword [rsp + 0x28], 0
mov rcx, rbx
and dword [rsp + 0x20], 0
call fcn.18004a75c
movss xmm2, dword [0x180158564]
movaps xmm0, xmm6
mov rcx, qword [rbp - 0x50]
unpcklps xmm0, xmm12
movq rdx, xmm0
call fcn.18003449c
comiss xmm8, xmm9
jae 0x18005d898
movaps xmm8, xmm9
jmp 0x18005d89d
minss xmm8, xmm11
movss xmm2, dword [rsp + 0x78]
movss xmm1, dword [0x180158530]
movaps xmm13, xmm2
mulss xmm8, xmm14
addss xmm13, xmm1
addss xmm8, xmm2
addss xmm8, xmm7
cvttss2si eax, xmm8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm13
jb 0x18005d8e8
movaps xmm13, xmm2
addss xmm13, xmm14
subss xmm13, xmm1
minss xmm13, xmm0
movaps xmm0, xmm11
movss dword [rsp + 0x70], xmm13
subss xmm0, xmm15
comiss xmm0, xmm9
jae 0x18005d904
movaps xmm0, xmm9
jmp 0x18005d909
minss xmm0, xmm11
movss xmm8, dword [rsp + 0x7c]
mulss xmm0, xmm14
movaps xmm12, xmm8
addss xmm12, xmm1
addss xmm0, xmm8
addss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm12
jb 0x18005d949
movss xmm12, dword [rsp + 0x5c]
subss xmm12, xmm1
minss xmm12, xmm2
mov rax, qword [0x1801aa2d0]
lea rcx, [rbp - 0x50]
movss xmm15, dword [rbp + 0x18]
movaps xmm7, xmm14
mulss xmm7, dword [0x18015844c]
movaps xmm6, xmm15
movdqu xmm0, xmmword [rax + 0x38f0]
addss xmm6, dword [rbp - 0x78]
movups xmmword [rbp - 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rsp + 0x74], xmm12
movss dword [rbp - 0x68], xmm6
movss dword [rbp - 0x44], xmm0
movaps xmm0, xmm7
addss xmm0, xmm8
movss dword [rsp + 0x58], xmm15
movss dword [rsp + 0x5c], xmm8
movss dword [rbp - 0x64], xmm0
call fcn.180033708
mov dword [rsp + 0x48], 0x30
lea r8, [rbp - 0x68]
mov dword [rsp + 0x38], edi
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x30], edi
mov r9d, eax
mov dword [rsp + 0x28], r13d
mov rcx, rbx
mov dword [rsp + 0x20], r13d
call fcn.18004a75c
mov eax, 1
movss dword [rbp - 0x68], xmm6
movss dword [rsp + 0x58], xmm15
lea r12, [rbp - 0x1c]
mov r15, rbx
mov r9d, edi
movd xmm1, eax
cvtdq2ps xmm1, xmm1
lea ebx, [rax + 1]
add r12, 4
lea r8, [rbp - 0x68]
mov rcx, r15
lea rdx, [rsp + 0x58]
movd xmm0, ebx
mov edi, dword [r12]
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r9d
mulss xmm1, xmm7
mulss xmm0, xmm7
addss xmm1, xmm8
addss xmm0, xmm8
movss dword [rsp + 0x5c], xmm1
movss dword [rbp - 0x64], xmm0
call fcn.18004a57c
mov eax, ebx
cmp ebx, 5
jl 0x18005d9fe
mov rax, qword [0x1801aa2d0]
lea rcx, [rbp - 0x50]
movss xmm6, dword [rbp - 0x78]
movaps xmm1, xmm14
addss xmm1, xmm8
movss dword [rsp + 0x58], xmm15
movdqu xmm0, xmmword [rax + 0x38f0]
movups xmmword [rbp - 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x64], xmm1
movss dword [rbp - 0x44], xmm0
movaps xmm0, xmm15
addss xmm0, xmm6
movss dword [rbp - 0x68], xmm0
movaps xmm0, xmm14
mulss xmm0, dword [0x1801584c0]
addss xmm0, xmm8
movss dword [rsp + 0x5c], xmm0
call fcn.180033708
mov dword [rsp + 0x48], 0xc0
lea r8, [rbp - 0x68]
mov dword [rsp + 0x38], r13d
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x30], r13d
mov r9d, eax
mov eax, dword [rbp - 0x74]
mov rcx, r15
mov dword [rsp + 0x28], eax
mov r13, r15
mov dword [rsp + 0x20], eax
call fcn.18004a75c
movaps xmm0, xmm15
movaps xmm1, xmm8
addss xmm1, xmm14
movaps xmm2, xmm9
addss xmm0, xmm6
unpcklps xmm0, xmm1
movaps xmm1, xmm15
unpcklps xmm1, xmm8
movq rdx, xmm0
movq rcx, xmm1
call fcn.18003449c
movss xmm2, dword [rbp + 0x5c]
subss xmm15, xmm11
movss xmm0, dword [r14 + 0x37f4]
movaps xmm1, xmm2
movss xmm7, dword [0x180158494]
addss xmm1, xmm11
mulss xmm10, xmm14
movaps xmm3, xmm6
mov rcx, r15
addss xmm3, dword [0x180158530]
movss dword [rsp + 0x20], xmm0
addss xmm10, xmm8
unpcklps xmm1, xmm2
movq r8, xmm1
addss xmm10, xmm7
cvttss2si eax, xmm10
movd xmm4, eax
cvtdq2ps xmm4, xmm4
unpcklps xmm15, xmm4
movq rdx, xmm15
call fcn.18005be60
mov r15b, byte [rsp + 0x50]
mov r9d, 4
jmp 0x18005dbaa
mov r13, qword [rbp + 0x28]
movss xmm8, dword [rsp + 0x7c]
mov al, byte [rsp + 0x51]
addss xmm12, xmm11
movaps xmm0, xmmword [0x180158840]
lea rcx, [rbp - 0x50]
neg al
movss dword [rbp - 0x68], xmm13
movups xmmword [rbp - 0x50], xmm0
sbb eax, eax
and eax, 2
movss dword [rbp - 0x64], xmm12
add eax, r9d
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call fcn.180033708
lea rdx, [rbp - 0x68]
xor edi, edi
mov r9d, eax
mov rcx, r13
movss dword [rsp + 0x28], xmm11
movaps xmm2, xmm6
mov dword [rsp + 0x20], edi
call fcn.18004ba70
mov r9d, dword [rsp + 0x68]
lea rdx, [rsp + 0x70]
movss dword [rsp + 0x28], xmm11
movaps xmm2, xmm6
mov rcx, r13
mov dword [rsp + 0x20], edi
call fcn.18004ba70
cmp dword [rbp + 0x20], 0x10000
jne 0x18005de3a
movss xmm0, dword [rsi + 0xc]
comiss xmm0, xmm9
jb 0x18005dc44
movaps xmm9, xmm0
minss xmm9, xmm11
movss xmm3, dword [rsi]
lea rcx, [rbp + 0x30]
movss xmm2, dword [rsi + 4]
movaps xmm6, xmm14
mov rax, qword [0x1801aa2d0]
addss xmm6, dword [r14 + 0x384c]
movss xmm10, dword [rsp + 0x78]
and dword [rbp - 0x5c], edi
movaps xmm1, xmm10
and dword [rsp + 0x64], edi
addss xmm1, xmm14
movss dword [rbp - 0x50], xmm10
movaps xmm0, xmm6
movss dword [rbp + 0x30], xmm3
addss xmm0, dword [rbp - 0x78]
addss xmm6, xmm8
movss dword [rbp + 0x34], xmm2
movss dword [rbp - 0x48], xmm1
movss xmm1, dword [rsi + 8]
movss dword [rbp + 0x38], xmm1
addss xmm0, xmm8
movss dword [rbp - 0x68], xmm3
movss dword [rbp - 0x4c], xmm6
movss dword [rbp - 0x64], xmm2
movss dword [rbp - 0x60], xmm1
movss dword [rsp + 0x58], xmm3
movss dword [rbp - 0x44], xmm0
movss xmm0, dword [r14 + 0x37f4]
movss dword [rbp + 0x3c], xmm0
movss dword [rbp - 0x14], xmm0
movdqu xmm0, xmmword [rax + 0x38f0]
movss dword [rsp + 0x5c], xmm2
movups xmmword [rbp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rsp + 0x60], xmm1
movss dword [rbp - 0x20], xmm3
movss dword [rbp + 0x54], xmm0
movss dword [rbp - 0x1c], xmm2
movss dword [rbp - 0x18], xmm1
call fcn.180033708
lea rcx, [rbp - 0x68]
mov ebx, eax
call fcn.180033708
lea rcx, [rsp + 0x58]
mov r11d, eax
call fcn.180033708
lea rcx, [rbp - 0x20]
mov r10d, eax
call fcn.180033708
lea rcx, [rbp + 0x48]
mov r8d, eax
call fcn.180033708
mov dword [rsp + 0x48], 0xf0
lea rdx, [rbp - 0x50]
mov dword [rsp + 0x38], ebx
mov r9d, eax
mov dword [rsp + 0x30], r11d
mov rcx, r13
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r8d
lea r8, [rbp - 0x48]
call fcn.18004a75c
mov r8, qword [0x1801aa2d0]
movaps xmm0, xmm11
and dword [rbp - 0x50], edi
subss xmm0, xmm9
and dword [rbp - 0x4c], edi
movss xmm2, dword [r14 + 0x37f4]
and dword [rbp - 0x48], edi
movss dword [rsp + 0x5c], xmm6
mulss xmm0, xmm14
addss xmm0, xmm10
addss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm1, eax
mov rax, qword [r8 + 0x3ec8]
cvtdq2ps xmm1, xmm1
mov byte [rax + 0xb8], 1
subss xmm1, xmm11
movss dword [rsp + 0x58], xmm1
addss xmm1, dword [0x180158580]
mulss xmm2, dword [r8 + 0x37f4]
lea rcx, [rbp - 0x50]
addss xmm6, dword [rbp - 0x78]
movss dword [rbp - 0x68], xmm1
movss dword [rbp - 0x44], xmm2
movss dword [rbp - 0x64], xmm6
call fcn.180033708
mov rcx, qword [r8 + 0x3ec8]
lea rdx, [rsp + 0x58]
movss xmm0, dword [0x180158574]
lea r8, [rbp - 0x68]
movss dword [rsp + 0x30], xmm11
mov r9d, eax
mov dword [rsp + 0x28], edi
mov rcx, qword [rcx + 0x298]
movss dword [rsp + 0x20], xmm0
call fcn.18004a3cc
call fcn.18003fbf4
test r15b, r15b
je 0x18005de7e
neg dword [rbp - 0x70]
lea rcx, [rbp + 0x68]
mov rdx, rsi
sbb r8, r8
and r8, 0xfffffffffffffffc
add r8, 0x10
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005de67
mov r15b, dil
jmp 0x18005de7e
mov ecx, dword [r14 + 0x4764]
mov r8b, byte [rbp - 0x80]
mov r15b, r8b
test ecx, ecx
je 0x18005de7e
call fcn.1800356a0
cmp dword [rbp + 0x60], edi
jne 0x18005de8a
mov dword [r14 + 0x5b00], edi
mov rcx, qword [0x1801aa2d0]
mov al, r15b
mov rdx, qword [rcx + 0x3ec8]
dec dword [rdx + 0xf0]
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret