Function at 0x18003b64c
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 [0x1800cf4f8]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r15, qword [0x1800cfcc8]
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 0x18003b70a
xor al, al
jmp 0x18003d3ce
mov rax, qword [r14 + 0x298]
mov qword [rsp + 0x60], rax
call fcn.180008b2c
and dword [r15 + 0x4750], 0
mov rcx, rdi
movaps xmm6, xmm0
call fcn.180014d70
mov eax, dword [r15 + 0x5b00]
mov dword [rbp - 0x68], eax
test eax, eax
jne 0x18003b755
movsxd rcx, dword [r14 + 0xf0]
mov rax, qword [r14 + 0xf8]
mov ecx, dword [rax + rcx*4 - 4]
mov dword [r15 + 0x5b00], ecx
call fcn.180008420
mov edi, ebx
or edi, 0x10
bt ebx, 8
cmovb edi, ebx
test dil, 8
jne 0x18003b776
mov edx, edi
mov rcx, r13
call fcn.18003d430
mov edx, 0x6000000
mov ecx, 0xa900000
test edx, edi
jne 0x18003b798
mov eax, dword [r15 + 0x5afc]
mov ebx, ecx
test edx, eax
cmovne ebx, eax
and ebx, edx
or ebx, edi
jmp 0x18003b79a
mov ebx, edi
mov edx, 0x18000000
test edx, ebx
jne 0x18003b7b3
mov eax, dword [r15 + 0x5afc]
test edx, eax
cmovne ecx, eax
and ecx, edx
or ebx, ecx
test bl, 8
jne 0x18003b7c6
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.18000c7ec
movss xmm3, dword [r15 + 0x3848]
lea rcx, [rbp + 0x90]
movss xmm9, dword [rbp - 0x28]
xor eax, eax
movss xmm14, dword [0x180058b1c]
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 [0x180058b14]
movaps xmm6, xmm12
and dword [rbp + 0x44], 0
movaps xmm0, xmm12
mulss xmm0, dword [0x180058b0c]
movaps xmm1, xmm12
mulss xmm1, dword [0x180060034]
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 [0x1800600a4]
movaps xmm0, xmm2
mulss xmm0, dword [0x1800600ac]
mulss xmm2, dword [0x180060050]
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 0x18003b9b9
lea rax, [rbp - 4]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 8]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.180009f34
lea r9, [rbp - 4]
mov rcx, r13
lea r8, [rbp - 0x30]
lea rdx, [rbp - 8]
call fcn.18003b578
jmp 0x18003b9da
bt ebx, 0x1c
jae 0x18003b9da
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
call fcn.180009de8
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.180014dec
movss xmm11, dword [0x180058b18]
mov eax, ebx
and eax, 0x4000000
mov dword [rbp + 0x68], eax
je 0x18003bcb6
movaps xmm0, xmm12
movss dword [rbp - 0xc], xmm12
addss xmm0, dword [r15 + 0x3848]
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [0x18005fe78]
addss xmm0, xmm8
movss dword [rbp - 0x10], xmm0
call fcn.1800421c4
call fcn.18000ef6c
test al, al
je 0x18003bc9a
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 0x18003baff
movaps xmm0, xmm6
addss xmm0, xmm11
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x18003baff
movaps xmm1, xmm7
movaps xmm0, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm6, xmm0
divss xmm6, dword [0x18005e740]
mulss xmm6, xmm13
comiss xmm10, xmm6
movss dword [rbp - 8], xmm6
jbe 0x18003baf5
addss xmm6, xmm11
movss dword [rbp - 8], xmm6
mov r12b, sil
mov byte [rsp + 0x50], sil
jmp 0x18003bb04
movss xmm6, dword [rbp - 8]
xorps xmm6, xmmword [0x18005a930]
mov dil, r12b
addss xmm6, xmm6
mulss xmm6, dword [0x18005e740]
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.18000eb6c
test al, al
je 0x18003bc76
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.18000eb6c
test al, al
jne 0x18003bbf1
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.18000ea28
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.18000e960
movss xmm0, dword [0x18005a9b8]
movaps xmm2, xmm11
subss xmm2, dword [rbp + 0x3c]
comiss xmm0, xmm2
jbe 0x18003bc3c
movaps xmm1, xmm0
jmp 0x18003bc44
movaps xmm1, xmm11
minss xmm1, xmm2
movss xmm2, dword [rbp + 0x38]
divss xmm2, xmm1
movss dword [rbp - 4], xmm1
comiss xmm0, xmm2
ja 0x18003bc5f
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 [0x180058b1c]
movss xmm8, dword [rsp + 0x58]
movss xmm15, dword [rsp + 0x68]
movss xmm9, dword [rsp + 0x7c]
movss xmm7, dword [rsp + 0x78]
test bl, 8
jne 0x18003be49
mov edx, esi
lea rcx, str.context
call fcn.180014850
jmp 0x18003be49
bt ebx, 0x19
jae 0x18003be49
xor r8d, r8d
movss dword [rbp - 0x10], xmm12
lea rdx, [rbp - 0x10]
movss dword [rbp - 0xc], xmm12
lea rcx, [0x18005fe7c]
call fcn.1800421c4
movaps xmm6, xmm12
subss xmm6, xmm11
call fcn.18000ef6c
test al, al
je 0x18003bdb1
movss xmm0, dword [r15 + 0xe08]
subss xmm0, dword [rbp - 0x28]
divss xmm0, xmm6
comiss xmm10, xmm0
jbe 0x18003bd12
xorps xmm1, xmm1
jmp 0x18003bd1a
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 0x18003bd3c
xorps xmm1, xmm1
jmp 0x18003bd44
movaps xmm1, xmm11
minss xmm1, xmm0
mov rdi, qword [0x1800cfcc8]
movaps xmm0, xmm11
subss xmm0, xmm1
movss dword [rbp - 4], xmm0
mov eax, dword [rdi + 0x5b00]
cmp dword [rdi + 0x5b04], eax
jne 0x18003bda9
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.180009d48
cmp dword [rdi + 0x5b10], eax
jne 0x18003bda9
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 0x18003bdc7
mov edx, esi
lea rcx, str.context
call fcn.180014850
movss xmm0, dword [rbp - 0x24]
lea rcx, [rbp - 0x10]
movss dword [rbp - 0xc], xmm0
movss dword [rbp - 0x10], xmm15
call fcn.180017d7c
xor r8d, r8d
movss dword [rbp - 0x10], xmm8
lea rdx, [rbp - 0x10]
movss dword [rbp - 0xc], xmm12
lea rcx, [0x18005fe80]
call fcn.1800421c4
mov byte [rsp + 0x51], r12b
call fcn.18000ef6c
test al, al
je 0x18003be49
movss xmm0, dword [r15 + 0xe0c]
subss xmm0, dword [rbp - 0x24]
divss xmm0, xmm6
comiss xmm10, xmm0
jbe 0x18003be2a
xorps xmm1, xmm1
jmp 0x18003be32
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 0x18003beea
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.180017d7c
xor r8d, r8d
movss dword [rbp - 0x10], xmm12
lea rdx, [rbp - 0x10]
movss dword [rbp - 0xc], xmm8
lea rcx, str.alpha
call fcn.1800421c4
call fcn.18000ef6c
test al, al
je 0x18003beea
movss xmm1, dword [r15 + 0xe08]
movaps xmm0, xmm12
subss xmm1, dword [rbp - 0x28]
subss xmm0, xmm11
divss xmm1, xmm0
comiss xmm10, xmm1
jbe 0x18003becc
xorps xmm2, xmm2
jmp 0x18003bed4
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.1800149fc
mov edi, ebx
and edi, 0x100
jne 0x18003bf0f
movss xmm1, dword [r15 + 0x3848]
xorps xmm0, xmm0
call fcn.180017280
call fcn.180008420
mov r14d, ebx
and r14d, 0x80
jne 0x18003bf58
mov rcx, qword [rbp]
xor edx, edx
call fcn.18000bdac
mov qword [rbp - 0x10], rax
cmp qword [rbp], rax
je 0x18003bf58
test edi, edi
je 0x18003bf49
movss xmm1, dword [r15 + 0x3848]
xorps xmm0, xmm0
call fcn.180017280
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp]
xor r8d, r8d
mov rdx, rax
call fcn.180044c50
test edi, edi
jne 0x18003c080
mov dl, sil
lea ecx, [rdi + 0x10]
call fcn.180014dec
cmp dword [rsp + 0x6c], edi
je 0x18003bf77
movaps xmm2, xmm11
jmp 0x18003bf7d
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 0x18003bfb4
lea rcx, str.Current
call fcn.180044bc8
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.180039c44
mov r14, qword [rbp + 0x70]
test r14, r14
je 0x18003c076
lea rcx, str.Original
call fcn.180044bc8
cmp dword [rsp + 0x6c], 0
je 0x18003c00f
movaps xmm2, xmm11
jmp 0x18003c015
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.180039c44
test al, al
je 0x18003c076
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.1800149fc
call fcn.18000b084
comiss xmm10, dword [r13]
jbe 0x18003c08c
xorps xmm0, xmm0
jmp 0x18003c096
movaps xmm0, xmm11
minss xmm0, dword [r13]
movss xmm8, dword [0x180058b44]
lea rdi, [r13 + 4]
comiss xmm10, dword [rdi]
mulss xmm0, xmm8
addss xmm0, xmm13
cvttss2si r9d, xmm0
jbe 0x18003c0bd
xorps xmm0, xmm0
jmp 0x18003c0c5
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 0x18003c0e2
xorps xmm0, xmm0
jmp 0x18003c0eb
movaps xmm0, xmm11
minss xmm0, dword [r14]
cmp dword [rsp + 0x6c], 0
mulss xmm0, xmm8
addss xmm0, xmm13
cvttss2si ecx, xmm0
jne 0x18003c14a
comiss xmm10, dword [r13 + 0xc]
jbe 0x18003c10c
xorps xmm0, xmm0
jmp 0x18003c116
movaps xmm0, xmm11
minss xmm0, dword [r13 + 0xc]
mulss xmm0, xmm8
lea r8, [0x18005fe10]
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.18000d7e8
jmp 0x18003c16a
mov dword [rsp + 0x28], ecx
lea r8, [0x18005fe28]
mov dword [rsp + 0x20], edx
lea rcx, [rbp + 0xa0]
mov edx, 0x40
call fcn.18000d7e8
lea rdx, [rbp]
mov dword [rbp], 0x40400000
mov ecx, 0xe
mov dword [rbp + 4], 0x41000000
call fcn.18001502c
movss xmm7, dword [0x180058b50]
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.180008e34
movss xmm1, dword [rbp + 0x20]
lea rdx, [rbp]
movss xmm14, dword [0x180058b20]
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.180038ec4
test al, al
je 0x18003c20f
mov r8, qword [rbp - 0x70]
lea rcx, [0x1800cf9b8]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.180017280
and dword [rbp], 0
lea rdx, [rbp]
and dword [rbp + 4], 0
lea rcx, [rbp + 0xa0]
xor r8d, r8d
call fcn.180038ec4
test al, al
je 0x18003c29c
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18003c29c
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rax, [rbp + 0xa0]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x18003c256
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 0x18003c27e
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.180017280
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.180008e34
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.180038ec4
test al, al
je 0x18003c32b
mov r8, qword [rbp - 0x70]
lea rdx, [0x1800cf9b8]
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
mov r12b, sil
mov byte [rsp + 0x50], sil
mov ecx, esi
call fcn.180014ac0
cmp byte [rsp + 0x52], 0
jne 0x18003c344
cmp byte [rsp + 0x51], 0
je 0x18003c3ee
cmp dword [rsp + 0x54], 0
je 0x18003c3ca
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.180009de8
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.180009d48
mov dword [r15 + 0x5b10], eax
jmp 0x18003c3ee
bt ebx, 0x1c
jae 0x18003c3ee
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 0x18003c58f
cmp dword [rsp + 0x74], 0x10000
je 0x18003c40a
movaps xmm9, xmm15
movss xmm6, dword [rsp + 0x58]
addss xmm9, xmm6
subss xmm9, dword [rbp - 0x28]
movaps xmm0, xmm9
call fcn.180014e68
mov r14d, ebx
mov edi, ebx
and r14d, 0x198e001a
bt ebx, 0x14
jb 0x18003c440
and edi, 0x700000
jne 0x18003c489
jmp 0x18003c446
and edi, 0x700000
mov r8d, r14d
lea rcx, str.rgb
or r8d, 0x100004
mov rdx, r13
call fcn.18003a1cc
test al, al
je 0x18003c489
cmp dword [r15 + 0x3f28], 0
je 0x18003c47c
cmp byte [r15 + 0x3f35], 0
mov byte [rsp + 0x53], sil
je 0x18003c481
mov byte [rsp + 0x53], 0
mov r12b, sil
mov byte [rsp + 0x50], sil
bt ebx, 0x15
jb 0x18003c493
test edi, edi
jne 0x18003c4b4
mov r8d, r14d
lea rcx, str.hsv
or r8d, 0x200004
mov rdx, r13
call fcn.18003a1cc
or r12b, al
mov byte [rsp + 0x50], r12b
bt ebx, 0x16
jb 0x18003c4be
test edi, edi
jne 0x18003c4df
or r14d, 0x400004
lea rcx, str.hex
mov r8d, r14d
mov rdx, r13
call fcn.18003a1cc
or r12b, al
mov byte [rsp + 0x50], r12b
call fcn.180014a28
cmp byte [rsp + 0x53], 0
lea r14, [r13 + 8]
mov eax, dword [rsp + 0x54]
lea rdi, [r13 + 4]
je 0x18003c599
test eax, eax
je 0x18003c599
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.180009f34
comiss xmm10, dword [rbp + 0x38]
jb 0x18003c595
movss xmm0, dword [rbp - 8]
comiss xmm0, xmm10
jbe 0x18003c595
movss xmm0, dword [rbp + 0x3c]
comiss xmm10, xmm0
jb 0x18003c579
movss xmm2, dword [rbp - 4]
ucomiss xmm2, xmm0
jp 0x18003c556
je 0x18003c579
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.180009de8
jmp 0x18003c595
comiss xmm10, dword [rbp + 0x20]
jb 0x18003c595
movss xmm1, dword [rbp - 0x30]
movaps xmm2, xmm0
mulss xmm1, xmm13
jmp 0x18003c560
movss xmm6, dword [rsp + 0x58]
mov eax, dword [rsp + 0x54]
mov byte [rsp + 0x53], r12b
test r12b, r12b
je 0x18003c639
test eax, eax
je 0x18003c5fa
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.180009f34
lea r9, [rbp - 4]
mov rcx, r13
lea r8, [rbp - 0x30]
lea rdx, [rbp - 8]
call fcn.18003b578
jmp 0x18003c639
bt ebx, 0x1c
jae 0x18003c639
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.180009de8
movss xmm1, dword [r15 + 0x37f4]
comiss xmm10, xmm1
jbe 0x18003c64e
movaps xmm0, xmm10
jmp 0x18003c656
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.180009de8
lea rcx, [rbp + 0x80]
call fcn.180009d48
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.180009d48
and dword [rbp + 0x30], 0
mov r8d, 4
and dword [rbp + 0x34], 0
cmp dword [rbp + 0x68], 0
movss xmm14, dword [0x18005a894]
je 0x18003cd3f
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 [0x18005a898]
divss xmm9, dword [0x18005a898]
addss xmm6, xmm6
addss xmm9, xmm9
mulss xmm6, dword [0x18005e740]
mulss xmm9, dword [0x18005e740]
subss xmm6, xmm15
addss xmm9, xmm15
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm9
call fcn.1800234bc
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.18001eac8
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.180024e28
add r12d, esi
mov r15d, ebx
mov rbx, qword [rbp + 0x70]
cmp r12d, 6
jl 0x18003c7e4
movss xmm6, dword [rbp - 8]
mulss xmm6, dword [0x18005a888]
mulss xmm6, dword [0x18005e740]
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 [0x180058b14]
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 0x18003c9a4
mulss xmm8, dword [0x18005a85c]
jmp 0x18003c9ad
mulss xmm8, dword [0x180060048]
mov r12, qword [rsp + 0x60]
movaps xmm1, xmm8
mov rcx, r12
call fcn.180025ff0
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.18001d98c
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.18001d8a8
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.18001d8a8
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.18000c7b0
mov edx, 3
mov rcx, r12
mov r8d, edx
call fcn.180023dfc
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 [0x18005a9cc]
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.180020c9c
movaps xmm0, xmm11
xorps xmm10, xmm10
subss xmm0, dword [rbp - 4]
comiss xmm10, xmm0
jbe 0x18003cbfe
xorps xmm3, xmm3
jmp 0x18003cc06
movaps xmm3, xmm11
minss xmm3, xmm0
comiss xmm10, dword [rbp - 0x30]
jbe 0x18003cc12
xorps xmm1, xmm1
jmp 0x18003cc1b
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 [0x18005a894]
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 [0x180058b60]
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.180009d48
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.18001d8a8
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.18001d8a8
cmp dword [rsp + 0x74], 0x10000
jne 0x18003d37b
comiss xmm10, dword [r13 + 0xc]
jbe 0x18003d1a3
movaps xmm6, xmm10
jmp 0x18003d1ad
bt ebx, 0x19
jae 0x18003cc8f
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000c644
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 [0x180058b1c]
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.18001fc10
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000c644
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.18001fc10
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.180015a0c
comiss xmm10, dword [rbp - 0x30]
jbe 0x18003ce64
movaps xmm1, xmm10
jmp 0x18003ce6d
movaps xmm1, xmm11
minss xmm1, dword [rbp - 0x30]
movss xmm0, dword [rbp - 0x28]
movss xmm9, dword [0x18005a888]
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 0x18003ceb5
movss dword [rbp + 0x30], xmm3
jmp 0x18003cec6
comiss xmm0, xmm2
jbe 0x18003cec1
movss dword [rbp + 0x30], xmm2
jmp 0x18003cec6
movss dword [rbp + 0x30], xmm0
movaps xmm0, xmm11
subss xmm0, dword [rbp - 4]
comiss xmm10, xmm0
jbe 0x18003cedb
movaps xmm1, xmm10
jmp 0x18003cee3
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 0x18003cf22
movss dword [rbp + 0x34], xmm3
jmp 0x18003cf33
comiss xmm0, xmm2
jbe 0x18003cf2e
movss dword [rbp + 0x34], xmm2
jmp 0x18003cf33
movss dword [rbp + 0x34], xmm0
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000c644
movss xmm7, dword [0x18005a898]
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 [0x180058b1c]
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.18001fc10
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.18001fa30
mov esi, ebx
cmp ebx, 5
jl 0x18003cfcb
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000c644
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 [0x180058b1c]
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.18001fc10
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.180015a0c
movss xmm6, dword [r15 + 0x37f4]
subss xmm15, xmm11
movss dword [rbp - 0xc], xmm7
movss dword [rbp - 0x10], xmm15
call fcn.18000d10c
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.180009d48
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 [0x180058b20]
movss dword [rsp + 0x20], xmm0
call fcn.18001f87c
mov r13, qword [rbp - 0x80]
mov r8d, 4
mov r12b, byte [rsp + 0x50]
jmp 0x18003cc9a
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.180009d48
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.180009d48
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.180009d48
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.180009d48
movaps xmm1, xmm11
mov ecx, 2
mov ebx, eax
call fcn.18000c644
movss xmm0, dword [0x180058b1c]
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.18001fc10
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, [0x1800cf880]
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.180002d04
call fcn.18000b084
test r12b, r12b
je 0x18003d3b8
mov r8, qword [rbp - 0x70]
lea rcx, [rbp + 0x90]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18003d3a1
xor r12b, r12b
jmp 0x18003d3b8
mov ecx, dword [r15 + 0x4764]
mov bl, byte [rsp + 0x53]
mov r12b, bl
test ecx, ecx
je 0x18003d3b8
call fcn.18001032c
cmp dword [rbp - 0x68], 0
jne 0x18003d3c6
and dword [r15 + 0x5b00], 0
call fcn.1800149e4
mov al, r12b
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.180055cc0
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