Function at 0x18008fdb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3e8]
sub rsp, 0x4c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x1800c3040]
xor rax, rsp
mov qword [rbp + 0x318], rax
xor edi, edi
xorps xmm9, xmm9
movss xmm12, dword [0x1800af958]
cmp byte [0x180a4f175], dil
je 0x18008ff81
mov rax, qword [0x1800c4be0]
movsd xmm6, qword [rax + 0x3e20]
cvtpd2ps xmm6, xmm6
movaps xmm0, xmm6
addss xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm8, xmm0
mulss xmm8, xmm12
addss xmm8, xmm12
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
addsd xmm1, qword [0x1800af9f8]
cvtpd2ps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm7, xmm0
mulss xmm7, xmm12
addss xmm7, xmm12
addsd xmm6, qword [0x1800afa08]
cvtpd2ps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm12
addss xmm0, xmm12
movss dword [0x1800c3258], xmm8
movss dword [0x1800c325c], xmm7
movss dword [0x1800c3260], xmm0
mov dword [0x1800c3264], 0x3f800000
movss dword [0x1800c3248], xmm8
movss dword [0x1800c324c], xmm7
movss dword [0x1800c3250], xmm0
mov dword [0x1800c3254], 0x3f800000
movss dword [0x1800c3238], xmm8
movss dword [0x1800c323c], xmm7
movss dword [0x1800c3240], xmm0
mov dword [0x1800c3244], 0x3f800000
movss dword [0x1800c3290], xmm8
movss dword [0x1800c3294], xmm7
movss dword [0x1800c3298], xmm0
mov dword [0x1800c329c], 0x3f800000
movss dword [0x1800c32c0], xmm8
movss dword [0x1800c32c4], xmm7
movss dword [0x1800c32c8], xmm0
mov dword [0x1800c32cc], 0x3f800000
movss dword [0x1800c32b0], xmm8
movss dword [0x1800c32b4], xmm7
movss dword [0x1800c32b8], xmm0
mov dword [0x1800c32bc], 0x3f800000
cmp byte [0x180a4f170], dil
je 0x180091460
mov rax, qword [0x1800c49c0]
mov rcx, qword [rax]
test rcx, rcx
je 0x180091460
cmp qword [rcx + 8], rdi
je 0x180091460
mov rax, qword [0x1800c49d8]
mov rcx, qword [rax]
test rcx, rcx
je 0x180091460
cmp qword [rcx + 0x18], rdi
je 0x180091460
mov r14d, edi
mov dword [rbp - 0x78], edi
mov r15, rdi
mov qword [rbp + 0x38], rdi
movss xmm10, dword [0x1800b0620]
movsd xmm11, qword [0x1800af9e0]
nop word [rax + rax]
mov rax, qword [0x1800c49d8]
mov rcx, qword [rax]
test rcx, rcx
je 0x180090011
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x180090011
mov rdx, qword [rdx + 0x108]
jmp 0x180090014
mov rdx, rdi
movsxd rax, r14d
cmp rax, rdx
jae 0x180091460
test rcx, rcx
je 0x18009144d
mov rsi, qword [rcx + 0x18]
test rsi, rsi
je 0x18009144d
mov rsi, qword [rsi + 0x100]
test rsi, rsi
je 0x18009144d
mov rax, r15
add rax, rax
mov rsi, qword [rsi + rax*8]
test rsi, rsi
je 0x18009144d
mov rax, qword [0x1800c49c0]
mov rcx, qword [rax]
test rcx, rcx
je 0x180090072
cmp rsi, qword [rcx + 8]
je 0x18009144d
cmp byte [0x180a4f172], 0
je 0x180090089
comiss xmm9, dword [rsi + 0x280]
jae 0x18009144d
mov eax, dword [0x1800c49cc]
mov ecx, dword [rax + rsi]
test ecx, ecx
je 0x18009144d
and ecx, 0x1fc000
cmp byte [0x180a4f173], 0
jne 0x1800900b5
cmp ecx, 0x8000
jne 0x18009144d
movsd xmm0, qword [rsi + 0x90]
movsd qword [rbp + 0x130], xmm0
mov eax, dword [rsi + 0x98]
mov dword [rbp + 0x138], eax
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x48]
call fcn.18000d3d0
movss xmm2, dword [rbp + 0x48]
movss xmm0, dword [0x1800af934]
comiss xmm0, xmm2
ja 0x18009144d
movss xmm1, dword [rbp + 0x4c]
cvtps2pd xmm0, xmm1
movsd xmm3, qword [0x1800af9b8]
comisd xmm3, xmm0
ja 0x18009144d
mov rax, qword [0x1800c4be0]
comiss xmm2, dword [rax + 0x10]
ja 0x18009144d
comiss xmm1, dword [rax + 0x14]
ja 0x18009144d
mov rax, qword [0x1800c49c0]
mov rax, qword [rax]
test rax, rax
je 0x180090162
mov rax, qword [rax + 8]
test rax, rax
je 0x180090162
movsd xmm2, qword [rax + 0x90]
movss xmm4, dword [rax + 0x98]
movaps xmm3, xmm2
shufps xmm3, xmm3, 0x55
movsd qword [rbp - 0x60], xmm2
jmp 0x18009016e
movaps xmm3, xmm9
movaps xmm4, xmm9
movaps xmm2, xmm9
movsd xmm1, qword [rsi + 0x90]
subss xmm4, dword [rsi + 0x98]
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
subss xmm3, xmm0
movsd qword [rbp - 0x60], xmm1
subss xmm2, xmm1
mulss xmm2, xmm2
mulss xmm3, xmm3
addss xmm2, xmm3
mulss xmm4, xmm4
addss xmm2, xmm4
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x1800901b7
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x1800901bf
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movd xmm0, dword [0x1800c3278]
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
ja 0x18009144d
xorps xmm0, xmm0
movups xmmword [rbp + 0x2b8], xmm0
mov qword [rbp + 0x2c8], rdi
mov qword [rbp + 0x2d0], 0xf
mov byte [rbp + 0x2b8], 0
movups xmmword [rbp + 0x2f8], xmm0
mov r12, rdi
mov qword [rbp + 0x308], rdi
mov r13d, 0xf
mov qword [rbp + 0x310], r13
mov byte [rbp + 0x2f8], 0
movups xmmword [rbp + 0x278], xmm0
mov qword [rbp + 0x288], rdi
mov qword [rbp + 0x290], r13
mov byte [rbp + 0x278], 0
movsd xmm8, qword [rsi + 0x90]
movsd qword [rbp + 0x1d8], xmm8
movss dword [rbp + 0x80], xmm8
movss xmm6, dword [rbp + 0x1dc]
movss dword [rbp + 0x84], xmm6
movss xmm7, dword [rsi + 0x98]
movaps xmm0, xmm7
addss xmm0, dword [0x1800af980]
movss dword [rbp + 0x88], xmm0
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0xf0]
call fcn.18000d3d0
movss dword [rbp + 0x70], xmm8
movss dword [rbp + 0x74], xmm6
movaps xmm0, xmm7
subss xmm0, dword [0x1800af98c]
movss dword [rbp + 0x78], xmm0
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x1e8]
call fcn.18000d3d0
movss dword [rbp + 0x90], xmm8
movss dword [rbp + 0x94], xmm6
movaps xmm0, xmm7
subss xmm0, dword [0x1800af990]
movss dword [rbp + 0x98], xmm0
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x1f0]
call fcn.18000d3d0
movss dword [rbp + 0xa0], xmm8
movss dword [rbp + 0xa4], xmm6
subss xmm7, dword [0x1800af994]
movss dword [rbp + 0xa8], xmm7
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x1f8]
call fcn.18000d3d0
lea r8d, [r13 - 0xc]
mov rdx, rsi
lea rcx, [rbp + 0x200]
call fcn.18000d250
movsd xmm0, qword [rax]
movsd qword [rbp + 0x140], xmm0
mov eax, dword [rax + 8]
mov dword [rbp + 0x148], eax
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0xf8]
call fcn.18000d3d0
lea r8d, [r13 - 0xb]
mov rdx, rsi
lea rcx, [rbp + 0x20c]
call fcn.18000d250
movsd xmm0, qword [rax]
movsd qword [rbp + 0x150], xmm0
mov eax, dword [rax + 8]
mov dword [rbp + 0x158], eax
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x1d0]
call fcn.18000d3d0
movsd xmm0, qword [rsi + 0x90]
movsd qword [rbp + 0x160], xmm0
mov eax, dword [rsi + 0x98]
mov dword [rbp + 0x168], eax
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x28]
call fcn.18000d3d0
movss xmm14, dword [rbp + 0xf4]
movss xmm13, dword [rbp + 0xfc]
movss xmm15, dword [rbp + 0x1d4]
cmp byte [0x180a4f17a], 0
je 0x1800905d1
movaps xmm0, xmm15
addss xmm0, xmm13
mulss xmm0, xmm12
movaps xmm1, xmm14
subss xmm1, xmm0
andps xmm1, xmm10
cvtps2pd xmm0, xmm1
mulsd xmm0, xmm11
cvtpd2ps xmm8, xmm0
cvtps2pd xmm1, xmm8
divsd xmm1, qword [0x1800afa00]
cvtpd2ps xmm6, xmm1
movsd xmm0, qword [rsi + 0x90]
movsd qword [rbp + 0x170], xmm0
mov eax, dword [rsi + 0x98]
mov dword [rbp + 0x178], eax
lea rdx, [rbp + 0x170]
lea rcx, [rbp - 0x40]
call fcn.18000d3d0
movaps xmm0, xmm8
mulss xmm0, xmm12
movss xmm1, dword [rbp - 0x3c]
subss xmm1, xmm0
movaps xmm7, xmm6
mulss xmm7, xmm12
addss xmm7, dword [rbp - 0x40]
movss dword [rbp - 0x70], xmm7
movss dword [rbp - 0x6c], xmm1
addss xmm8, dword [0x1800afa28]
addss xmm8, xmm1
subss xmm7, xmm6
mov rdx, rsi
call fcn.18000d760
mov dword [rbp - 0x7c], 0x3f800000
movaps xmm0, xmmword [0x1800b0270]
lea r8, str.Background
xor edx, edx
movups xmmword [rbp - 0x60], xmm0
test al, al
mov rax, qword [0x1800c4be0]
mov rax, qword [rax + 0x48a8]
mov rcx, qword [rax]
je 0x18009050e
mov dword [rbp - 0x80], edx
mov dword [rsp + 0x70], 0x3f800000
movss dword [rbp - 0x38], xmm7
movss dword [rbp - 0x34], xmm8
call fcn.18003e230
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x7c]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x70]
lea r9, [0x1800c32a0]
lea r8, [rbp - 0x38]
jmp 0x18009054f
mov dword [rsp + 0x70], 0
mov dword [rbp - 0x80], 0x3f800000
movss dword [rbp - 0x30], xmm7
movss dword [rbp - 0x2c], xmm8
call fcn.18003e230
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x7c]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x80]
lea r9, [0x1800c32b0]
lea r8, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.18008f450
cmp byte [0x180a4f177], 0
je 0x1800905d1
mov rax, qword [0x1800c4be0]
mov rax, qword [rax + 0x48a8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.18003e230
mov r10, rax
movaps xmm0, xmmword [0x1800b0210]
movups xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call fcn.180039370
movss dword [rbp - 0x28], xmm7
movss dword [rbp - 0x24], xmm8
mov dword [rsp + 0x28], edi
movss dword [rsp + 0x20], xmm9
mov r9d, eax
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x70]
mov rcx, r10
call fcn.18005df50
cmp byte [0x180a4f171], 0
je 0x180090823
mov rax, qword [0x1800c49c0]
mov rax, qword [rax]
test rax, rax
je 0x180090606
mov rax, qword [rax + 8]
test rax, rax
je 0x180090606
movsd xmm0, qword [rax + 0x90]
mov ecx, dword [rax + 0x98]
jmp 0x180090613
movd ecx, xmm9
movaps xmm0, xmm9
unpcklps xmm0, xmm9
movsd qword [rbp + 0x180], xmm0
mov dword [rbp + 0x188], ecx
lea rdx, [rbp + 0x180]
lea rcx, [rbp - 0x20]
call fcn.18000d3d0
movsd xmm0, qword [rsi + 0x90]
movsd qword [rbp + 0x190], xmm0
mov eax, dword [rsi + 0x98]
mov dword [rbp + 0x198], eax
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x78]
call fcn.18000d3d0
movss xmm6, dword [rbp - 0x1c]
movss xmm7, dword [rbp - 0x20]
ucomiss xmm7, xmm9
jp 0x18009076a
jne 0x18009076a
ucomiss xmm6, xmm9
jp 0x18009076a
jne 0x18009076a
mov rdx, rsi
call fcn.18000d760
lea r8, str.Background
xor edx, edx
test al, al
mov rax, qword [0x1800c4be0]
mov rax, qword [rax + 0x48a8]
mov rcx, qword [rax]
je 0x18009070c
call fcn.18003e230
mov r10, rax
lea rcx, [0x1800c32a0]
call fcn.180039370
movss xmm0, dword [rsp + 0x78]
movss dword [rbp - 0x18], xmm0
movss xmm1, dword [rsp + 0x7c]
movss dword [rbp - 0x14], xmm1
movss xmm2, dword [0x180a4f1cc]
addss xmm2, dword [0x1800afa8c]
movss xmm0, dword [0x180a4f1c8]
mulss xmm0, xmm12
movss dword [rbp - 0x10], xmm0
movss dword [rbp - 0xc], xmm2
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x10]
jmp 0x18009080a
call fcn.18003e230
mov r10, rax
lea rcx, [0x1800c3290]
call fcn.180039370
movss xmm0, dword [rsp + 0x78]
movss dword [rbp - 8], xmm0
movss xmm1, dword [rsp + 0x7c]
movss dword [rbp - 4], xmm1
movss xmm2, dword [0x180a4f1cc]
addss xmm2, dword [0x1800afa8c]
movss xmm0, dword [0x180a4f1c8]
mulss xmm0, xmm12
movss dword [rbp], xmm0
movss dword [rbp + 4], xmm2
lea r8, [rbp - 8]
lea rdx, [rbp]
jmp 0x18009080a
mov rdx, rsi
call fcn.18000d760
lea r8, str.Background
xor edx, edx
test al, al
mov rax, qword [0x1800c4be0]
mov rax, qword [rax + 0x48a8]
mov rcx, qword [rax]
je 0x1800907ce
call fcn.18003e230
mov r10, rax
lea rcx, [0x1800c32a0]
call fcn.180039370
movss xmm0, dword [rsp + 0x78]
movss dword [rbp + 8], xmm0
movss xmm1, dword [rsp + 0x7c]
movss dword [rbp + 0xc], xmm1
movss dword [rbp + 0x10], xmm7
movss dword [rbp + 0x14], xmm6
lea r8, [rbp + 8]
lea rdx, [rbp + 0x10]
jmp 0x18009080a
call fcn.18003e230
mov r10, rax
lea rcx, [0x1800c3290]
call fcn.180039370
movss xmm0, dword [rsp + 0x78]
movss dword [rbp + 0x18], xmm0
movss xmm1, dword [rsp + 0x7c]
movss dword [rbp + 0x1c], xmm1
movss dword [rbp + 0x20], xmm7
movss dword [rbp + 0x24], xmm6
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0x20]
movss xmm0, dword [0x1800af9a4]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
mov rcx, r10
call fcn.18005dce0
movss xmm10, dword [rbp + 0x2c]
movss xmm11, dword [rbp + 0x28]
cmp byte [0x180a4f174], 0
je 0x180090a6d
mov r8d, 3
mov rdx, rsi
lea rcx, [rbp + 0x218]
call fcn.18000d250
movsd xmm0, qword [rax]
movsd qword [rbp + 0xd0], xmm0
mov eax, dword [rax + 8]
mov dword [rbp + 0xd8], eax
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x108]
call fcn.18000d3d0
mov r8d, 4
mov rdx, rsi
lea rcx, [rbp + 0x224]
call fcn.18000d250
movsd xmm0, qword [rax]
movsd qword [rbp + 0xe0], xmm0
mov eax, dword [rax + 8]
mov dword [rbp + 0xe8], eax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x110]
call fcn.18000d3d0
movss xmm0, dword [rbp + 0x114]
addss xmm0, dword [rbp + 0x10c]
mulss xmm0, xmm12
movaps xmm1, xmm14
subss xmm1, xmm0
andps xmm1, xmmword [0x1800b0620]
cvtps2pd xmm0, xmm1
mulsd xmm0, qword [0x1800af9e0]
cvtpd2ps xmm7, xmm0
cvtps2pd xmm1, xmm7
divsd xmm1, qword [0x1800afa00]
cvtpd2ps xmm2, xmm1
movaps xmm6, xmm7
divss xmm6, dword [0x1800af9d4]
divss xmm2, dword [0x1800afa60]
movss xmm0, dword [rsi + 0x280]
subss xmm0, dword [0x1800afa94]
movaps xmm8, xmm7
divss xmm8, dword [0x1800afa94]
mulss xmm8, xmm0
xorps xmm1, xmm1
movss xmm3, dword [0x1800afa88]
comiss xmm0, xmm3
ja 0x18009099f
ucomiss xmm0, xmm3
jp 0x180090944
je 0x18009099f
comiss xmm3, xmm0
jbe 0x180090968
comiss xmm0, dword [0x1800afa84]
ja 0x18009099f
movss xmm3, dword [0x1800afa7c]
comiss xmm0, xmm3
jbe 0x180090970
movaps xmm1, xmmword [0x1800b0310]
jmp 0x1800909a6
movss xmm3, dword [0x1800afa7c]
comiss xmm3, xmm0
movss xmm3, dword [0x1800afa68]
jbe 0x18009098b
comiss xmm0, xmm3
jbe 0x18009098b
movaps xmm1, xmmword [0x1800b0320]
jmp 0x1800909a6
comiss xmm3, xmm0
jbe 0x1800909a6
comiss xmm0, xmm9
jbe 0x1800909a6
movaps xmm1, xmmword [0x1800b0300]
jmp 0x1800909a6
movaps xmm1, xmmword [0x1800b0340]
mulss xmm7, xmm12
addss xmm7, xmm10
mulss xmm6, xmm12
addss xmm6, xmm11
subss xmm6, dword [0x1800afa40]
addss xmm6, xmm2
comiss xmm0, xmm9
jbe 0x180090a6d
movdqa xmmword [rbp - 0x60], xmm1
movss dword [rbp + 0x270], xmm6
movss dword [rbp + 0x274], xmm7
movss xmm0, dword [0x1800af934]
comiss xmm0, xmm6
ja 0x180090a6d
cvtps2pd xmm0, xmm7
movsd xmm1, qword [0x1800af9b8]
comisd xmm1, xmm0
ja 0x180090a6d
mov rax, qword [0x1800c4be0]
comiss xmm6, dword [rax + 0x10]
ja 0x180090a6d
comiss xmm7, dword [rax + 0x14]
ja 0x180090a6d
mov rax, qword [rax + 0x48a8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.18003e230
mov r10, rax
lea rcx, [rbp - 0x60]
call fcn.180039370
subss xmm7, xmm8
movss dword [rbp + 0x30], xmm6
movss dword [rbp + 0x34], xmm7
movss xmm0, dword [0x1800af9d0]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x270]
mov rcx, r10
call fcn.18005dce0
cmp byte [0x180a4f179], 0
je 0x180090c25
mov r8d, 3
mov rdx, rsi
lea rcx, [rbp + 0x230]
call fcn.18000d250
movsd xmm0, qword [rax]
movsd qword [rbp + 0x1a0], xmm0
mov eax, dword [rax + 8]
mov dword [rbp + 0x1a8], eax
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x120]
call fcn.18000d3d0
mov r8d, 4
mov rdx, rsi
lea rcx, [rbp + 0x23c]
call fcn.18000d250
movsd xmm0, qword [rax]
movsd qword [rbp + 0x1b0], xmm0
mov eax, dword [rax + 8]
mov dword [rbp + 0x1b8], eax
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x118]
call fcn.18000d3d0
movss xmm0, dword [rbp + 0x11c]
addss xmm0, dword [rbp + 0x124]
mulss xmm0, xmm12
movaps xmm1, xmm14
subss xmm1, xmm0
andps xmm1, xmmword [0x1800b0620]
cvtps2pd xmm0, xmm1
mulsd xmm0, qword [0x1800af9e0]
cvtpd2ps xmm6, xmm0
cvtps2pd xmm1, xmm6
divsd xmm1, qword [0x1800afa00]
cvtpd2ps xmm0, xmm1
movaps xmm7, xmm6
divss xmm7, dword [0x1800af9d4]
divss xmm0, dword [0x1800afa4c]
mov eax, dword [0x180a4f0e0]
movaps xmm8, xmm6
divss xmm8, dword [0x1800afa94]
mulss xmm8, dword [rax + rsi]
mulss xmm6, xmm12
addss xmm6, xmm10
mulss xmm7, xmm12
addss xmm7, xmm11
subss xmm7, dword [0x1800afa28]
addss xmm7, xmm0
movaps xmm0, xmmword [0x1800b0350]
movaps xmmword [rbp - 0x60], xmm0
movss dword [rbp + 0x268], xmm7
movss dword [rbp + 0x26c], xmm6
movss xmm0, dword [0x1800af934]
comiss xmm0, xmm7
ja 0x180090c25
cvtps2pd xmm0, xmm6
movsd xmm1, qword [0x1800af9b8]
comisd xmm1, xmm0
ja 0x180090c25
mov rax, qword [0x1800c4be0]
comiss xmm7, dword [rax + 0x10]
ja 0x180090c25
comiss xmm6, dword [rax + 0x14]
ja 0x180090c25
mov rax, qword [rax + 0x48a8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.18003e230
mov r10, rax
lea rcx, [rbp - 0x60]
call fcn.180039370
subss xmm6, xmm8
movss dword [rbp + 0x40], xmm7
movss dword [rbp + 0x44], xmm6
movss xmm0, dword [0x1800af9d0]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x268]
mov rcx, r10
call fcn.18005dce0
cmp byte [0x180a4f17b], 0
je 0x180090dc8
mov rax, qword [0x1800c49c0]
mov rax, qword [rax]
test rax, rax
je 0x180090c68
mov rax, qword [rax + 8]
test rax, rax
je 0x180090c68
movsd xmm2, qword [rax + 0x90]
movss xmm4, dword [rax + 0x98]
movaps xmm3, xmm2
shufps xmm3, xmm3, 0x55
movsd qword [rbp - 0x60], xmm2
jmp 0x180090c74
movaps xmm3, xmm9
movaps xmm4, xmm9
movaps xmm2, xmm9
movsd xmm1, qword [rsi + 0x90]
subss xmm4, dword [rsi + 0x98]
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
subss xmm3, xmm0
movsd qword [rbp - 0x60], xmm1
subss xmm2, xmm1
mulss xmm2, xmm2
mulss xmm3, xmm3
addss xmm2, xmm3
mulss xmm4, xmm4
addss xmm2, xmm4
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x180090cbd
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x180090cc5
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cvttss2si edx, xmm0
mov dword [rsp + 0x54], 0x73478
mov byte [rsp + 0x58], 1
mov rcx, rdi
nop dword [rax]
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x54], al
inc rcx
cmp rcx, 3
jb 0x180090ce0
mov byte [rsp + 0x58], 0
lea rcx, [rbp - 0x60]
call fcn.180010620
nop
mov word [rsp + 0x68], 0x5b
mov byte [rsp + 0x6a], 0
mov r8, rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xb0]
call fcn.1800173f0
nop
lea rcx, [rsp + 0x54]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x180090d30
lea rdx, [rsp + 0x54]
mov rcx, rax
call fcn.180014ee0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x298], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2a8], xmm6
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
movups xmmword [rbp + 0x2f8], xmm0
movups xmmword [rbp + 0x308], xmm6
mov qword [rbp + 0x2a8], rdi
mov qword [rbp + 0x2b0], 0xf
mov byte [rbp + 0x298], 0
lea rcx, [rbp + 0x298]
call fcn.18000fac0
nop
lea rcx, [rbp + 0xb0]
call fcn.18000fac0
nop
lea rcx, [rbp - 0x60]
call fcn.18000fac0
movdqa xmm0, xmm6
psrldq xmm0, 8
movq r13, xmm0
movq r12, xmm6
cmp byte [0x180a4f178], 0
je 0x180090e5b
mov eax, dword [0x1800c49c8]
mov rdx, qword [rax + rsi]
add rdx, 0x20
mov rcx, qword [0x180a4f1c0]
call fcn.18000d640
mov rdx, rax
lea rcx, [rbp + 0x298]
call fcn.18008ec20
nop
lea r9, [rbp + 0x298]
cmp qword [rbp + 0x2b0], 0xf
cmova r9, qword [rbp + 0x298]
mov rbx, qword [rbp + 0x2a8]
lea rcx, [rbp + 0x2b8]
cmp rbx, 0xf
ja 0x180090e46
mov qword [rbp + 0x2c8], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx + 0x2b8], 0
jmp 0x180090e4f
mov rdx, rbx
call fcn.180018cf0
nop
lea rcx, [rbp + 0x298]
call fcn.18000fac0
cmp byte [0x180a4f176], 0
je 0x180090ee7
mov eax, dword [0x180a4f11c]
mov rcx, qword [rax + rsi]
test rcx, rcx
je 0x180090ee7
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x180090ee7
mov ecx, dword [rcx + 0x10]
call fcn.18008ed90
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x180090e90
mov rcx, qword [rbp + 0x290]
cmp rdi, rcx
ja 0x180090ed3
lea rbx, [rbp + 0x278]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x278]
mov qword [rbp + 0x288], rdi
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x180090ee5
mov r9, rax
mov rdx, rdi
lea rcx, [rbp + 0x278]
call fcn.180018cf0
xor edi, edi
cmp byte [0x180a4f178], 0
jne 0x180090f06
cmp byte [0x180a4f17b], 0
jne 0x180090f06
cmp byte [0x180a4f176], 0
je 0x180091413
mov dword [rsp + 0x5c], 0x3e343616
mov word [rsp + 0x60], 0x100
mov rcx, rdi
nop dword [rax + rax]
lea eax, [rcx + 0x58]
xor byte [rsp + rcx + 0x5c], al
inc rcx
cmp rcx, 4
jb 0x180090f20
mov byte [rsp + 0x61], 0
lea rcx, [rsp + 0x5c]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x180090f41
lea rcx, [rbp + 0x278]
mov rbx, qword [rbp + 0x290]
cmp rbx, 0xf
seta r15b
mov r14, qword [rbp + 0x278]
cmova rcx, r14
mov r8, qword [rbp + 0x288]
cmp r8, rax
jne 0x180090fef
lea rdx, [rsp + 0x5c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180090fef
xor eax, eax
mov word [rsp + 0x50], ax
lea rax, [rsp + 0x50]
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x180090fa0
cmp rdi, rbx
ja 0x180090fd9
lea rbx, [rbp + 0x278]
test r15b, r15b
cmovne rbx, r14
mov qword [rbp + 0x288], rdi
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
jmp 0x180090fed
lea r9, [rsp + 0x50]
mov rdx, rdi
lea rcx, [rbp + 0x278]
call fcn.180018cf0
xor edi, edi
mov word [rsp + 0x64], 0x20
mov byte [rsp + 0x66], 0
mov word [rsp + 0x6c], 0x20
mov byte [rsp + 0x6e], 0
lea r8, [rsp + 0x6c]
lea rdx, [rbp + 0x2b8]
lea rcx, [rbp + 0x248]
call fcn.1800914d0
nop
lea rdx, [rbp + 0x278]
cmp qword [rbp + 0x290], 0xf
cmova rdx, qword [rbp + 0x278]
mov r8, qword [rbp + 0x288]
mov rcx, rax
call fcn.180014ee0
xorps xmm0, xmm0
movups xmmword [rbp + 0x298], xmm0
mov qword [rbp + 0x2a8], rdi
mov qword [rbp + 0x2b0], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x298], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2a8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rsp + 0x64]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180091090
lea rdx, [rsp + 0x64]
lea rcx, [rbp + 0x298]
call fcn.180014ee0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xc8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0x2f8]
cmp r13, 0xf
cmova rdx, qword [rbp + 0x2f8]
mov r8, r12
lea rcx, [rbp + 0xb0]
call fcn.180014ee0
xorps xmm0, xmm0
movups xmmword [rbp + 0x2d8], xmm0
mov qword [rbp + 0x2e8], rdi
mov qword [rbp + 0x2f0], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2d8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2e8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0xb0]
call fcn.18000fac0
nop
lea rcx, [rbp + 0x298]
call fcn.18000fac0
nop
lea rcx, [rbp + 0x248]
call fcn.18000fac0
addss xmm15, xmm13
mulss xmm15, xmm12
subss xmm14, xmm15
andps xmm14, xmmword [0x1800b0620]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm14
movsd xmm11, qword [0x1800af9e0]
mulsd xmm0, xmm11
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
divsd xmm1, qword [0x1800afa00]
cvtpd2ps xmm6, xmm1
movsd xmm0, qword [rsi + 0x90]
movsd qword [rbp + 0x1c0], xmm0
mov eax, dword [rsi + 0x98]
mov dword [rbp + 0x1c8], eax
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x100]
call fcn.18000d3d0
mulss xmm6, xmm12
movss xmm10, dword [rbp + 0x100]
addss xmm10, xmm6
addss xmm10, dword [0x1800afa54]
lea rbx, [rbp + 0x2d8]
cmp qword [rbp + 0x2f0], 0xf
cmova rbx, qword [rbp + 0x2d8]
addss xmm13, dword [0x1800af9e8]
subss xmm10, xmm6
subss xmm10, dword [0x1800afa98]
mov rax, qword [0x1800c4be0]
mov rax, qword [rax + 0x48a8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.18003e230
mov rsi, rax
mov rdi, qword [0x1800c4be0]
xor r14d, r14d
movss xmm7, dword [0x1800afb20]
movss xmm14, dword [0x1800afaf8]
test rbx, rbx
je 0x1800912bc
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rbx
movss dword [rsp + 0x20], xmm7
movaps xmm3, xmm14
movss xmm2, dword [rdi + 0x3c08]
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 0x3c00]
call fcn.1800624d0
movss xmm0, dword [rbp + 0x50]
movss xmm15, dword [0x1800af99c]
addss xmm0, xmm15
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x50], xmm0
jmp 0x1800912c5
movss xmm15, dword [0x1800af99c]
mov rax, qword [rdi + 0x3c00]
movss xmm0, dword [rax + 0x14]
movaps xmm6, xmm0
subss xmm6, dword [0x1800af9a4]
cvtps2pd xmm1, xmm0
mulsd xmm1, qword [0x1800af9d8]
xorps xmm1, xmmword [0x1800b0630]
xorps xmm8, xmm8
cvtsd2ss xmm8, xmm1
addss xmm6, dword [0x1800afaac]
movaps xmm0, xmmword [0x1800b0360]
movaps xmmword [rbp - 0x60], xmm0
test rbx, rbx
jne 0x180091315
movaps xmm7, xmm9
jmp 0x18009135c
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rbx
movss dword [rsp + 0x20], xmm7
movaps xmm3, xmm14
movss xmm2, dword [rdi + 0x3c08]
lea rdx, [rbp + 0x58]
mov rcx, rax
call fcn.1800624d0
movss xmm0, dword [rbp + 0x58]
addss xmm0, xmm15
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp + 0x58], xmm7
lea rcx, [rbp - 0x60]
call fcn.180039370
mov r8d, eax
mulss xmm6, xmm12
addss xmm6, xmm10
mulss xmm7, xmm12
subss xmm6, xmm7
movss dword [rbp + 0x60], xmm6
subss xmm13, xmm8
movss dword [rbp + 0x64], xmm13
test eax, 0xff000000
je 0x1800913fd
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1800913a0
add rcx, rbx
cmp rbx, rcx
je 0x1800913fd
mov rax, qword [rsi + 0x38]
movups xmm0, xmmword [rsi + 0x88]
movups xmmword [rbp - 0x60], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm9
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rbx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r8d
lea r9, [rbp + 0x60]
movss xmm2, dword [0x1800afa54]
mov rdx, rsi
mov rcx, qword [rax + 8]
call fcn.1800628e0
nop
lea rcx, [rbp + 0x2d8]
call fcn.18000fac0
mov r14d, dword [rbp - 0x78]
mov r15, qword [rbp + 0x38]
jmp 0x18009141c
movsd xmm11, qword [0x1800af9e0]
lea rcx, [rbp + 0x278]
call fcn.18000fac0
nop
lea rcx, [rbp + 0x2f8]
call fcn.18000fac0
nop
lea rcx, [rbp + 0x2b8]
call fcn.18000fac0
movss xmm10, dword [0x1800b0620]
xor edi, edi
inc r14d
mov dword [rbp - 0x78], r14d
inc r15
mov qword [rbp + 0x38], r15
jmp 0x18008fff0
mov rcx, qword [rbp + 0x318]
xor rcx, rsp
call fcn.18009ab20
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret