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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x18008d040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r11d, edx
mov dword [rsp + 0x34], edx
mov rcx, qword [0x18008e150]
mov r9, qword [0x18008e148]
cmp r9, rcx
je 0x180047e22
cmp edx, r8d
jge 0x180047e22
xorps xmm0, xmm0
movups xmmword [rsp + 0xc0], xmm0
xor r14d, r14d
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xd8], 0xf
mov byte [rsp + 0xc0], r14b
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0x110], xmm0
movups xmmword [rsp + 0x130], xmm0
movups xmmword [rsp + 0x140], xmm0
mov qword [rsp + 0xe0], r14
mov byte [rsp + 0xe8], r14b
movdqa xmmword [rsp + 0xf0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x100], xmm1
mov qword [rsp + 0x110], r14
mov byte [rsp + 0x118], r14b
movdqa xmmword [rsp + 0x120], xmm0
mov byte [rsp + 0x130], r14b
mov qword [rsp + 0x138], r14
mov qword [rsp + 0x140], r14
mov byte [rsp + 0x148], r14b
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], r14
mov r13d, 0xf
mov qword [rsp + 0xb8], r13
mov byte [rsp + 0xa0], r14b
sub rcx, r9
movabs rbx, 0x2aaaaaaaaaaaaaab
mov rax, rbx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8d, edx
cmovl edx, r8d
mov eax, r14d
test edx, edx
cmovg eax, edx
mov dword [rsp + 0x58], eax
mov r15, qword [rsp + 0xa0]
mov dword [rsp + 0x40], r11d
cmp r11d, dword [rsp + 0x58]
jge 0x180047d78
movsxd rax, r11d
lea rcx, [rax + rax*2]
lea r12, [r9 + rcx*8]
mov qword [rsp + 0x48], r12
mov rcx, qword [r12 + 8]
mov rax, qword [r12]
cmp rax, rcx
je 0x180047d6b
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [rsp + 0xd0]
ja 0x1800477e7
mov qword [rsp + 0xd0], rdx
lea rax, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 0xf
cmova rax, qword [rsp + 0xc0]
mov byte [rax + rdx], 0
jmp 0x180047858
mov rdi, rdx
mov rcx, qword [rsp + 0xd0]
sub rdi, rcx
mov r8, qword [rsp + 0xd8]
mov rax, r8
sub rax, rcx
cmp rdi, rax
ja 0x180047845
mov qword [rsp + 0xd0], rdx
lea rbx, [rsp + 0xc0]
cmp r8, 0xf
cmova rbx, qword [rsp + 0xc0]
add rbx, rcx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rdi], 0
movabs rbx, 0x2aaaaaaaaaaaaaab
jmp 0x180047858
mov r9, rdi
mov rdx, rdi
lea rcx, [rsp + 0xc0]
call fcn.18003bd70
mov r8, r14
mov r10, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r10
mov rax, rbx
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1800478d3
mov r9, r14
nop
movzx ecx, byte [r10 + r9]
lea rax, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 0xf
cmova rax, qword [rsp + 0xc0]
mov byte [rax + r8], cl
mov dword [r10 + r9 + 4], r14d
inc r8
lea r9, [r9 + 0xc]
mov r10, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r10
mov rax, rbx
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jb 0x180047880
lea rdx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 0xf
cmova rdx, qword [rsp + 0xc0]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rdx
mov rcx, qword [rsp + 0xd0]
add rcx, rdx
mov qword [rsp + 0x50], rcx
mov rdi, rdx
mov qword [rsp + 0x38], rdx
mov r15, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xb8]
nop
cmp rdi, rcx
je 0x180047d55
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], r14
mov dword [rsp + 0x98], r14d
xor sil, sil
mov byte [rsp + 0x30], sil
mov rax, qword [0x18008e3b0]
test rax, rax
je 0x180047987
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x88]
mov rdx, rcx
mov rcx, rdi
call rax
test al, al
jne 0x180047a28
mov rcx, qword [rsp + 0x50]
mov rbx, qword [0x18008e3d8]
mov r14, qword [0x18008e3e0]
cmp rbx, r14
je 0x1800479ea
mov qword [rsp + 0x28], rdi
mov r9, rbx
lea r8, [rsp + 0xe0]
mov rdx, rcx
mov rcx, rdi
call fcn.18004d210
test al, al
je 0x1800479ec
mov sil, 1
mov byte [rsp + 0x30], sil
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rcx]
mov qword [rsp + 0x88], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x90], rax
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x98], eax
jmp 0x180047a0e
add rbx, 0x30
mov rcx, qword [rsp + 0x50]
jmp 0x180047995
xor r14d, r14d
test sil, sil
jne 0x180047a28
inc rdi
mov qword [rsp + 0x38], rdi
mov rcx, qword [rsp + 0x50]
jmp 0x18004790f
mov r14, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
sub r14, rdx
mov qword [rsp + 0x38], r14
cmp dword [rsp + 0x98], 7
jne 0x180047ce2
mov rax, qword [rsp + 0xb8]
cmp r14, rax
ja 0x180047a8a
lea rbx, [rsp + 0xa0]
cmp rax, 0xf
cmova rbx, qword [rsp + 0xa0]
mov qword [rsp + 0xb0], r14
mov r8, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x180047aa2
mov r9, qword [rsp + 0x88]
mov rdx, r14
lea rcx, [rsp + 0xa0]
call fcn.18003b940
mov r15, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
cmp byte [0x18008e3d0], 0
jne 0x180047b37
lea r14, [rsp + 0xa0]
cmp r13, 0xf
cmova r14, r15
lea r12, [rsp + 0xa0]
cmova r12, r15
add r12, rsi
lea rbx, [rsp + 0xa0]
cmp r13, 0xf
cmova rbx, r15
cmp rbx, r12
je 0x180047b2d
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 0x180047b00
mov r13, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x48]
mov r14, qword [rsp + 0x38]
sub rdi, qword [rsp + 0x60]
lea rcx, [rdi + rdi*2]
mov rax, qword [r12]
test byte [rax + rcx*4 + 8], 4
jne 0x180047c1e
lea rdx, [rsp + 0xa0]
cmp r13, 0xf
cmova rdx, r15
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rsi, rsi
je 0x180047b98
movabs r12, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r12
inc rcx
cmp rcx, rsi
jb 0x180047b80
mov r12, qword [rsp + 0x48]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x78]
lea rcx, [0x18008e288]
call fcn.18004d3a0
cmp qword [rax + 8], 0
je 0x180047bc8
mov dword [rsp + 0x98], 1
jmp 0x180047cf2
lea rdx, [rsp + 0xa0]
lea rcx, [0x18008e2c8]
call fcn.18004b600
test rax, rax
je 0x180047bf1
mov dword [rsp + 0x98], 8
jmp 0x180047cf2
lea rdx, [rsp + 0xa0]
lea rcx, [0x18008e308]
call fcn.18004b600
test rax, rax
je 0x180047cf2
mov dword [rsp + 0x98], 9
jmp 0x180047cf2
lea r8, [rsp + 0xa0]
cmp r13, 0xf
cmova r8, r15
movabs rcx, 0xcbf29ce484222325
xor edx, edx
test rsi, rsi
je 0x180047c69
movabs r14, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r14
inc rdx
cmp rdx, rsi
jb 0x180047c50
mov r14, qword [rsp + 0x38]
and rcx, qword [0x18008e338]
add rcx, rcx
mov rax, qword [0x18008e320]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [0x18008e310]
je 0x180047cce
mov rdi, qword [rax + rcx*8]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180047ca2
mov rdx, qword [rdx]
lea rcx, [rsp + 0xa0]
cmp r13, 0xf
cmova rcx, r15
cmp rsi, rax
jne 0x180047cc3
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180047cd0
cmp rbx, rdi
je 0x180047cce
mov rbx, qword [rbx + 8]
jmp 0x180047c90
xor ebx, ebx
test rbx, rbx
je 0x180047cf2
mov dword [rsp + 0x98], 9
jmp 0x180047cf2
mov r13, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xa0]
xor r8d, r8d
test r14, r14
je 0x180047d3b
nop word [rax + rax]
mov rax, r8
sub rax, qword [rsp + 0x68]
add rax, qword [rsp + 0x88]
lea rdx, [rax + rax*2]
mov rcx, qword [r12]
mov eax, dword [rsp + 0x98]
mov dword [rcx + rdx*4 + 4], eax
inc r8
cmp r8, r14
jb 0x180047d00
mov r13, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x90]
mov qword [rsp + 0x38], rdi
xor r14d, r14d
mov rcx, qword [rsp + 0x50]
jmp 0x180047920
mov r9, qword [0x18008e148]
mov r11d, dword [rsp + 0x34]
movabs rbx, 0x2aaaaaaaaaaaaaab
inc r11d
mov dword [rsp + 0x34], r11d
jmp 0x18004776d
cmp r13, 0xf
jbe 0x180047db2
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x180047daa
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180047daa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1800555d0
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xb8], 0xf
mov byte [rsp + 0xa0], 0
lea rcx, [rsp + 0xf0]
call fcn.1800497a0
nop
mov rdx, qword [rsp + 0xd8]
cmp rdx, 0xf
jbe 0x180047e22
inc rdx
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180047e1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180047e1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800555d0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180055050
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret