Function at 0x18005ceb0
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 [0x1801bfec8]
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 0x18005cf59
xor al, al
jmp 0x18005ed45
mov rax, qword [r15 + 0x298]
mov qword [rbp + 0x28], rax
call fcn.180040560
mov rcx, r9
mov dword [r14 + 0x4750], r12d
movaps xmm14, xmm0
call fcn.18003dfd8
mov eax, dword [r14 + 0x5b00]
mov dword [rbp + 0x60], eax
test eax, eax
jne 0x18005cfa3
movsxd rcx, dword [r15 + 0xf0]
mov rax, qword [r15 + 0xf8]
mov ecx, dword [rax + rcx*4 - 4]
mov dword [r14 + 0x5b00], ecx
call fcn.180040734
mov edi, ebx
or edi, 0x10
bt ebx, 8
cmovb edi, ebx
test dil, 8
jne 0x18005cfc4
mov edx, edi
mov rcx, rsi
call fcn.18005fa98
mov edx, 0x6000000
mov ecx, 0xa900000
test edx, edi
jne 0x18005cfe6
mov eax, dword [r14 + 0x5afc]
mov ebx, ecx
test edx, eax
cmovne ebx, eax
and ebx, edx
or ebx, edi
jmp 0x18005cfe8
mov ebx, edi
mov edx, 0x18000000
test edx, ebx
jne 0x18005d001
mov eax, dword [r14 + 0x5afc]
test edx, eax
cmovne ecx, eax
and ecx, edx
or ebx, ecx
mov r8d, 0x10000
test bl, 8
jne 0x18005d018
mov eax, dword [r14 + 0x5afc]
and eax, r8d
or ebx, eax
mov rax, qword [0x1801bfec8]
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 [0x1801596cc]
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 [0x1801595b0]
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 [0x1801595f4]
movaps xmm2, xmm14
and dword [rbp + 0x4c], r12d
movaps xmm0, xmm14
mulss xmm0, dword [0x180159590]
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 [0x18015956c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movaps xmm2, xmm1
movss dword [rbp + 0x48], xmm1
mulss xmm2, dword [0x180159850]
movss xmm15, dword [rsi + 8]
movaps xmm0, xmm1
mulss xmm0, dword [0x18015985c]
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 [0x18015962c]
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 0x18005d25a
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.180034414
lea r9, [rsp + 0x68]
mov rcx, rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x6c]
call fcn.18005bb30
movss xmm15, dword [rsp + 0x68]
movss xmm10, dword [rsp + 0x6c]
movss xmm8, dword [rsp + 0x70]
movss dword [rbp - 0x7c], xmm15
jmp 0x18005d287
bt ebx, 0x1c
jae 0x18005d287
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.1800344bc
mov ecx, 8
mov byte [rsp + 0x50], r12b
mov r15b, r12b
mov byte [rsp + 0x52], r12b
mov byte [rsp + 0x51], r12b
call fcn.18003dbe0
movss xmm11, dword [0x18015964c]
bt ebx, 0x1a
jae 0x18005d5ba
movaps xmm0, xmm14
movss dword [rbp - 0x3c], xmm14
addss xmm0, dword [r14 + 0x3848]
lea rdx, [rbp - 0x40]
lea rcx, [0x1801591ec]
addss xmm0, dword [rbp - 0x78]
movss dword [rbp - 0x40], xmm0
call fcn.180053428
mov rdi, qword [0x1801bfec8]
mov eax, dword [rdi + 0x3f28]
test eax, eax
je 0x18005d59f
cmp eax, dword [rdi + 0x4764]
jne 0x18005d59f
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 0x18005d3bf
movss xmm0, dword [rbp + 4]
addss xmm0, xmm11
mulss xmm0, xmm0
comiss xmm2, xmm0
ja 0x18005d3bf
movaps xmm1, xmm3
movaps xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm10, xmm0
mulss xmm10, dword [0x1801595a8]
comiss xmm10, xmm9
movss dword [rsp + 0x6c], xmm10
jae 0x18005d3b7
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 [0x180159868]
mov r12b, r15b
mulss xmm1, dword [0x1801596d4]
movss xmm0, xmm1
call fcn.1800d1d80
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.180033794
test al, al
je 0x18005d58c
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.180033794
test al, al
jne 0x18005d4c4
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.180033860
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 [0x18015954c]
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 0x18005d545
movss dword [rbp - 0x7c], xmm8
movaps xmm15, xmm8
jmp 0x18005d550
minss xmm15, xmm11
movss dword [rbp - 0x7c], xmm15
divss xmm0, xmm15
movss dword [rsp + 0x68], xmm15
comiss xmm0, xmm8
jb 0x18005d56b
movaps xmm8, xmm0
minss xmm8, xmm11
movss xmm7, dword [0x1801595f4]
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 0x18005d5b0
call fcn.1800417d4
mov rdi, qword [0x1801bfec8]
mov r12b, byte [rsp + 0x51]
jmp 0x18005d7b3
bt ebx, 0x19
jae 0x18005d7ac
lea rdx, [rsp + 0x58]
movss dword [rsp + 0x58], xmm14
lea rcx, [0x1801591f0]
movss dword [rsp + 0x5c], xmm14
call fcn.180053428
mov r8, qword [0x1801bfec8]
mov eax, dword [r8 + 0x3f28]
test eax, eax
je 0x18005d6d9
cmp eax, dword [r8 + 0x4764]
jne 0x18005d6d9
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 0x18005d636
xorps xmm8, xmm8
jmp 0x18005d63b
minss xmm8, xmm11
movss xmm0, dword [r14 + 0xe0c]
subss xmm0, xmm6
movss dword [rsp + 0x70], xmm8
mulss xmm0, xmm1
comiss xmm0, xmm9
jae 0x18005d65e
xorps xmm0, xmm0
jmp 0x18005d663
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 0x18005d6d1
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.180034370
cmp dword [r8 + 0x5b10], eax
jne 0x18005d6d1
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 0x18005d6f2
call fcn.1800417d4
mov r8, qword [0x1801bfec8]
mov rax, qword [r8 + 0x3ec8]
lea rdx, [rsp + 0x58]
movss xmm0, dword [rbp + 0x18]
lea rcx, [0x1801591f4]
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.180053428
mov rdi, qword [0x1801bfec8]
mov eax, dword [rdi + 0x3f28]
test eax, eax
je 0x18005d7b3
mov byte [rsp + 0x51], r15b
cmp eax, dword [rdi + 0x4764]
jne 0x18005d7b3
movss xmm10, dword [r14 + 0xe0c]
movaps xmm0, xmm14
subss xmm10, xmm6
subss xmm0, xmm11
divss xmm10, xmm0
comiss xmm10, xmm9
jae 0x18005d78c
xorps xmm10, xmm10
jmp 0x18005d791
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 0x18005d7b3
mov rdi, qword [0x1801bfec8]
cmp dword [rbp + 0x20], 0x10000
jne 0x18005d87a
mov rax, qword [rdi + 0x3ec8]
lea rdx, [rsp + 0x58]
movaps xmm0, xmm6
movss dword [rsp + 0x58], xmm14
addss xmm0, xmm14
lea rcx, [0x1801591f8]
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.180053428
mov rdi, qword [0x1801bfec8]
mov eax, dword [rdi + 0x3f28]
test eax, eax
je 0x18005d87a
cmp eax, dword [rdi + 0x4764]
jne 0x18005d87a
movss xmm1, dword [r14 + 0xe08]
movaps xmm0, xmm14
subss xmm1, xmm13
subss xmm0, xmm11
divss xmm1, xmm0
comiss xmm1, xmm9
jae 0x18005d860
xorps xmm1, xmm1
jmp 0x18005d865
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 0x18005d8bb
movss xmm1, dword [r14 + 0x3848]
xorps xmm0, xmm0
call fcn.18004040c
call fcn.180040734
test bl, bl
js 0x18005d8f8
mov r9, qword [rbp + 0x1a0]
xor edx, edx
mov rcx, r9
call fcn.180034aec
mov rdx, rax
cmp r9, rax
je 0x18005d8f8
test edi, edi
je 0x18005d8ed
movss xmm1, dword [r14 + 0x3848]
xorps xmm0, xmm0
call fcn.18004040c
xor r8d, r8d
mov rcx, r9
call fcn.180052608
bt ebx, 8
jb 0x18005da5a
mov ecx, 0x10
call fcn.18003dbe0
test bl, 2
je 0x18005d917
movaps xmm2, xmm11
jmp 0x18005d91c
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 0x18005d94e
lea rcx, str.Current
call fcn.180052a68
movaps xmm6, xmm12
lea r9, [rsp + 0x58]
mulss xmm6, dword [0x1801596cc]
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.18005ed98
test r13, r13
je 0x18005da28
lea rcx, str.Original
call fcn.180052a68
test bl, 2
je 0x18005d9ac
movaps xmm2, xmm11
jmp 0x18005d9b2
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.18005ed98
mov edi, dword [rbp - 0x70]
test al, al
je 0x18005da2b
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 0x18005da2b
mov edi, dword [rbp - 0x70]
mov rdx, qword [0x1801bfec8]
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.18004085c
jmp 0x18005da5d
mov edi, dword [rbp - 0x70]
movss xmm0, dword [rsi]
comiss xmm0, xmm9
jae 0x18005da6c
xorps xmm0, xmm0
jmp 0x18005da71
minss xmm0, xmm11
movss xmm13, dword [0x1801597d0]
movss xmm1, dword [rsi + 4]
comiss xmm1, xmm9
mulss xmm0, xmm13
addss xmm0, xmm7
cvttss2si r9d, xmm0
jae 0x18005da98
xorps xmm1, xmm1
jmp 0x18005da9d
minss xmm1, xmm11
movss xmm0, dword [rsi + 8]
comiss xmm0, xmm9
mulss xmm1, xmm13
addss xmm1, xmm7
cvttss2si edx, xmm1
jae 0x18005daba
xorps xmm0, xmm0
jmp 0x18005dabf
minss xmm0, xmm11
mulss xmm0, xmm13
addss xmm0, xmm7
cvttss2si ecx, xmm0
test bl, 2
jne 0x18005db19
movss xmm0, dword [rsi + 0xc]
comiss xmm0, xmm9
jae 0x18005dae1
xorps xmm0, xmm0
jmp 0x18005dae6
minss xmm0, xmm11
mulss xmm0, xmm13
lea r8, [0x180159168]
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.180033974
jmp 0x18005db39
mov dword [rsp + 0x28], ecx
lea r8, [0x180159180]
mov dword [rsp + 0x20], edx
lea rcx, [rbp + 0x80]
mov edx, 0x40
call fcn.180033974
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], 0x40400000
mov ecx, 0xe
mov dword [rsp + 0x5c], 0x41000000
call fcn.1800349d4
movss xmm12, dword [0x180159860]
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.180038e30
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 [0x1801596dc]
movss dword [rsp + 0x58], xmm1
call fcn.1800531a0
xor r13d, r13d
test al, al
je 0x18005dbec
mov eax, edi
lea rcx, [0x18017f2f8]
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.18004040c
and dword [rsp + 0x58], r13d
lea rcx, [rbp + 0x80]
and dword [rsp + 0x5c], r13d
lea rdx, [rsp + 0x58]
call fcn.1800531a0
test al, al
je 0x18005dc7d
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18005dc7d
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rax, [rbp + 0x80]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], r13b
jne 0x18005dc34
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 0x18005dc5c
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.18004040c
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.180038e30
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 [0x1801596dc]
movss dword [rsp + 0x58], xmm1
call fcn.1800531a0
test al, al
je 0x18005dd1a
mov eax, edi
lea rdx, [0x18017f2f8]
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.180034a60
cmp byte [rsp + 0x52], r13b
jne 0x18005dd34
test r12b, r12b
je 0x18005ddcf
bt ebx, 0x1b
jae 0x18005ddb8
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.1800344bc
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.180034370
mov dword [r14 + 0x5b10], eax
jmp 0x18005ddcf
bt ebx, 0x1c
jae 0x18005ddcf
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 0x18005df8b
cmp dword [rbp + 0x20], 0x10000
jne 0x18005ddef
movaps xmm0, xmm6
jmp 0x18005ddf4
movss xmm0, dword [rbp + 0x18]
addss xmm0, dword [rbp - 0x78]
subss xmm0, xmm6
call fcn.1800404b8
mov edi, ebx
and edi, 0x198e001a
bt ebx, 0x14
jb 0x18005de18
test ebx, 0x700000
jne 0x18005de52
mov r8d, edi
lea rcx, str.rgb
or r8d, 0x100004
mov rdx, rsi
call fcn.18005bbd0
test al, al
je 0x18005de52
cmp dword [r14 + 0x3f28], r13d
je 0x18005de4a
cmp byte [r14 + 0x3f35], r13b
jne 0x18005de4a
mov r12b, 1
mov r15b, 1
mov byte [rsp + 0x50], r15b
bt ebx, 0x15
jb 0x18005de60
test ebx, 0x700000
jne 0x18005de81
mov r8d, edi
lea rcx, str.hsv
or r8d, 0x200004
mov rdx, rsi
call fcn.18005bbd0
or r15b, al
mov byte [rsp + 0x50], r15b
bt ebx, 0x16
jb 0x18005de8f
test ebx, 0x700000
jne 0x18005deaf
or edi, 0x400004
lea rcx, str.hex
mov r8d, edi
mov rdx, rsi
call fcn.18005bbd0
or r15b, al
mov byte [rsp + 0x50], r15b
mov r8, qword [0x1801bfec8]
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 0x18005df8b
bt ebx, 0x1b
jae 0x18005df8b
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.180034414
movss xmm0, dword [rbp - 0x40]
comiss xmm0, xmm9
ja 0x18005df8b
comiss xmm10, xmm9
jbe 0x18005df8b
movss xmm2, dword [rbp - 0x28]
comiss xmm2, xmm9
ja 0x18005df5a
ucomiss xmm15, xmm2
je 0x18005df5a
movaps xmm2, xmm15
movaps xmm1, xmm8
mulss xmm2, xmm7
jmp 0x18005df6d
movss xmm0, dword [rbp - 0x30]
comiss xmm0, xmm9
ja 0x18005df8b
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.1800344bc
mov byte [rbp - 0x80], r15b
test r15b, r15b
je 0x18005e042
bt ebx, 0x1b
jae 0x18005dffe
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.180034414
lea r9, [rsp + 0x68]
mov rcx, rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x6c]
call fcn.18005bb30
movss xmm15, dword [rsp + 0x68]
movss xmm10, dword [rsp + 0x6c]
movss xmm8, dword [rsp + 0x70]
movss dword [rbp - 0x7c], xmm15
jmp 0x18005e042
bt ebx, 0x1c
jae 0x18005e042
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.1800344bc
movss xmm1, dword [r14 + 0x37f4]
comiss xmm1, xmm9
jae 0x18005e057
movaps xmm0, xmm9
jmp 0x18005e05f
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.1800344bc
lea rcx, [rsp + 0x58]
call fcn.180034370
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 0x18005e617
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 [0x180159650]
movaps xmm6, xmm7
addss xmm7, dword [0x180159650]
subss xmm6, xmm13
addss xmm7, xmm13
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.18004a714
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.1800490d4
and dword [rbx + 0x78], 0
movaps xmm1, xmm6
movaps xmm2, xmm7
movaps xmm0, xmm1
movaps xmm1, xmm2
call fcn.1800d1dc3
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.18004cf34
inc r12d
mov esi, ebx
cmp r12d, 6
jl 0x18005e1bb
mulss xmm10, dword [0x180159690]
xorps xmm0, xmm0
mulss xmm10, dword [0x1801596d4]
movss xmm0, xmm10
call fcn.1800d1d80
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 [0x1801595f4]
mulss xmm1, dword [0x1801595f4]
addss xmm0, xmm9
addss xmm1, xmm14
movss dword [rsp + 0x5c], xmm0
movss dword [rsp + 0x58], xmm1
je 0x18005e345
mulss xmm10, dword [0x180159600]
jmp 0x18005e34e
mulss xmm10, dword [0x1801595f8]
mov r13, qword [rbp + 0x28]
movaps xmm1, xmm10
mov rcx, r13
call fcn.1800489fc
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.18004c7b4
movss xmm11, dword [0x18015964c]
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.18004c6d8
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.18004c6d8
mov rax, qword [0x1801bfec8]
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.180048d58
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.18004c460
movaps xmm1, xmm11
xorps xmm9, xmm9
subss xmm1, dword [rbp - 0x7c]
comiss xmm1, xmm9
jae 0x18005e585
xorps xmm1, xmm1
jmp 0x18005e58a
minss xmm1, xmm11
comiss xmm8, xmm9
jae 0x18005e596
xorps xmm8, xmm8
jmp 0x18005e59b
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 [0x1801595f4]
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 0x18005ea47
bt ebx, 0x19
jae 0x18005ea43
mov rax, qword [0x1801bfec8]
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.180034370
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.18004b3c4
mov rax, qword [0x1801bfec8]
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.180034370
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.18004b3c4
movss xmm2, dword [0x1801596cc]
movaps xmm0, xmm6
mov rcx, qword [rbp - 0x50]
unpcklps xmm0, xmm12
movq rdx, xmm0
call fcn.180035104
comiss xmm8, xmm9
jae 0x18005e73c
movaps xmm8, xmm9
jmp 0x18005e741
minss xmm8, xmm11
movss xmm2, dword [rsp + 0x78]
movss xmm1, dword [0x180159690]
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 0x18005e78c
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 0x18005e7a8
movaps xmm0, xmm9
jmp 0x18005e7ad
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 0x18005e7ed
movss xmm12, dword [rsp + 0x5c]
subss xmm12, xmm1
minss xmm12, xmm2
mov rax, qword [0x1801bfec8]
lea rcx, [rbp - 0x50]
movss xmm15, dword [rbp + 0x18]
movaps xmm7, xmm14
mulss xmm7, dword [0x1801595ac]
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.180034370
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.18004b3c4
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.18004b1e4
mov eax, ebx
cmp ebx, 5
jl 0x18005e8a2
mov rax, qword [0x1801bfec8]
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 [0x180159620]
addss xmm0, xmm8
movss dword [rsp + 0x5c], xmm0
call fcn.180034370
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.18004b3c4
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.180035104
movss xmm2, dword [rbp + 0x5c]
subss xmm15, xmm11
movss xmm0, dword [r14 + 0x37f4]
movaps xmm1, xmm2
movss xmm7, dword [0x1801595f4]
addss xmm1, xmm11
mulss xmm10, xmm14
movaps xmm3, xmm6
mov rcx, r15
addss xmm3, dword [0x180159690]
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.18005cd04
mov r15b, byte [rsp + 0x50]
mov r9d, 4
jmp 0x18005ea4e
mov r13, qword [rbp + 0x28]
movss xmm8, dword [rsp + 0x7c]
mov al, byte [rsp + 0x51]
addss xmm12, xmm11
movaps xmm0, xmmword [0x1801599b0]
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.180034370
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.18004c6d8
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.18004c6d8
cmp dword [rbp + 0x20], 0x10000
jne 0x18005ecde
movss xmm0, dword [rsi + 0xc]
comiss xmm0, xmm9
jb 0x18005eae8
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 [0x1801bfec8]
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.180034370
lea rcx, [rbp - 0x68]
mov ebx, eax
call fcn.180034370
lea rcx, [rsp + 0x58]
mov r11d, eax
call fcn.180034370
lea rcx, [rbp - 0x20]
mov r10d, eax
call fcn.180034370
lea rcx, [rbp + 0x48]
mov r8d, eax
call fcn.180034370
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.18004b3c4
mov r8, qword [0x1801bfec8]
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 [0x1801596e8]
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.180034370
mov rcx, qword [r8 + 0x3ec8]
lea rdx, [rsp + 0x58]
movss xmm0, dword [0x1801596dc]
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.18004b034
call fcn.18004085c
test r15b, r15b
je 0x18005ed22
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 0x18005ed0b
mov r15b, dil
jmp 0x18005ed22
mov ecx, dword [r14 + 0x4764]
mov r8b, byte [rbp - 0x80]
mov r15b, r8b
test ecx, ecx
je 0x18005ed22
call fcn.180036308
cmp dword [rbp + 0x60], edi
jne 0x18005ed2e
mov dword [r14 + 0x5b00], edi
mov rcx, qword [0x1801bfec8]
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