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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov r15, rdx
mov r13, rcx
mov rdx, r8
lea rcx, [rbp - 0x71]
call fcn.1801c7ed0
nop
mov rbx, qword [r13 + 0x10]
lea r12, [rbp - 0x71]
cmp qword [rbp - 0x59], 0xf
cmova r12, qword [rbp - 0x71]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
mov rsi, qword [rbp - 0x61]
test rsi, rsi
je 0x1801c78c4
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + r12]
xor rcx, rax
imul rcx, r9
inc rdx
cmp rdx, rsi
jb 0x1801c78b0
mov rdx, qword [r13 + 0x68]
and rdx, rcx
mov rcx, qword [r13 + 0x50]
mov rax, rdx
add rax, rax
mov r14, qword [rcx + rax*8 + 8]
mov rdi, qword [r13 + 0x40]
cmp r14, rdi
je 0x1801c7918
add rdx, rdx
mov rax, qword [rcx + rdx*8]
mov qword [rbp + 0x7f], rax
nop
cmp rsi, qword [r14 + 0x18]
jne 0x1801c790d
mov r8, rsi
mov rdx, qword [r14 + 0x10]
mov rcx, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1801c791b
mov rax, qword [rbp + 0x7f]
cmp r14, rax
je 0x1801c7918
mov r14, qword [r14 + 8]
jmp 0x1801c78f0
xor r14d, r14d
test r14, r14
je 0x1801c795b
cmp r14, rdi
je 0x1801c795b
mov rsi, qword [r14 + 0x30]
mov rdi, rbx
mov rbx, qword [r13 + 8]
cmp rbx, rdi
je 0x1801c794b
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax]
cmp rsi, rax
je 0x1801c794b
add rbx, 8
cmp rbx, rdi
jne 0x1801c7935
mov r8, r14
lea rdx, [rbp + 0x7f]
lea rcx, [r13 + 0x38]
call fcn.1801a3c20
lea rcx, [rbp - 0x49]
call fcn.1801e3fd0
nop
mov rdi, qword [rbp - 0x49]
lea rcx, [r13 + 8]
mov qword [rbp - 0x49], 0
cmp rbx, qword [rcx + 8]
je 0x1801c7983
mov rcx, qword [rbx]
mov qword [rbx], rdi
jmp 0x1801c79b5
mov qword [rbp + 0x7f], rdi
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x1801c79a7
mov rax, qword [rbp + 0x7f]
mov qword [rbp + 0x7f], 0
mov qword [rdx], rax
add qword [rcx + 8], 8
jmp 0x1801c79b1
lea r8, [rbp + 0x7f]
call fcn.1801b4170
nop
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1801c79c5
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
call fcn.1801824f0
lea rdx, [rax + 0x20]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1801c79dc
mov rdx, qword [rdx]
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], 0xf
cmova rcx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
cmp r8, rax
jne 0x1801c7a01
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1801c7a01
mov r14b, 1
jmp 0x1801c7a04
xor r14b, r14b
call fcn.1801824f0
lea rdx, [rax + 0x40]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1801c7a1b
mov rdx, qword [rdx]
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], 0xf
cmova rcx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
cmp r8, rax
jne 0x1801c7a40
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1801c7a40
mov sil, 1
jmp 0x1801c7a43
xor sil, sil
call fcn.1801824f0
lea rdx, [rax + 0x460]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1801c7a5d
mov rdx, qword [rdx]
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], 0xf
cmova rcx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
cmp r8, rax
jne 0x1801c7a81
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1801c7a81
mov bl, 1
jmp 0x1801c7a83
xor bl, bl
mov byte [rbp - 0x79], bl
call fcn.1801824f0
lea rdx, [rax + 0x480]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1801c7aa0
mov rdx, qword [rdx]
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], 0xf
cmova rcx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
cmp r8, rax
jne 0x1801c7ac5
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1801c7ac5
mov r12b, 1
jmp 0x1801c7ac8
xor r12b, r12b
call fcn.1801824f0
lea rdx, [rax + 0x260]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1801c7ae2
mov rdx, qword [rdx]
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], 0xf
cmova rcx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
cmp r8, rax
jne 0x1801c7b06
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov byte [rbp + 0x67], 1
je 0x1801c7b0a
mov byte [rbp + 0x67], 0
cmp byte [r13 + 0x130], 0
je 0x1801c7b1e
cmp byte [r13 + 0x131], 0
jne 0x1801c7b28
test r14b, r14b
jne 0x1801c7b2e
test sil, sil
jne 0x1801c7b2e
mov byte [rbp + 0x7f], 0
jmp 0x1801c7b32
mov byte [rbp + 0x7f], 1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rdx, rax
mov qword [rbp - 0x31], rax
test r14b, r14b
jne 0x1801c7b51
test bl, bl
lea rcx, [0x1801e4030]
je 0x1801c7b58
lea rcx, [0x1801e4020]
mov qword [rbp - 0x41], rcx
test sil, sil
jne 0x1801c7b6d
test r12b, r12b
lea rax, [0x1801e4030]
je 0x1801c7b74
lea rax, [0x1801e4020]
mov qword [rbp - 0x39], rax
test r14b, r14b
je 0x1801c7b8b
mov qword [r13 + 0xf0], rcx
mov qword [r13 + 0x100], rdx
test sil, sil
je 0x1801c7b9e
mov qword [r13 + 0xf8], rax
mov qword [r13 + 0x108], rdx
test bl, bl
je 0x1801c7bb0
mov qword [r13 + 0x110], rcx
mov qword [r13 + 0x120], rdx
test r12b, r12b
je 0x1801c7bc3
mov qword [r13 + 0x118], rax
mov qword [r13 + 0x128], rdx
xor edi, edi
lea rdx, [0x180000000]
nop dword [rax]
cmp edi, 5
ja case.0x1801c7be2.0
movsxd rax, edi
mov ecx, dword [rdx + rax*4 + 0x1c7eb4]
add rcx, rdx
jmp rcx
lea rax, [r13 + 0xd8]
jmp 0x1801c7c18
lea rax, [r13 + 0xcc]
jmp 0x1801c7c18
lea rax, [r13 + 0xd0]
jmp 0x1801c7c18
lea rax, [r13 + 0xd4]
jmp 0x1801c7c18
lea rax, [r13 + 0xc8]
cmp edi, 5
je 0x1801c7d9f
movsxd rdx, dword [rax]
mov rcx, qword [r15 + 0x18]
mov rcx, qword [rcx + 0x40]
call fcn.1800d01e0
mov rdx, rax
mov rcx, qword [r15 + 0x10]
test byte [rax + 8], 0xf
jne 0x1801c7c3b
mov byte [rcx + 8], 0
jmp 0x1801c7c48
mov rax, qword [rax]
mov qword [rcx], rax
movzx eax, byte [rdx + 8]
mov byte [rcx + 8], al
mov rbx, qword [r15 + 0x10]
add rbx, 0x10
mov qword [r15 + 0x10], rbx
mov rax, qword [r15 + 0x20]
sub rbx, qword [rax]
sar rbx, 4
dec ebx
mov dword [rbp - 0x51], ebx
cmp byte [rbp + 0x7f], 0
je 0x1801c7cb7
lea rax, [0x1801a3dc0]
mov qword [rsp + 0x40], rax
lea rax, [0x1801a3db0]
mov qword [rsp + 0x38], rax
lea rax, [0x1801a3da0]
mov qword [rsp + 0x30], rax
lea rax, [0x1801a3d90]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x20], rax
mov r9, r13
mov r8d, edi
mov rdx, r15
mov rcx, r13
call fcn.180184a10
mov ebx, dword [rbp - 0x51]
cmp byte [rbp + 0x67], 0
je 0x1801c7cc9
lea eax, [rdi - 1]
cmp eax, 2
jbe 0x1801c7d8b
test r14b, r14b
jne 0x1801c7d8b
test sil, sil
jne 0x1801c7d8b
cmp byte [rbp - 0x79], sil
jne 0x1801c7d8b
test r12b, r12b
jne 0x1801c7d8b
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 0xf
cmova rdx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
mov rcx, r15
test r8, r8
jne 0x1801c7d16
lea rdx, [0x1802da786]
call fcn.1800c9230
jmp 0x1801c7d1b
call fcn.1800c91c0
mov rcx, qword [r15 + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
add qword [r15 + 0x10], 0x10
mov rax, qword [r15 + 0x18]
cmp qword [rax + 0x18], 0
jle 0x1801c7d43
mov rcx, r15
call fcn.1800b5490
mov rax, qword [r15 + 0x10]
mov byte [rax + 8], 0
add qword [r15 + 0x10], 0x10
mov rcx, qword [r15 + 0x10]
mov rax, qword [rbp - 0x31]
mov qword [rcx], rax
mov byte [rcx + 8], 2
add qword [r15 + 0x10], 0x10
mov r8d, 2
lea rdx, [0x1801e4070]
mov rcx, r15
call fcn.1800a0470
mov r8, qword [r15 + 0x10]
sub r8, 0x20
mov edx, ebx
mov rcx, r15
call fcn.1800a0c50
mov edx, 0xfffffffe
mov rcx, r15
call fcn.18009fd40
lea rdx, [0x180000000]
inc edi
cmp edi, 6
jl 0x1801c7bd0
lea rsi, [rbp - 0x71]
cmp qword [rbp - 0x59], 0xf
cmova rsi, qword [rbp - 0x71]
movups xmm0, xmmword [rbp - 0x41]
movaps xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbp - 0x31]
movsd qword [rbp + 7], xmm1
mov rdi, qword [rbp - 0x61]
mov rcx, rdi
call fcn.180284a98
mov qword [rbp + 0x7f], rax
mov rdx, qword [r13 + 0x28]
cmp rdx, qword [r13 + 0x30]
je 0x1801c7dee
mov qword [rdx], rax
add qword [r13 + 0x28], 8
jmp 0x1801c7dfb
lea r8, [rbp + 0x7f]
lea rcx, [r13 + 0x20]
call fcn.1801a0670
mov rbx, qword [r13 + 0x28]
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rbx - 8]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx - 8]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rdi
lea r9, [rbp - 9]
lea r8, [rbp - 0x21]
lea rdx, [rbp + 0x17]
lea rcx, [r13 + 0x38]
call fcn.1801a09b0
nop
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1801c7e45
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 0xf
jbe 0x1801c7e83
inc rdx
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801c7e7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801c7e7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180284a64
mov qword [rbp - 0x61], 0
mov qword [rbp - 0x59], 0xf
mov byte [rbp - 0x71], 0
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret