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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x240
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 [0x180069240]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov r15, rcx
call fcn.18000a820
mov rbx, rax
call fcn.18000a830
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [0x18005b870]
mov qword [rsp + 0x28], rax
movss xmm14, dword [0x180055fa4]
movss dword [rsp + 0x20], xmm14
movss xmm8, dword [0x180055fa0]
movaps xmm3, xmm8
movaps xmm2, xmm0
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.18001c6d0
movss xmm6, dword [rax]
call fcn.18000b120
mulss xmm0, dword [r15]
movss dword [r15 + 0x308], xmm6
movss dword [r15 + 0x30c], xmm0
lea rbx, [r15 + 0xd0]
mov edi, 0x15
nop dword [rax + rax]
mov edx, dword [rbx - 0x54]
lea rcx, [rbp + 0x60]
call fcn.180008380
call fcn.18000b110
movss xmm0, dword [rbp + 0x6c]
mulss xmm0, dword [rax]
movss dword [rbp + 0x6c], xmm0
lea rcx, [rbp + 0x60]
call fcn.1800082d0
mov dword [rbx], eax
lea rbx, [rbx + 4]
sub rdi, 1
jne 0x180049810
lea rcx, [rbp - 0x30]
call fcn.18000b310
call fcn.18000b350
mov qword [rsp + 0x48], rax
movss xmm10, dword [r15 + 0x60]
movss dword [rsp + 0x54], xmm10
xorps xmm9, xmm9
cmp byte [r15 + 0x5c], r13b
je 0x18004987a
mov byte [r15 + 0x5c], r13b
xorps xmm0, xmm0
call fcn.180016340
lea rcx, [rbp + 0x38]
call fcn.18000a7e0
call fcn.18000b0d0
movss dword [rsp + 0x70], xmm0
call fcn.18000b0f0
movaps xmm7, xmm0
movss xmm6, dword [r15 + 0x30c]
divss xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si esi, xmm0
mov dword [rsp + 0x58], esi
movss xmm0, dword [rbp - 0x2c]
addss xmm0, xmm7
divss xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si r8d, xmm0
add r8d, esi
mov rcx, qword [r15 + 0x10]
sub rcx, qword [r15 + 8]
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 + 0x88]
call fcn.180052340
call fcn.18000a820
mov rbx, rax
call fcn.18000a830
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0x88]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm14
movaps xmm3, xmm8
movaps xmm2, xmm0
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.18001c6d0
movd xmm0, dword [r15 + 0x64]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rax]
movss dword [r15 + 0x60], xmm0
mov rax, qword [r15 + 0x10]
cmp qword [r15 + 8], rax
je 0x18004a77c
call fcn.18000a820
mov rbx, rax
call fcn.18000a830
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [0x18005605c]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm14
movaps xmm3, xmm8
movaps xmm2, xmm0
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.18001c6d0
movss xmm13, dword [rax]
movabs r12, 0x100000001b3
cmp esi, edi
jg 0x18004a545
movsxd rcx, esi
mov qword [rsp + 0x60], rcx
movsxd rax, edi
mov qword [rsp + 0x68], rax
lea rdi, [r15 + 0x28]
lea eax, [rsi + 1]
mov dword [rsp + 0x50], eax
movss xmm12, dword [0x180055f4c]
movss xmm15, dword [0x180055f24]
nop dword [rax + rax]
movd xmm11, esi
cvtdq2ps xmm11, xmm11
mulss xmm11, dword [r15 + 0x30c]
addss xmm11, dword [rbp + 0x3c]
movss xmm10, dword [rbp + 0x38]
movss dword [rbp - 0x48], xmm10
movss dword [rbp - 0x44], xmm11
addss xmm10, dword [r15 + 0x60]
lea r14, [rcx + rcx*2]
mov qword [rbp - 0x78], r14
mov r12, qword [r15 + 8]
mov qword [rsp + 0x78], r12
mov edx, esi
mov rcx, r15
call fcn.180045720
mov dword [rbp - 0x80], esi
mov dword [rbp - 0x7c], eax
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.18004b220
addss xmm0, dword [r15 + 0x60]
movss xmm1, dword [rsp + 0x54]
maxss xmm1, xmm0
movss dword [rsp + 0x54], xmm1
mov edx, esi
mov rcx, r15
call fcn.180045720
mov ebx, eax
mov dword [rbp + 0x30], esi
mov dword [rbp + 0x34], eax
movaps xmm7, xmm14
movaps xmm6, xmm14
mov ecx, dword [r15 + 0x20]
cmp ecx, esi
je 0x180049a9a
setl dl
jmp 0x180049aa1
cmp dword [r15 + 0x24], ebx
setle dl
test dl, dl
je 0x180049aca
cmp ecx, esi
jne 0x180049aae
cmp dword [r15 + 0x24], 0
setg al
test al, al
je 0x180049ac6
lea rdx, [r15 + 0x20]
mov rcx, r15
call fcn.18004b220
movaps xmm7, xmm0
jmp 0x180049aca
movaps xmm7, xmm9
mov eax, dword [rdi]
cmp eax, esi
jne 0x180049ad4
cmp dword [rdi + 4], 0
setg cl
test cl, cl
je 0x180049afb
cmp eax, esi
jne 0x180049ae3
cmp dword [r15 + 0x2c], ebx
setl al
lea rdx, [rbp + 0x30]
test al, al
cmovne rdx, rdi
mov rcx, r15
call fcn.18004b220
movaps xmm6, xmm0
cmp dword [rdi], esi
jle 0x180049b08
addss xmm6, dword [r15 + 0x308]
ucomiss xmm7, xmm14
jp 0x180049b10
je 0x180049b7f
ucomiss xmm6, xmm14
jp 0x180049b18
je 0x180049b7f
mov rdi, qword [rsp + 0x48]
comiss xmm6, xmm7
jbe 0x180049b84
movss xmm2, dword [rbp - 0x48]
addss xmm2, dword [r15 + 0x60]
movaps xmm0, xmm2
addss xmm0, xmm7
movss dword [rbp + 0x48], xmm0
movss xmm1, dword [rbp - 0x44]
movss dword [rbp + 0x4c], xmm1
addss xmm1, dword [r15 + 0x30c]
addss xmm2, xmm6
movss dword [rbp + 0x28], xmm2
movss dword [rbp + 0x2c], xmm1
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm9
mov r9d, dword [r15 + 0x108]
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x48]
mov rcx, rdi
call fcn.18001be90
jmp 0x180049b84
mov rdi, qword [rsp + 0x48]
movss xmm3, dword [rbp - 0x48]
movaps xmm0, xmm3
movss xmm6, dword [rsp + 0x70]
addss xmm0, xmm6
movss dword [rbp - 0x38], xmm0
movss xmm2, dword [rbp - 0x44]
movss dword [rbp - 0x34], xmm2
mov r9d, dword [rsp + 0x50]
mov eax, r9d
shr eax, 8
movzx edx, al
movzx eax, r9b
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs r10, 0x100000001b3
imul rax, r10
xor rdx, rax
imul rdx, r10
mov eax, r9d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r10
mov eax, r9d
shr rax, 0x18
xor rdx, rax
imul rdx, r10
mov rcx, qword [r15 + 0x2e8]
and rcx, rdx
add rcx, rcx
mov rdx, qword [r15 + 0x2d0]
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, qword [r15 + 0x2c0]
je 0x180049c34
mov rcx, qword [rdx + rcx*8]
cmp r9d, dword [rax + 0x10]
je 0x180049c37
cmp rax, rcx
je 0x180049c34
mov rax, qword [rax + 8]
cmp r9d, dword [rax + 0x10]
jne 0x180049c23
jmp 0x180049c37
mov rax, r13
test rax, rax
je 0x180049c90
addss xmm2, dword [r15 + 0x30c]
movaps xmm1, xmm6
addss xmm1, xmm6
movss xmm0, dword [rbp - 0x30]
addss xmm0, xmm3
addss xmm1, xmm0
movss dword [rbp + 0x78], xmm1
movss dword [rbp + 0x7c], xmm2
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm9
mov r9d, dword [r15 + 0x110]
lea r8, [rbp + 0x78]
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.18001be90
movss xmm2, dword [rbp - 0x44]
movss xmm3, dword [rbp - 0x48]
lea edx, [rsi + 1]
mov rax, qword [r15 + 0x2f8]
mov rcx, qword [rax + 8]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x180049cbe
cmp dword [rcx + 0x20], edx
jge 0x180049cb2
mov rcx, qword [rcx + 0x10]
jmp 0x180049cb8
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x180049ca7
cmp byte [rbx + 0x19], 0
jne 0x180049db2
cmp edx, dword [rbx + 0x20]
jl 0x180049db2
cmp rbx, rax
je 0x180049db2
addss xmm2, dword [r15 + 0x30c]
movss xmm1, dword [rbp - 0x30]
addss xmm1, xmm3
movaps xmm0, xmm6
addss xmm0, xmm6
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 [r15 + 0x10c]
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.18001be90
mov r8b, 1
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.18000c230
test al, al
je 0x180049db2
call fcn.180006bd0
movdqa xmm0, xmmword [0x18005e390]
movups xmmword [rbp - 0x58], xmm0
lea rdx, [rbp - 0x58]
xor ecx, ecx
call fcn.180012610
mov edx, dword [rbx + 0x20]
lea rcx, str.Error_at_line__d:
call fcn.18002ee00
mov ecx, 1
call fcn.1800121b0
call fcn.18002ea80
movdqa xmm0, xmmword [0x18005e3a0]
movups xmmword [rbp - 0x58], xmm0
lea rdx, [rbp - 0x58]
xor ecx, ecx
call fcn.180012610
lea rdx, [rbx + 0x28]
cmp qword [rdx + 0x18], 0xf
jbe 0x180049d97
mov rdx, qword [rdx]
lea rcx, [0x180055e70]
call fcn.18002ee00
mov ecx, 1
call fcn.1800121b0
call fcn.180009890
lea r9d, [rsi + 1]
lea r8, str._d
mov edx, 0x10
lea rcx, [rbp + 0x88]
call fcn.180052340
call fcn.18000a820
mov rbx, rax
call fcn.18000a830
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0x88]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm14
movaps xmm3, xmm8
movaps xmm2, xmm0
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.18001c6d0
movss xmm0, dword [rbp - 0x48]
addss xmm0, dword [r15 + 0x60]
subss xmm0, dword [rax]
movss dword [rbp - 0x68], xmm0
movss xmm0, dword [rbp - 0x44]
movss dword [rbp - 0x64], xmm0
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x88]
mov r8d, dword [r15 + 0x114]
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.18001c040
cmp dword [r15 + 0x30], esi
jne 0x18004a083
xor ecx, ecx
call fcn.18000c410
movzx ebx, al
mov ecx, dword [r15 + 0x20]
cmp dword [r15 + 0x28], ecx
jne 0x180049e6e
mov eax, dword [r15 + 0x24]
cmp dword [r15 + 0x2c], eax
setg cl
test cl, cl
jne 0x180049ef0
movss xmm1, dword [rbp - 0x34]
addss xmm1, dword [r15 + 0x30c]
movss xmm0, dword [rbp - 0x38]
addss xmm0, dword [rbp - 0x30]
addss xmm0, xmm6
movss dword [rbp - 0x18], xmm0
movss dword [rbp - 0x14], xmm1
mov r9, rbx
xor r9, 1
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm9
mov r9d, dword [r15 + r9*4 + 0x118]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.18001be90
movss dword [rsp + 0x30], xmm12
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm12
mov r9d, dword [r15 + 0x120]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.18001bd80
test bl, bl
je 0x18004a083
call sub.MSVCP140.dll__Xtime_get_ticks
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
mov rdi, rdx
sar rdi, 0xb
mov rax, rdi
shr rax, 0x3f
add rdi, rax
mov rsi, rdi
sub rsi, qword [r15 + 0x340]
cmp rsi, 0x190
jbe 0x18004a083
movaps xmm7, xmm12
lea rdx, [r15 + 0x30]
mov rcx, r15
call fcn.180045510
movsxd rbx, eax
lea rdx, [r15 + 0x30]
mov rcx, r15
call fcn.18004b220
movaps xmm8, xmm0
cmp byte [r15 + 0x58], 0
je 0x18004a016
mov r8, qword [r12 + r14*8]
mov rcx, qword [r12 + r14*8 + 8]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp ebx, edx
jge 0x18004a016
lea rcx, [rbx + rbx*2]
movzx eax, byte [r8 + rcx*4]
cmp al, 9
jne 0x180049fcd
movd xmm6, dword [r15 + 0x54]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm13
addss xmm0, xmm12
divss xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
movaps xmm7, xmm0
addss xmm7, xmm12
mulss xmm7, xmm6
subss xmm7, xmm8
jmp 0x18004a016
mov byte [rbp - 0x40], al
mov byte [rbp - 0x3f], 0
call fcn.18000a820
mov rbx, rax
call fcn.18000a830
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm14
movss xmm3, dword [0x180055fa0]
movaps xmm2, xmm0
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.18001c6d0
movss xmm7, dword [rax]
movaps xmm1, xmm10
addss xmm1, xmm8
movss dword [rbp + 0x58], xmm1
movss xmm0, dword [rbp - 0x44]
movss dword [rbp + 0x5c], xmm0
addss xmm0, dword [r15 + 0x30c]
addss xmm7, xmm1
movss dword [rbp + 0x50], xmm7
movss dword [rbp + 0x54], xmm0
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm9
mov r9d, dword [r15 + 0x104]
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x58]
mov rcx, qword [rsp + 0x48]
call fcn.18001be90
movss xmm8, dword [0x180055fa0]
cmp rsi, 0x320
jbe 0x18004a083
mov qword [r15 + 0x340], rdi
mov rdi, qword [r12 + r14*8 + 8]
mov rbx, qword [r12 + r14*8]
cmp rbx, rdi
jne 0x18004a09a
mov r8d, dword [r15 + 0xd0]
jmp 0x18004a0a8
mov rdx, rbx
mov rcx, r15
call fcn.180045670
mov r8d, eax
mov dword [rsp + 0x40], r8d
movaps xmm7, xmm9
mov r14d, r13d
mov dword [rsp + 0x44], r13d
sub rdi, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rdi
sar rdx, 1
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
je 0x18004a4a1
mov edi, r8d
nop
lea rax, [r13*2]
add rax, r13
lea rsi, [rbx + rax*4]
mov rdx, rsi
mov rcx, r15
call fcn.180045670
mov r12d, eax
cmp eax, edi
jne 0x18004a112
movzx ecx, byte [rsi]
cmp cl, 9
je 0x18004a112
cmp cl, 0x20
jne 0x18004a1d3
cmp qword [r15 + 0x330], 0
je 0x18004a1d3
movaps xmm1, xmm11
addss xmm1, xmm9
movaps xmm0, xmm10
addss xmm0, xmm7
movss dword [rbp + 0x70], xmm0
movss dword [rbp + 0x74], xmm1
lea rbx, [r15 + 0x320]
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18004a14f
mov r9, qword [rbx]
mov qword [rsp + 0x20], 0
mov r8d, edi
lea rdx, [rbp + 0x70]
mov rcx, qword [rsp + 0x48]
call fcn.18001c040
call fcn.18000a820
mov r14, rax
mov rdi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18004a17e
mov rdi, qword [rbx]
call fcn.18000a830
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm14
movaps xmm3, xmm8
movaps xmm2, xmm0
lea rdx, [rbp + 0x80]
mov rcx, r14
call fcn.18001c6d0
addss xmm7, dword [rbp + 0x80]
mov qword [rbx + 0x10], 0
cmp qword [rbx + 0x18], 0xf
jbe 0x18004a1cb
mov rbx, qword [rbx]
mov byte [rbx], 0
mov r14d, dword [rsp + 0x44]
mov edi, r12d
mov dword [rsp + 0x40], r12d
movzx ecx, byte [rsi]
cmp cl, 9
jne 0x18004a304
movaps xmm8, xmm7
movd xmm6, dword [r15 + 0x54]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm13
addss xmm7, xmm12
divss xmm7, xmm6
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
movaps xmm7, xmm0
addss xmm7, xmm12
mulss xmm7, xmm6
inc r14d
mov dword [rsp + 0x44], r14d
inc r13
cmp byte [r15 + 0x7b], 0
je 0x18004a458
call fcn.18000a830
movaps xmm5, xmm0
movaps xmm2, xmm10
addss xmm2, xmm8
addss xmm2, xmm12
movaps xmm4, xmm7
addss xmm4, xmm10
subss xmm4, xmm12
movaps xmm3, xmm11
addss xmm3, xmm9
movaps xmm1, xmm0
mulss xmm1, xmm15
addss xmm3, xmm1
movss dword [rbp + 0x10], xmm2
movss dword [rbp + 0x14], xmm3
movss dword [rbp - 0x28], xmm4
movss dword [rbp - 0x24], xmm3
mulss xmm5, dword [0x180055f18]
subss xmm4, xmm5
movss dword [rbp + 0x18], xmm4
movaps xmm0, xmm3
subss xmm0, xmm5
movss dword [rbp + 0x1c], xmm0
movss dword [rbp + 0x20], xmm4
addss xmm3, xmm5
movss dword [rbp + 0x24], xmm3
movss dword [rsp + 0x20], xmm12
mov r9d, 0x90909090
lea r8, [rbp - 0x28]
lea rdx, [rbp + 0x10]
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.18001ad80
movss dword [rsp + 0x20], xmm12
mov r9d, 0x90909090
lea r8, [rbp + 0x18]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.18001ad80
movss dword [rsp + 0x20], xmm12
mov r9d, 0x90909090
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.18001ad80
jmp 0x18004a458
cmp cl, 0x20
jne 0x18004a37f
cmp byte [r15 + 0x7b], 0
je 0x18004a36a
call fcn.18000a830
movaps xmm3, xmm10
addss xmm3, xmm7
movaps xmm1, xmm13
mulss xmm1, xmm15
addss xmm3, xmm1
movaps xmm2, xmm11
addss xmm2, xmm9
mulss xmm0, xmm15
addss xmm2, xmm0
movss dword [rbp - 0x70], xmm3
movss dword [rbp - 0x6c], xmm2
mov dword [rsp + 0x20], 4
mov r9d, 0x80808080
movss xmm2, dword [0x180056070]
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x48]
call fcn.180019940
addss xmm7, xmm13
inc r14d
mov dword [rsp + 0x44], r14d
inc r13
jmp 0x18004a458
movzx eax, cl
and al, 0xfe
cmp al, 0xfc
jne 0x18004a38f
mov edi, 6
jmp 0x18004a3cd
movzx eax, cl
and al, 0xfc
cmp al, 0xf8
jne 0x18004a39f
mov edi, 5
jmp 0x18004a3cd
movzx eax, cl
and al, 0xf8
cmp al, 0xf0
jne 0x18004a3af
mov edi, 4
jmp 0x18004a3cd
movzx eax, cl
and al, 0xf0
cmp al, 0xe0
jne 0x18004a3bf
mov edi, 3
jmp 0x18004a3cd
and cl, 0xe0
xor edi, edi
cmp cl, 0xc0
sete dil
inc edi
lea rbx, [r15 + 0x320]
lea rsi, [r13*2]
add rsi, r13
shl rsi, 2
add r14d, edi
mov dword [rsp + 0x44], r14d
mov eax, edi
add r13, rax
mov r12, qword [rbp - 0x78]
mov r14, qword [rsp + 0x78]
nop dword [rax]
dec edi
mov rax, qword [r14 + r12*8]
movzx r9d, byte [rsi + rax]
lea rsi, [rsi + 0xc]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x18004a43b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x18004a430
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18004a44b
xor r8d, r8d
mov edx, 1
mov rcx, rbx
call fcn.18003d7a0
test edi, edi
jg 0x18004a400
mov r14d, dword [rsp + 0x44]
mov edi, dword [rsp + 0x40]
mov rax, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x78]
mov rbx, qword [rcx + rax*8]
mov rcx, qword [rcx + rax*8 + 8]
sub rcx, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r14d
cmp rax, rdx
movss xmm8, dword [0x180055fa0]
jb 0x18004a0e0
mov r8d, dword [rsp + 0x40]
cmp qword [r15 + 0x330], 0
je 0x18004a4fe
addss xmm11, xmm9
addss xmm10, xmm7
movss dword [rbp + 0x40], xmm10
movss dword [rbp + 0x44], xmm11
lea rbx, [r15 + 0x320]
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18004a4d5
mov r9, qword [rbx]
xor r13d, r13d
mov qword [rsp + 0x20], r13
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.18001c040
mov qword [rbx + 0x10], r13
cmp qword [rbx + 0x18], 0xf
jbe 0x18004a4f9
mov rbx, qword [rbx]
mov byte [rbx], r13b
jmp 0x18004a501
xor r13d, r13d
mov esi, dword [rsp + 0x58]
inc esi
mov dword [rsp + 0x58], esi
mov rcx, qword [rsp + 0x60]
inc rcx
mov qword [rsp + 0x60], rcx
inc dword [rsp + 0x50]
cmp rcx, qword [rsp + 0x68]
movss xmm8, dword [0x180055fa0]
lea rdi, [r15 + 0x28]
jle 0x180049a00
movss xmm10, dword [rsp + 0x54]
movabs r12, 0x100000001b3
xor ecx, ecx
call fcn.18000c300
test al, al
je 0x18004a77c
lea rcx, [rbp + 0x60]
call fcn.18000aa80
mov r8, rax
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.18004aa20
mov r8, rax
lea rdx, [rbp - 0x10]
mov rcx, r15
call fcn.180045bf0
nop
mov rbx, qword [rbp]
mov rsi, qword [rbp - 0x10]
mov r14, qword [rbp + 8]
test rbx, rbx
je 0x18004a742
lea r8, [rbp - 0x10]
cmp r14, 0xf
cmova r8, rsi
movabs r9, 0xcbf29ce484222325
mov rcx, r9
mov rdx, r13
test rbx, rbx
je 0x18004a5d4
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r12
inc rdx
cmp rdx, rbx
jb 0x18004a5c0
mov rax, qword [r15 + 0x1b8]
and rax, rcx
add rax, rax
mov r12, qword [r15 + 0x1a0]
mov rdi, qword [r12 + rax*8 + 8]
cmp rdi, qword [r15 + 0x190]
je 0x18004a650
mov r12, qword [r12 + rax*8]
nop word [rax + rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18004a612
mov rdx, qword [rdx]
lea rcx, [rbp - 0x10]
cmp r14, 0xf
cmova rcx, rsi
cmp rbx, rax
jne 0x18004a62f
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18004a63a
cmp rdi, r12
je 0x18004a646
mov rdi, qword [rdi + 8]
jmp 0x18004a600
movabs r9, 0xcbf29ce484222325
jmp 0x18004a653
movabs r9, 0xcbf29ce484222325
mov rdi, r13
test rdi, rdi
je 0x18004a66f
cmp rdi, qword [r15 + 0x190]
je 0x18004a66f
call fcn.180006bd0
lea rcx, [rdi + 0x38]
jmp 0x18004a724
lea rdx, [rbp - 0x10]
cmp r14, 0xf
cmova rdx, rsi
mov rcx, r13
test rbx, rbx
je 0x18004a6a3
movabs r8, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r8
inc rcx
cmp rcx, rbx
jb 0x18004a690
mov rax, qword [r15 + 0x1f8]
and rax, r9
add rax, rax
mov r12, qword [r15 + 0x1e0]
mov rdi, qword [r12 + rax*8 + 8]
cmp rdi, qword [r15 + 0x1d0]
je 0x18004a70d
mov r12, qword [r12 + rax*8]
nop dword [rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18004a6e2
mov rdx, qword [rdx]
lea rcx, [rbp - 0x10]
cmp r14, 0xf
cmova rcx, rsi
cmp rbx, rax
jne 0x18004a6ff
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18004a70a
cmp rdi, r12
je 0x18004a70d
mov rdi, qword [rdi + 8]
jmp 0x18004a6d0
mov r13, rdi
test r13, r13
je 0x18004a742
cmp r13, qword [r15 + 0x1d0]
je 0x18004a742
call fcn.180006bd0
lea rcx, [r13 + 0x38]
cmp qword [rcx + 0x18], 0xf
jbe 0x18004a72e
mov rcx, qword [rcx]
xor edx, edx
call fcn.18002f330
call fcn.180009890
mov rsi, qword [rbp - 0x10]
mov r14, qword [rbp + 8]
cmp r14, 0xf
jbe 0x18004a77c
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18004a774
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004a774
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.180052484
addss xmm10, dword [0x180055f5c]
movss dword [rsp + 0x60], xmm10
mov rcx, qword [r15 + 0x10]
sub rcx, qword [r15 + 8]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm0, xmm0
js 0x18004a7bb
cvtsi2ss xmm0, rdx
jmp 0x18004a7d0
mov rax, rdx
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mulss xmm0, dword [r15 + 0x30c]
movss dword [rsp + 0x64], xmm0
lea rcx, [rsp + 0x60]
call fcn.18002dc70
cmp byte [r15 + 0x5b], 0
je 0x18004a802
mov rcx, r15
call fcn.180044190
call fcn.1800163b0
mov byte [r15 + 0x5b], 0
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.1800525a0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
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