Function at 0x18003bd94
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 [0x1800d2540]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r13, qword [0x1800d2d48]
mov esi, 1
mov r14, r9
mov qword [rsp + 0x58], r9
mov ebx, r8d
mov qword [rbp - 0x70], rdx
mov r15, rdx
mov qword [rbp + 0x38], rcx
mov rax, qword [r13 + 0x3ec8]
mov r12, rcx
mov qword [rbp - 0x18], r13
mov byte [rax + 0xb8], sil
mov rdi, qword [r13 + 0x3ec8]
cmp byte [rdi + 0xbb], 0
je 0x18003be55
xor al, al
jmp 0x18003db46
mov rax, qword [rdi + 0x298]
mov qword [rsp + 0x78], rax
call fcn.1800090c4
and dword [r13 + 0x4750], 0
mov rcx, r12
movaps xmm6, xmm0
call fcn.180015284
mov eax, dword [r13 + 0x5b00]
mov dword [rbp - 0x60], eax
test eax, eax
jne 0x18003bea0
movsxd rcx, dword [rdi + 0xf0]
mov rax, qword [rdi + 0xf8]
mov ecx, dword [rax + rcx*4 - 4]
mov dword [r13 + 0x5b00], ecx
call fcn.1800089ac
bt ebx, 8
jb 0x18003beae
or ebx, 0x10
test bl, 8
jne 0x18003bebd
mov edx, ebx
mov rcx, r15
call fcn.18003dba8
mov r8d, 0x6000000
mov edx, 0xa900000
test r8d, ebx
jne 0x18003bee1
mov eax, dword [r13 + 0x5afc]
mov ecx, edx
test r8d, eax
cmovne ecx, eax
and ecx, r8d
or ebx, ecx
mov ecx, 0x18000000
test ecx, ebx
jne 0x18003befa
mov eax, dword [r13 + 0x5afc]
test ecx, eax
cmovne edx, eax
and edx, ecx
or ebx, edx
test bl, 8
jne 0x18003bf0d
mov eax, dword [r13 + 0x5afc]
and eax, 0x10000
or ebx, eax
movsd xmm0, qword [rdi + 0x100]
mov eax, ebx
and eax, 0x10002
movsd qword [rbp - 0x30], xmm0
mov r12d, ebx
mov dword [rbp - 0x7c], eax
and r12d, 2
mov dword [rsp + 0x74], r12d
call fcn.18000cd6c
movss xmm3, dword [r13 + 0x3848]
lea rcx, [rbp + 0x88]
movss xmm9, dword [rbp - 0x30]
xor eax, eax
cmp dword [rbp - 0x7c], 0x10000
movaps xmm15, xmm0
subss xmm15, dword [0x18005bb84]
sete al
movss dword [rsp + 0x70], xmm0
add eax, esi
movss dword [rbp + 0x50], xmm9
movaps xmm1, xmm3
movaps xmm14, xmm9
mov rdx, r15
movaps xmm7, xmm0
addss xmm1, xmm15
movss dword [rsp + 0x6c], xmm15
movd xmm2, eax
movaps xmm12, xmm15
cvtdq2ps xmm2, xmm2
mov eax, r12d
neg eax
sbb r8, r8
and r8, 0xfffffffffffffffc
mulss xmm2, xmm1
add r8, 0x10
subss xmm6, xmm2
maxss xmm12, xmm6
addss xmm14, xmm12
addss xmm14, xmm3
movss dword [rbp + 0x10], xmm14
call sub.VCRUNTIME140.dll_memcpy
movss xmm13, dword [0x18005bb7c]
movaps xmm8, xmm12
and dword [rbp + 0x5c], 0
movaps xmm0, xmm12
mulss xmm0, dword [0x18005bb74]
movaps xmm1, xmm12
mulss xmm1, dword [0x180063094]
xorps xmm10, xmm10
movss dword [rbp - 0x78], xmm0
mulss xmm8, xmm13
cvttss2si eax, xmm1
movaps xmm6, xmm8
movss dword [rbp - 0x74], xmm8
subss xmm6, xmm0
movaps xmm0, xmm12
addss xmm0, xmm15
movaps xmm2, xmm6
movss dword [rbp - 0x80], xmm6
mulss xmm0, xmm13
addss xmm0, xmm9
movss dword [rbp + 0x18], xmm0
movaps xmm0, xmm8
addss xmm0, dword [rbp - 0x2c]
movss dword [rbp + 0x1c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movaps xmm0, xmm2
movss dword [rbp + 0x58], xmm2
mulss xmm0, dword [0x18006310c]
movaps xmm1, xmm2
mulss xmm1, dword [0x180063104]
mulss xmm2, dword [0x1800630b0]
movss dword [rbp + 0x64], xmm0
movss xmm0, dword [r15]
movss dword [rbp + 0x60], xmm1
movss dword [rbp + 0x68], xmm1
movss xmm1, dword [r15 + 4]
movss dword [rbp - 8], xmm0
movss dword [rbp + 0x6c], xmm2
movss xmm2, dword [r15 + 8]
movss dword [rbp - 4], xmm2
movss dword [rbp - 0x20], xmm2
movss dword [rbp - 0x38], xmm1
movss dword [rbp - 0x28], xmm0
movss dword [rbp - 0x24], xmm1
bt ebx, 0x1b
jae 0x18003c0e7
lea rax, [rbp - 4]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 8]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
call fcn.18000a4b8
lea r9, [rbp - 4]
mov rcx, r15
lea r8, [rbp - 0x38]
lea rdx, [rbp - 8]
call fcn.18003bcc0
jmp 0x18003c108
bt ebx, 0x1c
jae 0x18003c108
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x28]
lea rax, [rbp - 0x24]
mov qword [rsp + 0x20], rax
call fcn.18000a36c
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.180015300
movss xmm11, dword [0x18005bb80]
bt ebx, 0x1a
jae 0x18003c3d4
movaps xmm0, xmm12
movss dword [rbp + 4], xmm12
addss xmm0, dword [r13 + 0x3848]
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [0x180062ed8]
addss xmm0, xmm15
movss dword [rbp], xmm0
call fcn.1800428cc
call fcn.18000f4a4
test al, al
je 0x18003c3b8
movss xmm9, dword [r13 + 0x36f8]
movaps xmm1, xmm6
movss xmm14, dword [r13 + 0x36fc]
subss xmm1, xmm11
subss xmm9, dword [rbp + 0x18]
subss xmm14, dword [rbp + 0x1c]
movss xmm7, dword [r13 + 0xe08]
movss xmm15, dword [r13 + 0xe0c]
subss xmm7, dword [rbp + 0x18]
subss xmm15, dword [rbp + 0x1c]
movaps xmm2, xmm14
mulss xmm1, xmm1
movaps xmm0, xmm9
mulss xmm2, xmm14
mulss xmm0, xmm9
addss xmm2, xmm0
comiss xmm2, xmm1
jb 0x18003c226
movaps xmm0, xmm8
addss xmm0, xmm11
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x18003c226
movaps xmm1, xmm7
movaps xmm0, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm6, xmm0
divss xmm6, dword [0x1800617a0]
mulss xmm6, xmm13
comiss xmm10, xmm6
movss dword [rbp - 8], xmm6
jbe 0x18003c21c
addss xmm6, xmm11
movss dword [rbp - 8], xmm6
mov r12b, sil
mov byte [rsp + 0x50], sil
jmp 0x18003c22b
movss xmm6, dword [rbp - 8]
xorps xmm6, xmmword [0x18005d990]
mov dil, r12b
addss xmm6, xmm6
mulss xmm6, dword [0x1800617a0]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm8, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm1, xmm0
mov byte [rsp + 0x52], r12b
mulss xmm1, xmm14
lea r9, [rbp]
lea r8, [rbp + 0x68]
movaps xmm2, xmm8
lea rdx, [rbp + 0x60]
mulss xmm2, xmm9
lea rcx, [rbp + 0x58]
movaps xmm3, xmm0
movaps xmm6, xmm0
mulss xmm3, xmm9
subss xmm2, xmm1
movaps xmm1, xmm8
mulss xmm1, xmm14
addss xmm3, xmm1
movss dword [rbp], xmm2
movss dword [rbp + 4], xmm3
call fcn.18000f0a4
test al, al
je 0x18003c39f
movaps xmm1, xmm8
lea r9, [rbp + 0x30]
mulss xmm1, xmm7
lea r8, [rbp + 0x68]
lea rdx, [rbp + 0x60]
movaps xmm0, xmm15
mulss xmm7, xmm6
lea rcx, [rbp + 0x58]
mulss xmm0, xmm6
mulss xmm8, xmm15
subss xmm1, xmm0
addss xmm7, xmm8
movss dword [rbp + 0x30], xmm1
movss dword [rbp + 0x34], xmm7
call fcn.18000f0a4
test al, al
jne 0x18003c31a
lea rax, [rbp + 0x30]
lea r9, [rbp + 0x68]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x58]
lea rcx, [rbp]
call fcn.18000ef60
movsd xmm0, qword [rax]
movsd qword [rbp + 0x30], xmm0
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x68]
lea rax, [rbp + 0x28]
lea rdx, [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x58]
call fcn.18000ee98
movss xmm0, dword [0x18005da18]
movaps xmm2, xmm11
subss xmm2, dword [rbp + 0x48]
comiss xmm0, xmm2
jbe 0x18003c365
movaps xmm1, xmm0
jmp 0x18003c36d
movaps xmm1, xmm11
minss xmm1, xmm2
movss xmm2, dword [rbp + 0x28]
divss xmm2, xmm1
movss dword [rbp - 4], xmm1
comiss xmm0, xmm2
ja 0x18003c388
movaps xmm0, xmm11
minss xmm0, xmm2
movss dword [rbp - 0x38], xmm0
mov r12b, sil
mov byte [rsp + 0x51], sil
mov byte [rsp + 0x50], sil
mov byte [rsp + 0x52], dil
movss xmm15, dword [rsp + 0x6c]
movss xmm14, dword [rbp + 0x10]
movss xmm9, dword [rbp + 0x50]
movss xmm7, dword [rsp + 0x70]
test bl, 8
jne 0x18003c56f
mov edx, esi
lea rcx, str.context
call fcn.180014d64
jmp 0x18003c56f
bt ebx, 0x19
jae 0x18003c56f
xor r8d, r8d
movss dword [rbp], xmm12
lea rdx, [rbp]
movss dword [rbp + 4], xmm12
lea rcx, [0x180062edc]
call fcn.1800428cc
call fcn.18000f4a4
test al, al
je 0x18003c4ce
movss xmm0, dword [r13 + 0xe08]
movaps xmm2, xmm12
subss xmm0, dword [rbp - 0x30]
subss xmm2, xmm11
divss xmm0, xmm2
comiss xmm10, xmm0
jbe 0x18003c430
xorps xmm1, xmm1
jmp 0x18003c438
movaps xmm1, xmm11
minss xmm1, xmm0
movss dword [rbp - 0x38], xmm1
movss xmm0, dword [r13 + 0xe0c]
subss xmm0, dword [rbp - 0x2c]
divss xmm0, xmm2
comiss xmm10, xmm0
jbe 0x18003c45a
xorps xmm1, xmm1
jmp 0x18003c462
movaps xmm1, xmm11
minss xmm1, xmm0
mov rdi, qword [0x1800d2d48]
movaps xmm0, xmm11
subss xmm0, xmm1
movss dword [rbp - 4], xmm0
mov eax, dword [rdi + 0x5b00]
cmp dword [rdi + 0x5b04], eax
jne 0x18003c4c6
movss xmm0, dword [r15]
lea rcx, [rbp]
movss xmm1, dword [r15 + 4]
and dword [rbp + 0xc], 0
movss dword [rbp], xmm0
movss xmm0, dword [r15 + 8]
movss dword [rbp + 8], xmm0
movss dword [rbp + 4], xmm1
call fcn.18000a2cc
cmp dword [rdi + 0x5b10], eax
jne 0x18003c4c6
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 0x18003c4e4
mov edx, esi
lea rcx, str.context
call fcn.180014d64
movss xmm0, dword [rbp - 0x2c]
lea rcx, [rbp]
movss dword [rbp + 4], xmm0
movss dword [rbp], xmm14
call fcn.1800181fc
xor r8d, r8d
movss dword [rbp], xmm15
lea rdx, [rbp]
movss dword [rbp + 4], xmm12
lea rcx, [0x180062ee0]
call fcn.1800428cc
mov byte [rsp + 0x51], r12b
call fcn.18000f4a4
test al, al
je 0x18003c56f
movss xmm1, dword [r13 + 0xe0c]
movaps xmm0, xmm12
subss xmm1, dword [rbp - 0x2c]
subss xmm0, xmm11
divss xmm1, xmm0
comiss xmm10, xmm1
jbe 0x18003c550
xorps xmm0, xmm0
jmp 0x18003c558
movaps xmm0, xmm11
minss xmm0, xmm1
movss dword [rbp - 8], xmm0
mov r12b, sil
mov byte [rsp + 0x52], sil
mov byte [rsp + 0x50], sil
mov byte [rsp + 0x51], dil
cmp dword [rbp - 0x7c], 0x10000
jne 0x18003c60f
movss xmm0, dword [rbp - 0x2c]
lea rcx, [rbp]
addss xmm0, xmm12
movss dword [rbp], xmm9
addss xmm0, dword [r13 + 0x384c]
movss dword [rbp + 4], xmm0
call fcn.1800181fc
xor r8d, r8d
movss dword [rbp], xmm12
lea rdx, [rbp]
movss dword [rbp + 4], xmm15
lea rcx, str.alpha
call fcn.1800428cc
call fcn.18000f4a4
test al, al
je 0x18003c60f
movss xmm1, dword [r13 + 0xe08]
movaps xmm0, xmm12
subss xmm1, dword [rbp - 0x30]
subss xmm0, xmm11
divss xmm1, xmm0
comiss xmm10, xmm1
jbe 0x18003c5f1
xorps xmm2, xmm2
jmp 0x18003c5f9
movaps xmm2, xmm11
minss xmm2, xmm1
movaps xmm0, xmm11
mov byte [rsp + 0x50], sil
subss xmm0, xmm2
mov r12b, sil
movss dword [r15 + 0xc], xmm0
call fcn.180014f10
mov edi, ebx
and edi, 0x100
jne 0x18003c634
movss xmm1, dword [r13 + 0x3848]
xorps xmm0, xmm0
call fcn.180017794
call fcn.1800089ac
test bl, bl
js 0x18003c67b
mov rcx, qword [rbp + 0x38]
xor edx, edx
call fcn.18000c328
mov r14, rax
mov rax, qword [rbp + 0x38]
cmp rax, r14
je 0x18003c676
test edi, edi
je 0x18003c668
movss xmm1, dword [r13 + 0x3848]
xorps xmm0, xmm0
call fcn.180017794
mov rax, qword [rbp + 0x38]
xor r8d, r8d
mov rdx, r14
mov rcx, rax
call fcn.180045370
mov r14, qword [rsp + 0x58]
bt ebx, 8
jb 0x18003c7be
mov dl, sil
mov ecx, 0x10
call fcn.180015300
test bl, 2
je 0x18003c69d
movaps xmm2, xmm11
jmp 0x18003c6a3
movss xmm2, dword [r15 + 0xc]
movss xmm0, dword [r15]
movss xmm1, dword [r15 + 4]
movss dword [rbp], xmm0
movss xmm0, dword [r15 + 8]
movss dword [rbp + 8], xmm0
movss dword [rbp + 4], xmm1
movss dword [rbp + 0xc], xmm2
test bl, bl
jns 0x18003c6d8
lea rcx, str.Current
call fcn.1800452e8
movaps xmm6, xmm7
lea r9, [rsp + 0x58]
mulss xmm6, dword [0x18005bb84]
addss xmm7, xmm7
mov edi, ebx
lea rdx, [rbp]
and edi, 0x180e0040
lea rcx, str.current
mov r8d, edi
movss dword [rsp + 0x58], xmm6
movss dword [rsp + 0x5c], xmm7
call fcn.18003a374
test r14, r14
je 0x18003c7ae
lea rcx, str.Original
call fcn.1800452e8
test bl, 2
je 0x18003c733
movaps xmm2, xmm11
jmp 0x18003c739
movss xmm2, dword [r14 + 0xc]
movss xmm0, dword [r14]
lea r9, [rsp + 0x58]
movss xmm1, dword [r14 + 4]
lea rdx, [rbp + 0x38]
movss dword [rbp + 0x38], xmm0
lea rcx, str.original
movss xmm0, dword [r14 + 8]
mov r8d, edi
movss dword [rbp + 0x40], xmm0
movss dword [rbp + 0x3c], xmm1
movss dword [rbp + 0x44], xmm2
movss dword [rsp + 0x58], xmm6
movss dword [rsp + 0x5c], xmm7
call fcn.18003a374
mov edi, dword [rsp + 0x74]
test al, al
je 0x18003c7b2
mov eax, edi
mov rdx, r14
neg eax
mov rcx, r15
sbb r8, r8
and r8, 0xfffffffffffffffc
add r8, 0x10
call sub.VCRUNTIME140.dll_memcpy
mov r12b, sil
mov byte [rsp + 0x50], sil
jmp 0x18003c7b2
mov edi, dword [rsp + 0x74]
call fcn.180014f10
call fcn.18000b618
jmp 0x18003c7c2
mov edi, dword [rsp + 0x74]
comiss xmm10, dword [r15]
jbe 0x18003c7cd
xorps xmm0, xmm0
jmp 0x18003c7d6
movaps xmm0, xmm11
minss xmm0, dword [r15]
comiss xmm10, dword [r15 + 4]
movss xmm8, dword [0x18005bbac]
mulss xmm0, xmm8
addss xmm0, xmm13
cvttss2si r9d, xmm0
jbe 0x18003c7fa
xorps xmm0, xmm0
jmp 0x18003c804
movaps xmm0, xmm11
minss xmm0, dword [r15 + 4]
comiss xmm10, dword [r15 + 8]
mulss xmm0, xmm8
addss xmm0, xmm13
cvttss2si edx, xmm0
jbe 0x18003c81e
xorps xmm0, xmm0
jmp 0x18003c828
movaps xmm0, xmm11
minss xmm0, dword [r15 + 8]
mulss xmm0, xmm8
addss xmm0, xmm13
cvttss2si ecx, xmm0
test bl, 2
jne 0x18003c885
comiss xmm10, dword [r15 + 0xc]
jbe 0x18003c847
xorps xmm0, xmm0
jmp 0x18003c851
movaps xmm0, xmm11
minss xmm0, dword [r15 + 0xc]
mulss xmm0, xmm8
lea r8, [0x180062e70]
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.18000dd68
jmp 0x18003c8a5
mov dword [rsp + 0x28], ecx
lea r8, [0x180062e88]
mov dword [rsp + 0x20], edx
lea rcx, [rbp + 0xa0]
mov edx, 0x40
call fcn.18000dd68
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], 0x40400000
mov ecx, 0xe
mov dword [rsp + 0x5c], 0x41000000
call fcn.180015540
movss xmm7, dword [0x18005bbb8]
lea rdx, [rbp + 0xa0]
movss xmm6, dword [r13 + 0x3840]
lea rcx, [rbp]
xor r9d, r9d
movss dword [rsp + 0x20], xmm7
xor r8d, r8d
call fcn.1800093bc
and dword [rsp + 0x5c], 0
lea rdx, [rsp + 0x58]
movaps xmm1, xmm12
mulss xmm6, xmm13
lea rcx, str.Copy
xor r8d, r8d
mulss xmm1, xmm13
movss xmm0, dword [rax]
mulss xmm0, xmm13
subss xmm1, xmm6
subss xmm1, xmm0
subss xmm1, dword [0x18005bb88]
movss dword [rsp + 0x58], xmm1
call fcn.180039600
xor r14d, r14d
test al, al
je 0x18003c95c
mov eax, edi
lea rcx, [0x1800d2a38]
neg eax
mov rdx, r15
sbb r8, r8
and r8, 0xfffffffffffffffc
add r8, 0x10
call sub.VCRUNTIME140.dll_memcpy
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.180017794
and dword [rsp + 0x58], r14d
lea rdx, [rsp + 0x58]
and dword [rsp + 0x5c], r14d
lea rcx, [rbp + 0xa0]
xor r8d, r8d
call fcn.180039600
test al, al
je 0x18003c9ec
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18003c9ec
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rax, [rbp + 0xa0]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], r14b
jne 0x18003c9a6
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 0x18003c9ce
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.180017794
movss xmm6, dword [r13 + 0x3840]
lea rdx, [rbp + 0xa0]
xor r9d, r9d
movss dword [rsp + 0x20], xmm7
xor r8d, r8d
lea rcx, [rbp]
call fcn.1800093bc
and dword [rsp + 0x5c], r14d
lea rdx, [rsp + 0x58]
movaps xmm1, xmm12
mulss xmm6, xmm13
lea rcx, str.Paste
xor r8d, r8d
mulss xmm1, xmm13
movss xmm0, dword [rax]
mulss xmm0, xmm13
subss xmm1, xmm6
subss xmm1, xmm0
subss xmm1, dword [0x18005bb88]
movss dword [rsp + 0x58], xmm1
call fcn.180039600
test al, al
je 0x18003ca8d
mov eax, edi
lea rdx, [0x1800d2a38]
neg eax
mov rcx, r15
sbb r8, r8
and r8, 0xfffffffffffffffc
add r8, 0x10
call sub.VCRUNTIME140.dll_memcpy
mov r12b, sil
mov byte [rsp + 0x50], sil
mov ecx, esi
call fcn.180014fd4
cmp byte [rsp + 0x52], r14b
jne 0x18003caa6
cmp byte [rsp + 0x51], r14b
je 0x18003cb64
bt ebx, 0x1b
jae 0x18003cb3e
movss xmm2, dword [rbp - 4]
lea rax, [r15 + 8]
movss xmm1, dword [rbp - 0x38]
lea rcx, [r15 + 4]
movss xmm0, dword [rbp - 8]
mov r9, r15
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
call fcn.18000a36c
movss xmm0, dword [rbp - 8]
lea rcx, [rsp + 0x58]
mov eax, dword [r13 + 0x5b00]
and dword [rsp + 0x64], r14d
movss dword [r13 + 0x5b08], xmm0
movss xmm1, dword [rbp - 0x38]
movss dword [r13 + 0x5b0c], xmm1
mov dword [r13 + 0x5b04], eax
movss xmm0, dword [r15]
movss xmm1, dword [r15 + 4]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [r15 + 8]
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.18000a2cc
mov dword [r13 + 0x5b10], eax
jmp 0x18003cb64
bt ebx, 0x1c
jae 0x18003cb64
movss xmm0, dword [rbp - 8]
movss xmm1, dword [rbp - 0x38]
movss dword [r15], xmm0
movss xmm0, dword [rbp - 4]
movss dword [r15 + 8], xmm0
movss dword [r15 + 4], xmm1
test bl, 0x20
jne 0x18003cce7
cmp dword [rbp - 0x7c], 0x10000
je 0x18003cb7a
movaps xmm9, xmm14
addss xmm9, xmm15
subss xmm9, dword [rbp - 0x30]
movaps xmm0, xmm9
call fcn.18001537c
mov edi, ebx
and edi, 0x198e001a
bt ebx, 0x14
jb 0x18003cba4
test ebx, 0x700000
jne 0x18003cbde
mov r8d, edi
lea rcx, str.rgb
or r8d, 0x100004
mov rdx, r15
call fcn.18003a8f4
test al, al
je 0x18003cbde
cmp dword [r13 + 0x3f28], r14d
je 0x18003cbd6
cmp byte [r13 + 0x3f35], r14b
jne 0x18003cbd6
mov r14b, sil
mov r12b, sil
mov byte [rsp + 0x50], sil
bt ebx, 0x15
jb 0x18003cbec
test ebx, 0x700000
jne 0x18003cc0d
mov r8d, edi
lea rcx, str.hsv
or r8d, 0x200004
mov rdx, r15
call fcn.18003a8f4
or r12b, al
mov byte [rsp + 0x50], r12b
bt ebx, 0x16
jb 0x18003cc1b
test ebx, 0x700000
jne 0x18003cc3b
or edi, 0x400004
lea rcx, str.hex
mov r8d, edi
mov rdx, r15
call fcn.18003a8f4
or r12b, al
mov byte [rsp + 0x50], r12b
call fcn.180014f3c
test r14b, r14b
je 0x18003cce7
bt ebx, 0x1b
jae 0x18003cce7
movss xmm2, dword [r15 + 8]
lea rax, [rbp + 0x48]
movss xmm1, dword [r15 + 4]
lea r9, [rbp + 0x28]
movss xmm0, dword [r15]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
call fcn.18000a4b8
comiss xmm10, dword [rbp + 0x28]
jb 0x18003cce7
movss xmm0, dword [rbp - 8]
comiss xmm0, xmm10
jbe 0x18003cce7
movss xmm0, dword [rbp + 0x48]
comiss xmm10, xmm0
jb 0x18003ccb4
movss xmm2, dword [rbp - 4]
ucomiss xmm2, xmm0
jp 0x18003cca8
je 0x18003ccb4
movss xmm1, dword [rbp - 0x38]
mulss xmm2, xmm13
jmp 0x18003ccc8
comiss xmm10, dword [rbp + 0x10]
jb 0x18003cce7
movss xmm1, dword [rbp - 0x38]
movaps xmm2, xmm0
mulss xmm1, xmm13
movss xmm0, dword [rbp - 8]
lea rax, [r15 + 8]
lea rcx, [r15 + 4]
mov qword [rsp + 0x28], rax
mov r9, r15
mov qword [rsp + 0x20], rcx
call fcn.18000a36c
mov byte [rsp + 0x68], r12b
test r12b, r12b
je 0x18003cd8d
bt ebx, 0x1b
jae 0x18003cd4c
movss xmm0, dword [r15]
lea rax, [rbp - 4]
movss xmm1, dword [r15 + 4]
lea r9, [rbp - 8]
movss xmm2, dword [r15 + 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
movss dword [rbp - 0x28], xmm0
movss dword [rbp - 0x24], xmm1
movss dword [rbp - 0x20], xmm2
call fcn.18000a4b8
lea r9, [rbp - 4]
mov rcx, r15
lea r8, [rbp - 0x38]
lea rdx, [rbp - 8]
call fcn.18003bcc0
jmp 0x18003cd8d
bt ebx, 0x1c
jae 0x18003cd8d
movss xmm0, dword [r15]
lea rax, [rbp - 0x20]
movss xmm1, dword [r15 + 4]
lea r9, [rbp - 0x28]
movss xmm2, dword [r15 + 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x24]
mov qword [rsp + 0x20], rax
movss dword [rbp - 8], xmm0
movss dword [rbp - 0x38], xmm1
movss dword [rbp - 4], xmm2
call fcn.18000a36c
movss xmm1, dword [r13 + 0x37f4]
comiss xmm10, xmm1
jbe 0x18003cda2
movaps xmm0, xmm10
jmp 0x18003cdaa
movaps xmm0, xmm11
minss xmm0, xmm1
mulss xmm0, xmm8
lea r9, [rbp + 0x78]
mov dword [rbp + 0x78], 0x3f800000
movss dword [rbp + 0x84], xmm1
movaps xmm2, xmm11
movaps xmm1, xmm11
mov dword [rbp + 0x7c], 0x3f800000
addss xmm0, xmm13
mov dword [rbp + 0x80], 0x3f800000
cvttss2si r14d, xmm0
movss xmm0, dword [rbp - 8]
shl r14d, 0x18
mov eax, r14d
mov dword [rbp + 0x48], r14d
or eax, 0xffffff
mov ecx, r14d
mov dword [rsp + 0x70], eax
or ecx, 0xff
mov eax, r14d
mov dword [rbp - 0x58], ecx
or eax, 0x808080
mov dword [rbp - 0x40], ecx
mov dword [rbp + 0x28], eax
mov edi, r14d
mov eax, r14d
or edi, 0xffff
or eax, 0xff00
mov dword [rbp - 0x54], edi
mov dword [rbp - 0x50], eax
mov eax, r14d
or eax, 0xffff00
mov dword [rbp - 0x4c], eax
mov eax, r14d
or eax, 0xff0000
mov dword [rbp - 0x48], eax
mov eax, r14d
or eax, 0xff00ff
mov dword [rbp + 0x50], eax
mov dword [rbp - 0x44], eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x20], rax
call fcn.18000a36c
lea rcx, [rbp + 0x78]
call fcn.18000a2cc
movss xmm0, dword [rbp - 0x28]
lea rcx, [rsp + 0x58]
movss xmm1, dword [rbp - 0x24]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rbp - 0x20]
movss dword [rsp + 0x5c], xmm1
movss xmm1, dword [r13 + 0x37f4]
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm1
mov dword [rbp + 0x10], eax
call fcn.18000a2cc
and dword [rbp + 0x20], 0
mov r8d, 4
and dword [rbp + 0x24], 0
movss xmm15, dword [0x18005d8f4]
bt ebx, 0x1a
jae 0x18003d475
movss xmm0, dword [rbp - 0x74]
lea rbx, [rbp - 0x58]
movss xmm14, dword [rbp - 0x80]
movaps xmm15, xmm13
movss xmm10, dword [rbp - 0x78]
addss xmm14, xmm0
mov r13d, dword [rbp - 0x58]
mov eax, 0x2aaaaaab
mov r14d, dword [rsp + 0x70]
cvttss2si ecx, xmm0
mulss xmm14, xmm13
movss xmm13, dword [rbp - 0x80]
imul ecx
divss xmm15, xmm0
mov r15d, edx
sar r15d, 1
mov eax, r15d
shr eax, 0x1f
add r15d, eax
cmp r15d, r8d
cmovle r15d, r8d
xor r12d, r12d
mov rax, qword [rsp + 0x78]
lea rdx, [rbp + 0x18]
movd xmm9, r12d
movaps xmm2, xmm14
cvtdq2ps xmm9, xmm9
mov dword [rsp + 0x28], r15d
mov rcx, rax
mov edi, dword [rax + 0x20]
movaps xmm6, xmm9
addss xmm9, xmm11
divss xmm6, dword [0x18005d8f8]
divss xmm9, dword [0x18005d8f8]
addss xmm6, xmm6
addss xmm9, xmm9
mulss xmm6, dword [0x1800617a0]
mulss xmm9, dword [0x1800617a0]
subss xmm6, xmm15
addss xmm9, xmm15
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm9
call fcn.1800238b0
mov rax, qword [rsp + 0x78]
mov r9d, r14d
movss dword [rsp + 0x28], xmm10
mov rcx, rax
and dword [rsp + 0x20], 0
mov r8d, dword [rax + 0x78]
mov rdx, qword [rax + 0x80]
call fcn.18001ef60
mov rax, qword [rsp + 0x78]
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, xmm13
addss xmm8, dword [rbp + 0x18]
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm7, xmm0
movaps xmm0, xmm9
mulss xmm7, xmm13
addss xmm7, dword [rbp + 0x1c]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm6, xmm0
movaps xmm0, xmm9
mulss xmm6, xmm13
addss xmm6, dword [rbp + 0x18]
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov rax, qword [rsp + 0x78]
add rbx, 4
mulss xmm0, xmm13
mov edx, edi
mov rcx, rax
mov qword [rsp + 0x58], rbx
unpcklps xmm8, xmm7
mov ebx, dword [rbx]
movq r9, xmm8
addss xmm0, dword [rbp + 0x1c]
mov r8d, dword [rax + 0x20]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r13d
unpcklps xmm6, xmm0
movsd qword [rsp + 0x20], xmm6
call fcn.18002521c
add r12d, esi
mov r13d, ebx
mov rbx, qword [rsp + 0x58]
cmp r12d, 6
jl 0x18003cf2f
movss xmm6, dword [rbp - 8]
mulss xmm6, dword [0x18005d8e8]
mulss xmm6, dword [0x1800617a0]
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
addss xmm13, dword [rbp - 0x74]
movss xmm8, dword [rbp - 0x78]
movaps xmm2, xmm0
movaps xmm6, xmm0
mulss xmm1, xmm13
movss dword [rbp - 0x80], xmm13
mulss xmm2, dword [rbp - 0x80]
movss xmm13, dword [0x18005bb7c]
mulss xmm1, xmm13
mulss xmm2, xmm13
addss xmm1, dword [rbp + 0x18]
addss xmm2, dword [rbp + 0x1c]
movss dword [rbp + 0x38], xmm1
movss dword [rbp + 0x3c], xmm2
je 0x18003d0f6
mulss xmm8, dword [0x18005d8bc]
jmp 0x18003d0ff
mulss xmm8, dword [0x1800630a8]
mov r13, qword [rsp + 0x78]
movaps xmm1, xmm8
mov rcx, r13
call fcn.180026450
mov r14d, dword [rbp + 0x10]
lea rdx, [rbp + 0x38]
mov r9d, r14d
mov dword [rsp + 0x20], eax
movaps xmm2, xmm8
mov rcx, r13
mov ebx, eax
call fcn.18001de48
mov edi, dword [rbp + 0x28]
lea rdx, [rbp + 0x38]
movaps xmm2, xmm8
movss dword [rsp + 0x28], xmm11
addss xmm2, xmm11
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov rcx, r13
call fcn.18001dd64
mov r15d, dword [rsp + 0x70]
lea rdx, [rbp + 0x38]
movss dword [rsp + 0x28], xmm11
mov r9d, r15d
movaps xmm2, xmm8
mov dword [rsp + 0x20], ebx
mov rcx, r13
call fcn.18001dd64
movss xmm4, dword [rbp + 0x18]
lea rcx, [rbp]
movss xmm3, dword [rbp + 0x1c]
movaps xmm1, xmm7
mulss xmm1, dword [rbp + 0x58]
movaps xmm2, xmm7
mulss xmm2, dword [rbp + 0x60]
movaps xmm0, xmm6
mulss xmm0, dword [rbp + 0x5c]
subss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [rbp + 0x58]
addss xmm1, xmm4
movss dword [rbp + 0x30], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [rbp + 0x5c]
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [rbp + 0x64]
subss xmm2, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [rbp + 0x60]
addss xmm1, xmm3
addss xmm2, xmm4
movss dword [rbp + 0x34], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [rbp + 0x64]
movss dword [rbp + 0x50], xmm2
movaps xmm2, xmm7
mulss xmm2, dword [rbp + 0x68]
addss xmm1, xmm0
mulss xmm7, dword [rbp + 0x6c]
movaps xmm0, xmm6
mulss xmm0, dword [rbp + 0x6c]
mulss xmm6, dword [rbp + 0x68]
addss xmm1, xmm3
subss xmm2, xmm0
addss xmm7, xmm6
movss dword [rbp + 0x54], xmm1
addss xmm2, xmm4
addss xmm7, xmm3
movss dword [rbp + 0x70], xmm2
movss dword [rbp + 0x74], xmm7
call fcn.18000cd30
mov edx, 3
mov rcx, r13
mov r8d, edx
call fcn.1800241f0
mov rcx, qword [r13 + 0x50]
movzx eax, word [r13 + 0x34]
mov word [rcx], ax
add qword [r13 + 0x50], 2
mov rax, qword [r13 + 0x48]
lea r9, [rbp + 0x70]
movsd xmm0, qword [rbp + 0x30]
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x30]
movsd qword [rax], xmm0
mov rax, qword [r13 + 0x48]
movsd xmm1, qword [rbp]
movsd qword [rax + 8], xmm1
mov rax, qword [r13 + 0x48]
mov dword [rax + 0x10], r14d
add qword [r13 + 0x48], 0x14
add dword [r13 + 0x34], esi
mov rcx, qword [r13 + 0x50]
movzx eax, word [r13 + 0x34]
mov r14d, dword [rbp + 0x48]
mov word [rcx], ax
mov rax, qword [r13 + 0x48]
add qword [r13 + 0x50], 2
movsd xmm0, qword [rbp + 0x50]
movsd qword [rax], xmm0
mov rax, qword [r13 + 0x48]
movsd xmm1, qword [rbp]
movsd qword [rax + 8], xmm1
mov rax, qword [r13 + 0x48]
mov dword [rax + 0x10], r14d
add qword [r13 + 0x48], 0x14
mov rcx, qword [r13 + 0x50]
add dword [r13 + 0x34], esi
movzx eax, word [r13 + 0x34]
mov word [rcx], ax
mov rcx, r13
mov rax, qword [r13 + 0x48]
movsd xmm0, qword [rbp + 0x70]
add qword [r13 + 0x50], 2
movsd qword [rax], xmm0
mov rax, qword [r13 + 0x48]
movsd xmm1, qword [rbp]
movss xmm0, dword [0x18005da2c]
movss dword [rsp + 0x28], xmm0
movsd qword [rax + 8], xmm1
mov rax, qword [r13 + 0x48]
mov dword [rsp + 0x20], edi
mov dword [rax + 0x10], r15d
add qword [r13 + 0x48], 0x14
add dword [r13 + 0x34], esi
call fcn.1800210b8
movaps xmm0, xmm11
xorps xmm10, xmm10
subss xmm0, dword [rbp - 4]
comiss xmm10, xmm0
jbe 0x18003d33a
xorps xmm3, xmm3
jmp 0x18003d342
movaps xmm3, xmm11
minss xmm3, xmm0
comiss xmm10, dword [rbp - 0x38]
jbe 0x18003d34e
xorps xmm1, xmm1
jmp 0x18003d357
movaps xmm1, xmm11
minss xmm1, dword [rbp - 0x38]
movss xmm0, dword [rbp + 0x30]
mov r8d, 4
subss xmm0, dword [rbp + 0x70]
movss xmm2, dword [rbp + 0x34]
subss xmm2, dword [rbp + 0x74]
movss xmm15, dword [0x18005d8f4]
mov r15, qword [rbp - 0x70]
mov r13, qword [rbp - 0x18]
mov r12b, byte [rsp + 0x50]
mulss xmm0, xmm1
mulss xmm2, xmm1
addss xmm0, dword [rbp + 0x70]
movss xmm1, dword [rbp + 0x50]
addss xmm2, dword [rbp + 0x74]
subss xmm1, xmm0
mulss xmm1, xmm3
addss xmm1, xmm0
movss xmm0, dword [rbp + 0x54]
subss xmm0, xmm2
movss dword [rbp + 0x20], xmm1
mulss xmm0, xmm3
addss xmm0, xmm2
movss dword [rbp + 0x24], xmm0
mov rbx, qword [rsp + 0x78]
movss xmm9, dword [rsp + 0x6c]
movaps xmm0, xmmword [0x18005bbc0]
lea rcx, [rbp - 0x18]
neg byte [rsp + 0x51]
movups xmmword [rbp - 0x18], xmm0
sbb eax, eax
and eax, 2
add eax, r8d
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call fcn.18000a2cc
lea rdx, [rbp - 0x70]
mov r9d, eax
mov rcx, rbx
movss xmm0, dword [rbp + 0x20]
movaps xmm2, xmm6
addss xmm0, xmm10
movss dword [rsp + 0x28], xmm11
and dword [rsp + 0x20], 0
movss dword [rbp - 0x70], xmm0
movss xmm0, dword [rbp + 0x24]
addss xmm0, xmm11
movss dword [rbp - 0x6c], xmm0
call fcn.18001dd64
mov r9d, dword [rsp + 0x70]
lea rdx, [rbp + 0x20]
movss dword [rsp + 0x28], xmm11
movaps xmm2, xmm6
and dword [rsp + 0x20], 0
mov rcx, rbx
call fcn.18001dd64
cmp dword [rbp - 0x7c], 0x10000
jne 0x18003dae8
comiss xmm10, dword [r15 + 0xc]
jbe 0x18003d907
movaps xmm6, xmm10
jmp 0x18003d911
bt ebx, 0x19
jae 0x18003d3c5
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000cbc4
mov ecx, dword [rsp + 0x70]
lea r8, [rsp + 0x58]
mov edx, dword [rbp + 0x10]
mov r15d, 0xf0
movss xmm0, dword [rbp - 0x30]
mov r9d, eax
movss xmm1, dword [rbp - 0x2c]
addss xmm0, xmm12
movss xmm6, dword [0x18005bb84]
addss xmm1, xmm12
mov rbx, qword [rsp + 0x78]
mov dword [rsp + 0x48], r15d
movss dword [rsp + 0x40], xmm6
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edx
lea rdx, [rbp - 0x30]
mov dword [rsp + 0x20], ecx
mov rcx, rbx
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.18002004c
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000cbc4
movss xmm0, dword [rbp - 0x30]
lea r8, [rsp + 0x58]
movss xmm1, dword [rbp - 0x2c]
addss xmm0, xmm12
mov dword [rsp + 0x48], r15d
addss xmm1, xmm12
movss dword [rsp + 0x40], xmm6
lea rdx, [rbp - 0x30]
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 [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.18002004c
movss xmm3, dword [rbp - 0x2c]
movaps xmm2, xmm6
movss xmm0, dword [rbp - 0x30]
movaps xmm1, xmm3
addss xmm1, xmm12
addss xmm0, xmm12
unpcklps xmm0, xmm1
movss xmm1, dword [rbp - 0x30]
movq rdx, xmm0
unpcklps xmm1, xmm3
movq rcx, xmm1
movsd qword [rbp - 0x30], xmm1
call fcn.180015f20
comiss xmm10, dword [rbp - 0x38]
jbe 0x18003d59d
movaps xmm1, xmm10
jmp 0x18003d5a6
movaps xmm1, xmm11
minss xmm1, dword [rbp - 0x38]
movss xmm0, dword [rbp - 0x30]
movss xmm8, dword [0x18005d8e8]
movaps xmm2, xmm0
movaps xmm3, xmm0
mulss xmm1, xmm12
addss xmm3, xmm8
addss xmm2, xmm12
addss xmm1, xmm0
subss xmm2, xmm8
addss xmm1, xmm13
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm3, xmm0
jbe 0x18003d5ee
movss dword [rbp + 0x20], xmm3
jmp 0x18003d5ff
comiss xmm0, xmm2
jbe 0x18003d5fa
movss dword [rbp + 0x20], xmm2
jmp 0x18003d5ff
movss dword [rbp + 0x20], xmm0
movaps xmm0, xmm11
subss xmm0, dword [rbp - 4]
comiss xmm10, xmm0
jbe 0x18003d614
movaps xmm1, xmm10
jmp 0x18003d61c
movaps xmm1, xmm11
minss xmm1, xmm0
movss xmm0, dword [rbp - 0x2c]
movaps xmm2, xmm0
mulss xmm1, xmm12
movaps xmm3, xmm0
addss xmm2, xmm12
addss xmm3, xmm8
addss xmm1, xmm0
subss xmm2, xmm8
addss xmm1, xmm13
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm3, xmm0
jbe 0x18003d65b
movss dword [rbp + 0x24], xmm3
jmp 0x18003d66c
comiss xmm0, xmm2
jbe 0x18003d667
movss dword [rbp + 0x24], xmm2
jmp 0x18003d66c
movss dword [rbp + 0x24], xmm0
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000cbc4
movss xmm9, dword [0x18005d8f8]
lea r8, [rsp + 0x58]
mov r14d, dword [rbp - 0x58]
lea rdx, [rbp]
movaps xmm6, xmm12
mov dword [rsp + 0x48], 0x30
divss xmm6, xmm9
mov r9d, eax
mov rcx, rbx
movaps xmm7, xmm14
movss dword [rbp], xmm14
addss xmm7, dword [rsp + 0x6c]
movaps xmm0, xmm6
movaps xmm1, xmm6
addss xmm0, dword [rbp - 0x2c]
mulss xmm1, xmm10
movss dword [rsp + 0x58], xmm7
addss xmm1, dword [rbp - 0x2c]
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [0x18005bb84]
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 + 4], xmm1
call fcn.18002004c
lea r15, [rbp - 0x54]
mov r12, rbx
mov r9d, edi
movss dword [rsp + 0x58], xmm7
lea ebx, [rsi + 1]
movss dword [rbp], xmm14
movd xmm0, ebx
lea r8, [rsp + 0x58]
cvtdq2ps xmm0, xmm0
add r15, 4
lea rdx, [rbp]
mov rcx, r12
mov edi, dword [r15]
mulss xmm0, xmm6
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r9d
addss xmm0, dword [rbp - 0x2c]
movss dword [rsp + 0x5c], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
addss xmm0, dword [rbp - 0x2c]
movss dword [rbp + 4], xmm0
call fcn.18001fe6c
mov esi, ebx
cmp ebx, 5
jl 0x18003d709
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000cbc4
mov ecx, dword [rbp + 0x50]
lea r8, [rsp + 0x58]
mov dword [rsp + 0x48], 0xc0
lea rdx, [rbp]
movaps xmm0, xmm14
movss dword [rbp], xmm14
addss xmm0, dword [rsp + 0x6c]
movaps xmm1, xmm12
mov rbx, r12
divss xmm1, xmm9
mov r9d, eax
movss dword [rsp + 0x58], xmm0
movaps xmm0, xmm12
divss xmm0, xmm9
mulss xmm1, xmm9
mulss xmm0, xmm15
addss xmm1, dword [rbp - 0x2c]
addss xmm0, dword [rbp - 0x2c]
movss dword [rsp + 0x5c], xmm1
movss dword [rbp + 4], xmm0
movss xmm0, dword [0x18005bb84]
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
call fcn.18002004c
movss xmm4, dword [rbp - 0x2c]
movaps xmm3, xmm14
movss xmm0, dword [rbp - 8]
movaps xmm1, xmm4
movss xmm9, dword [rsp + 0x6c]
addss xmm1, xmm12
mulss xmm0, xmm12
addss xmm3, xmm9
movaps xmm2, xmm10
addss xmm0, xmm4
unpcklps xmm3, xmm1
movaps xmm1, xmm14
unpcklps xmm1, xmm4
movq rdx, xmm3
movq rcx, xmm1
addss xmm0, xmm13
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
call fcn.180015f20
movss xmm6, dword [r13 + 0x37f4]
subss xmm14, xmm11
movss dword [rbp + 0x3c], xmm7
movss dword [rbp + 0x38], xmm14
call fcn.18000d68c
lea rcx, [rbp - 0x18]
movss xmm0, dword [rax]
and dword [rbp - 0x18], 0
and dword [rbp - 0x14], 0
and dword [rbp - 0x10], 0
mulss xmm0, xmm6
movss dword [rbp - 0xc], xmm0
call fcn.18000a2cc
movaps xmm0, xmm9
movss dword [rsp + 0x30], xmm11
and dword [rsp + 0x28], 0
addss xmm0, xmm8
mov r9d, eax
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x38]
mov rcx, rbx
addss xmm0, dword [rbp + 0x38]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rbp + 0x3c]
addss xmm0, xmm15
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [0x18005bb88]
movss dword [rsp + 0x20], xmm0
call fcn.18001fcb8
mov r15, qword [rbp - 0x70]
mov r12b, byte [rsp + 0x50]
mov r8d, 4
jmp 0x18003d3d1
movaps xmm6, xmm11
minss xmm6, dword [r15 + 0xc]
movss xmm1, dword [rbp - 0x30]
lea rcx, [rbp - 0x70]
movaps xmm2, xmm1
movaps xmm3, xmm12
addss xmm3, dword [r13 + 0x384c]
addss xmm1, xmm10
addss xmm2, xmm12
movaps xmm0, xmm3
addss xmm3, dword [rbp - 0x2c]
addss xmm0, xmm9
movss dword [rbp - 0x18], xmm1
movss xmm1, dword [r15 + 4]
movss dword [rbp - 0x6c], xmm1
movss xmm1, dword [r13 + 0x37f4]
movss dword [rbp - 0x14], xmm3
addss xmm0, dword [rbp - 0x2c]
movss dword [rbp - 0x10], xmm2
movss dword [rbp - 0x64], xmm1
movss dword [rbp - 0xc], xmm0
movss xmm0, dword [r15]
movss dword [rbp - 0x70], xmm0
movss xmm0, dword [r15 + 8]
movss dword [rbp - 0x68], xmm0
call fcn.18000a2cc
movss xmm1, dword [r15 + 4]
lea rcx, [rsp + 0x58]
movss xmm0, dword [r15]
mov r14d, eax
movss dword [rsp + 0x5c], xmm1
movss xmm1, dword [r13 + 0x37f4]
mulss xmm1, xmm10
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [r15 + 8]
movss dword [rsp + 0x64], xmm1
movss dword [rsp + 0x60], xmm0
call fcn.18000a2cc
movss xmm1, dword [r15 + 4]
lea rcx, [rbp]
movss xmm0, dword [r15]
mov esi, eax
movss dword [rbp + 4], xmm1
movss xmm1, dword [r13 + 0x37f4]
mulss xmm1, xmm10
movss dword [rbp], xmm0
movss xmm0, dword [r15 + 8]
movss dword [rbp + 0xc], xmm1
movss dword [rbp + 8], xmm0
call fcn.18000a2cc
movss xmm0, dword [r15]
lea rcx, [rbp + 0x38]
movss xmm1, dword [r15 + 4]
mov edi, eax
movss dword [rbp + 0x38], xmm0
movss xmm0, dword [r15 + 8]
movss dword [rbp + 0x3c], xmm1
movss xmm1, dword [r13 + 0x37f4]
movss dword [rbp + 0x40], xmm0
movss dword [rbp + 0x44], xmm1
call fcn.18000a2cc
movaps xmm1, xmm11
mov ecx, 2
mov ebx, eax
call fcn.18000cbc4
movss xmm0, dword [0x18005bb84]
lea r8, [rbp - 0x10]
mov rcx, qword [rsp + 0x78]
lea rdx, [rbp - 0x18]
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.18002004c
movaps xmm0, xmm11
subss xmm0, xmm6
mulss xmm0, xmm12
addss xmm0, dword [rbp - 0x30]
addss xmm0, xmm13
cvttss2si eax, xmm0
movss xmm1, dword [rbp - 0x14]
lea rcx, [0x1800d2900]
movss xmm2, dword [r13 + 0x37f4]
movaps xmm3, xmm15
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x20], xmm9
subss xmm0, xmm11
unpcklps xmm0, xmm1
movq rdx, xmm0
call fcn.1800032e4
call fcn.18000b618
test r12b, r12b
je 0x18003db30
neg dword [rsp + 0x74]
lea rcx, [rbp + 0x88]
mov rdx, r15
sbb r8, r8
and r8, 0xfffffffffffffffc
add r8, 0x10
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18003db19
xor r12b, r12b
jmp 0x18003db30
mov ecx, dword [r13 + 0x4764]
mov bl, byte [rsp + 0x68]
mov r12b, bl
test ecx, ecx
je 0x18003db30
call fcn.180010858
cmp dword [rbp - 0x60], 0
jne 0x18003db3e
and dword [r13 + 0x5b00], 0
call fcn.180014ef8
mov al, r12b
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.180058430
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