Function at 0x18005aa20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x138]
sub rsp, 0x238
mov r14, qword [0x1800801d0]
mov ebx, r8d
mov rsi, rdx
mov qword [rbp - 0x60], r14
mov rdi, rcx
mov rax, qword [r14 + 0x1a80]
mov byte [rax + 0x80], 1
mov r15, qword [r14 + 0x1a80]
mov qword [rbp + 0x78], r15
cmp byte [r15 + 0x83], 0
je 0x18005aa8f
xor al, al
add rsp, 0x238
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rsp + 0x280], r12
mov qword [rsp + 0x230], r13
mov r13, qword [r15 + 0x2b0]
movaps xmmword [rsp + 0x220], xmm6
movaps xmmword [rsp + 0x210], xmm7
movaps xmmword [rsp + 0x200], xmm8
movaps xmmword [rsp + 0x1f0], xmm9
movaps xmmword [rsp + 0x1e0], xmm10
movaps xmmword [rsp + 0x1d0], xmm11
movaps xmmword [rsp + 0x1c0], xmm12
movaps xmmword [rsp + 0x1b0], xmm13
movaps xmmword [rsp + 0x1a0], xmm14
movaps xmmword [rsp + 0x190], xmm15
call fcn.1800303b0
xor r12d, r12d
mov rcx, rdi
mov dword [r14 + 0x1b90], r12d
movaps xmm6, xmm0
call fcn.18003aea0
call fcn.18002fd30
mov edi, ebx
mov eax, ebx
or edi, 0x10
and eax, 0x100
cmovne edi, ebx
test dil, 8
jne 0x18005ab3c
mov edx, edi
mov rcx, rsi
call fcn.18005c8f0
mov ecx, 0xa900000
test edi, 0x6000000
jne 0x18005ab64
mov eax, dword [r14 + 0x2f24]
mov ebx, ecx
test eax, 0x6000000
cmovne ebx, eax
and ebx, 0x6000000
or ebx, edi
jmp 0x18005ab66
mov ebx, edi
test ebx, 0x18000000
jne 0x18005ab85
mov eax, dword [r14 + 0x2f24]
test eax, 0x18000000
cmovne ecx, eax
and ecx, 0x18000000
or ebx, ecx
test bl, 8
jne 0x18005ab98
mov eax, dword [r14 + 0x2f24]
and eax, 0x10000
or ebx, eax
movsd xmm0, qword [r15 + 0xd0]
mov eax, ebx
and eax, 2
movsd qword [rsp + 0x78], xmm0
mov edi, ebx
mov dword [rbp - 0x14], eax
and edi, 0x10002
mov dword [rbp + 0x18], edi
call fcn.180033950
movss xmm15, dword [r14 + 0x15b8]
movaps xmm13, xmm0
movaps xmm12, xmm0
movss dword [rbp - 0x48], xmm13
cmp edi, 0x10000
mov eax, r12d
movaps xmm1, xmm15
mov ecx, 0xc
sete al
addss xmm1, xmm13
inc eax
mov rdx, rsi
cmp dword [rbp - 0x14], r12d
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm1
subss xmm6, xmm2
maxss xmm12, xmm6
movss xmm6, dword [rsp + 0x78]
movaps xmm0, xmm6
addss xmm0, xmm12
movss dword [rbp + 0x44], xmm12
movaps xmm7, xmm0
movss dword [rbp - 0x34], xmm0
addss xmm7, xmm15
movaps xmm0, xmm7
movss dword [rbp - 0x10], xmm7
addss xmm0, xmm13
movaps xmm9, xmm0
movss dword [rbp - 0x80], xmm0
movaps xmm0, xmm13
addss xmm9, xmm15
mulss xmm0, dword [0x180071cac]
cvttss2si eax, xmm0
movss dword [rbp + 0x20], xmm9
movd xmm1, eax
mov eax, 0x10
cmovne eax, ecx
lea rcx, [rbp + 0x80]
cvtdq2ps xmm1, xmm1
mov r8d, eax
mov qword [rbp + 0x30], rax
movss dword [rbp - 8], xmm1
call fcn.180066d20
movss xmm14, dword [0x1800713b8]
movaps xmm1, xmm12
mulss xmm1, xmm14
movaps xmm0, xmm12
mov dword [rbp + 4], r12d
mulss xmm0, dword [0x180076e08]
xorps xmm10, xmm10
movaps xmm8, xmm1
movss dword [rbp - 0x38], xmm1
subss xmm8, xmm0
movss dword [rbp + 0x40], xmm0
movaps xmm0, xmm12
addss xmm0, xmm13
movaps xmm2, xmm8
movss dword [rbp - 0x40], xmm8
mulss xmm0, xmm14
addss xmm0, xmm6
movss dword [rbp - 0x58], xmm0
movaps xmm0, xmm1
addss xmm0, dword [rsp + 0x7c]
movaps xmm1, xmm12
mulss xmm1, dword [0x180076e04]
movss dword [rbp - 0x54], xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movss dword [rbp], xmm2
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm1, dword [0x180076e78]
mov eax, ebx
and eax, 0x8000000
mulss xmm0, dword [0x180076e7c]
mov dword [rsp + 0x6c], eax
mulss xmm2, dword [0x180076e14]
movss dword [rbp + 8], xmm1
movss dword [rbp + 0xc], xmm0
movss xmm0, dword [rsi]
movss dword [rbp + 0x10], xmm1
movss xmm1, dword [rsi + 4]
movss dword [rbp + 0x14], xmm2
movss xmm2, dword [rsi + 8]
movss dword [rsp + 0x5c], xmm0
movss dword [rsp + 0x64], xmm1
movss dword [rbp - 0x20], xmm0
movss dword [rbp - 0x1c], xmm1
movss dword [rsp + 0x70], xmm2
movss dword [rbp - 0x18], xmm2
je 0x18005adee
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x5c]
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
call fcn.180031790
mov rax, qword [r14 + 0x2f30]
cmp rax, qword [rsi]
jne 0x18005ae0f
mov eax, dword [r14 + 0x2f38]
cmp eax, dword [rsi + 8]
jne 0x18005ae0f
movss xmm0, dword [rsp + 0x64]
ucomiss xmm0, xmm10
jp 0x18005adcf
jne 0x18005adcf
movss xmm0, dword [r14 + 0x2f28]
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x70]
ucomiss xmm0, xmm10
jp 0x18005ae0f
jne 0x18005ae0f
movss xmm0, dword [r14 + 0x2f2c]
movss dword [rsp + 0x64], xmm0
jmp 0x18005ae0f
bt ebx, 0x1c
jae 0x18005ae0f
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
call fcn.1800315d0
xor dil, dil
mov dl, 1
mov ecx, 8
mov byte [rsp + 0x40], dil
mov byte [rsp + 0x58], dil
mov byte [rsp + 0x59], dil
call fcn.18003b070
movss xmm11, dword [0x1800713bc]
mov eax, ebx
and eax, 0x4000000
movabs r15, 0x47ae147ae147ae15
mov dword [rbp + 0x28], eax
je 0x18005b1b6
cmp byte [0x180076ba7], dil
movaps xmm0, xmm12
addss xmm0, dword [r14 + 0x15b8]
mov eax, dword [str.Z_B5QZASOL9AE4]
movss dword [rsp + 0x4c], xmm12
mov dword [rsp + 0x60], eax
addss xmm0, xmm13
movss dword [rsp + 0x48], xmm0
je 0x18005aec2
mov r8, r12
nop word [rax + rax]
mov rax, r15
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [rsp + r8 + 0x60], al
inc r8
cmp r8, 4
jb 0x18005ae90
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.180061860
call fcn.180035500
test al, al
je 0x18005b145
movss xmm8, dword [r14 + 0x3d4]
movss xmm13, dword [r14 + 0x3d8]
subss xmm8, dword [rbp - 0x58]
subss xmm13, dword [rbp - 0x54]
movss xmm1, dword [rbp - 0x40]
movss xmm7, dword [r14 + 0x130]
subss xmm1, xmm11
movss xmm9, dword [r14 + 0x134]
subss xmm7, dword [rbp - 0x58]
subss xmm9, dword [rbp - 0x54]
movaps xmm2, xmm13
movaps xmm0, xmm8
mulss xmm2, xmm13
mulss xmm0, xmm8
mulss xmm1, xmm1
addss xmm2, xmm0
comiss xmm2, xmm1
jb 0x18005af8f
movss xmm0, dword [rbp - 0x38]
addss xmm0, xmm11
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x18005af8f
movaps xmm1, xmm7
movaps xmm0, xmm9
call fcn.1800294b0
divss xmm0, dword [0x1800713d4]
mulss xmm0, xmm14
comiss xmm10, xmm0
movss dword [rsp + 0x5c], xmm0
jbe 0x18005af85
addss xmm0, xmm11
movss dword [rsp + 0x5c], xmm0
mov dil, 1
mov byte [rsp + 0x40], dil
jmp 0x18005af95
movss xmm0, dword [rsp + 0x5c]
xorps xmm0, xmmword [0x180071470]
movzx r15d, dil
addss xmm0, xmm0
mulss xmm0, dword [0x1800713d4]
call fcn.1800297d0
movaps xmm14, xmm0
movss xmm0, dword [rsp + 0x5c]
xorps xmm0, xmmword [0x180071470]
addss xmm0, xmm0
mulss xmm0, dword [0x1800713d4]
call fcn.180029e30
movaps xmm2, xmm8
mov byte [rsp + 0x58], dil
movaps xmm6, xmm0
mulss xmm2, xmm14
lea r9, [rsp + 0x48]
movaps xmm1, xmm13
mulss xmm8, xmm6
lea r8, [rbp + 0x10]
mulss xmm1, xmm6
lea rdx, [rbp + 8]
lea rcx, [rbp]
mulss xmm13, xmm14
subss xmm2, xmm1
addss xmm8, xmm13
movss dword [rsp + 0x48], xmm2
movss dword [rsp + 0x4c], xmm8
call fcn.1800351b0
test al, al
je 0x18005b120
movaps xmm1, xmm7
lea r9, [rbp - 0x30]
movaps xmm0, xmm9
mulss xmm1, xmm14
lea r8, [rbp + 0x10]
mulss xmm0, xmm6
lea rdx, [rbp + 8]
lea rcx, [rbp]
mulss xmm7, xmm6
subss xmm1, xmm0
mulss xmm9, xmm14
addss xmm7, xmm9
movss dword [rbp - 0x30], xmm1
movss dword [rbp - 0x2c], xmm7
call fcn.1800351b0
test al, al
jne 0x18005b097
lea rax, [rbp - 0x30]
lea r9, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 8]
lea rdx, [rbp]
lea rcx, [rsp + 0x48]
call fcn.180034f00
movsd xmm0, qword [rax]
movsd qword [rbp - 0x30], xmm0
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x10]
lea rax, [rbp - 0x68]
lea rdx, [rbp + 8]
mov qword [rsp + 0x20], rax
lea rcx, [rbp]
call fcn.180034e30
movss xmm0, dword [0x180071c94]
movaps xmm2, xmm11
subss xmm2, dword [rsp + 0x60]
comiss xmm0, xmm2
jbe 0x18005b0e4
movaps xmm1, xmm0
jmp 0x18005b0ec
movaps xmm1, xmm11
minss xmm1, xmm2
movss xmm2, dword [rbp - 0x68]
divss xmm2, xmm1
movss dword [rsp + 0x70], xmm1
comiss xmm0, xmm2
ja 0x18005b108
movaps xmm0, xmm11
minss xmm0, xmm2
mov dil, 1
movss dword [rsp + 0x64], xmm0
mov byte [rsp + 0x40], dil
mov byte [rsp + 0x59], 1
mov byte [rsp + 0x58], r15b
movss xmm9, dword [rbp + 0x20]
movabs r15, 0x47ae147ae147ae15
movss xmm13, dword [rbp - 0x48]
movss xmm8, dword [rbp - 0x40]
movss xmm14, dword [0x1800713b8]
test bl, 8
jne 0x18005b3de
cmp byte [0x180076baf], r12b
mov rax, qword [0x180076ba8]
mov qword [rsp + 0x48], rax
je 0x18005b1a2
mov r8, r12
nop word [rax + rax]
mov rax, r15
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [rsp + r8 + 0x48], al
inc r8
cmp r8, 8
jb 0x18005b170
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.18003a600
jmp 0x18005b3de
bt ebx, 0x19
jae 0x18005b3de
movzx eax, word [0x180076bb0]
lea rdx, [rsp + 0x48]
mov word [rsp + 0x60], ax
lea rcx, [rsp + 0x60]
movzx eax, byte [0x180076bb2]
xor byte [rsp + 0x61], 0x33
xor al, 0x34
mov byte [rsp + 0x62], al
movss dword [rsp + 0x48], xmm12
movss dword [rsp + 0x4c], xmm12
mov byte [rsp + 0x60], 0x73
call fcn.180061860
call fcn.180035500
movss xmm3, dword [rsp + 0x7c]
test al, al
je 0x18005b27e
movss xmm0, dword [r14 + 0x130]
movaps xmm2, xmm12
subss xmm0, dword [rsp + 0x78]
subss xmm2, xmm11
divss xmm0, xmm2
comiss xmm10, xmm0
jbe 0x18005b236
xorps xmm1, xmm1
jmp 0x18005b23e
movaps xmm1, xmm11
minss xmm1, xmm0
movss dword [rsp + 0x64], xmm1
movss xmm0, dword [r14 + 0x134]
subss xmm0, xmm3
divss xmm0, xmm2
comiss xmm10, xmm0
jbe 0x18005b260
xorps xmm1, xmm1
jmp 0x18005b268
movaps xmm1, xmm11
minss xmm1, xmm0
movaps xmm0, xmm11
mov dil, 1
subss xmm0, xmm1
mov byte [rsp + 0x40], dil
movss dword [rsp + 0x70], xmm0
movzx r15d, dil
test bl, 8
jne 0x18005b2f7
cmp byte [0x180076bbf], r12b
mov rax, qword [str.QZASOL9ZFQ5S_D_W7]
mov qword [rsp + 0x48], rax
je 0x18005b2e2
mov r8, r12
movabs r9, 0x47ae147ae147ae15
nop dword [rax]
mov rax, r9
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [rsp + r8 + 0x48], al
inc r8
cmp r8, 8
jb 0x18005b2b0
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.18003a600
movss xmm3, dword [rsp + 0x7c]
lea rcx, [rsp + 0x48]
movss dword [rsp + 0x48], xmm7
movss dword [rsp + 0x4c], xmm3
call fcn.18003e020
cmp byte [0x180076bc3], r12b
mov eax, dword [0x180076bc0]
mov dword [rsp + 0x60], eax
movss dword [rsp + 0x48], xmm13
movss dword [rsp + 0x4c], xmm12
je 0x18005b379
mov r8, r12
movabs rsi, 0x47ae147ae147ae15
nop dword [rax + rax]
mov rax, rsi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [rsp + r8 + 0x60], al
inc r8
cmp r8, 4
jb 0x18005b340
mov rsi, qword [rbp + 0x178]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.180061860
mov byte [rsp + 0x59], dil
call fcn.180035500
test al, al
je 0x18005b3de
movss xmm1, dword [r14 + 0x134]
movaps xmm0, xmm12
subss xmm1, dword [rsp + 0x7c]
subss xmm0, xmm11
divss xmm1, xmm0
comiss xmm10, xmm1
jbe 0x18005b3be
movaps xmm0, xmm10
jmp 0x18005b3c6
movaps xmm0, xmm11
minss xmm0, xmm1
mov dil, 1
movss dword [rsp + 0x5c], xmm0
mov byte [rsp + 0x40], dil
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x59], r15b
cmp dword [rbp + 0x18], 0x10000
jne 0x18005b4d5
movss xmm0, dword [rsp + 0x7c]
lea rcx, [rsp + 0x48]
movss dword [rsp + 0x4c], xmm0
movss dword [rsp + 0x48], xmm9
call fcn.18003e020
mov eax, dword [0x180076bc4]
mov r8, r12
mov dword [rbp - 0x78], eax
movabs rsi, 0x47ae147ae147ae15
movzx eax, word [0x180076bc8]
mov word [rbp - 0x74], ax
movss dword [rsp + 0x48], xmm13
movss dword [rsp + 0x4c], xmm12
nop word [rax + rax]
mov rax, rsi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [rbp + r8 - 0x78], al
inc r8
cmp r8, 6
jb 0x18005b440
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.180061860
call fcn.180035500
mov rsi, qword [rbp + 0x178]
test al, al
je 0x18005b4d5
movss xmm1, dword [r14 + 0x134]
movaps xmm0, xmm12
subss xmm1, dword [rsp + 0x7c]
subss xmm0, xmm11
divss xmm1, xmm0
comiss xmm10, xmm1
jbe 0x18005b4b8
movaps xmm2, xmm10
jmp 0x18005b4c0
movaps xmm2, xmm11
minss xmm2, xmm1
movaps xmm0, xmm11
mov dil, 1
subss xmm0, xmm2
mov byte [rsp + 0x40], dil
movss dword [rsi + 0xc], xmm0
call fcn.18003a880
mov r15d, ebx
and r15d, 0x100
jne 0x18005b4fd
movss xmm1, dword [r14 + 0x15b8]
movaps xmm0, xmm10
call fcn.18003d940
call fcn.18002fd30
mov eax, ebx
and eax, 0x80
mov dword [rbp - 0x68], eax
jne 0x18005b553
mov rcx, qword [rbp + 0x170]
xor edx, edx
call fcn.180033080
mov qword [rsp + 0x48], rax
cmp qword [rbp + 0x170], rax
je 0x18005b553
test r15d, r15d
je 0x18005b541
movss xmm1, dword [r14 + 0x15b8]
movaps xmm0, xmm10
call fcn.18003d940
mov rax, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x170]
xor r8d, r8d
mov rdx, rax
call fcn.180064170
movss xmm9, dword [0x1800713c8]
test r15d, r15d
jne 0x18005b7e7
mov dl, 1
lea ecx, [r15 + 0x10]
call fcn.18003b070
cmp dword [rbp - 0x14], r12d
je 0x18005b57c
movaps xmm2, xmm11
jmp 0x18005b581
movss xmm2, dword [rsi + 0xc]
movss xmm0, dword [rsi]
movss xmm1, dword [rsi + 4]
movss dword [rbp - 0x78], xmm0
movss xmm0, dword [rsi + 8]
movss dword [rbp - 0x70], xmm0
movss dword [rbp - 0x74], xmm1
movss dword [rbp - 0x6c], xmm2
cmp dword [rbp - 0x68], r12d
je 0x18005b611
cmp byte [0x180076bd7], r12b
mov rax, qword [str.qFFGSYL9]
mov qword [rsp + 0x48], rax
je 0x18005b607
mov r8, r12
movabs rdi, 0x47ae147ae147ae15
nop dword [rax + rax]
mov rax, rdi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [rsp + r8 + 0x48], al
inc r8
cmp r8, 8
jb 0x18005b5d0
movzx edi, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.1800640f0
cmp byte [0x180076be1], r12b
movaps xmm6, xmm13
mulss xmm6, dword [0x180071ce8]
movaps xmm7, xmm13
movzx eax, word [0x180076be0]
movsd xmm0, qword [0x180076bd8]
mulss xmm7, xmm9
mov word [rbp - 0x28], ax
movss dword [rsp + 0x48], xmm6
movsd qword [rbp - 0x30], xmm0
movss dword [rsp + 0x4c], xmm7
je 0x18005b696
mov r8, r12
movabs r14, 0x47ae147ae147ae15
mov rax, r14
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [rbp + r8 - 0x30], al
inc r8
cmp r8, 0xa
jb 0x18005b660
mov r14, qword [rbp - 0x60]
mov r9, qword [rsp + 0x48]
lea rdx, [rbp - 0x78]
mov r15d, ebx
lea rcx, [rbp - 0x30]
and r15d, 0x180e0040
mov r8d, r15d
call fcn.180057ba0
cmp qword [rbp + 0x188], r12
je 0x18005b7dd
movzx eax, byte [0x180076bf0]
lea rcx, [rsp + 0x48]
movsd xmm0, qword [str.A_R_YYU:]
xor al, 0x3a
movsd qword [rsp + 0x48], xmm0
xor byte [rsp + 0x49], 0x33
xor byte [rsp + 0x4a], 0x34
xor byte [rsp + 0x4b], 0x35
xor byte [rsp + 0x4c], 0x36
xor byte [rsp + 0x4d], 0x37
xor byte [rsp + 0x4e], 0x38
xor byte [rsp + 0x4f], 0x39
mov byte [rsp + 0x50], al
mov byte [rsp + 0x48], 0x4f
call fcn.1800640f0
mov rax, qword [rbp + 0x188]
cmp dword [rbp - 0x14], r12d
je 0x18005b722
movaps xmm2, xmm11
jmp 0x18005b727
movss xmm2, dword [rax + 0xc]
movss xmm0, dword [rax]
lea rdx, [rbp - 0x30]
movss xmm1, dword [rax + 4]
lea rcx, [rsp + 0x48]
movss dword [rbp - 0x30], xmm0
mov r8d, r15d
movss xmm0, dword [rax + 8]
movzx eax, word [0x180076c00]
mov word [rsp + 0x50], ax
movzx eax, byte [0x180076c02]
xor byte [rsp + 0x50], 0x3a
xor al, 0x3c
xor byte [rsp + 0x51], 0x3b
movss dword [rbp - 0x28], xmm0
movsd xmm0, qword [0x180076bf8]
movsd qword [rsp + 0x48], xmm0
movaps xmm0, xmm6
xor byte [rsp + 0x49], 0x33
xor byte [rsp + 0x4a], 0x34
xor byte [rsp + 0x4b], 0x35
xor byte [rsp + 0x4c], 0x36
xor byte [rsp + 0x4d], 0x37
xor byte [rsp + 0x4e], 0x38
xor byte [rsp + 0x4f], 0x39
unpcklps xmm0, xmm7
movq r9, xmm0
movss dword [rbp - 0x2c], xmm1
movss dword [rbp - 0x24], xmm2
mov byte [rsp + 0x48], 0x23
mov byte [rsp + 0x52], al
call fcn.180057ba0
test al, al
je 0x18005b7dd
mov r8, qword [rbp + 0x30]
mov rcx, rsi
mov rdx, qword [rbp + 0x188]
call fcn.180066d20
mov dil, 1
mov byte [rsp + 0x40], dil
call fcn.18003a880
call fcn.180032680
cmp byte [rsp + 0x58], r12b
jne 0x18005b7f9
cmp byte [rsp + 0x59], r12b
je 0x18005b8b6
cmp dword [rsp + 0x6c], r12d
je 0x18005b890
movss xmm2, dword [rsp + 0x70]
comiss xmm2, xmm10
ja 0x18005b818
movss xmm2, dword [0x180076dfc]
movss xmm1, dword [rsp + 0x64]
comiss xmm1, xmm10
movss xmm3, dword [0x180071c90]
ja 0x18005b82f
movaps xmm1, xmm3
movss xmm0, dword [rsp + 0x5c]
comiss xmm0, xmm11
jb 0x18005b83f
subss xmm0, xmm3
lea rax, [rsi + 8]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea rax, [rsi + 4]
mov qword [rsp + 0x20], rax
call fcn.1800315d0
movss xmm0, dword [rsp + 0x5c]
movss dword [r14 + 0x2f28], xmm0
movss xmm1, dword [rsp + 0x64]
movss dword [r14 + 0x2f2c], xmm1
movsd xmm0, qword [rsi]
movsd qword [r14 + 0x2f30], xmm0
mov eax, dword [rsi + 8]
mov dword [r14 + 0x2f38], eax
jmp 0x18005b8b6
bt ebx, 0x1c
jae 0x18005b8b6
movss xmm0, dword [rsp + 0x5c]
movss xmm1, dword [rsp + 0x64]
movss dword [rsi], xmm0
movss xmm0, dword [rsp + 0x70]
movss dword [rsi + 8], xmm0
movss dword [rsi + 4], xmm1
movss xmm7, dword [rbp - 0x80]
mov byte [rsp + 0x68], r12b
test bl, 0x20
jne 0x18005bc5a
cmp dword [rbp + 0x18], 0x10000
jne 0x18005b8d7
movaps xmm0, xmm7
jmp 0x18005b8dc
movss xmm0, dword [rbp - 0x34]
addss xmm15, xmm0
addss xmm15, xmm13
subss xmm15, dword [rsp + 0x78]
movaps xmm0, xmm15
call fcn.18003b110
mov r15d, ebx
and r15d, 0x198e001a
bt ebx, 0x14
jb 0x18005b912
test ebx, 0x700000
jne 0x18005b9b5
mov eax, dword [0x180076c04]
mov r8, r12
mov dword [rbp - 0x78], eax
movabs rdi, 0x47ae147ae147ae15
movzx eax, word [0x180076c08]
mov word [rbp - 0x74], ax
nop dword [rax]
nop word [rax + rax]
mov rax, rdi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [rbp + r8 - 0x78], al
inc r8
cmp r8, 6
jb 0x18005b940
mov r8d, r15d
lea rcx, [rbp - 0x78]
or r8d, 0x100004
mov rdx, rsi
call fcn.180058200
movzx edi, byte [rsp + 0x40]
test al, al
je 0x18005b9b5
cmp dword [r14 + 0x1ac8], r12d
je 0x18005b9a8
mov byte [rsp + 0x68], 1
cmp byte [r14 + 0x1ad5], r12b
je 0x18005b9ad
mov byte [rsp + 0x68], r12b
mov dil, 1
mov byte [rsp + 0x40], dil
bt ebx, 0x15
jb 0x18005b9c7
test ebx, 0x700000
jne 0x18005ba44
mov eax, dword [0x180076c0c]
mov r8, r12
mov dword [rbp - 0x78], eax
movabs r14, 0x47ae147ae147ae15
movzx eax, word [0x180076c10]
mov word [rbp - 0x74], ax
nop dword [rax + rax]
mov rax, r14
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [rbp + r8 - 0x78], al
inc r8
cmp r8, 6
jb 0x18005b9f0
mov r8d, r15d
lea rcx, [rbp - 0x78]
or r8d, 0x200004
mov rdx, rsi
call fcn.180058200
mov r14, qword [rbp - 0x60]
or dil, al
mov byte [rsp + 0x40], dil
bt ebx, 0x16
jb 0x18005ba56
test ebx, 0x700000
jne 0x18005bad4
mov eax, dword [0x180076c14]
mov r9, r12
mov dword [rbp - 0x78], eax
movabs r14, 0x47ae147ae147ae15
movzx eax, word [0x180076c18]
mov word [rbp - 0x74], ax
nop word [rax + rax]
mov rax, r14
mul r9
mov rax, r9
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r9b
sub al, cl
add al, 0x32
xor byte [rbp + r9 - 0x78], al
inc r9
cmp r9, 6
jb 0x18005ba80
or r15d, 0x400004
lea rcx, [rbp - 0x78]
mov r8d, r15d
mov rdx, rsi
call fcn.180058200
mov r14, qword [rbp - 0x60]
or dil, al
mov byte [rsp + 0x40], dil
call fcn.18003a8d0
lea r15, [rsi + 8]
mov eax, dword [rsp + 0x6c]
cmp byte [rsp + 0x68], r12b
je 0x18005bb7b
test eax, eax
je 0x18005bb7b
movss xmm2, dword [r15]
lea rax, [rbp - 0x68]
movss xmm1, dword [rsi + 4]
lea r9, [rbp - 0x34]
movss xmm0, dword [rsi]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.180031790
comiss xmm10, dword [rbp - 0x34]
jb 0x18005bb77
movss xmm0, dword [rsp + 0x5c]
comiss xmm0, xmm10
jbe 0x18005bb77
movss xmm0, dword [rbp - 0x68]
comiss xmm10, xmm0
jb 0x18005bc2b
movss xmm2, dword [rsp + 0x70]
ucomiss xmm2, xmm0
jp 0x18005bb50
je 0x18005bc2b
movss xmm1, dword [rsp + 0x64]
lea rax, [rsi + 4]
mov qword [rsp + 0x28], r15
mov r9, rsi
mov qword [rsp + 0x20], rax
mulss xmm2, xmm14
movss xmm0, dword [rsp + 0x5c]
call fcn.1800315d0
mov eax, dword [rsp + 0x6c]
test dil, dil
je 0x18005bca4
test eax, eax
je 0x18005bc63
movss xmm0, dword [rsi]
lea rax, [rsp + 0x70]
movss xmm1, dword [rsi + 4]
lea r9, [rsp + 0x5c]
movss xmm2, dword [r15]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
movss dword [rbp - 0x20], xmm0
movss dword [rbp - 0x1c], xmm1
movss dword [rbp - 0x18], xmm2
call fcn.180031790
mov rax, qword [r14 + 0x2f30]
cmp rax, qword [rsi]
jne 0x18005bca4
mov eax, dword [r14 + 0x2f38]
cmp eax, dword [rsi + 8]
jne 0x18005bca4
movss xmm0, dword [rsp + 0x64]
ucomiss xmm0, xmm10
jp 0x18005bc04
jne 0x18005bc04
movss xmm0, dword [r14 + 0x2f28]
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x70]
ucomiss xmm0, xmm10
jp 0x18005bca4
jne 0x18005bca4
movss xmm0, dword [r14 + 0x2f2c]
movss dword [rsp + 0x64], xmm0
jmp 0x18005bca4
comiss xmm10, dword [rbp - 0x80]
jb 0x18005bb77
movss xmm1, dword [rsp + 0x64]
lea rax, [rsi + 4]
mov qword [rsp + 0x28], r15
mov r9, rsi
mulss xmm1, xmm14
movaps xmm2, xmm0
mov qword [rsp + 0x20], rax
jmp 0x18005bb6c
lea r15, [rsi + 8]
jmp 0x18005bb77
bt ebx, 0x1c
jae 0x18005bca4
movss xmm0, dword [rsi]
lea rax, [rbp - 0x18]
movss xmm1, dword [rsi + 4]
lea r9, [rbp - 0x20]
movss xmm2, dword [r15]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
movss dword [rsp + 0x5c], xmm0
movss dword [rsp + 0x64], xmm1
movss dword [rsp + 0x70], xmm2
call fcn.1800315d0
movss xmm1, dword [r14 + 0x1568]
comiss xmm10, xmm1
jbe 0x18005bcb9
movaps xmm0, xmm10
jmp 0x18005bcc1
movaps xmm0, xmm11
minss xmm0, xmm1
mulss xmm0, dword [0x18007140c]
lea r9, [rbp + 0x48]
mov dword [rbp + 0x48], 0x3f800000
movss dword [rbp + 0x54], xmm1
movaps xmm2, xmm11
movaps xmm1, xmm11
mov dword [rbp + 0x4c], 0x3f800000
addss xmm0, xmm14
mov dword [rbp + 0x50], 0x3f800000
cvttss2si edi, xmm0
movss xmm0, dword [rsp + 0x5c]
shl edi, 0x18
mov eax, edi
mov dword [rbp - 0x34], edi
or eax, 0xffffff
mov r15d, edi
mov dword [rsp + 0x6c], eax
or r15d, 0xff
mov eax, edi
mov dword [rbp + 0x58], r15d
or eax, 0x808080
mov dword [rbp + 0x70], r15d
mov dword [rbp - 0x80], eax
mov eax, edi
or eax, 0xffff
mov dword [rbp + 0x5c], eax
mov eax, edi
or eax, 0xff00
mov dword [rbp + 0x60], eax
mov eax, edi
or eax, 0xffff00
mov dword [rbp + 0x64], eax
mov eax, edi
or eax, 0xff0000
mov dword [rbp + 0x68], eax
mov eax, edi
or eax, 0xff00ff
mov dword [rbp + 0x6c], eax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x20], rax
call fcn.1800315d0
lea rcx, [rbp + 0x48]
call fcn.180031520
movss xmm0, dword [rbp - 0x20]
lea rcx, [rbp + 0x30]
movss xmm1, dword [rbp - 0x1c]
movss dword [rbp + 0x30], xmm0
movss xmm0, dword [rbp - 0x18]
movss dword [rbp + 0x34], xmm1
movss xmm1, dword [r14 + 0x1568]
movss dword [rbp + 0x38], xmm0
movss dword [rbp + 0x3c], xmm1
mov dword [rsp + 0x60], eax
call fcn.180031520
movss xmm13, dword [0x1800713dc]
mov dword [rbp - 0x68], eax
mov qword [rbp - 0x50], r12
cmp dword [rbp + 0x28], r12d
je 0x18005c391
movss xmm0, dword [rbp - 0x38]
lea rbx, [rbp + 0x58]
movss xmm12, dword [rbp - 0x40]
movaps xmm15, xmm8
addss xmm15, xmm0
mov eax, 0x2aaaaaab
cvttss2si ecx, xmm0
movaps xmm10, xmm15
movss dword [rbp + 0x28], xmm15
mulss xmm10, dword [0x1800713b8]
movss xmm15, dword [rbp + 0x40]
imul ecx
divss xmm14, xmm0
mov r14d, edx
sar r14d, 1
mov eax, r14d
shr eax, 0x1f
add r14d, eax
mov eax, 4
cmp r14d, eax
cmovle r14d, eax
mov eax, r12d
mov dword [rbp - 0x38], eax
mov esi, dword [r13 + 0x20]
lea rdx, [rbp - 0x58]
movd xmm9, eax
movaps xmm2, xmm10
cvtdq2ps xmm9, xmm9
mov dword [rsp + 0x28], r14d
mov rcx, r13
movaps xmm6, xmm9
addss xmm9, xmm11
divss xmm6, xmm13
divss xmm9, xmm13
addss xmm6, xmm6
addss xmm9, xmm9
mulss xmm6, dword [0x1800713d4]
mulss xmm9, dword [0x1800713d4]
subss xmm6, xmm14
addss xmm9, xmm14
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm9
call fcn.180046f30
mov r9d, dword [rsp + 0x6c]
mov rcx, r13
mov r8d, dword [r13 + 0x80]
mov rdx, qword [r13 + 0x88]
movss dword [rsp + 0x28], xmm15
mov byte [rsp + 0x20], r12b
call fcn.180042d20
mov edi, dword [r13 + 0x20]
movaps xmm0, xmm6
mov dword [r13 + 0x80], r12d
call fcn.180029e30
movaps xmm8, xmm0
movaps xmm0, xmm6
mulss xmm8, xmm12
addss xmm8, dword [rbp - 0x54]
call fcn.1800297d0
movaps xmm7, xmm0
movaps xmm0, xmm9
mulss xmm7, xmm12
addss xmm7, dword [rbp - 0x58]
call fcn.180029e30
movaps xmm6, xmm0
movaps xmm0, xmm9
mulss xmm6, xmm12
addss xmm6, dword [rbp - 0x54]
call fcn.1800297d0
mulss xmm0, xmm12
add rbx, 4
mov qword [rbp + 0x30], rbx
mov r8d, edi
movaps xmm1, xmm7
mov edx, esi
unpcklps xmm1, xmm8
mov rcx, r13
addss xmm0, dword [rbp - 0x58]
mov ebx, dword [rbx]
movq r9, xmm1
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r15d
unpcklps xmm0, xmm6
movsd qword [rsp + 0x20], xmm0
call fcn.180049190
mov eax, dword [rbp - 0x38]
mov r15d, ebx
mov rbx, qword [rbp + 0x30]
inc eax
mov dword [rbp - 0x38], eax
cmp eax, 6
jl 0x18005be32
movss xmm0, dword [rsp + 0x5c]
movss xmm9, dword [0x1800713c8]
mulss xmm0, xmm9
mulss xmm0, dword [0x1800713d4]
call fcn.1800297d0
movaps xmm8, xmm0
movss xmm0, dword [rsp + 0x5c]
mulss xmm0, xmm9
mulss xmm0, dword [0x1800713d4]
call fcn.180029e30
movaps xmm1, xmm8
movss xmm14, dword [0x1800713b8]
movaps xmm2, xmm0
mulss xmm1, dword [rbp + 0x28]
movaps xmm7, xmm0
mulss xmm2, dword [rbp + 0x28]
mulss xmm1, xmm14
mulss xmm2, xmm14
addss xmm1, dword [rbp - 0x58]
addss xmm2, dword [rbp - 0x54]
movss dword [rsp + 0x48], xmm1
movss dword [rsp + 0x4c], xmm2
cmp byte [rsp + 0x58], r12b
je 0x18005bff4
movss xmm0, dword [0x180071cbc]
jmp 0x18005bffc
movss xmm0, dword [0x180076e0c]
movss xmm6, dword [rbp + 0x40]
mulss xmm6, xmm0
movaps xmm0, xmm6
divss xmm0, dword [0x180076e1c]
cvttss2si ebx, xmm0
cmp ebx, 9
jge 0x18005c020
mov ebx, 9
jmp 0x18005c02a
mov eax, 0x20
cmp ebx, eax
cmovg ebx, eax
mov edi, dword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov r9d, edi
mov dword [rsp + 0x20], ebx
movaps xmm2, xmm6
mov rcx, r13
call fcn.180041e40
mov r15d, dword [rbp - 0x80]
lea rdx, [rsp + 0x48]
movaps xmm2, xmm6
movss dword [rsp + 0x28], xmm11
addss xmm2, xmm11
mov dword [rsp + 0x20], ebx
mov r9d, r15d
mov rcx, r13
call fcn.180041cc0
movss dword [rsp + 0x28], xmm11
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x20], ebx
movaps xmm2, xmm6
mov ebx, dword [rsp + 0x6c]
mov rcx, r13
mov r9d, ebx
call fcn.180041cc0
movss xmm3, dword [rbp + 4]
lea rcx, [rbp - 0x78]
movss xmm6, dword [rbp - 0x58]
movaps xmm0, xmm3
movss xmm5, dword [rbp - 0x54]
movaps xmm2, xmm8
mulss xmm2, dword [rbp + 8]
movaps xmm1, xmm8
mulss xmm1, dword [rbp]
mulss xmm0, xmm7
mulss xmm3, xmm8
subss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [rbp]
addss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [rbp + 0xc]
addss xmm1, xmm6
subss xmm2, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [rbp + 8]
addss xmm3, xmm5
movss dword [rbp - 0x10], xmm1
addss xmm2, xmm6
movss dword [rbp - 0xc], xmm3
movaps xmm3, xmm8
mulss xmm3, dword [rbp + 0x10]
movss dword [rbp - 0x30], xmm2
movaps xmm2, xmm8
mulss xmm2, dword [rbp + 0xc]
mulss xmm8, dword [rbp + 0x14]
addss xmm2, xmm0
movaps xmm0, xmm7
mulss xmm7, dword [rbp + 0x10]
mulss xmm0, dword [rbp + 0x14]
addss xmm2, xmm5
addss xmm7, xmm8
subss xmm3, xmm0
movss dword [rbp - 0x2c], xmm2
addss xmm7, xmm5
addss xmm3, xmm6
movss dword [rbp - 0x3c], xmm7
movss dword [rbp - 0x40], xmm3
call fcn.180033920
mov edx, 6
mov rcx, r13
mov r8d, edx
call fcn.180047860
mov rcx, qword [r13 + 0x58]
movzx eax, word [r13 + 0x4c]
mov word [rcx], ax
mov rax, qword [r13 + 0x50]
movsd xmm0, qword [rbp - 0x10]
add qword [r13 + 0x58], 2
movsd qword [rax], xmm0
mov rax, qword [r13 + 0x50]
movsd xmm1, qword [rbp - 0x78]
movsd qword [rax + 8], xmm1
lea r9, [rbp - 0x40]
mov rax, qword [r13 + 0x50]
lea r8, [rbp - 0x30]
mov dword [rax + 0x10], edi
add qword [r13 + 0x50], 0x14
inc dword [r13 + 0x4c]
mov rax, qword [r13 + 0x58]
mov ecx, dword [r13 + 0x4c]
mov word [rax], cx
add qword [r13 + 0x58], 2
mov rax, qword [r13 + 0x50]
movsd xmm0, qword [rbp - 0x30]
movsd qword [rax], xmm0
mov rax, qword [r13 + 0x50]
movsd xmm1, qword [rbp - 0x78]
movsd qword [rax + 8], xmm1
mov rax, qword [r13 + 0x50]
mov dword [rax + 0x10], edi
add qword [r13 + 0x50], 0x14
inc dword [r13 + 0x4c]
mov rax, qword [r13 + 0x58]
mov ecx, dword [r13 + 0x4c]
mov word [rax], cx
add qword [r13 + 0x58], 2
mov rax, qword [r13 + 0x50]
movsd xmm0, qword [rbp - 0x40]
movsd qword [rax], xmm0
mov rax, qword [r13 + 0x50]
movsd xmm1, qword [rbp - 0x78]
movsd qword [rax + 8], xmm1
mov rax, qword [r13 + 0x50]
mov dword [rax + 0x10], ebx
add qword [r13 + 0x50], 0x14
inc dword [r13 + 0x4c]
mov rax, qword [r13 + 0x58]
mov ecx, dword [r13 + 0x4c]
mov word [rax], cx
add qword [r13 + 0x58], 2
mov rax, qword [r13 + 0x50]
movsd xmm0, qword [rbp - 0x10]
movsd qword [rax], xmm0
mov rax, qword [r13 + 0x50]
movsd xmm1, qword [rbp - 0x78]
movsd qword [rax + 8], xmm1
mov rax, qword [r13 + 0x50]
mov dword [rax + 0x10], r12d
add qword [r13 + 0x50], 0x14
inc dword [r13 + 0x4c]
mov rax, qword [r13 + 0x58]
mov ecx, dword [r13 + 0x4c]
mov word [rax], cx
mov rax, qword [r13 + 0x50]
add qword [r13 + 0x58], 2
movsd xmm0, qword [rbp - 0x30]
mov ecx, dword [rbp - 0x34]
movsd qword [rax], xmm0
mov rax, qword [r13 + 0x50]
movsd xmm1, qword [rbp - 0x78]
movsd qword [rax + 8], xmm1
mov rax, qword [r13 + 0x50]
mov dword [rax + 0x10], ecx
add qword [r13 + 0x50], 0x14
mov rax, qword [r13 + 0x58]
inc dword [r13 + 0x4c]
mov ecx, dword [r13 + 0x4c]
mov word [rax], cx
mov rax, qword [r13 + 0x50]
movsd xmm0, qword [rbp - 0x40]
add qword [r13 + 0x58], 2
movsd qword [rax], xmm0
mov rax, qword [r13 + 0x50]
movsd xmm1, qword [rbp - 0x78]
movss xmm0, dword [0x180076e20]
movss dword [rsp + 0x28], xmm0
movsd qword [rax + 8], xmm1
mov rax, qword [r13 + 0x50]
mov dword [rsp + 0x20], r15d
mov dword [rax + 0x10], r12d
add qword [r13 + 0x50], 0x14
inc dword [r13 + 0x4c]
lea rdx, [rbp - 0x10]
mov rcx, r13
call fcn.180043f20
movaps xmm0, xmm11
xorps xmm10, xmm10
subss xmm0, dword [rsp + 0x70]
comiss xmm10, xmm0
jbe 0x18005c308
xorps xmm4, xmm4
jmp 0x18005c310
movaps xmm4, xmm11
minss xmm4, xmm0
movss xmm0, dword [rsp + 0x64]
comiss xmm10, xmm0
jbe 0x18005c321
xorps xmm1, xmm1
jmp 0x18005c329
movaps xmm1, xmm11
minss xmm1, xmm0
movss xmm3, dword [rbp - 0x10]
subss xmm3, dword [rbp - 0x40]
movss xmm2, dword [rbp - 0xc]
subss xmm2, dword [rbp - 0x3c]
movss xmm0, dword [rbp - 0x2c]
movss xmm12, dword [rbp + 0x44]
mov r14, qword [rbp - 0x60]
mov rsi, qword [rbp + 0x178]
mulss xmm3, xmm1
mulss xmm2, xmm1
addss xmm3, dword [rbp - 0x40]
movss xmm1, dword [rbp - 0x30]
addss xmm2, dword [rbp - 0x3c]
subss xmm1, xmm3
subss xmm0, xmm2
mulss xmm1, xmm4
mulss xmm0, xmm4
addss xmm1, xmm3
addss xmm0, xmm2
movss dword [rbp - 0x50], xmm1
movss dword [rbp - 0x4c], xmm0
jmp 0x18005c672
bt ebx, 0x19
jae 0x18005c66a
mov eax, dword [rsp + 0x6c]
lea r8, [rbp - 0x60]
mov ecx, dword [rsp + 0x60]
lea rdx, [rsp + 0x78]
movss xmm0, dword [rsp + 0x78]
mov r9d, eax
movss xmm1, dword [rsp + 0x7c]
addss xmm0, xmm12
mov dword [rsp + 0x30], eax
addss xmm1, xmm12
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov rcx, r13
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x5c], xmm1
call fcn.180043b70
movss xmm0, dword [rsp + 0x78]
lea r8, [rbp - 0x60]
movss xmm1, dword [rsp + 0x7c]
addss xmm0, xmm12
addss xmm1, xmm12
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
lea rdx, [rsp + 0x78]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov rcx, r13
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x5c], xmm1
call fcn.180043b70
movss xmm4, dword [rsp + 0x78]
movaps xmm2, xmm10
movss xmm3, dword [rsp + 0x7c]
movaps xmm0, xmm4
movaps xmm1, xmm3
addss xmm0, xmm12
addss xmm1, xmm12
unpcklps xmm0, xmm1
movaps xmm1, xmm4
unpcklps xmm1, xmm3
movq rdx, xmm0
movq rcx, xmm1
movsd qword [rsp + 0x78], xmm1
call fcn.18003b9a0
movss xmm0, dword [rsp + 0x64]
comiss xmm10, xmm0
jbe 0x18005c474
movaps xmm1, xmm10
jmp 0x18005c47c
movaps xmm1, xmm11
minss xmm1, xmm0
movss xmm0, dword [rsp + 0x78]
movaps xmm2, xmm0
mulss xmm1, xmm12
movaps xmm3, xmm0
addss xmm2, xmm12
addss xmm3, xmm9
addss xmm1, xmm0
subss xmm2, xmm9
addss xmm1, xmm14
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm3, xmm0
jbe 0x18005c4bc
movss dword [rbp - 0x50], xmm3
jmp 0x18005c4cd
comiss xmm0, xmm2
jbe 0x18005c4c8
movss dword [rbp - 0x50], xmm2
jmp 0x18005c4cd
movss dword [rbp - 0x50], xmm0
movaps xmm1, xmm11
subss xmm1, dword [rsp + 0x70]
comiss xmm10, xmm1
jbe 0x18005c4e3
movaps xmm0, xmm10
jmp 0x18005c4eb
movaps xmm0, xmm11
minss xmm0, xmm1
movss xmm2, dword [rsp + 0x7c]
mulss xmm0, xmm12
movaps xmm3, xmm2
movaps xmm1, xmm2
addss xmm3, xmm9
addss xmm1, xmm12
addss xmm0, xmm2
subss xmm1, xmm9
addss xmm0, xmm14
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
comiss xmm3, xmm4
jbe 0x18005c52b
movss dword [rbp - 0x4c], xmm3
jmp 0x18005c53c
comiss xmm4, xmm1
jbe 0x18005c537
movss dword [rbp - 0x4c], xmm1
jmp 0x18005c53c
movss dword [rbp - 0x4c], xmm4
movss xmm8, dword [rbp - 0x10]
lea rdi, [rbp + 0x58]
movaps xmm6, xmm12
divss xmm6, xmm13
nop
mov r9d, r15d
movd xmm1, r12d
mov r15d, dword [rdi + 4]
lea ebx, [r12 + 1]
cvtdq2ps xmm1, xmm1
lea r8, [rbp - 0x60]
mov dword [rsp + 0x30], r15d
lea rdx, [rsp + 0x48]
add rdi, 4
mov rcx, r13
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r9d
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm6
mulss xmm0, xmm6
addss xmm1, xmm2
movss dword [rbp - 0x60], xmm7
movss dword [rsp + 0x48], xmm8
addss xmm0, xmm2
movss dword [rsp + 0x4c], xmm1
movss dword [rbp - 0x5c], xmm0
call fcn.180043b70
mov r12d, ebx
cmp ebx, 6
jge 0x18005c5c6
movss xmm2, dword [rsp + 0x7c]
jmp 0x18005c550
movss xmm3, dword [rsp + 0x7c]
movaps xmm2, xmm10
movss xmm0, dword [rsp + 0x5c]
movaps xmm1, xmm3
mulss xmm0, xmm12
addss xmm1, xmm12
addss xmm0, xmm3
addss xmm0, xmm14
cvttss2si eax, xmm0
movaps xmm0, xmm7
unpcklps xmm0, xmm1
movaps xmm1, xmm8
unpcklps xmm1, xmm3
movq rdx, xmm0
movq rcx, xmm1
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call fcn.18003b9a0
mov rcx, r13
movss xmm0, dword [r14 + 0x1568]
subss xmm8, xmm11
movss xmm15, dword [rbp - 8]
movss xmm7, dword [rbp - 0x48]
movaps xmm1, xmm15
movss dword [rsp + 0x20], xmm0
addss xmm1, xmm11
movaps xmm3, xmm7
movaps xmm0, xmm8
addss xmm3, xmm9
unpcklps xmm0, xmm6
movq rdx, xmm0
unpcklps xmm1, xmm15
movq r8, xmm1
call fcn.180062090
mov ebx, dword [rsp + 0x6c]
mov r15d, dword [rbp - 0x80]
jmp 0x18005c67d
mov ebx, dword [rsp + 0x6c]
mov r15d, dword [rbp - 0x80]
movss xmm15, dword [rbp - 8]
movss xmm7, dword [rbp - 0x48]
cmp byte [rsp + 0x59], 0
je 0x18005c68d
movss xmm13, dword [0x1800713e4]
mov edi, dword [rbp - 0x68]
lea rdx, [rbp - 0x50]
mov r12d, 0xc
mov r9d, edi
movaps xmm2, xmm13
mov dword [rsp + 0x20], r12d
mov rcx, r13
call fcn.180041e40
movaps xmm2, xmm13
movss dword [rsp + 0x28], xmm11
addss xmm2, xmm11
mov dword [rsp + 0x20], r12d
mov r9d, r15d
lea rdx, [rbp - 0x50]
mov rcx, r13
call fcn.180041cc0
mov r9d, ebx
movss dword [rsp + 0x28], xmm11
movaps xmm2, xmm13
mov dword [rsp + 0x20], r12d
lea rdx, [rbp - 0x50]
mov rcx, r13
call fcn.180041cc0
cmp dword [rbp + 0x18], 0x10000
movaps xmm13, xmmword [rsp + 0x1b0]
jne 0x18005c834
movss xmm0, dword [rsi + 0xc]
comiss xmm10, xmm0
jbe 0x18005c718
movaps xmm6, xmm10
jmp 0x18005c720
movaps xmm6, xmm11
minss xmm6, xmm0
movss xmm8, dword [rbp + 0x20]
movaps xmm0, xmm10
movss xmm4, dword [rsp + 0x7c]
movaps xmm3, xmm8
unpcklps xmm0, xmm10
addss xmm3, xmm7
mov dword [rsp + 0x38], 0xffffffff
movaps xmm2, xmm4
addss xmm2, xmm12
movss dword [rsp + 0x30], xmm10
movsd qword [rsp + 0x28], xmm0
xor r9d, r9d
mov rcx, r13
movaps xmm1, xmm3
movaps xmm0, xmm3
subss xmm1, xmm8
unpcklps xmm0, xmm2
movq r8, xmm0
movsd qword [rbp + 0x38], xmm0
mulss xmm1, xmm14
movss dword [rsp + 0x20], xmm1
movaps xmm1, xmm8
unpcklps xmm1, xmm4
movq rdx, xmm1
movsd qword [rbp + 0x30], xmm1
call fcn.1800482b0
mov eax, edi
lea r8, [rbp + 0x38]
and eax, 0xffffff
lea rdx, [rbp + 0x30]
mov dword [rsp + 0x30], eax
mov r9d, edi
mov dword [rsp + 0x28], eax
mov rcx, r13
mov dword [rsp + 0x20], edi
call fcn.180043b70
mov rdx, qword [rbp + 0x38]
movaps xmm0, xmm11
mov rcx, qword [rbp + 0x30]
subss xmm0, xmm6
movaps xmm2, xmm10
mulss xmm0, xmm12
addss xmm0, dword [rsp + 0x7c]
addss xmm0, xmm14
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call fcn.18003b9a0
mov rcx, r13
movss xmm0, dword [r14 + 0x1568]
subss xmm8, xmm11
movaps xmm1, xmm15
movss dword [rsp + 0x20], xmm0
addss xmm1, xmm11
addss xmm7, xmm9
movaps xmm0, xmm8
unpcklps xmm0, xmm6
unpcklps xmm1, xmm15
movq rdx, xmm0
movq r8, xmm1
movaps xmm3, xmm7
call fcn.180062090
call fcn.180032680
movzx ebx, byte [rsp + 0x40]
movaps xmm15, xmmword [rsp + 0x190]
movaps xmm14, xmmword [rsp + 0x1a0]
movaps xmm12, xmmword [rsp + 0x1c0]
movaps xmm11, xmmword [rsp + 0x1d0]
movaps xmm10, xmmword [rsp + 0x1e0]
movaps xmm9, xmmword [rsp + 0x1f0]
movaps xmm8, xmmword [rsp + 0x200]
movaps xmm7, xmmword [rsp + 0x210]
movaps xmm6, xmmword [rsp + 0x220]
mov r13, qword [rsp + 0x230]
test bl, bl
je 0x18005c8cd
cmp dword [rbp - 0x14], 0
lea rcx, [rbp + 0x80]
mov r8d, 0x10
mov rdx, rsi
cmovne r8, r12
call fcn.180066ce0
test eax, eax
jne 0x18005c8be
xor bl, bl
jmp 0x18005c8cd
mov rax, qword [rbp + 0x78]
mov ecx, dword [rax + 0x114]
call fcn.1800360c0
call fcn.18003a860
mov r12, qword [rsp + 0x280]
movzx eax, bl
add rsp, 0x238
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret