Function at 0x18005b540
Capabilities:
Encode data using xor
Hash data using fnv

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 - 0x198]
sub rsp, 0x270
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 [0x18018a040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, qword [0x18018b8a0]
xor r13d, r13d
mov qword [rsp + 0x30], r13
lea rax, [0x18016c91c]
mov qword [rsp + 0x28], rax
movss xmm15, dword [0x180173800]
movss dword [rsp + 0x20], xmm15
movss xmm12, dword [0x1801737e4]
movaps xmm3, xmm12
movss xmm2, dword [rbx + 0x3d38]
lea rdx, [rbp - 0x80]
mov rcx, qword [rbx + 0x3d30]
call fcn.180035690
movss xmm1, dword [rax]
movss xmm0, dword [rbx + 0x3d38]
addss xmm0, dword [rbx + 0x3938]
mulss xmm0, dword [0x18018be60]
movss dword [0x18018c168], xmm1
movss dword [0x18018c16c], xmm0
lea rdx, [0x18018bf30]
lea r8, [0x18018bf84]
movss xmm2, dword [0x180173690]
xorps xmm9, xmm9
movss xmm10, dword [0x180173700]
movss xmm0, dword [0x1801737bc]
movss xmm11, dword [0x1801736cc]
nop word [rax + rax]
mov ecx, dword [rdx - 0x54]
movzx eax, cl
xorps xmm6, xmm6
cvtsi2ss xmm6, rax
mulss xmm6, xmm2
mov eax, ecx
shr eax, 8
movzx eax, al
xorps xmm4, xmm4
cvtsi2ss xmm4, rax
mulss xmm4, xmm2
mov eax, ecx
shr eax, 0x10
movzx eax, al
xorps xmm5, xmm5
cvtsi2ss xmm5, rax
mulss xmm5, xmm2
shr ecx, 0x18
mov eax, ecx
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mulss xmm3, xmm2
mulss xmm3, dword [rbx + 0x38e8]
comiss xmm9, xmm6
jbe 0x18005b6cf
movaps xmm1, xmm9
jmp 0x18005b6d7
movaps xmm1, xmm10
minss xmm1, xmm6
mulss xmm1, xmm0
addss xmm1, xmm11
cvttss2si ecx, xmm1
comiss xmm9, xmm4
jbe 0x18005b6f0
movaps xmm1, xmm9
jmp 0x18005b6f8
movaps xmm1, xmm10
minss xmm1, xmm4
mulss xmm1, xmm0
addss xmm1, xmm11
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm9, xmm5
jbe 0x18005b716
movaps xmm1, xmm9
jmp 0x18005b71e
movaps xmm1, xmm10
minss xmm1, xmm5
mulss xmm1, xmm0
addss xmm1, xmm11
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm9, xmm3
jbe 0x18005b73c
movaps xmm1, xmm9
jmp 0x18005b744
movaps xmm1, xmm10
minss xmm1, xmm3
mulss xmm1, xmm0
addss xmm1, xmm11
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov dword [rdx], eax
mov ecx, dword [rdx - 0x50]
movzx eax, cl
xorps xmm6, xmm6
cvtsi2ss xmm6, rax
mulss xmm6, xmm2
mov eax, ecx
shr eax, 8
movzx eax, al
xorps xmm4, xmm4
cvtsi2ss xmm4, rax
mulss xmm4, xmm2
mov eax, ecx
shr eax, 0x10
movzx eax, al
xorps xmm5, xmm5
cvtsi2ss xmm5, rax
mulss xmm5, xmm2
shr ecx, 0x18
mov eax, ecx
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mulss xmm3, xmm2
mulss xmm3, dword [rbx + 0x38e8]
comiss xmm9, xmm6
jbe 0x18005b7b7
movaps xmm1, xmm9
jmp 0x18005b7bf
movaps xmm1, xmm10
minss xmm1, xmm6
mulss xmm1, xmm0
addss xmm1, xmm11
cvttss2si ecx, xmm1
comiss xmm9, xmm4
jbe 0x18005b7d8
movaps xmm1, xmm9
jmp 0x18005b7e0
movaps xmm1, xmm10
minss xmm1, xmm4
mulss xmm1, xmm0
addss xmm1, xmm11
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm9, xmm5
jbe 0x18005b7fe
movaps xmm1, xmm9
jmp 0x18005b806
movaps xmm1, xmm10
minss xmm1, xmm5
mulss xmm1, xmm0
addss xmm1, xmm11
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm9, xmm3
jbe 0x18005b824
movaps xmm1, xmm9
jmp 0x18005b82c
movaps xmm1, xmm10
minss xmm1, xmm3
mulss xmm1, xmm0
addss xmm1, xmm11
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov dword [rdx + 4], eax
mov ecx, dword [rdx - 0x4c]
movzx eax, cl
xorps xmm6, xmm6
cvtsi2ss xmm6, rax
mulss xmm6, xmm2
mov eax, ecx
shr eax, 8
movzx eax, al
xorps xmm4, xmm4
cvtsi2ss xmm4, rax
mulss xmm4, xmm2
mov eax, ecx
shr eax, 0x10
movzx eax, al
xorps xmm5, xmm5
cvtsi2ss xmm5, rax
mulss xmm5, xmm2
shr ecx, 0x18
mov eax, ecx
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mulss xmm3, xmm2
mulss xmm3, dword [rbx + 0x38e8]
comiss xmm9, xmm6
jbe 0x18005b8a0
movaps xmm1, xmm9
jmp 0x18005b8a8
movaps xmm1, xmm10
minss xmm1, xmm6
mulss xmm1, xmm0
addss xmm1, xmm11
cvttss2si ecx, xmm1
comiss xmm9, xmm4
jbe 0x18005b8c1
movaps xmm1, xmm9
jmp 0x18005b8c9
movaps xmm1, xmm10
minss xmm1, xmm4
mulss xmm1, xmm0
addss xmm1, xmm11
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm9, xmm5
jbe 0x18005b8e7
movaps xmm1, xmm9
jmp 0x18005b8ef
movaps xmm1, xmm10
minss xmm1, xmm5
mulss xmm1, xmm0
addss xmm1, xmm11
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm9, xmm3
jbe 0x18005b90d
movaps xmm1, xmm9
jmp 0x18005b915
movaps xmm1, xmm10
minss xmm1, xmm3
mulss xmm1, xmm0
addss xmm1, xmm11
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov dword [rdx + 8], eax
add rdx, 0xc
cmp rdx, r8
jl 0x18005b670
mov rax, qword [rbx + 0x4000]
movss xmm8, dword [rax + 0x264]
subss xmm8, dword [rax + 0x2c]
movss xmm0, dword [rax + 0x260]
subss xmm0, dword [rax + 0x28]
movss dword [rsp + 0x5c], xmm0
mov byte [rax + 0xc0], 1
mov rax, qword [rbx + 0x4000]
mov rsi, qword [rax + 0x2a8]
mov qword [rsp + 0x50], rsi
movss xmm14, dword [0x18018bec0]
movss dword [rsp + 0x58], xmm14
movss dword [rbp + 0x84], xmm14
cmp byte [0x18018bebc], r13b
je 0x18005b9bf
mov byte [0x18018bebc], r13b
mov rax, qword [rbx + 0x4000]
mov dword [rax + 0xa0], r13d
mov dword [rax + 0xa8], r13d
mov dword [rax + 0xb0], r13d
mov rax, qword [rbx + 0x4000]
movss xmm0, dword [rax + 0x110]
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [rax + 0x114]
movss dword [rbp - 0x48], xmm0
movss xmm13, dword [rax + 0x8c]
movss dword [rsp + 0x60], xmm13
movss xmm6, dword [rax + 0x90]
movaps xmm0, xmm6
divss xmm0, dword [0x18018c16c]
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si r12d, xmm0
mov dword [rsp + 0x74], r12d
addss xmm8, xmm6
divss xmm8, dword [0x18018c16c]
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si r8d, xmm0
add r8d, r12d
mov rcx, qword [0x18018be70]
sub rcx, qword [0x18018be68]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea eax, [rdx - 1]
cmp r8d, eax
cmovl eax, r8d
mov edi, r13d
test eax, eax
cmovg edi, eax
mov r9d, edx
lea r8, str.__d
mov edx, 0x10
lea rcx, [rbp + 0xb0]
call fcn.1800565b0
mov rbx, qword [0x18018b8a0]
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm15
movaps xmm3, xmm12
movss xmm2, dword [rbx + 0x3d38]
lea rdx, [rbp - 0x80]
mov rcx, qword [rbx + 0x3d30]
call fcn.180035690
movd xmm0, dword [0x18018bec4]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rax]
movss dword [0x18018bec0], xmm0
mov rax, qword [0x18018be70]
cmp qword [0x18018be68], rax
je 0x18005cbee
mov qword [rsp + 0x30], r13
lea rax, [0x180168458]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm15
movaps xmm3, xmm12
movss xmm2, dword [rbx + 0x3d38]
lea rdx, [rbp + 0x78]
mov rcx, qword [rbx + 0x3d30]
call fcn.180035690
movss xmm14, dword [rax]
movsxd rax, r12d
mov qword [rsp + 0x68], rax
movsxd rcx, edi
mov qword [rbp - 0x80], rcx
movabs rdi, 0x100000001b3
movabs r15, 0xcbf29ce484222325
cmp rax, rcx
jg 0x18005ca59
movss xmm8, dword [rsp + 0x78]
movaps xmm0, xmm8
addss xmm0, xmm13
movss dword [rsp + 0x70], xmm0
nop dword [rax]
movd xmm12, r12d
cvtdq2ps xmm12, xmm12
mulss xmm12, dword [0x18018c16c]
addss xmm12, dword [rbp - 0x48]
movaps xmm13, xmm8
addss xmm13, dword [0x18018bec0]
lea r14, [rax + rax*2]
mov qword [rbp - 0x50], r14
mov r15, qword [0x18018be68]
mov qword [rbp + 0x88], r15
mov edx, r12d
call fcn.180059480
mov dword [rbp - 0x38], r12d
mov dword [rbp - 0x34], eax
lea rdx, [rbp - 0x38]
call fcn.180060aa0
addss xmm0, dword [0x18018bec0]
movss dword [rbp - 0x78], xmm0
lea rax, [rbp + 0x84]
lea rcx, [rbp - 0x78]
movss xmm1, dword [rsp + 0x58]
comiss xmm1, xmm0
cmovbe rax, rcx
movss xmm0, dword [rax]
movss dword [rsp + 0x58], xmm0
movss dword [rbp + 0x84], xmm0
mov edx, r12d
call fcn.180059480
mov ebx, eax
mov dword [rbp + 0xa8], r12d
mov dword [rbp + 0xac], eax
movaps xmm7, xmm15
movaps xmm6, xmm15
mov r8d, dword [0x18018be84]
mov ecx, dword [0x18018be80]
cmp ecx, r12d
je 0x18005bc30
setl dl
jmp 0x18005bc36
cmp r8d, ebx
setle dl
test dl, dl
je 0x18005bc5e
cmp ecx, r12d
jne 0x18005bc42
test r8d, r8d
setg al
test al, al
je 0x18005bc5a
lea rdx, [0x18018be80]
call fcn.180060aa0
movaps xmm7, xmm0
jmp 0x18005bc5e
movaps xmm7, xmm9
mov eax, dword [0x18018be88]
mov edx, dword [0x18018be8c]
cmp eax, r12d
jne 0x18005bc71
test edx, edx
setg cl
test cl, cl
je 0x18005bca4
cmp eax, r12d
jne 0x18005bc7f
cmp edx, ebx
setl al
lea rdx, [rbp + 0xa8]
test al, al
lea rax, [0x18018be88]
cmovne rdx, rax
call fcn.180060aa0
movaps xmm6, xmm0
mov eax, dword [0x18018be88]
cmp eax, r12d
jle 0x18005bcb1
addss xmm6, dword [0x18018c168]
ucomiss xmm7, xmm15
jp 0x18005bcb9
je 0x18005bd21
ucomiss xmm6, xmm15
jp 0x18005bcc1
je 0x18005bd21
comiss xmm6, xmm7
jbe 0x18005bd21
movaps xmm2, xmm8
addss xmm2, dword [0x18018bec0]
movaps xmm0, xmm2
addss xmm0, xmm7
movss dword [rbp - 0x28], xmm0
movss dword [rbp - 0x24], xmm12
movaps xmm1, xmm12
addss xmm1, dword [0x18018c16c]
addss xmm2, xmm6
movss dword [rbp - 0x30], xmm2
movss dword [rbp - 0x2c], xmm1
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm9
mov r9d, dword [0x18018bf68]
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x28]
mov rcx, rsi
call fcn.180031720
movss xmm0, dword [rsp + 0x70]
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x5c], xmm12
lea esi, [r12 + 1]
mov r8d, esi
mov eax, esi
shr eax, 8
movzx edx, al
movzx eax, sil
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
imul rax, rdi
xor rdx, rax
imul rdx, rdi
mov eax, esi
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, rdi
mov eax, esi
shr rax, 0x18
xor rdx, rax
imul rdx, rdi
and rdx, qword [0x18018c148]
add rdx, rdx
mov rcx, qword [0x18018c130]
mov rax, qword [rcx + rdx*8 + 8]
cmp rax, qword [0x18018c120]
je 0x18005bdb4
mov rcx, qword [rcx + rdx*8]
cmp r8d, dword [rax + 0x10]
je 0x18005bdb7
cmp rax, rcx
je 0x18005bdb4
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x18005bda3
jmp 0x18005bdb7
mov rax, r13
mov rbx, qword [rsp + 0x50]
test rax, rax
je 0x18005be15
movaps xmm2, xmm12
addss xmm2, dword [0x18018c16c]
movaps xmm1, xmm8
addss xmm1, dword [rsp + 0x5c]
movss xmm3, dword [rsp + 0x60]
movaps xmm0, xmm3
addss xmm0, xmm3
addss xmm1, xmm0
movss dword [rbp - 0x20], xmm1
movss dword [rbp - 0x1c], xmm2
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm9
mov r9d, dword [0x18018bf70]
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.180031720
mov rcx, qword [0x18018c158]
mov rax, qword [rcx + 8]
mov rdi, rcx
cmp byte [rax + 0x19], 0
jne 0x18005be47
nop dword [rax]
cmp dword [rax + 0x20], esi
jge 0x18005be3b
mov rax, qword [rax + 0x10]
jmp 0x18005be41
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18005be30
cmp byte [rdi + 0x19], 0
jne 0x18005be52
cmp esi, dword [rdi + 0x20]
jge 0x18005be55
mov rdi, rcx
cmp rdi, rcx
je 0x18005c0b5
movaps xmm7, xmm12
addss xmm7, dword [0x18018c16c]
movaps xmm6, xmm8
addss xmm6, dword [rsp + 0x5c]
movss xmm1, dword [rsp + 0x60]
movaps xmm0, xmm1
addss xmm0, xmm1
addss xmm6, xmm0
movss dword [rbp - 0x18], xmm6
movss dword [rbp - 0x14], xmm7
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm9
mov r9d, dword [0x18018bf6c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.180031720
mov rcx, qword [0x18018b8a0]
mov rax, qword [rcx + 0x4000]
movaps xmm1, xmm12
maxss xmm1, dword [rax + 0x24c]
movaps xmm0, xmm8
maxss xmm0, dword [rax + 0x248]
minss xmm7, dword [rax + 0x254]
minss xmm6, dword [rax + 0x250]
movss xmm3, dword [rcx + 0xe40]
movss xmm4, dword [rcx + 0x394c]
subss xmm0, xmm4
comiss xmm3, xmm0
jb 0x18005c0b5
movss xmm0, dword [rcx + 0xe44]
movss xmm2, dword [rcx + 0x3950]
subss xmm1, xmm2
comiss xmm0, xmm1
jb 0x18005c0b5
addss xmm6, xmm4
comiss xmm6, xmm3
jbe 0x18005c0b5
addss xmm7, xmm2
comiss xmm7, xmm0
jbe 0x18005c0b5
xor ecx, ecx
call fcn.18001ea30
mov rbx, qword [0x18018b8a0]
mov dword [rbp - 0x78], r13d
movups xmm0, xmmword [rbx + 0x39cc]
movups xmmword [rbp - 0x74], xmm0
lea rcx, [rbx + 0x4a78]
lea rdx, [rbp - 0x78]
call fcn.180026080
cmp dword [rbx + 0x4a74], 0
je 0x18005bf9a
mov dword [rbx + 0x39cc], 0x3f800000
mov dword [rbx + 0x39d0], 0x3e4ccccd
mov dword [rbx + 0x39d4], 0x3e4ccccd
mov dword [rbx + 0x39d8], 0x3f800000
mov edx, dword [rdi + 0x20]
lea rcx, str.Error_at_line__d:
call fcn.18003c370
mov rbx, qword [0x18018b8a0]
movsxd rax, dword [rbx + 0x4a78]
cmp eax, 1
jl 0x18005bfe2
lea rdx, [rax + rax*4]
mov rcx, qword [rbx + 0x4a80]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [rbx + rax*8 + 0x39cc], xmm0
dec dword [rbx + 0x4a78]
mov rdx, qword [rbx + 0x4000]
cmp byte [rdx + 0xc3], 0
jne 0x18005c025
mov r8d, dword [rdx + 0x1c4]
mov eax, r8d
neg eax
sbb ecx, ecx
add ecx, 2
cmp qword [rdx + 0x1b8], 0
je 0x18005c015
neg r8d
sbb ecx, ecx
add ecx, 6
movaps xmm1, xmm10
call fcn.18003e930
mov rbx, qword [0x18018b8a0]
movaps xmm6, xmmword [0x180173950]
mov dword [rbp - 0x78], r13d
movups xmm0, xmmword [rbx + 0x39cc]
movups xmmword [rbp - 0x74], xmm0
lea rcx, [rbx + 0x4a78]
lea rdx, [rbp - 0x78]
call fcn.180026080
cmp dword [rbx + 0x4a74], 0
je 0x18005c05b
movups xmmword [rbx + 0x39cc], xmm6
lea rdx, [rdi + 0x28]
cmp qword [rdx + 0x18], 0xf
jbe 0x18005c069
mov rdx, qword [rdx]
lea rcx, [0x180102ed8]
call fcn.18003c370
mov r8, qword [0x18018b8a0]
movsxd rax, dword [r8 + 0x4a78]
cmp eax, 1
jl 0x18005c0b0
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4a80]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x39cc], xmm0
dec dword [r8 + 0x4a78]
call fcn.1800199a0
mov r9d, esi
lea r8, str._d
mov edx, 0x10
lea rcx, [rbp + 0xb0]
call fcn.1800565b0
mov rbx, qword [0x18018b8a0]
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm15
movss xmm6, dword [0x1801737e4]
movaps xmm3, xmm6
movss xmm2, dword [rbx + 0x3d38]
lea rdx, [rbp + 0x68]
mov rcx, qword [rbx + 0x3d30]
call fcn.180035690
movaps xmm0, xmm8
addss xmm0, dword [0x18018bec0]
subss xmm0, dword [rax]
movss dword [rbp - 0x10], xmm0
movss dword [rbp - 0xc], xmm12
mov edx, dword [0x18018bf74]
test edx, 0xff000000
je 0x18005c1c4
lea rcx, [rbp + 0xb0]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x18005c150
lea rcx, [rbp + 0xb0]
add rcx, rax
lea rax, [rbp + 0xb0]
mov rsi, qword [rsp + 0x50]
cmp rax, rcx
je 0x18005c1c9
mov rax, qword [rsi + 0x38]
movups xmm0, xmmword [rsi + 0x88]
movups xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm9
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edx
lea r9, [rbp - 0x10]
movss xmm2, dword [rax + 0x10]
mov rdx, rsi
mov rcx, qword [rax + 8]
call fcn.1800358b0
jmp 0x18005c1c9
mov rsi, qword [rsp + 0x50]
cmp dword [0x18018be90], r12d
jne 0x18005c49a
call fcn.18001a540
movzx ebx, al
call fcn.18005f4f0
test al, al
jne 0x18005c307
movaps xmm7, xmm12
addss xmm7, dword [0x18018c16c]
movss xmm6, dword [rsp + 0x5c]
movss xmm8, dword [rsp + 0x70]
addss xmm6, xmm8
addss xmm6, dword [rsp + 0x60]
movss dword [rbp - 8], xmm6
movss dword [rbp - 4], xmm7
mov r9d, ebx
xor r9, 1
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm9
lea rax, [0x18018bf78]
mov r9d, dword [rax + r9*4]
lea r8, [rbp - 8]
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.180031720
mov edi, dword [0x18018bf80]
test edi, 0xff000000
je 0x18005c2ff
movaps xmm1, xmm12
addss xmm1, xmm11
movaps xmm0, xmm8
addss xmm0, xmm11
mov dword [rsp + 0x20], r13d
movaps xmm3, xmm10
mov rcx, rsi
test byte [rsi + 0x30], 1
je 0x18005c2a5
subss xmm7, xmm11
subss xmm6, xmm11
movss dword [rbp], xmm6
movss dword [rbp + 4], xmm7
movss dword [rbp + 8], xmm0
movss dword [rbp + 0xc], xmm1
lea r8, [rbp]
lea rdx, [rbp + 8]
jmp 0x18005c2d1
subss xmm7, dword [0x1801736c8]
subss xmm6, dword [0x1801736c8]
movss dword [rbp + 0x10], xmm6
movss dword [rbp + 0x14], xmm7
movss dword [rbp + 0x18], xmm0
movss dword [rbp + 0x1c], xmm1
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x18]
call fcn.180030f90
movss dword [rsp + 0x28], xmm10
mov dword [rsp + 0x20], 1
mov r9d, edi
mov r8d, dword [rsi + 0x78]
mov rdx, qword [rsi + 0x80]
mov rcx, rsi
call fcn.18002f1a0
mov dword [rsi + 0x78], r13d
movss xmm6, dword [0x1801737e4]
test bl, bl
je 0x18005c49a
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
mov rbx, rdx
sar rbx, 0xb
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov rdi, rbx
sub rdi, qword [0x18018c1a0]
cmp rdi, 0x190
jbe 0x18005c49a
movaps xmm7, xmm10
lea rdx, [0x18018be90]
call fcn.180059210
movsxd rsi, eax
lea rdx, [0x18018be90]
call fcn.180060aa0
movaps xmm8, xmm0
cmp byte [0x18018beb8], 0
je 0x18005c434
mov r8, qword [r15 + r14*8]
mov rcx, qword [r15 + r14*8 + 8]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp esi, edx
jge 0x18005c434
lea rcx, [rsi + rsi*2]
movzx eax, byte [r8 + rcx*4]
cmp al, 9
jne 0x18005c3e9
movd xmm6, dword [0x18018beb4]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm14
addss xmm0, xmm10
divss xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
movaps xmm7, xmm0
addss xmm7, xmm10
mulss xmm7, xmm6
subss xmm7, xmm8
jmp 0x18005c434
mov byte [rbp + 0x80], al
mov byte [rbp + 0x81], 0
mov rax, qword [0x18018b8a0]
mov qword [rsp + 0x30], r13
lea rcx, [rbp + 0x80]
mov qword [rsp + 0x28], rcx
movss dword [rsp + 0x20], xmm15
movaps xmm3, xmm6
movss xmm2, dword [rax + 0x3d38]
lea rdx, [rbp + 0x60]
mov rcx, qword [rax + 0x3d30]
call fcn.180035690
movss xmm7, dword [rax]
movaps xmm1, xmm13
addss xmm1, xmm8
movss dword [rbp + 0x28], xmm1
movss dword [rbp + 0x2c], xmm12
movaps xmm0, xmm12
addss xmm0, dword [0x18018c16c]
addss xmm1, xmm7
movss dword [rbp + 0x20], xmm1
movss dword [rbp + 0x24], xmm0
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm9
mov r9d, dword [0x18018bf64]
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x28]
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
call fcn.180031720
cmp rdi, 0x320
jbe 0x18005c49a
mov qword [0x18018c1a0], rbx
mov rbx, r14
mov r11, qword [r15 + rbx*8 + 8]
mov r10, qword [r15 + rbx*8]
cmp r10, r11
jne 0x18005c4b4
mov r12d, dword [0x18018bf30]
jmp 0x18005c4bf
mov rdx, r10
call fcn.18005a380
mov r12d, eax
movaps xmm7, xmm9
mov r15d, r13d
mov r14, r13
sub r11, r10
movabs rax, 0x2aaaaaaaaaaaaaab
imul r11
sar rdx, 1
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
je 0x18005c941
nop dword [rax]
lea rax, [r14 + r14*2]
lea rdi, [r10 + rax*4]
mov rdx, rdi
call fcn.18005a380
mov esi, eax
cmp eax, r12d
jne 0x18005c518
movzx ecx, byte [rdi]
cmp cl, 9
je 0x18005c518
cmp cl, 0x20
jne 0x18005c64d
cmp qword [0x18018c190], 0
je 0x18005c64d
movaps xmm1, xmm12
addss xmm1, xmm9
movaps xmm0, xmm7
addss xmm0, xmm13
movss dword [rbp + 0x30], xmm0
movss dword [rbp + 0x34], xmm1
lea rdx, [0x18018c180]
mov r8, qword [0x18018c180]
mov r9, qword [0x18018c198]
cmp r9, 0xf
cmova rdx, r8
test r12d, 0xff000000
je 0x18005c5dc
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x18005c570
add rcx, rdx
cmp rdx, rcx
je 0x18005c5dc
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx + 0x38]
movups xmm0, xmmword [rbx + 0x88]
movups xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm9
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
lea r9, [rbp + 0x30]
movss xmm2, dword [rax + 0x10]
mov rdx, rbx
mov rcx, qword [rax + 8]
call fcn.1800358b0
mov r9, qword [0x18018c198]
mov r8, qword [0x18018c180]
mov rbx, qword [0x18018b8a0]
lea rax, [0x18018c180]
cmp r9, 0xf
cmova rax, r8
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm15
movss xmm3, dword [0x1801737e4]
movss xmm2, dword [rbx + 0x3d38]
lea rdx, [rbp + 0x58]
mov rcx, qword [rbx + 0x3d30]
call fcn.180035690
addss xmm7, dword [rbp + 0x58]
mov qword [0x18018c190], r13
lea rax, [0x18018c180]
cmp qword [0x18018c198], 0xf
cmova rax, qword [0x18018c180]
mov byte [rax], 0
mov rbx, qword [rbp - 0x50]
mov r12d, esi
movzx ecx, byte [rdi]
cmp cl, 9
jne 0x18005c77f
movaps xmm8, xmm7
movd xmm6, dword [0x18018beb4]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm14
addss xmm7, xmm10
divss xmm7, xmm6
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
movaps xmm7, xmm0
addss xmm7, xmm10
mulss xmm7, xmm6
inc r15d
inc r14
cmp byte [0x18018bedb], 0
je 0x18005c903
mov rax, qword [0x18018b8a0]
movss xmm4, dword [rax + 0x3d38]
movaps xmm1, xmm13
addss xmm1, xmm8
addss xmm1, xmm10
movaps xmm3, xmm13
addss xmm3, xmm7
subss xmm3, xmm10
movaps xmm2, xmm12
addss xmm2, xmm9
movaps xmm0, xmm4
mulss xmm0, xmm11
addss xmm2, xmm0
movss dword [rbp + 0x38], xmm1
movss dword [rbp + 0x3c], xmm2
movss dword [rbp - 0x58], xmm3
movss dword [rbp - 0x54], xmm2
mulss xmm4, dword [0x1801736ac]
subss xmm3, xmm4
movss dword [rbp + 0x40], xmm3
movaps xmm0, xmm2
subss xmm0, xmm4
movss dword [rbp + 0x44], xmm0
movss dword [rbp + 0x48], xmm3
addss xmm4, xmm2
movss dword [rbp + 0x4c], xmm4
movss dword [rsp + 0x20], xmm10
mov r9d, 0x90909090
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x38]
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
call fcn.1800314b0
movss dword [rsp + 0x20], xmm10
mov r9d, 0x90909090
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.1800314b0
movss dword [rsp + 0x20], xmm10
mov r9d, 0x90909090
lea r8, [rbp + 0x48]
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.1800314b0
jmp 0x18005c908
cmp cl, 0x20
jne 0x18005c835
mov rsi, qword [rsp + 0x50]
cmp byte [0x18018bedb], 0
je 0x18005c825
mov rax, qword [0x18018b8a0]
movss xmm2, dword [rax + 0x3d38]
movaps xmm3, xmm7
addss xmm3, xmm13
movaps xmm0, xmm14
mulss xmm0, xmm11
addss xmm3, xmm0
movaps xmm1, xmm12
addss xmm1, xmm9
mulss xmm2, xmm11
addss xmm1, xmm2
movss dword [rbp + 0x50], xmm3
movss dword [rbp + 0x54], xmm1
mov dword [rsp + 0x28], 3
movss xmm0, dword [0x18017375c]
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm9
movss xmm2, dword [0x180173718]
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.180030b60
mov r9d, 0x80808080
mov r8d, dword [rsi + 0x78]
mov rdx, qword [rsi + 0x80]
mov rcx, rsi
call fcn.1800300c0
mov dword [rsi + 0x78], r13d
addss xmm7, xmm14
inc r15d
inc r14
jmp 0x18005c908
movzx eax, cl
and al, 0xfe
cmp al, 0xfc
jne 0x18005c845
mov ebx, 6
jmp 0x18005c883
movzx eax, cl
and al, 0xfc
cmp al, 0xf8
jne 0x18005c855
mov ebx, 5
jmp 0x18005c883
movzx eax, cl
and al, 0xf8
cmp al, 0xf0
jne 0x18005c865
mov ebx, 4
jmp 0x18005c883
movzx eax, cl
and al, 0xf0
cmp al, 0xe0
jne 0x18005c875
mov ebx, 3
jmp 0x18005c883
and cl, 0xe0
mov ebx, r13d
cmp cl, 0xc0
sete bl
inc ebx
lea rdi, [r14 + r14*2]
shl rdi, 2
mov eax, ebx
add r14, rax
add r15d, ebx
mov rsi, qword [rbp - 0x50]
mov r13, qword [rbp + 0x88]
nop
dec ebx
mov rax, qword [r13 + rsi*8]
movzx r9d, byte [rdi + rax]
lea rdi, [rdi + 0xc]
mov rcx, qword [0x18018c190]
mov rdx, qword [0x18018c198]
cmp rcx, rdx
jae 0x18005c8ec
lea rax, [rcx + 1]
mov qword [0x18018c190], rax
lea rax, [0x18018c180]
cmp rdx, 0xf
cmova rax, qword [0x18018c180]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18005c8f8
lea rcx, [0x18018c180]
call fcn.1800098a0
test ebx, ebx
jg 0x18005c8a0
xor r13d, r13d
mov rbx, qword [rbp - 0x50]
mov rsi, qword [rsp + 0x50]
mov rax, qword [rbp + 0x88]
mov r10, qword [rax + rbx*8]
mov rcx, qword [rax + rbx*8 + 8]
sub rcx, r10
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r15d
cmp rax, rdx
jb 0x18005c4f0
cmp qword [0x18018c190], 0
je 0x18005ca16
addss xmm12, xmm9
addss xmm7, xmm13
movss dword [rbp - 0x40], xmm7
movss dword [rbp - 0x3c], xmm12
lea rdi, [0x18018c180]
mov rdx, rdi
mov r8, qword [0x18018c180]
mov r9, qword [0x18018c198]
cmp r9, 0xf
cmova rdx, r8
test r12d, 0xff000000
je 0x18005ca01
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x18005c994
add rcx, rdx
cmp rdx, rcx
je 0x18005ca01
mov rax, qword [rsi + 0x38]
movups xmm0, xmmword [rsi + 0x88]
movups xmmword [rbp + 0x88], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm9
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdx
lea rcx, [rbp + 0x88]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
lea r9, [rbp - 0x40]
movss xmm2, dword [rax + 0x10]
mov rdx, rsi
mov rcx, qword [rax + 8]
call fcn.1800358b0
mov r9, qword [0x18018c198]
mov r8, qword [0x18018c180]
mov qword [0x18018c190], r13
mov rax, rdi
cmp r9, 0xf
cmova rax, r8
mov byte [rax], 0
mov r12d, dword [rsp + 0x74]
inc r12d
mov dword [rsp + 0x74], r12d
mov dword [rbp - 0x78], r12d
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
cmp rax, qword [rbp - 0x80]
movss xmm8, dword [rsp + 0x78]
movabs rdi, 0x100000001b3
jle 0x18005bb70
movabs r15, 0xcbf29ce484222325
mov rax, qword [0x18018b8a0]
movss xmm0, dword [rax + 0xe40]
movss xmm2, dword [rax + 0xe44]
movss xmm1, dword [0x180173808]
comiss xmm0, xmm1
jb 0x18005ca86
comiss xmm2, xmm1
jb 0x18005ca86
mov cl, 1
jmp 0x18005ca88
xor cl, cl
test cl, cl
je 0x18005cbe7
movsd xmm0, qword [rax + 0xe40]
movsd qword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x60]
call fcn.180058880
mov r8, rax
lea rdx, [rbp + 0x88]
call fcn.18005a290
nop
mov rbx, qword [rbp + 0x98]
test rbx, rbx
je 0x18005cbdb
lea rdx, [rbp + 0x88]
mov rsi, qword [rbp + 0x88]
mov r14, qword [rbp + 0xa0]
cmp r14, 0xf
cmova rdx, rsi
mov r9, r15
mov rcx, r13
test rbx, rbx
je 0x18005cb05
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, rdi
inc rcx
cmp rcx, rbx
jb 0x18005caf2
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x68]
lea rcx, [0x18018bfe8]
call fcn.1800662d0
mov rcx, qword [rax + 8]
mov rdi, qword [0x18018bff0]
test rcx, rcx
cmovne rdi, rcx
cmp rdi, qword [0x18018bff0]
je 0x18005cb47
xor ecx, ecx
call fcn.18001ea30
lea rcx, [rdi + 0x38]
jmp 0x18005cbc4
lea rcx, [rbp + 0x88]
cmp r14, 0xf
cmova rcx, rsi
test rbx, rbx
je 0x18005cb84
movabs rdx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r13]
xor r15, rax
imul r15, rdx
inc r13
cmp r13, rbx
jb 0x18005cb70
mov r9, r15
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x68]
lea rcx, [0x18018c028]
call fcn.1800662d0
mov rcx, qword [rax + 8]
mov rbx, qword [0x18018c030]
test rcx, rcx
cmovne rbx, rcx
cmp rbx, qword [0x18018c030]
je 0x18005cbdb
xor ecx, ecx
call fcn.18001ea30
lea rcx, [rbx + 0x38]
cmp qword [rcx + 0x18], 0xf
jbe 0x18005cbce
mov rcx, qword [rcx]
xor edx, edx
call fcn.18003bca0
call fcn.1800199a0
nop
lea rcx, [rbp + 0x88]
call fcn.180009390
movss xmm14, dword [rsp + 0x58]
addss xmm14, dword [0x180173730]
movss dword [rsp + 0x68], xmm14
mov rcx, qword [0x18018be70]
sub rcx, qword [0x18018be68]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm0, xmm0
js 0x18005cc33
cvtsi2ss xmm0, rdx
jmp 0x18005cc48
mov rax, rdx
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mulss xmm0, dword [0x18018c16c]
movss dword [rsp + 0x6c], xmm0
lea rcx, [rsp + 0x68]
call fcn.18003e730
cmp byte [0x18018bebb], 0
je 0x18005cc8a
call fcn.180060d60
xor edx, edx
mov rcx, qword [0x18018b8a0]
mov rcx, qword [rcx + 0x4000]
call fcn.180019bd0
mov byte [0x18018bebb], 0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1800da3a0
lea r11, [rsp + 0x270]
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