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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400a82e8]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rbx, r8
mov r14, rdx
mov qword [rbp - 0x50], rdx
mov r12, rcx
mov qword [rsp + 0x50], rcx
mov qword [rbp - 0x60], rdx
lea rdx, [rsp + 0x78]
add rcx, 0xf8
call fcn.140009fd0
mov r13, qword [rbp - 0x78]
cmp byte [r13 + 0x19], 0
jne 0x14003060a
lea r8, [r13 + 0x20]
mov rdx, rbx
lea rcx, [r12 + 0xf8]
call fcn.140007820
test al, al
je 0x140030612
mov r13, qword [r12 + 0xf8]
xor esi, esi
cmp r13, qword [r12 + 0xf8]
jne 0x140030638
mov qword [r14], rsi
mov qword [r14 + 0x18], select
mov qword [r14 + 0x10], rsi
mov byte [r14], sil
mov rax, r14
jmp 0x140031047
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov rax, rsi
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x78], rax
mov rdi, rsi
mov qword [rsp + 0x48], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], select
mov byte [rbp - 0x48], dil
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14003086a
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x140031071
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14003069a
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [0x140081f10]
mov r8, rbx
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x18]
call fcn.140014ae0
nop
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
mov rax, rdx
sub rax, rcx
cmp rax, 0xa
jb 0x140030711
lea rax, [rcx + 0xa]
mov qword [rbp + 0x28], rax
lea rbx, [rbp + 0x18]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 0x18]
add rbx, rcx
mov r8d, 0xa
lea rdx, str._options:_n
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xa], 0
lea rax, [rbp + 0x18]
jmp 0x140030731
mov qword [rsp + 0x20], 0xa
lea r9, str._options:_n
xor r8d, r8d
lea edx, [r8 + 0xa]
lea rcx, [rbp + 0x18]
call fcn.140003730
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], select
mov byte [rax], 0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm1
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], select
mov byte [rbp - 8], 0
lea r9, [rbp - 0x28]
movq rdi, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r15, xmm0
cmp r15, 0x10
cmovae r9, rdi
mov r12, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
sub rax, r12
movq r14, xmm1
cmp r14, rax
ja 0x1400307cd
lea rax, [r14 + r12]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x48]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x48]
lea rcx, [rbx + r12]
mov r8, r14
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rbx]
mov byte [rax + r12], 0
jmp 0x1400307e9
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x48]
call fcn.140003730
mov r15, qword [rbp - 0x10]
mov rdi, qword [rbp - 0x28]
cmp r15, 0x10
jb 0x140030824
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14003081b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003081b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14006b2ac
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x140030862
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003085d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003085d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006b2ac
mov r12, qword [rsp + 0x50]
mov rdi, rsi
mov r15, qword [r13 + 0x80]
mov rcx, qword [r13 + 0x88]
mov qword [rsp + 0x68], rcx
movabs r9, 0xcbf29ce484222325
movabs r10, 0x100000001b3
mov r14, qword [rbp - 0x80]
cmp r15, rcx
je 0x140030ac0
lea rbx, [r15 + 0x20]
mov r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400308b3
mov rdx, qword [rbx]
mov rcx, rsi
test r8, r8
je 0x1400308d3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400308c0
mov r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, [r12 + 0xb8]
call fcn.140009f00
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1400308f8
mov rcx, qword [r12 + 0xc0]
mov rax, qword [rsp + 0x50]
cmp rcx, qword [rax + 0xc0]
je 0x140030913
cmp byte [rax + 0x80], 0
je 0x140030a73
mov rdx, r15
lea rcx, [rbp - 8]
call fcn.140027550
nop
cmp rdi, qword [rbp + 8]
cmovb rdi, qword [rbp + 8]
mov qword [rsp + 0x48], rdi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], select
mov byte [rbp - 0x28], 0
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x40]
call fcn.140004000
movups xmm2, xmmword [rbp - 0x28]
movaps xmmword [rbp + 0x60], xmm2
movups xmm3, xmmword [rbp - 0x18]
movaps xmmword [rbp + 0x70], xmm3
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], select
mov byte [rbp - 0x28], 0
cmp r14, qword [rsp + 0x70]
je 0x1400309aa
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [r14], xmm0
movaps xmm1, xmmword [rbp + 0x50]
movups xmmword [r14 + 0x10], xmm1
mov edi, select
mov byte [rbp + 0x40], 0
movups xmmword [r14 + 0x20], xmm2
movups xmmword [r14 + 0x30], xmm3
mov edx, edi
mov byte [rbp + 0x60], 0
add r14, 0x40
mov qword [rbp - 0x80], r14
jmp 0x1400309d0
lea r8, [rbp + 0x40]
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.140009090
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x70], rax
mov r14, qword [rbp - 0x80]
mov rdx, qword [rbp + 0x78]
mov rdi, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x140030a07
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030a02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030aa6
call fcn.14006b2ac
cmp rdi, 0x10
jb 0x140030a3c
lea rdx, [rdi + 1]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030a36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030aa6
call fcn.14006b2ac
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140030a73
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030a6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030aad
call fcn.14006b2ac
add r15, 0xd8
add rbx, 0xd8
movabs r10, 0x100000001b3
movabs r9, 0xcbf29ce484222325
cmp r15, qword [rsp + 0x68]
je 0x140030ab4
mov rdi, qword [rsp + 0x48]
jmp 0x1400308a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [r13 + 0x88]
mov qword [rsp + 0x68], rcx
mov eax, 0x1e
mov rbx, qword [rsp + 0x48]
cmp rbx, rax
cmova rbx, rax
mov qword [rsp + 0x48], rbx
mov eax, 0x4a
sub rax, rbx
mov qword [rbp - 0x60], rax
mov rax, qword [r13 + 0x80]
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0x78]
cmp rax, rcx
je 0x140030fc2
mov r15, qword [rsp + 0x50]
add r15, 0xb8
mov qword [rbp - 0x68], r15
lea r13, [rdi + 0x10]
mov qword [rbp - 0x70], r13
lea r12, [rax + 0x20]
mov qword [rsp + 0x60], r12
nop dword [rax]
mov r8, qword [r12 + 0x10]
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x140030b34
mov rdx, qword [r12]
mov rcx, rsi
test r8, r8
je 0x140030b53
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140030b40
mov r8, r12
lea rdx, [rbp + 0x18]
mov rcx, r15
call fcn.140009f00
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140030b6f
mov rcx, qword [r15 + 8]
mov rax, qword [rsp + 0x50]
cmp rcx, qword [rax + 0xc0]
je 0x140030b8a
cmp byte [rax + 0x80], 0
je 0x140030f6c
lea r15, [rbx + 2]
mov r9, qword [rbp - 0x60]
mov r8, r15
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp - 8]
call fcn.140027040
nop
mov rdi, qword [r13]
lea r9, [r13 - 0x10]
cmp qword [r13 + 8], 0x10
jb 0x140030bb6
mov r9, qword [r9]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140030bfa
lea rax, [rdi + rcx]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x48]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
mov rbx, qword [rsp + 0x48]
jmp 0x140030c0e
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.140003730
mov rax, qword [r13]
cmp rax, rbx
jbe 0x140030dc4
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
cmp rcx, rdx
jae 0x140030c45
lea rax, [rcx + 1]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x48]
mov word [rax + rcx], 0xa
jmp 0x140030c58
mov r9b, 0xa
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x48]
call fcn.14000a5c0
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], select
mov byte [rbp - 0x28], 0
mov r8b, 0x20
mov rdx, r15
lea rcx, [rbp - 0x28]
call fcn.140022e70
nop
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rbp + 0x90], xmm1
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], select
mov byte [rbp - 0x28], 0
lea r9, [rbp + 0x80]
movq rdi, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r13, xmm0
cmp r13, 0x10
cmovae r9, rdi
mov r12, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
sub rax, r12
movq r15, xmm1
cmp r15, rax
ja 0x140030d0b
lea rax, [r15 + r12]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x48]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x48]
lea rcx, [rbx + r12]
mov r8, r15
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + rbx]
mov byte [rax + r12], 0
jmp 0x140030d2d
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x48]
call fcn.140003730
mov r13, qword [rbp + 0x98]
mov rdi, qword [rbp + 0x80]
cmp r13, 0x10
jb 0x140030d64
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140030d5c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030fa8
mov rcx, rdi
call fcn.14006b2ac
mov r12, qword [rsp + 0x60]
mov rdi, qword [rbp + 8]
lea r9, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae r9, qword [rbp - 8]
mov r15, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
sub rax, r15
cmp rdi, rax
ja 0x140030ecf
lea rax, [r15 + rdi]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x48]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x48]
lea rcx, [rbx + r15]
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov byte [rax + r15], 0
jmp 0x140030ee3
mov rdx, rbx
sub rdx, rax
add rdx, 2
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], select
mov byte [rbp - 0x28], 0
mov r8b, 0x20
lea rcx, [rbp - 0x28]
call fcn.140022e70
nop
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rbp + 0x50], xmm1
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], select
mov byte [rbp - 0x28], 0
lea r9, [rbp + 0x40]
movq rdi, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r13, xmm0
cmp r13, 0x10
cmovae r9, rdi
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, rdx
sub rax, rcx
movq r15, xmm1
cmp r15, rax
ja 0x140030e73
lea rax, [r15 + rcx]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x48]
add rbx, rcx
mov r8, r15
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + rbx], 0
jmp 0x140030e8f
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x48]
call fcn.140003730
mov r13, qword [rbp + 0x58]
mov rdi, qword [rbp + 0x40]
cmp r13, 0x10
jb 0x140030d69
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140030ec2
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030faf
mov rcx, rdi
call fcn.14006b2ac
jmp 0x140030d69
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.140003730
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
cmp rcx, rdx
jae 0x140030f0d
lea rax, [rcx + 1]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x48]
mov word [rax + rcx], 0xa
jmp 0x140030f20
mov r9b, 0xa
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x48]
call fcn.14000a5c0
mov r13, qword [rbp - 0x70]
add r13, 0x40
mov qword [rbp - 0x70], r13
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140030f63
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030f5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030fb6
call fcn.14006b2ac
mov r15, qword [rbp - 0x68]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
add rax, 0xd8
mov qword [rsp + 0x58], rax
add r12, 0xd8
mov qword [rsp + 0x60], r12
cmp rax, qword [rsp + 0x68]
je 0x140030fbd
movabs r10, 0x100000001b3
movabs r9, 0xcbf29ce484222325
jmp 0x140030b20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdi, qword [rsp + 0x78]
mov r15, qword [rbp - 0x50]
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], select
mov byte [rbp - 0x48], 0
test rdi, rdi
je 0x140031044
mov rbx, rdi
cmp rdi, r14
je 0x140031005
mov rcx, rbx
call fcn.1400194a0
add rbx, 0x40
cmp rbx, r14
jne 0x140030ff4
mov rcx, qword [rsp + 0x70]
sub rcx, rdi
and rcx, 0xffffffffffffffc0
mov rax, rdi
cmp rcx, 0x1000
jb 0x140031039
add rcx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031039
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rcx
mov rcx, rdi
call fcn.14006b2ac
mov rax, r15
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14006b910
mov rbx, qword [rsp + 0x208]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140005410
nop
int3