Function at 0x18003b680
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x298
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
mov rax, qword [0x1800d0758]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r15, qword [0x1800d0f28]
mov esi, 1
mov qword [rbp + 0x70], r9
mov ebx, r8d
mov r13, rdx
mov qword [rbp - 0x80], rdx
mov rdi, rcx
mov qword [rbp], rcx
mov rax, qword [r15 + 0x3ec8]
mov qword [rbp - 0x60], r15
mov byte [rax + 0xb8], sil
mov r14, qword [r15 + 0x3ec8]
cmp byte [r14 + 0xbb], 0
je 0x18003b73e
xor al, al
jmp 0x18003d402
mov rax, qword [r14 + 0x298]
mov qword [rsp + 0x60], rax
call fcn.180008b60
and dword [r15 + 0x4750], 0
mov rcx, rdi
movaps xmm6, xmm0
call fcn.180014da4
mov eax, dword [r15 + 0x5b00]
mov dword [rbp - 0x68], eax
test eax, eax
jne 0x18003b789
movsxd rcx, dword [r14 + 0xf0]
mov rax, qword [r14 + 0xf8]
mov ecx, dword [rax + rcx*4 - 4]
mov dword [r15 + 0x5b00], ecx
call fcn.180008454
mov edi, ebx
or edi, 0x10
bt ebx, 8
cmovb edi, ebx
test dil, 8
jne 0x18003b7aa
mov edx, edi
mov rcx, r13
call fcn.18003d464
mov edx, 0x6000000
mov ecx, 0xa900000
test edx, edi
jne 0x18003b7cc
mov eax, dword [r15 + 0x5afc]
mov ebx, ecx
test edx, eax
cmovne ebx, eax
and ebx, edx
or ebx, edi
jmp 0x18003b7ce
mov ebx, edi
mov edx, 0x18000000
test edx, ebx
jne 0x18003b7e7
mov eax, dword [r15 + 0x5afc]
test edx, eax
cmovne ecx, eax
and ecx, edx
or ebx, ecx
test bl, 8
jne 0x18003b7fa
mov eax, dword [r15 + 0x5afc]
and eax, 0x10000
or ebx, eax
movsd xmm0, qword [r14 + 0x100]
mov edi, ebx
mov r12d, ebx
movsd qword [rbp - 0x28], xmm0
and edi, 2
and r12d, 0x10002
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x74], r12d
call fcn.18000c820
movss xmm3, dword [r15 + 0x3848]
lea rcx, [rbp + 0x90]
movss xmm9, dword [rbp - 0x28]
xor eax, eax
movss xmm14, dword [0x180059b54]
movaps xmm8, xmm0
subss xmm8, xmm14
movss dword [rsp + 0x78], xmm0
cmp r12d, 0x10000
movss dword [rsp + 0x7c], xmm9
movaps xmm1, xmm3
movaps xmm15, xmm9
sete al
mov rdx, r13
add eax, esi
movaps xmm7, xmm0
addss xmm1, xmm8
movss dword [rsp + 0x58], xmm8
movaps xmm12, xmm8
movd xmm2, eax
mov eax, edi
neg eax
cvtdq2ps xmm2, xmm2
sbb rax, rax
and rax, 0xfffffffffffffffc
add rax, 0x10
mov r8, rax
mov qword [rbp - 0x70], rax
mulss xmm2, xmm1
subss xmm6, xmm2
maxss xmm12, xmm6
addss xmm15, xmm12
movss dword [rbp - 0x64], xmm12
addss xmm15, xmm3
movss dword [rsp + 0x68], xmm15
call sub.VCRUNTIME140.dll_memcpy
movss xmm13, dword [0x180059b4c]
movaps xmm6, xmm12
and dword [rbp + 0x44], 0
movaps xmm0, xmm12
mulss xmm0, dword [0x180059b44]
movaps xmm1, xmm12
mulss xmm1, dword [0x180061064]
xorps xmm10, xmm10
movss dword [rsp + 0x70], xmm0
mulss xmm6, xmm13
cvttss2si eax, xmm1
movaps xmm2, xmm6
movss dword [rbp + 0x20], xmm6
subss xmm2, xmm0
movaps xmm0, xmm12
addss xmm0, xmm8
movss dword [rbp + 0x60], xmm2
mulss xmm0, xmm13
addss xmm0, xmm9
movss dword [rbp + 0x28], xmm0
movaps xmm0, xmm6
addss xmm0, dword [rbp - 0x24]
movss dword [rbp + 0x2c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movaps xmm1, xmm2
movss dword [rbp + 0x40], xmm2
mulss xmm1, dword [0x1800610d4]
movaps xmm0, xmm2
mulss xmm0, dword [0x1800610dc]
mulss xmm2, dword [0x180061080]
movss dword [rbp + 0x48], xmm1
movss dword [rbp + 0x4c], xmm0
movss dword [rbp + 0x50], xmm1
movss dword [rbp + 0x54], xmm2
movss xmm0, dword [r13]
mov eax, ebx
movss xmm1, dword [r13 + 4]
and eax, 0x8000000
movss xmm2, dword [r13 + 8]
mov dword [rsp + 0x54], eax
movss dword [rbp - 8], xmm0
movss dword [rbp - 0x30], xmm1
movss dword [rbp - 4], xmm2
movss dword [rbp - 0x20], xmm0
movss dword [rbp - 0x1c], xmm1
movss dword [rbp - 0x18], xmm2
je 0x18003b9ed
lea rax, [rbp - 4]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 8]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.180009f68
lea r9, [rbp - 4]
mov rcx, r13
lea r8, [rbp - 0x30]
lea rdx, [rbp - 8]
call fcn.18003b5ac
jmp 0x18003ba0e
bt ebx, 0x1c
jae 0x18003ba0e
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
call fcn.180009e1c
xor r12b, r12b
mov dl, sil
mov ecx, 8
mov byte [rsp + 0x50], r12b
mov byte [rsp + 0x52], r12b
mov byte [rsp + 0x51], r12b
call fcn.180014e20
movss xmm11, dword [0x180059b50]
mov eax, ebx
and eax, 0x4000000
mov dword [rbp + 0x68], eax
je 0x18003bcea
movaps xmm0, xmm12
movss dword [rbp - 0xc], xmm12
addss xmm0, dword [r15 + 0x3848]
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [0x180060ea8]
addss xmm0, xmm8
movss dword [rbp - 0x10], xmm0
call fcn.1800421f8
call fcn.18000efa0
test al, al
je 0x18003bcce
movss xmm14, dword [r15 + 0x36f8]
movss xmm8, dword [r15 + 0x36fc]
subss xmm14, dword [rbp + 0x28]
subss xmm8, dword [rbp + 0x2c]
movss xmm1, dword [rbp + 0x60]
movss xmm7, dword [r15 + 0xe08]
subss xmm1, xmm11
movss xmm15, dword [r15 + 0xe0c]
subss xmm7, dword [rbp + 0x28]
subss xmm15, dword [rbp + 0x2c]
movaps xmm2, xmm8
movaps xmm0, xmm14
mulss xmm2, xmm8
mulss xmm0, xmm14
mulss xmm1, xmm1
addss xmm2, xmm0
comiss xmm2, xmm1
jb 0x18003bb33
movaps xmm0, xmm6
addss xmm0, xmm11
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x18003bb33
movaps xmm1, xmm7
movaps xmm0, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm6, xmm0
divss xmm6, dword [0x18005f770]
mulss xmm6, xmm13
comiss xmm10, xmm6
movss dword [rbp - 8], xmm6
jbe 0x18003bb29
addss xmm6, xmm11
movss dword [rbp - 8], xmm6
mov r12b, sil
mov byte [rsp + 0x50], sil
jmp 0x18003bb38
movss xmm6, dword [rbp - 8]
xorps xmm6, xmmword [0x18005b960]
mov dil, r12b
addss xmm6, xmm6
mulss xmm6, dword [0x18005f770]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm1, xmm8
mov byte [rsp + 0x52], r12b
movaps xmm6, xmm0
mulss xmm8, xmm9
lea r9, [rbp - 0x10]
mulss xmm1, xmm6
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x48]
movaps xmm2, xmm9
lea rcx, [rbp + 0x40]
mulss xmm2, xmm14
subss xmm2, xmm1
movaps xmm1, xmm0
mulss xmm1, xmm14
addss xmm8, xmm1
movss dword [rbp - 0x10], xmm2
movss dword [rbp - 0xc], xmm8
call fcn.18000eba0
test al, al
je 0x18003bcaa
movaps xmm1, xmm9
lea r9, [rbp - 0x10]
mulss xmm1, xmm7
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x48]
movaps xmm0, xmm15
mulss xmm7, xmm6
lea rcx, [rbp + 0x40]
mulss xmm0, xmm6
mulss xmm9, xmm15
subss xmm1, xmm0
addss xmm7, xmm9
movss dword [rbp - 0x10], xmm1
movss dword [rbp - 0xc], xmm7
call fcn.18000eba0
test al, al
jne 0x18003bc25
lea rax, [rbp - 0x10]
lea r9, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.18000ea5c
movsd xmm0, qword [rax]
movsd qword [rbp - 0x10], xmm0
lea rax, [rbp + 0x58]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x10]
lea rax, [rbp + 0x3c]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x50]
lea rax, [rbp + 0x38]
lea rdx, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x40]
call fcn.18000e994
movss xmm0, dword [0x18005b9e8]
movaps xmm2, xmm11
subss xmm2, dword [rbp + 0x3c]
comiss xmm0, xmm2
jbe 0x18003bc70
movaps xmm1, xmm0
jmp 0x18003bc78
movaps xmm1, xmm11
minss xmm1, xmm2
movss xmm2, dword [rbp + 0x38]
divss xmm2, xmm1
movss dword [rbp - 4], xmm1
comiss xmm0, xmm2
ja 0x18003bc93
movaps xmm0, xmm11
minss xmm0, xmm2
movss dword [rbp - 0x30], xmm0
mov r12b, sil
mov byte [rsp + 0x51], sil
mov byte [rsp + 0x50], sil
mov byte [rsp + 0x52], dil
movss xmm14, dword [0x180059b54]
movss xmm8, dword [rsp + 0x58]
movss xmm15, dword [rsp + 0x68]
movss xmm9, dword [rsp + 0x7c]
movss xmm7, dword [rsp + 0x78]
test bl, 8
jne 0x18003be7d
mov edx, esi
lea rcx, str.context
call fcn.180014884
jmp 0x18003be7d
bt ebx, 0x19
jae 0x18003be7d
xor r8d, r8d
movss dword [rbp - 0x10], xmm12
lea rdx, [rbp - 0x10]
movss dword [rbp - 0xc], xmm12
lea rcx, [0x180060eac]
call fcn.1800421f8
movaps xmm6, xmm12
subss xmm6, xmm11
call fcn.18000efa0
test al, al
je 0x18003bde5
movss xmm0, dword [r15 + 0xe08]
subss xmm0, dword [rbp - 0x28]
divss xmm0, xmm6
comiss xmm10, xmm0
jbe 0x18003bd46
xorps xmm1, xmm1
jmp 0x18003bd4e
movaps xmm1, xmm11
minss xmm1, xmm0
movss dword [rbp - 0x30], xmm1
movss xmm0, dword [r15 + 0xe0c]
subss xmm0, dword [rbp - 0x24]
divss xmm0, xmm6
comiss xmm10, xmm0
jbe 0x18003bd70
xorps xmm1, xmm1
jmp 0x18003bd78
movaps xmm1, xmm11
minss xmm1, xmm0
mov rdi, qword [0x1800d0f28]
movaps xmm0, xmm11
subss xmm0, xmm1
movss dword [rbp - 4], xmm0
mov eax, dword [rdi + 0x5b00]
cmp dword [rdi + 0x5b04], eax
jne 0x18003bddd
movss xmm0, dword [r13]
lea rcx, [rbp + 0x10]
movss xmm1, dword [r13 + 4]
and dword [rbp + 0x1c], 0
movss dword [rbp + 0x10], xmm0
movss xmm0, dword [r13 + 8]
movss dword [rbp + 0x18], xmm0
movss dword [rbp + 0x14], xmm1
call fcn.180009d7c
cmp dword [rdi + 0x5b10], eax
jne 0x18003bddd
movss xmm0, dword [rdi + 0x5b08]
movss dword [rbp - 8], xmm0
mov r12b, sil
mov byte [rsp + 0x50], sil
mov dil, r12b
test bl, 8
jne 0x18003bdfb
mov edx, esi
lea rcx, str.context
call fcn.180014884
movss xmm0, dword [rbp - 0x24]
lea rcx, [rbp - 0x10]
movss dword [rbp - 0xc], xmm0
movss dword [rbp - 0x10], xmm15
call fcn.180017db0
xor r8d, r8d
movss dword [rbp - 0x10], xmm8
lea rdx, [rbp - 0x10]
movss dword [rbp - 0xc], xmm12
lea rcx, [0x180060eb0]
call fcn.1800421f8
mov byte [rsp + 0x51], r12b
call fcn.18000efa0
test al, al
je 0x18003be7d
movss xmm0, dword [r15 + 0xe0c]
subss xmm0, dword [rbp - 0x24]
divss xmm0, xmm6
comiss xmm10, xmm0
jbe 0x18003be5e
xorps xmm1, xmm1
jmp 0x18003be66
movaps xmm1, xmm11
minss xmm1, xmm0
movss dword [rbp - 8], xmm1
mov r12b, sil
mov byte [rsp + 0x52], sil
mov byte [rsp + 0x50], sil
mov byte [rsp + 0x51], dil
cmp dword [rsp + 0x74], 0x10000
jne 0x18003bf1e
movss xmm0, dword [rbp - 0x24]
lea rcx, [rbp - 0x10]
addss xmm0, xmm12
movss dword [rbp - 0x10], xmm9
addss xmm0, dword [r15 + 0x384c]
movss dword [rbp - 0xc], xmm0
call fcn.180017db0
xor r8d, r8d
movss dword [rbp - 0x10], xmm12
lea rdx, [rbp - 0x10]
movss dword [rbp - 0xc], xmm8
lea rcx, str.alpha
call fcn.1800421f8
call fcn.18000efa0
test al, al
je 0x18003bf1e
movss xmm1, dword [r15 + 0xe08]
movaps xmm0, xmm12
subss xmm1, dword [rbp - 0x28]
subss xmm0, xmm11
divss xmm1, xmm0
comiss xmm10, xmm1
jbe 0x18003bf00
xorps xmm2, xmm2
jmp 0x18003bf08
movaps xmm2, xmm11
minss xmm2, xmm1
movaps xmm0, xmm11
mov byte [rsp + 0x50], sil
subss xmm0, xmm2
mov r12b, sil
movss dword [r13 + 0xc], xmm0
call fcn.180014a30
mov edi, ebx
and edi, 0x100
jne 0x18003bf43
movss xmm1, dword [r15 + 0x3848]
xorps xmm0, xmm0
call fcn.1800172b4
call fcn.180008454
mov r14d, ebx
and r14d, 0x80
jne 0x18003bf8c
mov rcx, qword [rbp]
xor edx, edx
call fcn.18000bde0
mov qword [rbp - 0x10], rax
cmp qword [rbp], rax
je 0x18003bf8c
test edi, edi
je 0x18003bf7d
movss xmm1, dword [r15 + 0x3848]
xorps xmm0, xmm0
call fcn.1800172b4
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp]
xor r8d, r8d
mov rdx, rax
call fcn.180044c84
test edi, edi
jne 0x18003c0b4
mov dl, sil
lea ecx, [rdi + 0x10]
call fcn.180014e20
cmp dword [rsp + 0x6c], edi
je 0x18003bfab
movaps xmm2, xmm11
jmp 0x18003bfb1
movss xmm2, dword [r13 + 0xc]
movss xmm0, dword [r13]
movss xmm1, dword [r13 + 4]
movss dword [rbp + 0x10], xmm0
movss xmm0, dword [r13 + 8]
movss dword [rbp + 0x18], xmm0
movss dword [rbp + 0x14], xmm1
movss dword [rbp + 0x1c], xmm2
test r14d, r14d
je 0x18003bfe8
lea rcx, str.Current
call fcn.180044bfc
movaps xmm6, xmm7
lea r9, [rbp]
addss xmm7, xmm7
mulss xmm6, xmm14
mov edi, ebx
lea rdx, [rbp + 0x10]
and edi, 0x180e0040
lea rcx, str.current
mov r8d, edi
movss dword [rbp], xmm6
movss dword [rbp + 4], xmm7
call fcn.180039c78
mov r14, qword [rbp + 0x70]
test r14, r14
je 0x18003c0aa
lea rcx, str.Original
call fcn.180044bfc
cmp dword [rsp + 0x6c], 0
je 0x18003c043
movaps xmm2, xmm11
jmp 0x18003c049
movss xmm2, dword [r14 + 0xc]
movss xmm0, dword [r14]
lea r9, [rbp]
movss xmm1, dword [r14 + 4]
lea rdx, [rbp + 0x70]
movss dword [rbp + 0x70], xmm0
lea rcx, str.original
movss xmm0, dword [r14 + 8]
mov r8d, edi
movss dword [rbp + 0x78], xmm0
movss dword [rbp + 0x74], xmm1
movss dword [rbp + 0x7c], xmm2
movss dword [rbp], xmm6
movss dword [rbp + 4], xmm7
call fcn.180039c78
test al, al
je 0x18003c0aa
mov r8, qword [rbp - 0x70]
mov rdx, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
mov r12b, sil
mov byte [rsp + 0x50], sil
call fcn.180014a30
call fcn.18000b0b8
comiss xmm10, dword [r13]
jbe 0x18003c0c0
xorps xmm0, xmm0
jmp 0x18003c0ca
movaps xmm0, xmm11
minss xmm0, dword [r13]
movss xmm8, dword [0x180059b7c]
lea rdi, [r13 + 4]
comiss xmm10, dword [rdi]
mulss xmm0, xmm8
addss xmm0, xmm13
cvttss2si r9d, xmm0
jbe 0x18003c0f1
xorps xmm0, xmm0
jmp 0x18003c0f9
movaps xmm0, xmm11
minss xmm0, dword [rdi]
mulss xmm0, xmm8
lea r14, [r13 + 8]
comiss xmm10, dword [r14]
addss xmm0, xmm13
cvttss2si edx, xmm0
jbe 0x18003c116
xorps xmm0, xmm0
jmp 0x18003c11f
movaps xmm0, xmm11
minss xmm0, dword [r14]
cmp dword [rsp + 0x6c], 0
mulss xmm0, xmm8
addss xmm0, xmm13
cvttss2si ecx, xmm0
jne 0x18003c17e
comiss xmm10, dword [r13 + 0xc]
jbe 0x18003c140
xorps xmm0, xmm0
jmp 0x18003c14a
movaps xmm0, xmm11
minss xmm0, dword [r13 + 0xc]
mulss xmm0, xmm8
lea r8, [0x180060e40]
addss xmm0, xmm13
cvttss2si eax, xmm0
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
lea rcx, [rbp + 0xa0]
mov dword [rsp + 0x20], edx
mov edx, 0x40
call fcn.18000d81c
jmp 0x18003c19e
mov dword [rsp + 0x28], ecx
lea r8, [0x180060e58]
mov dword [rsp + 0x20], edx
lea rcx, [rbp + 0xa0]
mov edx, 0x40
call fcn.18000d81c
lea rdx, [rbp]
mov dword [rbp], 0x40400000
mov ecx, 0xe
mov dword [rbp + 4], 0x41000000
call fcn.180015060
movss xmm7, dword [0x180059b88]
lea rdx, [rbp + 0xa0]
movss xmm6, dword [r15 + 0x3840]
lea rcx, [rbp + 0x10]
xor r9d, r9d
movss dword [rsp + 0x20], xmm7
xor r8d, r8d
call fcn.180008e68
movss xmm1, dword [rbp + 0x20]
lea rdx, [rbp]
movss xmm14, dword [0x180059b58]
lea rcx, str.Copy
and dword [rbp + 4], 0
xor r8d, r8d
movss xmm0, dword [rax]
mulss xmm6, xmm13
mulss xmm0, xmm13
subss xmm1, xmm6
subss xmm1, xmm0
subss xmm1, xmm14
movss dword [rbp], xmm1
call fcn.180038ef8
test al, al
je 0x18003c243
mov r8, qword [rbp - 0x70]
lea rcx, [0x1800d0c18]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.1800172b4
and dword [rbp], 0
lea rdx, [rbp]
and dword [rbp + 4], 0
lea rcx, [rbp + 0xa0]
xor r8d, r8d
call fcn.180038ef8
test al, al
je 0x18003c2d0
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18003c2d0
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rax, [rbp + 0xa0]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x18003c28a
add rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r8, rax
lea rcx, [rbp + 0xa0]
sub r8, rcx
lea rdx, [rbp + 0xa0]
mov cl, byte [rdx]
mov byte [rdx + r8], cl
add rdx, rsi
test cl, cl
jne 0x18003c2b2
mov rdx, rax
mov ecx, esi
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
movaps xmm1, xmm7
movaps xmm0, xmm10
call fcn.1800172b4
movss xmm6, dword [r15 + 0x3840]
lea rdx, [rbp + 0xa0]
xor r9d, r9d
movss dword [rsp + 0x20], xmm7
xor r8d, r8d
lea rcx, [rbp + 0x10]
call fcn.180008e68
movss xmm7, dword [rbp + 0x20]
lea rdx, [rbp]
and dword [rbp + 4], 0
lea rcx, str.Paste
mulss xmm6, xmm13
movaps xmm1, xmm7
xor r8d, r8d
movss xmm0, dword [rax]
mulss xmm0, xmm13
subss xmm1, xmm6
subss xmm1, xmm0
subss xmm1, xmm14
movss dword [rbp], xmm1
call fcn.180038ef8
test al, al
je 0x18003c35f
mov r8, qword [rbp - 0x70]
lea rdx, [0x1800d0c18]
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
mov r12b, sil
mov byte [rsp + 0x50], sil
mov ecx, esi
call fcn.180014af4
cmp byte [rsp + 0x52], 0
jne 0x18003c378
cmp byte [rsp + 0x51], 0
je 0x18003c422
cmp dword [rsp + 0x54], 0
je 0x18003c3fe
movss xmm2, dword [rbp - 4]
mov r9, r13
movss xmm1, dword [rbp - 0x30]
movss xmm0, dword [rbp - 8]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
call fcn.180009e1c
movss xmm0, dword [rbp - 8]
lea rcx, [rbp + 0x10]
mov eax, dword [r15 + 0x5b00]
and dword [rbp + 0x1c], 0
movss dword [r15 + 0x5b08], xmm0
movss xmm1, dword [rbp - 0x30]
movss dword [r15 + 0x5b0c], xmm1
mov dword [r15 + 0x5b04], eax
movss xmm0, dword [r13]
movss xmm1, dword [rdi]
movss dword [rbp + 0x10], xmm0
movss xmm0, dword [r14]
movss dword [rbp + 0x18], xmm0
movss dword [rbp + 0x14], xmm1
call fcn.180009d7c
mov dword [r15 + 0x5b10], eax
jmp 0x18003c422
bt ebx, 0x1c
jae 0x18003c422
movss xmm0, dword [rbp - 8]
movss xmm1, dword [rbp - 0x30]
movss dword [r13], xmm0
movss xmm0, dword [rbp - 4]
movss dword [r14], xmm0
movss dword [rdi], xmm1
mov byte [rsp + 0x53], 0
test bl, 0x20
jne 0x18003c5c3
cmp dword [rsp + 0x74], 0x10000
je 0x18003c43e
movaps xmm9, xmm15
movss xmm6, dword [rsp + 0x58]
addss xmm9, xmm6
subss xmm9, dword [rbp - 0x28]
movaps xmm0, xmm9
call fcn.180014e9c
mov r14d, ebx
mov edi, ebx
and r14d, 0x198e001a
bt ebx, 0x14
jb 0x18003c474
and edi, 0x700000
jne 0x18003c4bd
jmp 0x18003c47a
and edi, 0x700000
mov r8d, r14d
lea rcx, str.rgb
or r8d, 0x100004
mov rdx, r13
call fcn.18003a200
test al, al
je 0x18003c4bd
cmp dword [r15 + 0x3f28], 0
je 0x18003c4b0
cmp byte [r15 + 0x3f35], 0
mov byte [rsp + 0x53], sil
je 0x18003c4b5
mov byte [rsp + 0x53], 0
mov r12b, sil
mov byte [rsp + 0x50], sil
bt ebx, 0x15
jb 0x18003c4c7
test edi, edi
jne 0x18003c4e8
mov r8d, r14d
lea rcx, str.hsv
or r8d, 0x200004
mov rdx, r13
call fcn.18003a200
or r12b, al
mov byte [rsp + 0x50], r12b
bt ebx, 0x16
jb 0x18003c4f2
test edi, edi
jne 0x18003c513
or r14d, 0x400004
lea rcx, str.hex
mov r8d, r14d
mov rdx, r13
call fcn.18003a200
or r12b, al
mov byte [rsp + 0x50], r12b
call fcn.180014a5c
cmp byte [rsp + 0x53], 0
lea r14, [r13 + 8]
mov eax, dword [rsp + 0x54]
lea rdi, [r13 + 4]
je 0x18003c5cd
test eax, eax
je 0x18003c5cd
movss xmm2, dword [r14]
lea rax, [rbp + 0x3c]
movss xmm1, dword [rdi]
lea r9, [rbp + 0x38]
movss xmm0, dword [r13]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.180009f68
comiss xmm10, dword [rbp + 0x38]
jb 0x18003c5c9
movss xmm0, dword [rbp - 8]
comiss xmm0, xmm10
jbe 0x18003c5c9
movss xmm0, dword [rbp + 0x3c]
comiss xmm10, xmm0
jb 0x18003c5ad
movss xmm2, dword [rbp - 4]
ucomiss xmm2, xmm0
jp 0x18003c58a
je 0x18003c5ad
movss xmm1, dword [rbp - 0x30]
mulss xmm2, xmm13
movss xmm0, dword [rbp - 8]
mov r9, r13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
call fcn.180009e1c
jmp 0x18003c5c9
comiss xmm10, dword [rbp + 0x20]
jb 0x18003c5c9
movss xmm1, dword [rbp - 0x30]
movaps xmm2, xmm0
mulss xmm1, xmm13
jmp 0x18003c594
movss xmm6, dword [rsp + 0x58]
mov eax, dword [rsp + 0x54]
mov byte [rsp + 0x53], r12b
test r12b, r12b
je 0x18003c66d
test eax, eax
je 0x18003c62e
movss xmm0, dword [r13]
lea rax, [rbp - 4]
movss xmm1, dword [rdi]
lea r9, [rbp - 8]
movss xmm2, dword [r14]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
movss dword [rbp - 0x20], xmm0
movss dword [rbp - 0x1c], xmm1
movss dword [rbp - 0x18], xmm2
call fcn.180009f68
lea r9, [rbp - 4]
mov rcx, r13
lea r8, [rbp - 0x30]
lea rdx, [rbp - 8]
call fcn.18003b5ac
jmp 0x18003c66d
bt ebx, 0x1c
jae 0x18003c66d
movss xmm0, dword [r13]
lea rax, [rbp - 0x18]
movss xmm1, dword [rdi]
lea r9, [rbp - 0x20]
movss xmm2, dword [r14]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
movss dword [rbp - 8], xmm0
movss dword [rbp - 0x30], xmm1
movss dword [rbp - 4], xmm2
call fcn.180009e1c
movss xmm1, dword [r15 + 0x37f4]
comiss xmm10, xmm1
jbe 0x18003c682
movaps xmm0, xmm10
jmp 0x18003c68a
movaps xmm0, xmm11
minss xmm0, xmm1
mulss xmm0, xmm8
lea r9, [rbp + 0x80]
mov dword [rbp + 0x80], 0x3f800000
movss dword [rbp + 0x8c], xmm1
movaps xmm2, xmm11
movaps xmm1, xmm11
mov dword [rbp + 0x84], 0x3f800000
addss xmm0, xmm13
mov dword [rbp + 0x88], 0x3f800000
cvttss2si r14d, xmm0
movss xmm0, dword [rbp - 8]
shl r14d, 0x18
mov eax, r14d
mov dword [rbp + 0x3c], r14d
or eax, 0xffffff
mov ecx, r14d
mov dword [rsp + 0x54], eax
or ecx, 0xff
mov eax, r14d
mov dword [rbp - 0x50], ecx
or eax, 0x808080
mov dword [rbp - 0x38], ecx
mov dword [rbp + 0x38], eax
mov edi, r14d
mov eax, r14d
or edi, 0xffff
or eax, 0xff00
mov dword [rbp - 0x4c], edi
mov dword [rbp - 0x48], eax
mov eax, r14d
or eax, 0xffff00
mov dword [rbp - 0x44], eax
mov eax, r14d
or eax, 0xff0000
mov dword [rbp - 0x40], eax
mov eax, r14d
or eax, 0xff00ff
mov dword [rsp + 0x68], eax
mov dword [rbp - 0x3c], eax
lea rax, [rbp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x84]
mov qword [rsp + 0x20], rax
call fcn.180009e1c
lea rcx, [rbp + 0x80]
call fcn.180009d7c
movss xmm0, dword [rbp - 0x20]
lea rcx, [rbp + 0x10]
movss xmm1, dword [rbp - 0x1c]
movss dword [rbp + 0x10], xmm0
movss xmm0, dword [rbp - 0x18]
movss dword [rbp + 0x14], xmm1
movss xmm1, dword [r15 + 0x37f4]
movss dword [rbp + 0x18], xmm0
movss dword [rbp + 0x1c], xmm1
mov dword [rbp + 0x20], eax
call fcn.180009d7c
and dword [rbp + 0x30], 0
mov r8d, 4
and dword [rbp + 0x34], 0
cmp dword [rbp + 0x68], 0
movss xmm14, dword [0x18005b8c4]
je 0x18003cd73
movss xmm12, dword [rbp + 0x60]
lea rbx, [rbp - 0x50]
mov r15d, dword [rbp - 0x50]
movaps xmm14, xmm12
mov r14d, dword [rsp + 0x54]
addss xmm14, xmm7
movaps xmm15, xmm13
mov eax, 0x2aaaaaab
cvttss2si ecx, xmm7
movaps xmm10, xmm14
imul ecx
mulss xmm10, xmm13
movss xmm13, dword [rsp + 0x70]
divss xmm15, xmm7
mov r13d, edx
sar r13d, 1
mov eax, r13d
shr eax, 0x1f
add r13d, eax
cmp r13d, r8d
cmovle r13d, r8d
xor r12d, r12d
mov rax, qword [rsp + 0x60]
lea rdx, [rbp + 0x28]
movd xmm9, r12d
movaps xmm2, xmm10
cvtdq2ps xmm9, xmm9
mov dword [rsp + 0x28], r13d
mov rcx, rax
mov edi, dword [rax + 0x20]
movaps xmm6, xmm9
addss xmm9, xmm11
divss xmm6, dword [0x18005b8c8]
divss xmm9, dword [0x18005b8c8]
addss xmm6, xmm6
addss xmm9, xmm9
mulss xmm6, dword [0x18005f770]
mulss xmm9, dword [0x18005f770]
subss xmm6, xmm15
addss xmm9, xmm15
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm9
call fcn.1800234f0
mov rax, qword [rsp + 0x60]
mov r9d, r14d
movss dword [rsp + 0x28], xmm13
mov rcx, rax
and dword [rsp + 0x20], 0
mov r8d, dword [rax + 0x78]
mov rdx, qword [rax + 0x80]
call fcn.18001eafc
mov rax, qword [rsp + 0x60]
movaps xmm0, xmm6
and dword [rax + 0x78], 0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm8, xmm0
movaps xmm0, xmm6
mulss xmm8, xmm12
addss xmm8, dword [rbp + 0x28]
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm7, xmm0
movaps xmm0, xmm9
mulss xmm7, xmm12
addss xmm7, dword [rbp + 0x2c]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm6, xmm0
movaps xmm0, xmm9
mulss xmm6, xmm12
addss xmm6, dword [rbp + 0x28]
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov rax, qword [rsp + 0x60]
add rbx, 4
mulss xmm0, xmm12
movaps xmm1, xmm6
mov qword [rbp + 0x70], rbx
mov edx, edi
mov rcx, rax
mov ebx, dword [rbx]
addss xmm0, dword [rbp + 0x2c]
mov r8d, dword [rax + 0x20]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r15d
unpcklps xmm1, xmm0
movaps xmm0, xmm8
unpcklps xmm0, xmm7
movq r9, xmm0
movsd qword [rsp + 0x20], xmm1
call fcn.180024e5c
add r12d, esi
mov r15d, ebx
mov rbx, qword [rbp + 0x70]
cmp r12d, 6
jl 0x18003c818
movss xmm6, dword [rbp - 8]
mulss xmm6, dword [0x18005b8b8]
mulss xmm6, dword [0x18005f770]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
cmp byte [rsp + 0x52], 0
movaps xmm1, xmm7
movss xmm13, dword [0x180059b4c]
movaps xmm2, xmm0
movss xmm8, dword [rsp + 0x70]
movaps xmm6, xmm0
mulss xmm1, xmm14
mulss xmm2, xmm14
mulss xmm1, xmm13
mulss xmm2, xmm13
addss xmm1, dword [rbp + 0x28]
addss xmm2, dword [rbp + 0x2c]
movss dword [rbp + 0x60], xmm1
movss dword [rbp + 0x64], xmm2
je 0x18003c9d8
mulss xmm8, dword [0x18005b88c]
jmp 0x18003c9e1
mulss xmm8, dword [0x180061078]
mov r12, qword [rsp + 0x60]
movaps xmm1, xmm8
mov rcx, r12
call fcn.180026024
mov r13d, dword [rbp + 0x20]
lea rdx, [rbp + 0x60]
mov r9d, r13d
mov dword [rsp + 0x20], eax
movaps xmm2, xmm8
mov rcx, r12
mov ebx, eax
call fcn.18001d9c0
mov edi, dword [rbp + 0x38]
lea rdx, [rbp + 0x60]
movaps xmm2, xmm8
movss dword [rsp + 0x28], xmm11
addss xmm2, xmm11
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov rcx, r12
call fcn.18001d8dc
movss dword [rsp + 0x28], xmm11
lea rdx, [rbp + 0x60]
mov r9d, r14d
mov dword [rsp + 0x20], ebx
movaps xmm2, xmm8
mov rcx, r12
mov r15d, r14d
call fcn.18001d8dc
movss xmm4, dword [rbp + 0x28]
lea rcx, [rbp]
movss xmm3, dword [rbp + 0x2c]
movaps xmm1, xmm7
mulss xmm1, dword [rbp + 0x40]
movaps xmm2, xmm7
mulss xmm2, dword [rbp + 0x48]
movaps xmm0, xmm6
mulss xmm0, dword [rbp + 0x44]
subss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [rbp + 0x40]
addss xmm1, xmm4
movss dword [rbp - 0x10], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [rbp + 0x44]
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [rbp + 0x4c]
subss xmm2, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [rbp + 0x48]
addss xmm1, xmm3
addss xmm2, xmm4
movss dword [rbp - 0xc], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [rbp + 0x4c]
movss dword [rbp + 0x68], xmm2
movaps xmm2, xmm7
mulss xmm2, dword [rbp + 0x50]
addss xmm1, xmm0
mulss xmm7, dword [rbp + 0x54]
movaps xmm0, xmm6
mulss xmm0, dword [rbp + 0x54]
mulss xmm6, dword [rbp + 0x50]
addss xmm1, xmm3
subss xmm2, xmm0
addss xmm7, xmm6
movss dword [rbp + 0x6c], xmm1
addss xmm2, xmm4
addss xmm7, xmm3
movss dword [rbp + 0x58], xmm2
movss dword [rbp + 0x5c], xmm7
call fcn.18000c7e4
mov edx, 3
mov rcx, r12
mov r8d, edx
call fcn.180023e30
mov rcx, qword [r12 + 0x50]
movzx eax, word [r12 + 0x34]
mov word [rcx], ax
add qword [r12 + 0x50], 2
mov rax, qword [r12 + 0x48]
lea r9, [rbp + 0x58]
movsd xmm0, qword [rbp - 0x10]
lea r8, [rbp + 0x68]
mov r14d, dword [rbp + 0x3c]
lea rdx, [rbp - 0x10]
movsd qword [rax], xmm0
mov rax, qword [r12 + 0x48]
movsd xmm1, qword [rbp]
movsd qword [rax + 8], xmm1
mov rax, qword [r12 + 0x48]
mov dword [rax + 0x10], r13d
add qword [r12 + 0x48], 0x14
add dword [r12 + 0x34], esi
mov rcx, qword [r12 + 0x50]
movzx eax, word [r12 + 0x34]
mov word [rcx], ax
mov rax, qword [r12 + 0x48]
add qword [r12 + 0x50], 2
movsd xmm0, qword [rbp + 0x68]
movsd qword [rax], xmm0
mov rax, qword [r12 + 0x48]
movsd xmm1, qword [rbp]
movsd qword [rax + 8], xmm1
mov rax, qword [r12 + 0x48]
mov dword [rax + 0x10], r14d
add qword [r12 + 0x48], 0x14
mov rcx, qword [r12 + 0x50]
add dword [r12 + 0x34], esi
movzx eax, word [r12 + 0x34]
mov word [rcx], ax
mov rcx, r12
mov rax, qword [r12 + 0x48]
movsd xmm0, qword [rbp + 0x58]
add qword [r12 + 0x50], 2
movsd qword [rax], xmm0
mov rax, qword [r12 + 0x48]
movsd xmm1, qword [rbp]
movss xmm0, dword [0x18005b9fc]
movss dword [rsp + 0x28], xmm0
movsd qword [rax + 8], xmm1
mov rax, qword [r12 + 0x48]
mov dword [rsp + 0x20], edi
mov dword [rax + 0x10], r15d
add qword [r12 + 0x48], 0x14
add dword [r12 + 0x34], esi
call fcn.180020cd0
movaps xmm0, xmm11
xorps xmm10, xmm10
subss xmm0, dword [rbp - 4]
comiss xmm10, xmm0
jbe 0x18003cc32
xorps xmm3, xmm3
jmp 0x18003cc3a
movaps xmm3, xmm11
minss xmm3, xmm0
comiss xmm10, dword [rbp - 0x30]
jbe 0x18003cc46
xorps xmm1, xmm1
jmp 0x18003cc4f
movaps xmm1, xmm11
minss xmm1, dword [rbp - 0x30]
movss xmm0, dword [rbp - 0x10]
mov r8d, 4
subss xmm0, dword [rbp + 0x58]
movss xmm2, dword [rbp - 0xc]
subss xmm2, dword [rbp + 0x5c]
movss xmm12, dword [rbp - 0x64]
movss xmm14, dword [0x18005b8c4]
mov r15, qword [rbp - 0x60]
mov r13, qword [rbp - 0x80]
mov r12b, byte [rsp + 0x50]
mulss xmm0, xmm1
mulss xmm2, xmm1
addss xmm0, dword [rbp + 0x58]
movss xmm1, dword [rbp + 0x68]
addss xmm2, dword [rbp + 0x5c]
subss xmm1, xmm0
mulss xmm1, xmm3
addss xmm1, xmm0
movss xmm0, dword [rbp + 0x6c]
subss xmm0, xmm2
movss dword [rbp + 0x30], xmm1
mulss xmm0, xmm3
addss xmm0, xmm2
movss dword [rbp + 0x34], xmm0
mov rbx, qword [rsp + 0x60]
movss xmm7, dword [rsp + 0x58]
movaps xmm0, xmmword [0x180059b90]
lea rcx, [rbp + 0x10]
neg byte [rsp + 0x51]
movups xmmword [rbp + 0x10], xmm0
sbb eax, eax
and eax, 2
add eax, r8d
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call fcn.180009d7c
lea rdx, [rbp - 0x80]
mov r9d, eax
mov rcx, rbx
movss xmm0, dword [rbp + 0x30]
movaps xmm2, xmm6
addss xmm0, xmm10
movss dword [rsp + 0x28], xmm11
and dword [rsp + 0x20], 0
movss dword [rbp - 0x80], xmm0
movss xmm0, dword [rbp + 0x34]
addss xmm0, xmm11
movss dword [rbp - 0x7c], xmm0
call fcn.18001d8dc
mov r9d, dword [rsp + 0x54]
lea rdx, [rbp + 0x30]
movss dword [rsp + 0x28], xmm11
movaps xmm2, xmm6
and dword [rsp + 0x20], 0
mov rcx, rbx
call fcn.18001d8dc
cmp dword [rsp + 0x74], 0x10000
jne 0x18003d3af
comiss xmm10, dword [r13 + 0xc]
jbe 0x18003d1d7
movaps xmm6, xmm10
jmp 0x18003d1e1
bt ebx, 0x19
jae 0x18003ccc3
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000c678
mov ecx, dword [rsp + 0x54]
lea r8, [rbp]
movss xmm0, dword [rbp - 0x28]
lea rdx, [rbp - 0x28]
movss xmm1, dword [rbp - 0x24]
addss xmm0, xmm12
mov r13d, dword [rbp + 0x20]
addss xmm1, xmm12
movss xmm7, dword [0x180059b54]
mov r12d, 0xf0
mov rbx, qword [rsp + 0x60]
mov r9d, eax
mov dword [rsp + 0x48], r12d
movss dword [rsp + 0x40], xmm7
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ecx
mov rcx, rbx
movss dword [rbp], xmm0
movss dword [rbp + 4], xmm1
call fcn.18001fc44
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000c678
movss xmm0, dword [rbp - 0x28]
lea r8, [rbp]
movss xmm1, dword [rbp - 0x24]
addss xmm0, xmm12
mov dword [rsp + 0x48], r12d
addss xmm1, xmm12
movss dword [rsp + 0x40], xmm7
lea rdx, [rbp - 0x28]
mov dword [rsp + 0x38], r14d
mov r9d, eax
mov dword [rsp + 0x30], r14d
mov rcx, rbx
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
movss dword [rbp], xmm0
movss dword [rbp + 4], xmm1
call fcn.18001fc44
movss xmm3, dword [rbp - 0x24]
movaps xmm2, xmm7
movss xmm0, dword [rbp - 0x28]
movaps xmm1, xmm3
addss xmm1, xmm12
addss xmm0, xmm12
unpcklps xmm0, xmm1
movss xmm1, dword [rbp - 0x28]
movq rdx, xmm0
unpcklps xmm1, xmm3
movq rcx, xmm1
movsd qword [rbp - 0x28], xmm1
call fcn.180015a40
comiss xmm10, dword [rbp - 0x30]
jbe 0x18003ce98
movaps xmm1, xmm10
jmp 0x18003cea1
movaps xmm1, xmm11
minss xmm1, dword [rbp - 0x30]
movss xmm0, dword [rbp - 0x28]
movss xmm9, dword [0x18005b8b8]
movaps xmm2, xmm0
movaps xmm3, xmm0
mulss xmm1, xmm12
addss xmm3, xmm9
addss xmm2, xmm12
addss xmm1, xmm0
subss xmm2, xmm9
addss xmm1, xmm13
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm3, xmm0
jbe 0x18003cee9
movss dword [rbp + 0x30], xmm3
jmp 0x18003cefa
comiss xmm0, xmm2
jbe 0x18003cef5
movss dword [rbp + 0x30], xmm2
jmp 0x18003cefa
movss dword [rbp + 0x30], xmm0
movaps xmm0, xmm11
subss xmm0, dword [rbp - 4]
comiss xmm10, xmm0
jbe 0x18003cf0f
movaps xmm1, xmm10
jmp 0x18003cf17
movaps xmm1, xmm11
minss xmm1, xmm0
movss xmm0, dword [rbp - 0x24]
movaps xmm2, xmm0
mulss xmm1, xmm12
movaps xmm3, xmm0
addss xmm2, xmm12
addss xmm3, xmm9
addss xmm1, xmm0
subss xmm2, xmm9
addss xmm1, xmm13
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm3, xmm0
jbe 0x18003cf56
movss dword [rbp + 0x34], xmm3
jmp 0x18003cf67
comiss xmm0, xmm2
jbe 0x18003cf62
movss dword [rbp + 0x34], xmm2
jmp 0x18003cf67
movss dword [rbp + 0x34], xmm0
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000c678
movss xmm7, dword [0x18005b8c8]
lea r8, [rbp]
mov r14d, dword [rbp - 0x50]
lea rdx, [rbp - 0x10]
mov dword [rsp + 0x48], 0x30
movaps xmm8, xmm15
addss xmm8, xmm6
movss dword [rbp - 0x10], xmm15
movaps xmm6, xmm12
mov r9d, eax
divss xmm6, xmm7
mov rcx, rbx
movss dword [rbp], xmm8
movaps xmm0, xmm6
movaps xmm1, xmm6
addss xmm0, dword [rbp - 0x24]
mulss xmm1, xmm10
addss xmm1, dword [rbp - 0x24]
movss dword [rbp + 4], xmm0
movss xmm0, dword [0x180059b54]
movss dword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
movss dword [rbp - 0xc], xmm1
call fcn.18001fc44
lea r13, [rbp - 0x4c]
mov r12, rbx
mov r9d, edi
movss dword [rbp], xmm8
lea ebx, [rsi + 1]
movss dword [rbp - 0x10], xmm15
movd xmm0, ebx
lea r8, [rbp]
cvtdq2ps xmm0, xmm0
add r13, 4
lea rdx, [rbp - 0x10]
mov rcx, r12
mov edi, dword [r13]
mulss xmm0, xmm6
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r9d
addss xmm0, dword [rbp - 0x24]
movss dword [rbp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
addss xmm0, dword [rbp - 0x24]
movss dword [rbp - 0xc], xmm0
call fcn.18001fa64
mov esi, ebx
cmp ebx, 5
jl 0x18003cfff
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000c678
mov ecx, dword [rsp + 0x68]
lea r8, [rbp]
movaps xmm0, xmm6
mov dword [rsp + 0x48], 0xc0
mulss xmm0, xmm7
lea rdx, [rbp - 0x10]
mov rbx, r12
mov r9d, eax
mulss xmm6, xmm14
addss xmm0, dword [rbp - 0x24]
movss dword [rbp], xmm8
addss xmm6, dword [rbp - 0x24]
movss dword [rbp - 0x10], xmm15
movss dword [rbp + 4], xmm0
movss xmm0, dword [0x180059b54]
movss dword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov rcx, rbx
movss dword [rbp - 0xc], xmm6
call fcn.18001fc44
movss xmm3, dword [rbp - 0x24]
movaps xmm2, xmm10
movss xmm0, dword [rbp - 8]
movaps xmm1, xmm3
mulss xmm0, xmm12
addss xmm1, xmm12
addss xmm0, xmm3
addss xmm0, xmm13
cvttss2si eax, xmm0
movaps xmm0, xmm8
unpcklps xmm0, xmm1
movaps xmm1, xmm15
unpcklps xmm1, xmm3
movq rdx, xmm0
movq rcx, xmm1
movd xmm7, eax
cvtdq2ps xmm7, xmm7
call fcn.180015a40
movss xmm6, dword [r15 + 0x37f4]
subss xmm15, xmm11
movss dword [rbp - 0xc], xmm7
movss dword [rbp - 0x10], xmm15
call fcn.18000d140
lea rcx, [rbp + 0x10]
movss xmm0, dword [rax]
and dword [rbp + 0x10], 0
and dword [rbp + 0x14], 0
and dword [rbp + 0x18], 0
mulss xmm6, xmm0
movss dword [rbp + 0x1c], xmm6
call fcn.180009d7c
movss xmm7, dword [rsp + 0x58]
lea r8, [rbp]
movaps xmm0, xmm7
movss dword [rsp + 0x30], xmm11
and dword [rsp + 0x28], 0
addss xmm0, xmm9
mov r9d, eax
lea rdx, [rbp - 0x10]
mov rcx, rbx
addss xmm0, dword [rbp - 0x10]
movss dword [rbp], xmm0
movss xmm0, dword [rbp - 0xc]
addss xmm0, xmm14
movss dword [rbp + 4], xmm0
movss xmm0, dword [0x180059b58]
movss dword [rsp + 0x20], xmm0
call fcn.18001f8b0
mov r13, qword [rbp - 0x80]
mov r8d, 4
mov r12b, byte [rsp + 0x50]
jmp 0x18003ccce
movaps xmm6, xmm11
minss xmm6, dword [r13 + 0xc]
movss xmm1, dword [rbp - 0x28]
lea rbx, [r13 + 4]
movaps xmm2, xmm1
lea rdi, [r13 + 8]
addss xmm1, xmm10
movaps xmm3, xmm12
addss xmm3, dword [r15 + 0x384c]
addss xmm2, xmm12
lea rcx, [rbp - 0x60]
movss dword [rbp + 0x10], xmm1
movss xmm1, dword [rbx]
movaps xmm0, xmm3
addss xmm3, dword [rbp - 0x24]
addss xmm0, xmm7
movss dword [rbp - 0x5c], xmm1
movss xmm1, dword [r15 + 0x37f4]
movss dword [rbp + 0x18], xmm2
movss dword [rbp - 0x54], xmm1
movss dword [rbp + 0x14], xmm3
addss xmm0, dword [rbp - 0x24]
movss dword [rbp + 0x1c], xmm0
movss xmm0, dword [r13]
movss dword [rbp - 0x60], xmm0
movss xmm0, dword [rdi]
movss dword [rbp - 0x58], xmm0
call fcn.180009d7c
movss xmm1, dword [rbx]
lea rcx, [rbp + 0x70]
movss xmm0, dword [r13]
mov r14d, eax
movss dword [rbp + 0x74], xmm1
movss xmm1, dword [r15 + 0x37f4]
mulss xmm1, xmm10
movss dword [rbp + 0x70], xmm0
movss xmm0, dword [rdi]
movss dword [rbp + 0x7c], xmm1
movss dword [rbp + 0x78], xmm0
call fcn.180009d7c
movss xmm1, dword [rbx]
lea rcx, [rbp - 0x80]
movss xmm0, dword [r13]
mov esi, eax
movss dword [rbp - 0x7c], xmm1
movss xmm1, dword [r15 + 0x37f4]
mulss xmm1, xmm10
movss dword [rbp - 0x80], xmm0
movss xmm0, dword [rdi]
movss dword [rbp - 0x74], xmm1
movss dword [rbp - 0x78], xmm0
call fcn.180009d7c
movss xmm0, dword [r13]
lea rcx, [rbp]
movss xmm1, dword [rbx]
mov edi, eax
movss dword [rbp], xmm0
movss xmm0, dword [r13 + 8]
movss dword [rbp + 4], xmm1
movss xmm1, dword [r15 + 0x37f4]
movss dword [rbp + 8], xmm0
movss dword [rbp + 0xc], xmm1
call fcn.180009d7c
movaps xmm1, xmm11
mov ecx, 2
mov ebx, eax
call fcn.18000c678
movss xmm0, dword [0x180059b54]
lea r8, [rbp + 0x18]
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp + 0x10]
mov dword [rsp + 0x48], 0xf0
mov r9d, eax
movss dword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call fcn.18001fc44
movaps xmm0, xmm11
subss xmm0, xmm6
mulss xmm0, xmm12
addss xmm0, dword [rbp - 0x28]
movss xmm1, dword [rbp + 0x14]
addss xmm0, xmm13
movss xmm2, dword [r15 + 0x37f4]
lea rcx, [0x1800d0ae0]
movaps xmm3, xmm14
movss dword [rsp + 0x20], xmm7
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm11
unpcklps xmm0, xmm1
movq rdx, xmm0
call fcn.180002d38
call fcn.18000b0b8
test r12b, r12b
je 0x18003d3ec
mov r8, qword [rbp - 0x70]
lea rcx, [rbp + 0x90]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18003d3d5
xor r12b, r12b
jmp 0x18003d3ec
mov ecx, dword [r15 + 0x4764]
mov bl, byte [rsp + 0x53]
mov r12b, bl
test ecx, ecx
je 0x18003d3ec
call fcn.180010360
cmp dword [rbp - 0x68], 0
jne 0x18003d3fa
and dword [r15 + 0x5b00], 0
call fcn.180014a18
mov al, r12b
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.180056ce0
lea r11, [rsp + 0x298]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret