Function at 0x180046130
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 [0x180066240]
xor rax, rsp
mov qword [rbp + 0x90], 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, [0x1800585d0]
mov qword [rsp + 0x28], rax
movss xmm14, dword [0x180052fa4]
movss dword [rsp + 0x20], xmm14
movss xmm8, dword [0x180052fa0]
movaps xmm3, xmm8
movaps xmm2, xmm0
lea rdx, [rsp + 0x60]
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 + 0x68]
call fcn.180008380
call fcn.18000b110
movss xmm0, dword [rbp + 0x74]
mulss xmm0, dword [rax]
movss dword [rbp + 0x74], xmm0
lea rcx, [rbp + 0x68]
call fcn.1800082d0
mov dword [rbx], eax
lea rbx, [rbx + 4]
sub rdi, 1
jne 0x180046230
lea rcx, [rbp - 0x38]
call fcn.18000b310
call fcn.18000b350
mov qword [rsp + 0x40], rax
movss xmm10, dword [r15 + 0x60]
movss dword [rsp + 0x50], xmm10
xorps xmm9, xmm9
cmp byte [r15 + 0x5c], r13b
je 0x18004629a
mov byte [r15 + 0x5c], r13b
xorps xmm0, xmm0
call fcn.180016340
lea rcx, [rbp + 0x60]
call fcn.18000a7e0
call fcn.18000b0d0
movss dword [rsp + 0x68], 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 + 0x54], esi
movss xmm0, dword [rbp - 0x34]
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 + 0x80]
call fcn.18004ed60
call fcn.18000a820
mov rbx, rax
call fcn.18000a830
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm14
movaps xmm3, xmm8
movaps xmm2, xmm0
lea rdx, [rsp + 0x60]
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 0x1800471ac
call fcn.18000a820
mov rbx, rax
call fcn.18000a830
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [0x18005305c]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm14
movaps xmm3, xmm8
movaps xmm2, xmm0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.18001c6d0
movss xmm13, dword [rax]
movabs r12, 0x100000001b3
cmp esi, edi
jg 0x180046f75
movsxd rcx, esi
mov qword [rsp + 0x58], rcx
movsxd rax, edi
mov qword [rsp + 0x60], rax
lea rdi, [r15 + 0x28]
movss xmm12, dword [0x180052f4c]
movss xmm15, dword [0x180052f24]
movd xmm11, esi
cvtdq2ps xmm11, xmm11
mulss xmm11, dword [r15 + 0x30c]
addss xmm11, dword [rbp + 0x64]
movss xmm10, dword [rbp + 0x60]
movss dword [rbp - 0x50], xmm10
movss dword [rbp - 0x4c], xmm11
addss xmm10, dword [r15 + 0x60]
lea r14, [rcx + rcx*2]
mov qword [rbp - 0x80], r14
mov r12, qword [r15 + 8]
mov qword [rsp + 0x78], r12
mov edx, esi
mov rcx, r15
call fcn.180042140
mov dword [rbp - 0x70], esi
mov dword [rbp - 0x6c], eax
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.180047c50
addss xmm0, dword [r15 + 0x60]
movss xmm1, dword [rsp + 0x50]
maxss xmm1, xmm0
movss dword [rsp + 0x50], xmm1
mov edx, esi
mov rcx, r15
call fcn.180042140
mov ebx, eax
mov dword [rbp + 0x58], esi
mov dword [rbp + 0x5c], eax
movaps xmm7, xmm14
movaps xmm6, xmm14
mov ecx, dword [r15 + 0x20]
cmp ecx, esi
je 0x1800464ae
setl dl
jmp 0x1800464b5
cmp dword [r15 + 0x24], ebx
setle dl
test dl, dl
je 0x1800464de
cmp ecx, esi
jne 0x1800464c2
cmp dword [r15 + 0x24], 0
setg al
test al, al
je 0x1800464da
lea rdx, [r15 + 0x20]
mov rcx, r15
call fcn.180047c50
movaps xmm7, xmm0
jmp 0x1800464de
movaps xmm7, xmm9
mov eax, dword [rdi]
cmp eax, esi
jne 0x1800464e8
cmp dword [rdi + 4], 0
setg cl
test cl, cl
je 0x18004650f
cmp eax, esi
jne 0x1800464f7
cmp dword [r15 + 0x2c], ebx
setl al
lea rdx, [rbp + 0x58]
test al, al
cmovne rdx, rdi
mov rcx, r15
call fcn.180047c50
movaps xmm6, xmm0
cmp dword [rdi], esi
jle 0x18004651c
addss xmm6, dword [r15 + 0x308]
ucomiss xmm7, xmm14
jp 0x180046524
je 0x180046593
ucomiss xmm6, xmm14
jp 0x18004652c
je 0x180046593
mov rbx, qword [rsp + 0x40]
comiss xmm6, xmm7
jbe 0x180046598
movss xmm2, dword [rbp - 0x50]
addss xmm2, dword [r15 + 0x60]
movaps xmm0, xmm2
addss xmm0, xmm7
movss dword [rbp + 0x40], xmm0
movss xmm1, dword [rbp - 0x4c]
movss dword [rbp + 0x44], xmm1
addss xmm1, dword [r15 + 0x30c]
addss xmm2, xmm6
movss dword [rbp + 0x48], xmm2
movss dword [rbp + 0x4c], xmm1
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm9
mov r9d, dword [r15 + 0x108]
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x40]
mov rcx, rbx
call fcn.18001be90
jmp 0x180046598
mov rbx, qword [rsp + 0x40]
movss xmm3, dword [rbp - 0x50]
movaps xmm0, xmm3
movss xmm6, dword [rsp + 0x68]
addss xmm0, xmm6
movss dword [rbp - 0x40], xmm0
movss xmm2, dword [rbp - 0x4c]
movss dword [rbp - 0x3c], xmm2
lea edi, [rsi + 1]
mov r8d, edi
mov eax, edi
shr eax, 8
movzx edx, al
movzx eax, dil
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs r9, 0x100000001b3
imul rax, r9
xor rdx, rax
imul rdx, r9
mov eax, edi
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r9
mov eax, edi
shr rax, 0x18
xor rdx, rax
imul rdx, r9
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 0x180046645
mov rcx, qword [rdx + rcx*8]
cmp r8d, dword [rax + 0x10]
je 0x180046648
cmp rax, rcx
je 0x180046645
mov rax, qword [rax + 8]
cmp edi, dword [rax + 0x10]
jne 0x180046635
jmp 0x180046648
mov rax, r13
test rax, rax
je 0x1800466a1
addss xmm2, dword [r15 + 0x30c]
movaps xmm1, xmm6
addss xmm1, xmm6
movss xmm0, dword [rbp - 0x38]
addss xmm0, xmm3
addss xmm1, xmm0
movss dword [rbp + 0x38], xmm1
movss dword [rbp + 0x3c], xmm2
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm9
mov r9d, dword [r15 + 0x110]
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.18001be90
movss xmm2, dword [rbp - 0x4c]
movss xmm3, dword [rbp - 0x50]
mov rax, qword [r15 + 0x2f8]
mov rcx, qword [rax + 8]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x1800466cc
cmp dword [rcx + 0x20], edi
jge 0x1800466c0
mov rcx, qword [rcx + 0x10]
jmp 0x1800466c6
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1800466b5
cmp byte [rbx + 0x19], 0
jne 0x1800467cb
cmp edi, dword [rbx + 0x20]
mov rdi, qword [rsp + 0x40]
jl 0x1800467d0
cmp rbx, rax
je 0x1800467d0
addss xmm2, dword [r15 + 0x30c]
movss xmm1, dword [rbp - 0x38]
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 - 0x40]
mov rcx, rdi
call fcn.18001be90
mov r8b, 1
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x50]
call fcn.18000c230
test al, al
je 0x1800467d0
call fcn.180006bd0
movdqa xmm0, xmmword [0x18005b0f0]
movups xmmword [rbp - 0x68], xmm0
lea rdx, [rbp - 0x68]
xor ecx, ecx
call fcn.180012610
mov edx, dword [rbx + 0x20]
lea rcx, str.Error_at_line__d:
call fcn.18002ee20
mov ecx, 1
call fcn.1800121b0
call fcn.18002eaa0
movdqa xmm0, xmmword [0x18005b100]
movups xmmword [rbp - 0x68], xmm0
lea rdx, [rbp - 0x68]
xor ecx, ecx
call fcn.180012610
lea rdx, [rbx + 0x28]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800467ae
mov rdx, qword [rdx]
lea rcx, [0x180052e70]
call fcn.18002ee20
mov ecx, 1
call fcn.1800121b0
call fcn.180009890
jmp 0x1800467d0
mov rdi, qword [rsp + 0x40]
lea r9d, [rsi + 1]
lea r8, str._d
mov edx, 0x10
lea rcx, [rbp + 0x80]
call fcn.18004ed60
call fcn.18000a820
mov rbx, rax
call fcn.18000a830
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm14
movaps xmm3, xmm8
movaps xmm2, xmm0
lea rdx, [rbp - 0x58]
mov rcx, rbx
call fcn.18001c6d0
movss xmm0, dword [rbp - 0x50]
addss xmm0, dword [r15 + 0x60]
subss xmm0, dword [rax]
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [rbp - 0x4c]
movss dword [rsp + 0x70], xmm0
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x80]
mov r8d, dword [r15 + 0x114]
lea rdx, [rsp + 0x6c]
mov rcx, rdi
call fcn.18001c040
cmp dword [r15 + 0x30], esi
jne 0x180046aac
xor ecx, ecx
call fcn.18000c410
movzx ebx, al
mov ecx, dword [r15 + 0x20]
cmp dword [r15 + 0x28], ecx
jne 0x18004688f
mov eax, dword [r15 + 0x24]
cmp dword [r15 + 0x2c], eax
setg cl
test cl, cl
jne 0x180046919
movss xmm1, dword [rbp - 0x3c]
addss xmm1, dword [r15 + 0x30c]
movss xmm0, dword [rbp - 0x40]
addss xmm0, dword [rbp - 0x38]
addss xmm0, xmm6
movss dword [rbp - 0x28], xmm0
movss dword [rbp - 0x24], 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 - 0x28]
lea rdx, [rbp - 0x40]
mov rcx, qword [rsp + 0x40]
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 - 0x28]
lea rdx, [rbp - 0x40]
mov rcx, qword [rsp + 0x40]
call fcn.18001bd80
test bl, bl
je 0x180046aac
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 0x180046aac
movaps xmm7, xmm12
lea rdx, [r15 + 0x30]
mov rcx, r15
call fcn.180041f30
movsxd rbx, eax
lea rdx, [r15 + 0x30]
mov rcx, r15
call fcn.180047c50
movaps xmm8, xmm0
cmp byte [r15 + 0x58], 0
je 0x180046a3f
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 0x180046a3f
lea rcx, [rbx + rbx*2]
movzx eax, byte [r8 + rcx*4]
cmp al, 9
jne 0x1800469f6
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 0x180046a3f
mov byte [rbp - 0x48], al
mov byte [rbp - 0x47], 0
call fcn.18000a820
mov rbx, rax
call fcn.18000a830
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm14
movss xmm3, dword [0x180052fa0]
movaps xmm2, xmm0
lea rdx, [rbp + 0x68]
mov rcx, rbx
call fcn.18001c6d0
movss xmm7, dword [rax]
movaps xmm1, xmm10
addss xmm1, xmm8
movss dword [rbp + 0x10], xmm1
movss xmm0, dword [rbp - 0x4c]
movss dword [rbp + 0x14], xmm0
addss xmm0, dword [r15 + 0x30c]
addss xmm7, xmm1
movss dword [rbp + 8], xmm7
movss dword [rbp + 0xc], xmm0
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm9
mov r9d, dword [r15 + 0x104]
lea r8, [rbp + 8]
lea rdx, [rbp + 0x10]
mov rcx, qword [rsp + 0x40]
call fcn.18001be90
movss xmm8, dword [0x180052fa0]
cmp rsi, 0x320
jbe 0x180046aac
mov qword [r15 + 0x340], rdi
mov rdi, qword [r12 + r14*8 + 8]
mov rbx, qword [r12 + r14*8]
cmp rbx, rdi
jne 0x180046ac3
mov r8d, dword [r15 + 0xd0]
jmp 0x180046ad1
mov rdx, rbx
mov rcx, r15
call fcn.180042090
mov r8d, eax
mov dword [rsp + 0x48], r8d
movaps xmm7, xmm9
mov r14d, r13d
mov dword [rsp + 0x4c], r13d
sub rdi, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rdi
sar rdx, 1
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
je 0x180046ed1
mov edi, r8d
nop dword [rax + rax]
lea rax, [r13*2]
add rax, r13
lea rsi, [rbx + rax*4]
mov rdx, rsi
mov rcx, r15
call fcn.180042090
mov r12d, eax
cmp eax, edi
jne 0x180046b42
movzx ecx, byte [rsi]
cmp cl, 9
je 0x180046b42
cmp cl, 0x20
jne 0x180046bfd
cmp qword [r15 + 0x330], 0
je 0x180046bfd
movaps xmm1, xmm11
addss xmm1, xmm9
movaps xmm0, xmm10
addss xmm0, xmm7
movss dword [rbp + 0x18], xmm0
movss dword [rbp + 0x1c], xmm1
lea rbx, [r15 + 0x320]
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180046b7f
mov r9, qword [rbx]
mov qword [rsp + 0x20], 0
mov r8d, edi
lea rdx, [rbp + 0x18]
mov rcx, qword [rsp + 0x40]
call fcn.18001c040
call fcn.18000a820
mov r14, rax
mov rdi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180046bae
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 + 0x78]
mov rcx, r14
call fcn.18001c6d0
addss xmm7, dword [rbp + 0x78]
mov qword [rbx + 0x10], 0
cmp qword [rbx + 0x18], 0xf
jbe 0x180046bf5
mov rbx, qword [rbx]
mov byte [rbx], 0
mov r14d, dword [rsp + 0x4c]
mov edi, r12d
mov dword [rsp + 0x48], r12d
movzx ecx, byte [rsi]
cmp cl, 9
jne 0x180046d2e
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 + 0x4c], r14d
inc r13
cmp byte [r15 + 0x7b], 0
je 0x180046e88
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 + 0x20], xmm2
movss dword [rbp + 0x24], xmm3
movss dword [rbp - 0x30], xmm4
movss dword [rbp - 0x2c], xmm3
mulss xmm5, dword [0x180052f18]
subss xmm4, xmm5
movss dword [rbp + 0x28], xmm4
movaps xmm0, xmm3
subss xmm0, xmm5
movss dword [rbp + 0x2c], xmm0
movss dword [rbp + 0x30], xmm4
addss xmm3, xmm5
movss dword [rbp + 0x34], xmm3
movss dword [rsp + 0x20], xmm12
mov r9d, 0x90909090
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x20]
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.18001ad80
movss dword [rsp + 0x20], xmm12
mov r9d, 0x90909090
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.18001ad80
movss dword [rsp + 0x20], xmm12
mov r9d, 0x90909090
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.18001ad80
jmp 0x180046e88
cmp cl, 0x20
jne 0x180046da9
cmp byte [r15 + 0x7b], 0
je 0x180046d94
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 - 0x78], xmm3
movss dword [rbp - 0x74], xmm2
mov dword [rsp + 0x20], 4
mov r9d, 0x80808080
movss xmm2, dword [0x180053070]
lea rdx, [rbp - 0x78]
mov rcx, qword [rsp + 0x40]
call fcn.180019940
addss xmm7, xmm13
inc r14d
mov dword [rsp + 0x4c], r14d
inc r13
jmp 0x180046e88
movzx eax, cl
and al, 0xfe
cmp al, 0xfc
jne 0x180046db9
mov edi, 6
jmp 0x180046df7
movzx eax, cl
and al, 0xfc
cmp al, 0xf8
jne 0x180046dc9
mov edi, 5
jmp 0x180046df7
movzx eax, cl
and al, 0xf8
cmp al, 0xf0
jne 0x180046dd9
mov edi, 4
jmp 0x180046df7
movzx eax, cl
and al, 0xf0
cmp al, 0xe0
jne 0x180046de9
mov edi, 3
jmp 0x180046df7
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 + 0x4c], r14d
mov eax, edi
add r13, rax
mov r12, qword [rbp - 0x80]
mov r14, qword [rsp + 0x78]
nop dword [rax]
nop word [rax + 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 0x180046e6b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x180046e60
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180046e7b
xor r8d, r8d
mov edx, 1
mov rcx, rbx
call fcn.18003a1a0
test edi, edi
jg 0x180046e30
mov r14d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x48]
mov rax, qword [rbp - 0x80]
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 [0x180052fa0]
jb 0x180046b10
mov r8d, dword [rsp + 0x48]
cmp qword [r15 + 0x330], 0
je 0x180046f2e
addss xmm11, xmm9
addss xmm10, xmm7
movss dword [rbp + 0x50], xmm10
movss dword [rbp + 0x54], xmm11
lea rbx, [r15 + 0x320]
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180046f05
mov r9, qword [rbx]
xor r13d, r13d
mov qword [rsp + 0x20], r13
lea rdx, [rbp + 0x50]
mov rcx, qword [rsp + 0x40]
call fcn.18001c040
mov qword [rbx + 0x10], r13
cmp qword [rbx + 0x18], 0xf
jbe 0x180046f29
mov rbx, qword [rbx]
mov byte [rbx], r13b
jmp 0x180046f31
xor r13d, r13d
mov esi, dword [rsp + 0x54]
inc esi
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x48], esi
mov rcx, qword [rsp + 0x58]
inc rcx
mov qword [rsp + 0x58], rcx
cmp rcx, qword [rsp + 0x60]
movss xmm8, dword [0x180052fa0]
lea rdi, [r15 + 0x28]
jle 0x180046414
movss xmm10, dword [rsp + 0x50]
movabs r12, 0x100000001b3
xor ecx, ecx
call fcn.18000c300
test al, al
je 0x1800471ac
lea rcx, [rbp + 0x68]
call fcn.18000aa80
mov r8, rax
lea rdx, [rbp - 0x58]
mov rcx, r15
call fcn.180047450
mov r8, rax
lea rdx, [rbp - 0x18]
mov rcx, r15
call fcn.180042610
nop
mov rbx, qword [rbp - 8]
mov rsi, qword [rbp - 0x18]
mov r14, qword [rbp]
test rbx, rbx
je 0x180047172
lea r8, [rbp - 0x18]
cmp r14, 0xf
cmova r8, rsi
movabs r9, 0xcbf29ce484222325
mov rcx, r9
mov rdx, r13
test rbx, rbx
je 0x180047004
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r12
inc rdx
cmp rdx, rbx
jb 0x180046ff0
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 0x180047080
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 0x180047042
mov rdx, qword [rdx]
lea rcx, [rbp - 0x18]
cmp r14, 0xf
cmova rcx, rsi
cmp rbx, rax
jne 0x18004705f
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18004706a
cmp rdi, r12
je 0x180047076
mov rdi, qword [rdi + 8]
jmp 0x180047030
movabs r9, 0xcbf29ce484222325
jmp 0x180047083
movabs r9, 0xcbf29ce484222325
mov rdi, r13
test rdi, rdi
je 0x18004709f
cmp rdi, qword [r15 + 0x190]
je 0x18004709f
call fcn.180006bd0
lea rcx, [rdi + 0x38]
jmp 0x180047154
lea rdx, [rbp - 0x18]
cmp r14, 0xf
cmova rdx, rsi
mov rcx, r13
test rbx, rbx
je 0x1800470d3
movabs r8, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r8
inc rcx
cmp rcx, rbx
jb 0x1800470c0
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 0x18004713d
mov r12, qword [r12 + rax*8]
nop dword [rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180047112
mov rdx, qword [rdx]
lea rcx, [rbp - 0x18]
cmp r14, 0xf
cmova rcx, rsi
cmp rbx, rax
jne 0x18004712f
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18004713a
cmp rdi, r12
je 0x18004713d
mov rdi, qword [rdi + 8]
jmp 0x180047100
mov r13, rdi
test r13, r13
je 0x180047172
cmp r13, qword [r15 + 0x1d0]
je 0x180047172
call fcn.180006bd0
lea rcx, [r13 + 0x38]
cmp qword [rcx + 0x18], 0xf
jbe 0x18004715e
mov rcx, qword [rcx]
xor edx, edx
call fcn.18002f350
call fcn.180009890
mov rsi, qword [rbp - 0x18]
mov r14, qword [rbp]
cmp r14, 0xf
jbe 0x1800471ac
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1800471a4
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800471a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.18004eea4
addss xmm10, dword [0x180052f5c]
movss dword [rsp + 0x58], 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 0x1800471eb
cvtsi2ss xmm0, rdx
jmp 0x180047200
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 + 0x5c], xmm0
lea rcx, [rsp + 0x58]
call fcn.18002dc90
cmp byte [r15 + 0x5b], 0
je 0x180047232
mov rcx, r15
call fcn.180040b90
call fcn.1800163b0
mov byte [r15 + 0x5b], 0
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.18004efc0
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