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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x180089070]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r11d, edx
mov dword [rsp + 0x38], edx
mov r9, qword [0x18008ad68]
mov rcx, qword [0x18008ad70]
cmp r9, rcx
je 0x18003cfce
cmp edx, r8d
jge 0x18003cfce
xor r13d, r13d
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xc0], r13
mov qword [rsp + 0xc8], 0xf
mov byte [rsp + 0xb0], r13b
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0x100], xmm0
movups xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0x130], xmm0
mov qword [rsp + 0xd0], r13
mov byte [rsp + 0xd8], r13b
movdqa xmmword [rsp + 0xe0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xf0], xmm1
mov qword [rsp + 0x100], r13
mov byte [rsp + 0x108], r13b
movdqa xmmword [rsp + 0x110], xmm0
mov byte [rsp + 0x120], r13b
mov qword [rsp + 0x128], r13
mov qword [rsp + 0x130], r13
mov byte [rsp + 0x138], r13b
mov qword [rsp + 0x90], r13
mov qword [rsp + 0xa0], r13
mov r15d, 0xf
mov qword [rsp + 0xa8], r15
mov byte [rsp + 0x90], r13b
sub rcx, r9
movabs r12, 0x2aaaaaaaaaaaaaab
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [rsp + 0x34], edx
lea rcx, [rsp + 0x190]
lea rax, [rsp + 0x34]
cmp r8d, edx
cmovge rcx, rax
mov dword [rsp + 0x88], r13d
lea rax, [rsp + 0x88]
cmp dword [rcx], r13d
cmovg rax, rcx
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x34], r11d
cmp r11d, dword [rsp + 0x50]
jge 0x18003cf1f
movsxd rax, r11d
lea rcx, [rax + rax*2]
lea r14, [r9 + rcx*8]
mov qword [rsp + 0x40], r14
mov rcx, qword [r14 + 8]
mov rax, qword [r14]
cmp rax, rcx
je 0x18003cf12
sub rcx, rax
mov rax, r12
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [rsp + 0xc0]
ja 0x18003ca64
lea rax, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0x10
cmovae rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rdx
mov byte [rax + rdx], 0
jmp 0x18003cad3
mov rdi, rdx
mov rcx, qword [rsp + 0xc0]
sub rdi, rcx
mov r8, qword [rsp + 0xc8]
mov rax, r8
sub rax, rcx
cmp rdi, rax
ja 0x18003cab8
mov qword [rsp + 0xc0], rdx
lea rbx, [rsp + 0xb0]
cmp r8, 0x10
cmovae rbx, qword [rsp + 0xb0]
add rbx, rcx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rdi], 0
jmp 0x18003cad3
mov byte [rsp + 0x20], 0
mov r9, rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0xb0]
call fcn.180041ef0
mov r8, r13
mov r10, qword [r14]
mov rcx, qword [r14 + 8]
sub rcx, r10
mov rax, r12
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x18003cb51
mov r9, r13
nop dword [rax + rax]
movzx ecx, byte [r9 + r10]
lea rax, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0x10
cmovae rax, qword [rsp + 0xb0]
mov byte [rax + r8], cl
mov dword [r9 + r10 + 4], r13d
inc r8
lea r9, [r9 + 0xc]
mov r10, qword [r14]
mov rcx, qword [r14 + 8]
sub rcx, r10
mov rax, r12
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jb 0x18003cb00
lea rdx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0x10
cmovae rdx, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rdx
mov rcx, qword [rsp + 0xc0]
add rcx, rdx
mov qword [rsp + 0x48], rcx
mov rdi, rdx
mov qword [rsp + 0x58], rdx
mov r15, qword [rsp + 0xa8]
cmp rdi, rcx
je 0x18003cefc
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], r13d
xor sil, sil
mov byte [rsp + 0x30], sil
mov rax, qword [0x18008afd0]
test rax, rax
je 0x18003cbf6
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x78]
mov rdx, rcx
mov rcx, rdi
call rax
test al, al
jne 0x18003cc94
mov rcx, qword [rsp + 0x48]
mov rbx, qword [0x18008aff8]
mov r14, qword [0x18008b000]
cmp rbx, r14
je 0x18003cc56
mov qword [rsp + 0x28], rdi
mov r9, rbx
lea r8, [rsp + 0xd0]
mov rdx, rcx
mov rcx, rdi
call fcn.180043390
test al, al
je 0x18003cc58
mov sil, 1
mov byte [rsp + 0x30], sil
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rcx]
mov qword [rsp + 0x78], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x80], rax
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x88], eax
jmp 0x18003cc78
add rbx, 0x30
mov rcx, qword [rsp + 0x48]
jmp 0x18003cc04
mov r14, qword [rsp + 0x40]
test sil, sil
jne 0x18003cc94
inc rdi
mov qword [rsp + 0x58], rdi
mov rcx, qword [rsp + 0x48]
jmp 0x18003cb8d
mov r13, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
sub r13, rdx
cmp dword [rsp + 0x88], 7
jne 0x18003cea3
mov r8, r13
lea rcx, [rsp + 0x90]
call fcn.180005080
mov r15, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
cmp byte [0x18008aff0], 0
jne 0x18003cd4a
lea r14, [rsp + 0x90]
mov rcx, qword [rsp + 0x90]
cmp r15, 0x10
cmovae r14, rcx
lea r12, [rsp + 0x90]
cmovae r12, rcx
add r12, rsi
lea rbx, [rsp + 0x90]
cmp r15, 0x10
cmovae rbx, rcx
cmp rbx, r12
je 0x18003cd45
sub r14, rbx
nop word [rax + rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [r14 + rbx], al
inc rbx
cmp rbx, r12
jne 0x18003cd20
mov r15, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x40]
sub rdi, qword [rsp + 0x60]
lea rcx, [rdi + rdi*2]
mov rax, qword [r14]
test byte [rax + rcx*4 + 8], 4
jne 0x18003ce74
lea r8, [rsp + 0x90]
cmp r15, 0x10
cmovae r8, qword [rsp + 0x90]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
test rsi, rsi
je 0x18003cdaa
movabs r14, 0x100000001b3
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r14
inc rdx
cmp rdx, rsi
jb 0x18003cd91
mov r14, qword [rsp + 0x40]
and rcx, qword [0x18008aed8]
add rcx, rcx
mov rax, qword [0x18008aec0]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [0x18008aeb0]
je 0x18003ce28
mov rdi, qword [rax + rcx*8]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18003cde2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x90]
cmp r15, 0x10
cmovae rcx, qword [rsp + 0x90]
cmp rsi, rax
jne 0x18003ce08
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18003ce13
cmp rbx, rdi
je 0x18003ce28
mov rbx, qword [rbx + 8]
jmp 0x18003cdd0
test rbx, rbx
je 0x18003ce28
mov dword [rsp + 0x88], 1
jmp 0x18003ceab
lea rdx, [rsp + 0x90]
lea rcx, [0x18008aee8]
call fcn.180041000
test rax, rax
je 0x18003ce4e
mov dword [rsp + 0x88], 8
jmp 0x18003ceab
lea rdx, [rsp + 0x90]
lea rcx, [0x18008af28]
call fcn.180041000
test rax, rax
je 0x18003ceab
mov dword [rsp + 0x88], 9
jmp 0x18003ceab
lea rdx, [rsp + 0x90]
lea rcx, [0x18008af28]
call fcn.180041000
mov ecx, dword [rsp + 0x88]
test rax, rax
mov eax, 9
cmovne ecx, eax
mov dword [rsp + 0x88], ecx
jmp 0x18003ceab
mov r15, qword [rsp + 0xa8]
xor r8d, r8d
test r13, r13
je 0x18003cee2
mov rax, r8
sub rax, qword [rsp + 0x68]
add rax, qword [rsp + 0x78]
lea rdx, [rax + rax*2]
mov rcx, qword [r14]
mov eax, dword [rsp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
inc r8
cmp r8, r13
jb 0x18003ceb3
mov r15, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x80]
mov qword [rsp + 0x58], rdi
xor r13d, r13d
mov rcx, qword [rsp + 0x48]
jmp 0x18003cb95
mov r9, qword [0x18008ad68]
mov r11d, dword [rsp + 0x38]
movabs r12, 0x2aaaaaaaaaaaaaab
inc r11d
mov dword [rsp + 0x38], r11d
jmp 0x18003c9ec
cmp r15, 0x10
jb 0x18003cf5e
lea rdx, [r15 + 1]
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003cf59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003cf59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180053364
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], 0xf
mov byte [rsp + 0x90], 0
lea rcx, [rsp + 0xe0]
call fcn.18003ebe0
nop
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x18003cfce
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003cfc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003cfc9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180053364
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180052cf0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret