Function at 0x18005be64
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 [0x1801aa2e0]
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 0x18005bf0d
xor al, al
jmp 0x18005dcfd
mov rax, qword [r15 + 0x298]
mov qword [rbp + 0x28], rax
call fcn.18003f774
mov rcx, r9
mov dword [r14 + 0x4750], r12d
movaps xmm14, xmm0
call fcn.18003d1f8
mov eax, dword [r14 + 0x5b00]
mov dword [rbp + 0x60], eax
test eax, eax
jne 0x18005bf57
movsxd rcx, dword [r15 + 0xf0]
mov rax, qword [r15 + 0xf8]
mov ecx, dword [rax + rcx*4 - 4]
mov dword [r14 + 0x5b00], ecx
call fcn.18003f948
mov edi, ebx
or edi, 0x10
bt ebx, 8
cmovb edi, ebx
test dil, 8
jne 0x18005bf78
mov edx, edi
mov rcx, rsi
call fcn.18005ea50
mov edx, 0x6000000
mov ecx, 0xa900000
test edx, edi
jne 0x18005bf9a
mov eax, dword [r14 + 0x5afc]
mov ebx, ecx
test edx, eax
cmovne ebx, eax
and ebx, edx
or ebx, edi
jmp 0x18005bf9c
mov ebx, edi
mov edx, 0x18000000
test edx, ebx
jne 0x18005bfb5
mov eax, dword [r14 + 0x5afc]
test edx, eax
cmovne ecx, eax
and ecx, edx
or ebx, ecx
mov r8d, 0x10000
test bl, 8
jne 0x18005bfcc
mov eax, dword [r14 + 0x5afc]
and eax, r8d
or ebx, eax
mov rax, qword [0x1801aa2e0]
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 - 0x74], 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 - 0x60], xmm12
subss xmm6, dword [0x180158574]
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 [0x180158460]
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 [0x1801584a4]
movaps xmm2, xmm14
and dword [rbp + 0x4c], r12d
movaps xmm0, xmm14
mulss xmm0, dword [0x180158440]
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 - 0x70], xmm0
movaps xmm0, xmm2
addss xmm0, xmm6
movss dword [rbp + 0xc], xmm0
movss dword [rbp - 0x6c], xmm0
movaps xmm0, xmm14
mulss xmm0, dword [0x18015841c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rbp + 0x48], xmm1
mulss xmm0, dword [0x1801586f0]
movss xmm15, dword [rsi + 8]
movaps xmm2, xmm1
mulss xmm2, dword [0x1801586fc]
movss xmm10, dword [rsi]
movss xmm8, dword [rsi + 4]
movss dword [rbp - 0x58], xmm0
movss dword [rsp + 0x58], xmm0
movss dword [rbp - 0x20], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1801584dc]
movss dword [rbp + 0x40], xmm2
movss dword [rsp + 0x5c], xmm2
movss dword [rbp - 0x5c], xmm0
movss dword [rbp - 0x1c], xmm0
movss dword [rsp + 0x6c], xmm10
movss dword [rsp + 0x70], xmm8
movss dword [rbp - 0x7c], xmm15
movss dword [rsp + 0x68], xmm15
bt ebx, 0x1b
jae 0x18005c20e
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.180033630
lea r9, [rsp + 0x68]
mov rcx, rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x6c]
call fcn.18005aae8
movss xmm15, dword [rsp + 0x68]
movss xmm10, dword [rsp + 0x6c]
movss xmm8, dword [rsp + 0x70]
movss dword [rbp - 0x7c], xmm15
jmp 0x18005c23b
bt ebx, 0x1c
jae 0x18005c23b
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.1800336d8
mov ecx, 8
mov byte [rsp + 0x50], r12b
mov r15b, r12b
mov byte [rsp + 0x52], r12b
mov byte [rsp + 0x51], r12b
call fcn.18003ce00
movss xmm11, dword [0x1801584fc]
bt ebx, 0x1a
jae 0x18005c56e
movaps xmm0, xmm14
movss dword [rbp - 0x3c], xmm14
addss xmm0, dword [r14 + 0x3848]
lea rdx, [rbp - 0x40]
lea rcx, [0x18015809c]
addss xmm0, dword [rbp - 0x78]
movss dword [rbp - 0x40], xmm0
call fcn.180052618
mov rdi, qword [0x1801aa2e0]
mov eax, dword [rdi + 0x3f28]
test eax, eax
je 0x18005c553
cmp eax, dword [rdi + 0x4764]
jne 0x18005c553
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 0x18005c373
movss xmm0, dword [rbp + 4]
addss xmm0, xmm11
mulss xmm0, xmm0
comiss xmm2, xmm0
ja 0x18005c373
movaps xmm1, xmm3
movaps xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm10, xmm0
mulss xmm10, dword [0x180158458]
comiss xmm10, xmm9
movss dword [rsp + 0x6c], xmm10
jae 0x18005c36b
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 [0x180158708]
mov r12b, r15b
mulss xmm1, dword [0x18015857c]
movss xmm0, xmm1
call fcn.1800d0d00
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.1800329b0
test al, al
je 0x18005c540
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.1800329b0
test al, al
jne 0x18005c478
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.180032a7c
movsd xmm0, qword [rax]
movsd qword [rbp - 0x40], xmm0
movss xmm6, dword [rbp - 0x3c]
movss xmm7, dword [rbp - 0x40]
movss xmm5, dword [rbp - 0x5c]
movaps xmm2, xmm11
movss xmm4, dword [rbp + 0x40]
movaps xmm1, xmm5
movss xmm3, dword [rbp - 0x58]
movaps xmm0, xmm4
subss xmm3, dword [rbp + 0x48]
subss xmm7, dword [rbp + 0x48]
movss xmm8, dword [0x1801583fc]
movaps xmm15, xmm11
mulss xmm0, xmm3
mulss xmm6, xmm3
mulss xmm1, xmm3
subss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm7
subss xmm0, xmm6
divss xmm2, xmm1
mulss xmm0, xmm2
subss xmm15, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm7
comiss xmm15, xmm8
subss xmm6, xmm0
movaps xmm0, xmm15
mulss xmm6, xmm2
subss xmm0, xmm6
jae 0x18005c4f9
movss dword [rbp - 0x7c], xmm8
movaps xmm15, xmm8
jmp 0x18005c504
minss xmm15, xmm11
movss dword [rbp - 0x7c], xmm15
divss xmm0, xmm15
movss dword [rsp + 0x68], xmm15
comiss xmm0, xmm8
jb 0x18005c51f
movaps xmm8, xmm0
minss xmm8, xmm11
movss xmm7, dword [0x1801584a4]
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 - 0x60]
test bl, 8
jne 0x18005c564
call fcn.1800409ec
mov rdi, qword [0x1801aa2e0]
mov r12b, byte [rsp + 0x51]
jmp 0x18005c767
bt ebx, 0x19
jae 0x18005c760
lea rdx, [rsp + 0x58]
movss dword [rsp + 0x58], xmm14
lea rcx, [0x1801580a0]
movss dword [rsp + 0x5c], xmm14
call fcn.180052618
mov r8, qword [0x1801aa2e0]
mov eax, dword [r8 + 0x3f28]
test eax, eax
je 0x18005c68d
cmp eax, dword [r8 + 0x4764]
jne 0x18005c68d
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 0x18005c5ea
xorps xmm8, xmm8
jmp 0x18005c5ef
minss xmm8, xmm11
movss xmm0, dword [r14 + 0xe0c]
subss xmm0, xmm6
movss dword [rsp + 0x70], xmm8
mulss xmm0, xmm1
comiss xmm0, xmm9
jae 0x18005c612
xorps xmm0, xmm0
jmp 0x18005c617
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 0x18005c685
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.18003358c
cmp dword [r8 + 0x5b10], eax
jne 0x18005c685
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 0x18005c6a6
call fcn.1800409ec
mov r8, qword [0x1801aa2e0]
mov rax, qword [r8 + 0x3ec8]
lea rdx, [rsp + 0x58]
movss xmm0, dword [rbp + 0x18]
lea rcx, [0x1801580a4]
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.180052618
mov rdi, qword [0x1801aa2e0]
mov eax, dword [rdi + 0x3f28]
test eax, eax
je 0x18005c767
mov byte [rsp + 0x51], r15b
cmp eax, dword [rdi + 0x4764]
jne 0x18005c767
movss xmm10, dword [r14 + 0xe0c]
movaps xmm0, xmm14
subss xmm10, xmm6
subss xmm0, xmm11
divss xmm10, xmm0
comiss xmm10, xmm9
jae 0x18005c740
xorps xmm10, xmm10
jmp 0x18005c745
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 0x18005c767
mov rdi, qword [0x1801aa2e0]
cmp dword [rbp + 0x20], 0x10000
jne 0x18005c82e
mov rax, qword [rdi + 0x3ec8]
lea rdx, [rsp + 0x58]
movaps xmm0, xmm6
movss dword [rsp + 0x58], xmm14
addss xmm0, xmm14
lea rcx, [0x1801580a8]
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.180052618
mov rdi, qword [0x1801aa2e0]
mov eax, dword [rdi + 0x3f28]
test eax, eax
je 0x18005c82e
cmp eax, dword [rdi + 0x4764]
jne 0x18005c82e
movss xmm1, dword [r14 + 0xe08]
movaps xmm0, xmm14
subss xmm1, xmm13
subss xmm0, xmm11
divss xmm1, xmm0
comiss xmm1, xmm9
jae 0x18005c814
xorps xmm1, xmm1
jmp 0x18005c819
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 0x18005c86f
movss xmm1, dword [r14 + 0x3848]
xorps xmm0, xmm0
call fcn.18003f620
call fcn.18003f948
test bl, bl
js 0x18005c8ac
mov r9, qword [rbp + 0x1a0]
xor edx, edx
mov rcx, r9
call fcn.180033d0c
mov rdx, rax
cmp r9, rax
je 0x18005c8ac
test edi, edi
je 0x18005c8a1
movss xmm1, dword [r14 + 0x3848]
xorps xmm0, xmm0
call fcn.18003f620
xor r8d, r8d
mov rcx, r9
call fcn.1800517f8
bt ebx, 8
jb 0x18005ca0e
mov ecx, 0x10
call fcn.18003ce00
test bl, 2
je 0x18005c8cb
movaps xmm2, xmm11
jmp 0x18005c8d0
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 0x18005c902
lea rcx, str.Current
call fcn.180051c58
movaps xmm6, xmm12
lea r9, [rsp + 0x58]
mulss xmm6, dword [0x180158574]
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.18005dd50
test r13, r13
je 0x18005c9dc
lea rcx, str.Original
call fcn.180051c58
test bl, 2
je 0x18005c960
movaps xmm2, xmm11
jmp 0x18005c966
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.18005dd50
mov edi, dword [rbp - 0x74]
test al, al
je 0x18005c9df
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 0x18005c9df
mov edi, dword [rbp - 0x74]
mov rdx, qword [0x1801aa2e0]
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.18003fa70
jmp 0x18005ca11
mov edi, dword [rbp - 0x74]
movss xmm0, dword [rsi]
comiss xmm0, xmm9
jae 0x18005ca20
xorps xmm0, xmm0
jmp 0x18005ca25
minss xmm0, xmm11
movss xmm13, dword [0x180158674]
movss xmm1, dword [rsi + 4]
comiss xmm1, xmm9
mulss xmm0, xmm13
addss xmm0, xmm7
cvttss2si r9d, xmm0
jae 0x18005ca4c
xorps xmm1, xmm1
jmp 0x18005ca51
minss xmm1, xmm11
movss xmm0, dword [rsi + 8]
comiss xmm0, xmm9
mulss xmm1, xmm13
addss xmm1, xmm7
cvttss2si edx, xmm1
jae 0x18005ca6e
xorps xmm0, xmm0
jmp 0x18005ca73
minss xmm0, xmm11
mulss xmm0, xmm13
addss xmm0, xmm7
cvttss2si ecx, xmm0
test bl, 2
jne 0x18005cacd
movss xmm0, dword [rsi + 0xc]
comiss xmm0, xmm9
jae 0x18005ca95
xorps xmm0, xmm0
jmp 0x18005ca9a
minss xmm0, xmm11
mulss xmm0, xmm13
lea r8, [0x180158018]
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.180032b90
jmp 0x18005caed
mov dword [rsp + 0x28], ecx
lea r8, [0x180158030]
mov dword [rsp + 0x20], edx
lea rcx, [rbp + 0x80]
mov edx, 0x40
call fcn.180032b90
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], 0x40400000
mov ecx, 0xe
mov dword [rsp + 0x5c], 0x41000000
call fcn.180033bf4
movss xmm12, dword [0x180158700]
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.180038050
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 [0x180158584]
movss dword [rsp + 0x58], xmm1
call fcn.180052390
xor r13d, r13d
test al, al
je 0x18005cba0
mov eax, edi
lea rcx, [0x180169738]
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.18003f620
and dword [rsp + 0x58], r13d
lea rcx, [rbp + 0x80]
and dword [rsp + 0x5c], r13d
lea rdx, [rsp + 0x58]
call fcn.180052390
test al, al
je 0x18005cc31
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18005cc31
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rax, [rbp + 0x80]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], r13b
jne 0x18005cbe8
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 [r8 + rdx], cl
inc rdx
test cl, cl
jne 0x18005cc10
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.18003f620
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.180038050
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 [0x180158584]
movss dword [rsp + 0x58], xmm1
call fcn.180052390
test al, al
je 0x18005ccce
mov eax, edi
lea rdx, [0x180169738]
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.180033c80
cmp byte [rsp + 0x52], r13b
jne 0x18005cce8
test r12b, r12b
je 0x18005cd83
bt ebx, 0x1b
jae 0x18005cd6c
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.1800336d8
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.18003358c
mov dword [r14 + 0x5b10], eax
jmp 0x18005cd83
bt ebx, 0x1c
jae 0x18005cd83
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 0x18005cf3f
cmp dword [rbp + 0x20], 0x10000
jne 0x18005cda3
movaps xmm0, xmm6
jmp 0x18005cda8
movss xmm0, dword [rbp + 0x18]
addss xmm0, dword [rbp - 0x78]
subss xmm0, xmm6
call fcn.18003f6cc
mov edi, ebx
and edi, 0x198e001a
bt ebx, 0x14
jb 0x18005cdcc
test ebx, 0x700000
jne 0x18005ce06
mov r8d, edi
lea rcx, str.rgb
or r8d, 0x100004
mov rdx, rsi
call fcn.18005ab88
test al, al
je 0x18005ce06
cmp dword [r14 + 0x3f28], r13d
je 0x18005cdfe
cmp byte [r14 + 0x3f35], r13b
jne 0x18005cdfe
mov r12b, 1
mov r15b, 1
mov byte [rsp + 0x50], r15b
bt ebx, 0x15
jb 0x18005ce14
test ebx, 0x700000
jne 0x18005ce35
mov r8d, edi
lea rcx, str.hsv
or r8d, 0x200004
mov rdx, rsi
call fcn.18005ab88
or r15b, al
mov byte [rsp + 0x50], r15b
bt ebx, 0x16
jb 0x18005ce43
test ebx, 0x700000
jne 0x18005ce63
or edi, 0x400004
lea rcx, str.hex
mov r8d, edi
mov rdx, rsi
call fcn.18005ab88
or r15b, al
mov byte [rsp + 0x50], r15b
mov r8, qword [0x1801aa2e0]
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 0x18005cf3f
bt ebx, 0x1b
jae 0x18005cf3f
movss xmm2, dword [rsi + 8]
lea rax, [rbp - 0x40]
movss xmm1, dword [rsi + 4]
lea r9, [rbp - 0x58]
movss xmm0, dword [rsi]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
call fcn.180033630
movss xmm0, dword [rbp - 0x58]
comiss xmm0, xmm9
ja 0x18005cf3f
comiss xmm10, xmm9
jbe 0x18005cf3f
movss xmm2, dword [rbp - 0x40]
comiss xmm2, xmm9
ja 0x18005cf0e
ucomiss xmm15, xmm2
je 0x18005cf0e
movaps xmm2, xmm15
movaps xmm1, xmm8
mulss xmm2, xmm7
jmp 0x18005cf21
movss xmm0, dword [rbp - 0x28]
comiss xmm0, xmm9
ja 0x18005cf3f
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.1800336d8
mov byte [rbp - 0x80], r15b
test r15b, r15b
je 0x18005cff6
bt ebx, 0x1b
jae 0x18005cfb2
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.180033630
lea r9, [rsp + 0x68]
mov rcx, rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x6c]
call fcn.18005aae8
movss xmm15, dword [rsp + 0x68]
movss xmm10, dword [rsp + 0x6c]
movss xmm8, dword [rsp + 0x70]
movss dword [rbp - 0x7c], xmm15
jmp 0x18005cff6
bt ebx, 0x1c
jae 0x18005cff6
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.1800336d8
movss xmm1, dword [r14 + 0x37f4]
comiss xmm1, xmm9
jae 0x18005d00b
movaps xmm0, xmm9
jmp 0x18005d013
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 - 0x28], 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 - 0x40], 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 - 0x30], 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.1800336d8
lea rcx, [rsp + 0x58]
call fcn.18003358c
movss dword [rsp + 0x70], xmm9
mov r8d, eax
movss dword [rsp + 0x74], xmm9
movaps xmm13, xmm9
mov dword [rbp - 0x58], eax
movaps xmm12, xmm9
mov r9d, 4
bt ebx, 0x1a
jae 0x18005d5d0
movss xmm0, dword [rbp + 4]
lea r15, [rbp - 0x20]
movss xmm11, dword [rbp]
mov eax, 0x2aaaaaab
movss xmm14, dword [rbp + 0x10]
movaps xmm12, xmm11
movss xmm9, dword [rbp + 8]
addss xmm12, xmm0
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 - 0x70]
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 [0x180158500]
movaps xmm6, xmm7
addss xmm7, dword [0x180158500]
subss xmm6, xmm13
addss xmm7, xmm13
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.180049914
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.1800482e0
and dword [rbx + 0x78], 0
movaps xmm1, xmm6
movaps xmm2, xmm7
movaps xmm0, xmm1
movaps xmm1, xmm2
call fcn.1800d0d43
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.18004c118
inc r12d
mov esi, ebx
cmp r12d, 6
jl 0x18005d16f
mulss xmm10, dword [0x180158540]
xorps xmm0, xmm0
mulss xmm10, dword [0x18015857c]
movss xmm0, xmm10
call fcn.1800d0d00
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 [0x1801584a4]
mulss xmm1, dword [0x1801584a4]
addss xmm0, xmm9
addss xmm1, xmm14
movss dword [rsp + 0x5c], xmm0
movss dword [rsp + 0x58], xmm1
je 0x18005d2f9
mulss xmm10, dword [0x1801584b0]
jmp 0x18005d302
mulss xmm10, dword [0x1801584a8]
mov r13, qword [rbp + 0x28]
movaps xmm1, xmm10
mov rcx, r13
call fcn.180047c08
mov edi, dword [rbp - 0x58]
lea rdx, [rsp + 0x58]
mov r9d, edi
mov dword [rsp + 0x20], eax
movaps xmm2, xmm10
mov rcx, r13
mov ebx, eax
call fcn.18004b9a0
movss xmm11, dword [0x1801584fc]
lea rdx, [rsp + 0x58]
mov r14d, dword [rbp - 0x40]
movaps xmm2, xmm10
movss dword [rsp + 0x28], xmm11
addss xmm2, xmm11
mov r9d, r14d
mov dword [rsp + 0x20], ebx
mov rcx, r13
call fcn.18004b8c4
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.18004b8c4
mov rax, qword [0x1801aa2e0]
movaps xmm2, xmm6
mulss xmm2, dword [rbp + 0x48]
movaps xmm12, xmm6
mov edx, 3
mov rcx, r13
mulss xmm12, dword [rbp + 0x40]
movaps xmm1, xmm7
mov r8d, edx
mulss xmm1, dword [rbp + 0x48]
movaps xmm0, xmm9
movaps xmm10, xmm14
addss xmm10, xmm2
mulss xmm2, dword [0x1801586f0]
addss xmm0, xmm1
mulss xmm1, dword [0x1801586f0]
movaps xmm13, xmm2
addss xmm12, xmm1
movss dword [rbp - 0x60], xmm0
movaps xmm0, xmm7
mulss xmm0, dword [rbp + 0x40]
addss xmm12, xmm9
subss xmm13, xmm0
movss xmm0, dword [rbp - 0x5c]
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 - 0x5c], xmm2
call fcn.180047f64
mov rcx, qword [r13 + 0x50]
movaps xmm0, xmm10
movzx eax, word [r13 + 0x34]
movss xmm1, dword [rbp - 0x60]
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 - 0x70]
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 - 0x28]
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 - 0x5c]
unpcklps xmm0, xmm1
movsd qword [rbp - 0x70], 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.18004b64c
movaps xmm1, xmm11
xorps xmm9, xmm9
subss xmm1, dword [rbp - 0x7c]
comiss xmm1, xmm9
jae 0x18005d53e
xorps xmm1, xmm1
jmp 0x18005d543
minss xmm1, xmm11
comiss xmm8, xmm9
jae 0x18005d54f
xorps xmm8, xmm8
jmp 0x18005d554
minss xmm8, xmm11
movaps xmm2, xmmword [rbp - 0x50]
mov r9d, 4
subss xmm10, dword [rbp - 0x5c]
movss xmm0, dword [rbp - 0x60]
movss xmm14, dword [rbp + 0x58]
subss xmm0, xmm2
movss xmm7, dword [0x1801584a4]
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 - 0x5c]
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 0x18005da00
bt ebx, 0x19
jae 0x18005d9fc
mov rax, qword [0x1801aa2e0]
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.18003358c
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.18004a5c4
mov rax, qword [0x1801aa2e0]
lea rcx, [rbp + 0x30]
movss dword [rbp - 0x70], xmm6
movss dword [rbp - 0x6c], 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.18003358c
mov dword [rsp + 0x48], 0xf0
lea r8, [rbp - 0x70]
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.18004a5c4
movss xmm2, dword [0x180158574]
movaps xmm0, xmm6
mov rcx, qword [rbp - 0x50]
unpcklps xmm0, xmm12
movq rdx, xmm0
call fcn.180034324
comiss xmm8, xmm9
jae 0x18005d6f5
movaps xmm8, xmm9
jmp 0x18005d6fa
minss xmm8, xmm11
movss xmm2, dword [rsp + 0x78]
movss xmm1, dword [0x180158540]
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 0x18005d745
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 0x18005d761
movaps xmm0, xmm9
jmp 0x18005d766
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 0x18005d7a6
movss xmm12, dword [rsp + 0x5c]
subss xmm12, xmm1
minss xmm12, xmm2
mov rax, qword [0x1801aa2e0]
lea rcx, [rbp - 0x50]
movss xmm15, dword [rbp + 0x18]
movaps xmm7, xmm14
mulss xmm7, dword [0x18015845c]
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 - 0x70], 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 - 0x6c], xmm0
call fcn.18003358c
mov dword [rsp + 0x48], 0x30
lea r8, [rbp - 0x70]
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.18004a5c4
mov eax, 1
movss dword [rbp - 0x70], 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 - 0x70]
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 - 0x6c], xmm0
call fcn.18004a3e4
mov eax, ebx
cmp ebx, 5
jl 0x18005d85b
mov rax, qword [0x1801aa2e0]
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 - 0x6c], xmm1
movss dword [rbp - 0x44], xmm0
movaps xmm0, xmm15
addss xmm0, xmm6
movss dword [rbp - 0x70], xmm0
movaps xmm0, xmm14
mulss xmm0, dword [0x1801584d0]
addss xmm0, xmm8
movss dword [rsp + 0x5c], xmm0
call fcn.18003358c
mov dword [rsp + 0x48], 0xc0
lea r8, [rbp - 0x70]
mov dword [rsp + 0x38], r13d
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x30], r13d
mov r9d, eax
mov eax, dword [rbp - 0x30]
mov rcx, r15
mov dword [rsp + 0x28], eax
mov r13, r15
mov dword [rsp + 0x20], eax
call fcn.18004a5c4
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.180034324
movss xmm2, dword [rbp + 0x5c]
subss xmm15, xmm11
movss xmm0, dword [r14 + 0x37f4]
movaps xmm1, xmm2
movss xmm7, dword [0x1801584a4]
addss xmm1, xmm11
mulss xmm10, xmm14
movaps xmm3, xmm6
mov rcx, r15
addss xmm3, dword [0x180158540]
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.18005bcb8
mov r15b, byte [rsp + 0x50]
mov r9d, 4
jmp 0x18005da07
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 - 0x70], xmm13
movups xmmword [rbp - 0x50], xmm0
sbb eax, eax
and eax, 2
movss dword [rbp - 0x6c], xmm12
add eax, r9d
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call fcn.18003358c
lea rdx, [rbp - 0x70]
xor edi, edi
mov r9d, eax
mov rcx, r13
movss dword [rsp + 0x28], xmm11
movaps xmm2, xmm6
mov dword [rsp + 0x20], edi
call fcn.18004b8c4
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.18004b8c4
cmp dword [rbp + 0x20], 0x10000
jne 0x18005dc96
movss xmm0, dword [rsi + 0xc]
comiss xmm0, xmm9
jb 0x18005daa1
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 [0x1801aa2e0]
addss xmm6, dword [r14 + 0x384c]
movss xmm10, dword [rsp + 0x78]
and dword [rbp - 0x64], 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 - 0x70], xmm3
movss dword [rbp - 0x4c], xmm6
movss dword [rbp - 0x6c], xmm2
movss dword [rbp - 0x68], 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.18003358c
lea rcx, [rbp - 0x70]
mov ebx, eax
call fcn.18003358c
lea rcx, [rsp + 0x58]
mov r11d, eax
call fcn.18003358c
lea rcx, [rbp - 0x20]
mov r10d, eax
call fcn.18003358c
lea rcx, [rbp + 0x48]
mov r8d, eax
call fcn.18003358c
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.18004a5c4
mov r8, qword [0x1801aa2e0]
movaps xmm0, xmm11
and dword [rbp - 0x50], edi
subss xmm0, xmm9
movss xmm2, dword [r14 + 0x37f4]
and dword [rbp - 0x4c], 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
movaps xmm0, xmm1
subss xmm0, xmm11
movss dword [rsp + 0x58], xmm0
mulss xmm2, dword [r8 + 0x37f4]
lea rcx, [rbp - 0x50]
and dword [rbp - 0x48], edi
movss xmm7, dword [0x180158584]
addss xmm6, dword [rbp - 0x78]
addss xmm1, xmm7
movss dword [rbp - 0x44], xmm2
movss dword [rbp - 0x6c], xmm6
movss dword [rbp - 0x70], xmm1
call fcn.18003358c
mov rcx, qword [r8 + 0x3ec8]
lea rdx, [rsp + 0x58]
movss dword [rsp + 0x30], xmm11
lea r8, [rbp - 0x70]
mov r9d, eax
mov dword [rsp + 0x28], edi
movss dword [rsp + 0x20], xmm7
mov rcx, qword [rcx + 0x298]
call fcn.18004a234
call fcn.18003fa70
test r15b, r15b
je 0x18005dcda
neg dword [rbp - 0x74]
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 0x18005dcc3
mov r15b, dil
jmp 0x18005dcda
mov ecx, dword [r14 + 0x4764]
mov r8b, byte [rbp - 0x80]
mov r15b, r8b
test ecx, ecx
je 0x18005dcda
call fcn.180035528
cmp dword [rbp + 0x60], edi
jne 0x18005dce6
mov dword [r14 + 0x5b00], edi
mov rcx, qword [0x1801aa2e0]
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