Function at 0x18003c2d8
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 [0x180123548]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r15, qword [0x180123d18]
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 0x18003c396
xor al, al
jmp 0x18003e04d
mov rax, qword [r14 + 0x298]
mov qword [rsp + 0x60], rax
call fcn.1800099a0
and dword [r15 + 0x4750], 0
mov rcx, rdi
movaps xmm6, xmm0
call fcn.180015bdc
mov eax, dword [r15 + 0x5b00]
mov dword [rbp - 0x68], eax
test eax, eax
jne 0x18003c3e1
movsxd rcx, dword [r14 + 0xf0]
mov rax, qword [r14 + 0xf8]
mov ecx, dword [rax + rcx*4 - 4]
mov dword [r15 + 0x5b00], ecx
call fcn.180009294
mov edi, ebx
or edi, 0x10
bt ebx, 8
cmovb edi, ebx
test dil, 8
jne 0x18003c402
mov edx, edi
mov rcx, r13
call fcn.18003e0b0
mov edx, 0x6000000
mov ecx, 0xa900000
test edx, edi
jne 0x18003c424
mov eax, dword [r15 + 0x5afc]
mov ebx, ecx
test edx, eax
cmovne ebx, eax
and ebx, edx
or ebx, edi
jmp 0x18003c426
mov ebx, edi
mov edx, 0x18000000
test edx, ebx
jne 0x18003c43f
mov eax, dword [r15 + 0x5afc]
test edx, eax
cmovne ecx, eax
and ecx, edx
or ebx, ecx
test bl, 8
jne 0x18003c452
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.18000d6bc
movss xmm3, dword [r15 + 0x3848]
lea rcx, [rbp + 0x90]
movss xmm9, dword [rbp - 0x28]
xor eax, eax
movaps xmm8, xmm0
movss dword [rsp + 0x78], xmm0
subss xmm8, dword [0x18009cf74]
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 [0x18009cf6c]
movaps xmm6, xmm12
and dword [rbp + 0x44], 0
movaps xmm0, xmm12
mulss xmm0, dword [0x18009cf64]
movaps xmm1, xmm12
mulss xmm1, dword [0x1800a485c]
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 xmm0, xmm2
movss dword [rbp + 0x40], xmm2
mulss xmm0, dword [0x1800a48d4]
movaps xmm1, xmm2
mulss xmm1, dword [0x1800a48cc]
mulss xmm2, dword [0x1800a4878]
movss dword [rbp + 0x4c], xmm0
movss xmm0, dword [r13]
movss dword [rbp + 0x48], xmm1
movss dword [rbp + 0x50], xmm1
movss dword [rbp + 0x54], xmm2
movss xmm1, dword [r13 + 4]
mov eax, ebx
movss xmm2, dword [r13 + 8]
and eax, 0x8000000
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 0x18003c640
lea rax, [rbp - 4]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 8]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.18000adcc
lea r9, [rbp - 4]
mov rcx, r13
lea r8, [rbp - 0x30]
lea rdx, [rbp - 8]
call fcn.18003c204
jmp 0x18003c661
bt ebx, 0x1c
jae 0x18003c661
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
call fcn.18000ac80
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.180015c58
movss xmm11, dword [0x18009cf70]
mov eax, ebx
and eax, 0x4000000
mov dword [rbp + 0x68], eax
je 0x18003c934
movaps xmm0, xmm12
movss dword [rbp - 0xc], xmm12
addss xmm0, dword [r15 + 0x3848]
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [0x1800a4698]
addss xmm0, xmm8
movss dword [rbp - 0x10], xmm0
call fcn.180042e5c
call fcn.18000fdfc
test al, al
je 0x18003c918
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 0x18003c786
movaps xmm0, xmm6
addss xmm0, xmm11
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x18003c786
movaps xmm1, xmm7
movaps xmm0, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm6, xmm0
divss xmm6, dword [0x1800a2b98]
mulss xmm6, xmm13
comiss xmm10, xmm6
movss dword [rbp - 8], xmm6
jbe 0x18003c77c
addss xmm6, xmm11
movss dword [rbp - 8], xmm6
mov r12b, sil
mov byte [rsp + 0x50], sil
jmp 0x18003c78b
movss xmm6, dword [rbp - 8]
xorps xmm6, xmmword [0x18009ed50]
mov dil, r12b
addss xmm6, xmm6
mulss xmm6, dword [0x1800a2b98]
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.18000f9fc
test al, al
je 0x18003c8fd
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.18000f9fc
test al, al
jne 0x18003c878
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.18000f8f8
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.18000f830
movss xmm0, dword [0x18009ee20]
movaps xmm2, xmm11
subss xmm2, dword [rbp + 0x3c]
comiss xmm0, xmm2
jbe 0x18003c8c3
movaps xmm1, xmm0
jmp 0x18003c8cb
movaps xmm1, xmm11
minss xmm1, xmm2
movss xmm2, dword [rbp + 0x38]
divss xmm2, xmm1
movss dword [rbp - 4], xmm1
comiss xmm0, xmm2
ja 0x18003c8e6
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 xmm8, dword [rsp + 0x58]
movss xmm15, dword [rsp + 0x68]
movss xmm9, dword [rsp + 0x7c]
movss xmm7, dword [rsp + 0x78]
test bl, 8
jne 0x18003cac7
mov edx, esi
lea rcx, str.context
call fcn.1800156bc
jmp 0x18003cac7
bt ebx, 0x19
jae 0x18003cac7
xor r8d, r8d
movss dword [rbp - 0x10], xmm12
lea rdx, [rbp - 0x10]
movss dword [rbp - 0xc], xmm12
lea rcx, [0x1800a469c]
call fcn.180042e5c
movaps xmm6, xmm12
subss xmm6, xmm11
call fcn.18000fdfc
test al, al
je 0x18003ca2f
movss xmm0, dword [r15 + 0xe08]
subss xmm0, dword [rbp - 0x28]
divss xmm0, xmm6
comiss xmm10, xmm0
jbe 0x18003c990
xorps xmm1, xmm1
jmp 0x18003c998
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 0x18003c9ba
xorps xmm1, xmm1
jmp 0x18003c9c2
movaps xmm1, xmm11
minss xmm1, xmm0
mov rdi, qword [0x180123d18]
movaps xmm0, xmm11
subss xmm0, xmm1
movss dword [rbp - 4], xmm0
mov eax, dword [rdi + 0x5b00]
cmp dword [rdi + 0x5b04], eax
jne 0x18003ca27
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.18000abe0
cmp dword [rdi + 0x5b10], eax
jne 0x18003ca27
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 0x18003ca45
mov edx, esi
lea rcx, str.context
call fcn.1800156bc
movss xmm0, dword [rbp - 0x24]
lea rcx, [rbp - 0x10]
movss dword [rbp - 0xc], xmm0
movss dword [rbp - 0x10], xmm15
call fcn.180018bcc
xor r8d, r8d
movss dword [rbp - 0x10], xmm8
lea rdx, [rbp - 0x10]
movss dword [rbp - 0xc], xmm12
lea rcx, [0x1800a46a0]
call fcn.180042e5c
mov byte [rsp + 0x51], r12b
call fcn.18000fdfc
test al, al
je 0x18003cac7
movss xmm0, dword [r15 + 0xe0c]
subss xmm0, dword [rbp - 0x24]
divss xmm0, xmm6
comiss xmm10, xmm0
jbe 0x18003caa8
xorps xmm1, xmm1
jmp 0x18003cab0
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 0x18003cb68
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.180018bcc
xor r8d, r8d
movss dword [rbp - 0x10], xmm12
lea rdx, [rbp - 0x10]
movss dword [rbp - 0xc], xmm8
lea rcx, str.alpha
call fcn.180042e5c
call fcn.18000fdfc
test al, al
je 0x18003cb68
movss xmm1, dword [r15 + 0xe08]
movaps xmm0, xmm12
subss xmm1, dword [rbp - 0x28]
subss xmm0, xmm11
divss xmm1, xmm0
comiss xmm10, xmm1
jbe 0x18003cb4a
xorps xmm2, xmm2
jmp 0x18003cb52
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.180015868
mov edi, ebx
and edi, 0x100
jne 0x18003cb8d
movss xmm1, dword [r15 + 0x3848]
xorps xmm0, xmm0
call fcn.1800180d0
call fcn.180009294
mov r14d, ebx
and r14d, 0x80
jne 0x18003cbd6
mov rcx, qword [rbp]
xor edx, edx
call fcn.18000cc7c
mov qword [rbp - 0x10], rax
cmp qword [rbp], rax
je 0x18003cbd6
test edi, edi
je 0x18003cbc7
movss xmm1, dword [r15 + 0x3848]
xorps xmm0, xmm0
call fcn.1800180d0
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp]
xor r8d, r8d
mov rdx, rax
call fcn.1800458e8
movss xmm14, dword [0x18009eca8]
test edi, edi
jne 0x18003cd0b
mov dl, sil
lea ecx, [rdi + 0x10]
call fcn.180015c58
cmp dword [rsp + 0x6c], edi
je 0x18003cbfe
movaps xmm2, xmm11
jmp 0x18003cc04
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 0x18003cc3b
lea rcx, str.Current
call fcn.180045860
movaps xmm6, xmm7
lea r9, [rbp]
mulss xmm6, dword [0x18009cf74]
lea rdx, [rbp + 0x10]
lea rcx, str.current
mov edi, ebx
mulss xmm7, xmm14
and edi, 0x180e0040
mov r8d, edi
movss dword [rbp], xmm6
movss dword [rbp + 4], xmm7
call fcn.18003a8d0
mov r14, qword [rbp + 0x70]
test r14, r14
je 0x18003cd01
lea rcx, str.Original
call fcn.180045860
cmp dword [rsp + 0x6c], 0
je 0x18003cc9a
movaps xmm2, xmm11
jmp 0x18003cca0
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.18003a8d0
test al, al
je 0x18003cd01
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.180015868
call fcn.18000bf24
comiss xmm10, dword [r13]
jbe 0x18003cd17
xorps xmm0, xmm0
jmp 0x18003cd21
movaps xmm0, xmm11
minss xmm0, dword [r13]
movss xmm8, dword [0x18009cf9c]
lea rdi, [r13 + 4]
comiss xmm10, dword [rdi]
mulss xmm0, xmm8
addss xmm0, xmm13
cvttss2si r9d, xmm0
jbe 0x18003cd48
xorps xmm0, xmm0
jmp 0x18003cd50
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 0x18003cd6d
xorps xmm0, xmm0
jmp 0x18003cd76
movaps xmm0, xmm11
minss xmm0, dword [r14]
cmp dword [rsp + 0x6c], 0
mulss xmm0, xmm8
addss xmm0, xmm13
cvttss2si ecx, xmm0
jne 0x18003cdd5
comiss xmm10, dword [r13 + 0xc]
jbe 0x18003cd97
xorps xmm0, xmm0
jmp 0x18003cda1
movaps xmm0, xmm11
minss xmm0, dword [r13 + 0xc]
mulss xmm0, xmm8
lea r8, [0x1800a4630]
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.18000e6b8
jmp 0x18003cdf5
mov dword [rsp + 0x28], ecx
lea r8, [0x1800a4648]
mov dword [rsp + 0x20], edx
lea rcx, [rbp + 0xa0]
mov edx, 0x40
call fcn.18000e6b8
lea rdx, [rbp]
mov dword [rbp], 0x40400000
mov ecx, reloc.WS2_32.dll_ntohl
mov dword [rbp + 4], 0x41000000
call fcn.180015ea0
movss xmm7, dword [0x18009cfa8]
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.180009ca8
movss xmm1, dword [rbp + 0x20]
lea rdx, [rbp]
and dword [rbp + 4], 0
lea rcx, str.Copy
mulss xmm6, xmm13
xor r8d, r8d
movss xmm0, dword [rax]
mulss xmm0, xmm13
subss xmm1, xmm6
subss xmm1, xmm0
subss xmm1, dword [0x18009cf78]
movss dword [rbp], xmm1
call fcn.180039b50
test al, al
je 0x18003ce94
mov r8, qword [rbp - 0x70]
lea rcx, [0x180123a08]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
movaps xmm1, xmm7
xorps xmm0, xmm0
call fcn.1800180d0
and dword [rbp], 0
lea rdx, [rbp]
and dword [rbp + 4], 0
lea rcx, [rbp + 0xa0]
xor r8d, r8d
call fcn.180039b50
test al, al
je 0x18003cf21
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x18003cf21
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rax, [rbp + 0xa0]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x18003cedb
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 0x18003cf03
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.1800180d0
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.180009ca8
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, dword [0x18009cf78]
movss dword [rbp], xmm1
call fcn.180039b50
test al, al
je 0x18003cfb3
mov r8, qword [rbp - 0x70]
lea rdx, [0x180123a08]
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
mov r12b, sil
mov byte [rsp + 0x50], sil
mov ecx, esi
call fcn.18001592c
cmp byte [rsp + 0x52], 0
jne 0x18003cfcc
cmp byte [rsp + 0x51], 0
je 0x18003d076
cmp dword [rsp + 0x54], 0
je 0x18003d052
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.18000ac80
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.18000abe0
mov dword [r15 + 0x5b10], eax
jmp 0x18003d076
bt ebx, 0x1c
jae 0x18003d076
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 0x18003d217
cmp dword [rsp + 0x74], 0x10000
je 0x18003d092
movaps xmm9, xmm15
movss xmm6, dword [rsp + 0x58]
addss xmm9, xmm6
subss xmm9, dword [rbp - 0x28]
movaps xmm0, xmm9
call fcn.180015cd4
mov r14d, ebx
mov edi, ebx
and r14d, 0x198e001a
bt ebx, 0x14
jb 0x18003d0c8
and edi, 0x700000
jne 0x18003d111
jmp 0x18003d0ce
and edi, 0x700000
mov r8d, r14d
lea rcx, str.rgb
or r8d, 0x100004
mov rdx, r13
call fcn.18003ae58
test al, al
je 0x18003d111
cmp dword [r15 + 0x3f28], 0
je 0x18003d104
cmp byte [r15 + 0x3f35], 0
mov byte [rsp + 0x53], sil
je 0x18003d109
mov byte [rsp + 0x53], 0
mov r12b, sil
mov byte [rsp + 0x50], sil
bt ebx, 0x15
jb 0x18003d11b
test edi, edi
jne 0x18003d13c
mov r8d, r14d
lea rcx, str.hsv
or r8d, 0x200004
mov rdx, r13
call fcn.18003ae58
or r12b, al
mov byte [rsp + 0x50], r12b
bt ebx, 0x16
jb 0x18003d146
test edi, edi
jne 0x18003d167
or r14d, 0x400004
lea rcx, str.hex
mov r8d, r14d
mov rdx, r13
call fcn.18003ae58
or r12b, al
mov byte [rsp + 0x50], r12b
call fcn.180015894
cmp byte [rsp + 0x53], 0
lea r14, [r13 + 8]
mov eax, dword [rsp + 0x54]
lea rdi, [r13 + 4]
je 0x18003d221
test eax, eax
je 0x18003d221
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.18000adcc
comiss xmm10, dword [rbp + 0x38]
jb 0x18003d21d
movss xmm0, dword [rbp - 8]
comiss xmm0, xmm10
jbe 0x18003d21d
movss xmm0, dword [rbp + 0x3c]
comiss xmm10, xmm0
jb 0x18003d201
movss xmm2, dword [rbp - 4]
ucomiss xmm2, xmm0
jp 0x18003d1de
je 0x18003d201
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.18000ac80
jmp 0x18003d21d
comiss xmm10, dword [rbp + 0x20]
jb 0x18003d21d
movss xmm1, dword [rbp - 0x30]
movaps xmm2, xmm0
mulss xmm1, xmm13
jmp 0x18003d1e8
movss xmm6, dword [rsp + 0x58]
mov eax, dword [rsp + 0x54]
mov byte [rsp + 0x53], r12b
test r12b, r12b
je 0x18003d2c1
test eax, eax
je 0x18003d282
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.18000adcc
lea r9, [rbp - 4]
mov rcx, r13
lea r8, [rbp - 0x30]
lea rdx, [rbp - 8]
call fcn.18003c204
jmp 0x18003d2c1
bt ebx, 0x1c
jae 0x18003d2c1
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.18000ac80
movss xmm1, dword [r15 + 0x37f4]
comiss xmm10, xmm1
jbe 0x18003d2d6
movaps xmm0, xmm10
jmp 0x18003d2de
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.18000ac80
lea rcx, [rbp + 0x80]
call fcn.18000abe0
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.18000abe0
and dword [rbp + 0x30], 0
mov r8d, 4
and dword [rbp + 0x34], 0
cmp dword [rbp + 0x68], 0
movss xmm9, dword [0x18009ecb4]
je 0x18003d9c7
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 [0x18009ecb8]
divss xmm9, dword [0x18009ecb8]
addss xmm6, xmm6
addss xmm9, xmm9
mulss xmm6, dword [0x1800a2b98]
mulss xmm9, dword [0x1800a2b98]
subss xmm6, xmm15
addss xmm9, xmm15
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm9
call fcn.18002434c
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.18001f95c
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.180025cb8
add r12d, esi
mov r15d, ebx
mov rbx, qword [rbp + 0x70]
cmp r12d, 6
jl 0x18003d46c
movss xmm6, dword [rbp - 8]
mulss xmm6, dword [0x18009eca8]
mulss xmm6, dword [0x1800a2b98]
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 [0x18009cf6c]
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 0x18003d62c
mulss xmm8, dword [0x18009ec7c]
jmp 0x18003d635
mulss xmm8, dword [0x1800a4870]
mov r12, qword [rsp + 0x60]
movaps xmm1, xmm8
mov rcx, r12
call fcn.18002695c
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.18001e820
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.18001e73c
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.18001e73c
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.18000d680
mov edx, 3
mov rcx, r12
mov r8d, edx
call fcn.180024c8c
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 [0x18009ee34]
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.180021b2c
movaps xmm0, xmm11
xorps xmm10, xmm10
subss xmm0, dword [rbp - 4]
comiss xmm10, xmm0
jbe 0x18003d886
xorps xmm3, xmm3
jmp 0x18003d88e
movaps xmm3, xmm11
minss xmm3, xmm0
comiss xmm10, dword [rbp - 0x30]
jbe 0x18003d89a
xorps xmm1, xmm1
jmp 0x18003d8a3
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 xmm9, dword [0x18009ecb4]
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 [0x18009cfb0]
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.18000abe0
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.18001e73c
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.18001e73c
cmp dword [rsp + 0x74], 0x10000
jne 0x18003dffa
comiss xmm10, dword [r13 + 0xc]
jbe 0x18003de22
movaps xmm6, xmm10
jmp 0x18003de2c
bt ebx, 0x19
jae 0x18003d917
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000d514
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 [0x18009cf74]
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.180020aa4
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000d514
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.180020aa4
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.180016880
comiss xmm10, dword [rbp - 0x30]
jbe 0x18003daec
movaps xmm1, xmm10
jmp 0x18003daf5
movaps xmm1, xmm11
minss xmm1, dword [rbp - 0x30]
movss xmm0, dword [rbp - 0x28]
movaps xmm2, xmm0
mulss xmm1, xmm12
movaps xmm3, xmm0
addss xmm2, xmm12
addss xmm3, xmm14
addss xmm1, xmm0
subss xmm2, xmm14
addss xmm1, xmm13
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm3, xmm0
jbe 0x18003db34
movss dword [rbp + 0x30], xmm3
jmp 0x18003db45
comiss xmm0, xmm2
jbe 0x18003db40
movss dword [rbp + 0x30], xmm2
jmp 0x18003db45
movss dword [rbp + 0x30], xmm0
movaps xmm0, xmm11
subss xmm0, dword [rbp - 4]
comiss xmm10, xmm0
jbe 0x18003db5a
movaps xmm1, xmm10
jmp 0x18003db62
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, xmm14
addss xmm1, xmm0
subss xmm2, xmm14
addss xmm1, xmm13
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm3, xmm0
jbe 0x18003dba1
movss dword [rbp + 0x34], xmm3
jmp 0x18003dbb2
comiss xmm0, xmm2
jbe 0x18003dbad
movss dword [rbp + 0x34], xmm2
jmp 0x18003dbb2
movss dword [rbp + 0x34], xmm0
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000d514
movss xmm7, dword [0x18009ecb8]
lea r8, [rbp]
mov r14d, dword [rbp - 0x50]
lea rdx, [rbp - 0x10]
mov dword [rsp + 0x48], Ordinal_50
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 [0x18009cf74]
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.180020aa4
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.1800208c4
mov esi, ebx
cmp ebx, 5
jl 0x18003dc4a
movaps xmm1, xmm11
mov ecx, 2
call fcn.18000d514
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, xmm9
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 [0x18009cf74]
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.180020aa4
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.180016880
movss xmm6, dword [r15 + 0x37f4]
subss xmm15, xmm11
movss dword [rbp - 0xc], xmm7
movss dword [rbp - 0x10], xmm15
call fcn.18000dfdc
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.18000abe0
movss xmm7, dword [rsp + 0x58]
lea r8, [rbp]
movaps xmm0, xmm7
movss dword [rsp + 0x30], xmm11
and dword [rsp + 0x28], 0
addss xmm0, xmm14
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, xmm9
movss dword [rbp + 4], xmm0
movss xmm0, dword [0x18009cf78]
movss dword [rsp + 0x20], xmm0
call fcn.180020710
mov r13, qword [rbp - 0x80]
mov r8d, 4
mov r12b, byte [rsp + 0x50]
jmp 0x18003d922
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.18000abe0
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.18000abe0
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.18000abe0
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.18000abe0
movaps xmm1, xmm11
mov ecx, 2
mov ebx, eax
call fcn.18000d514
movss xmm0, dword [0x18009cf74]
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.180020aa4
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, [0x1801238d0]
movaps xmm3, xmm9
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.180003b78
call fcn.18000bf24
test r12b, r12b
je 0x18003e037
mov r8, qword [rbp - 0x70]
lea rcx, [rbp + 0x90]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18003e020
xor r12b, r12b
jmp 0x18003e037
mov ecx, dword [r15 + 0x4764]
mov bl, byte [rsp + 0x53]
mov r12b, bl
test ecx, ecx
je 0x18003e037
call fcn.1800111bc
cmp dword [rbp - 0x68], 0
jne 0x18003e045
and dword [r15 + 0x5b00], 0
call fcn.180015850
mov al, r12b
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.180099760
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