Function at 0x18005c840
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x330
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1800eb008]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov rbp, rdx
mov rsi, rcx
mov qword [rsp + 0x20], 0
mov rax, qword [r8]
lea rdx, [rsp + 0x20]
mov rcx, r8
call qword [rax + 0x38]
mov ebx, eax
test eax, eax
js 0x18005cad5
cmp eax, 1
je 0x18005cad5
cmp qword [rsp + 0x20], 0
je 0x18005c918
lea rcx, [0x1800d3af0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x18005c8c6
mov ecx, 0x8007000e
call fcn.18000b410
nop
xor r9d, r9d
mov r8d, 0x400
mov rdx, rbx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VarR8Pow]
cmp eax, 1
sete dil
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test dil, dil
jne 0x18005c918
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
lea r9, [rbp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.18005ee20
test eax, eax
jne 0x18005c92d
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 0xe0037002
jmp 0x18005cae2
or r9, 0xffffffffffffffff
mov r8d, 0x1a0
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.18005f2d0
cmp dword [rbp + 0x60], 0x10211a41
je 0x18005c963
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 0xe0037002
jmp 0x18005cae2
lea r9, [rbp + 0x70]
or r8d, 0xffffffff
mov r10d, 0x40
lea r11, [0x1800cd2a0]
nop dword [rax + rax]
movzx ecx, byte [r9]
mov eax, r8d
xor rcx, rax
movzx edx, cl
shr eax, 8
mov r8d, dword [r11 + rdx*4]
xor r8d, eax
lea r9, [r9 + 1]
sub r10d, 1
jne 0x18005c980
not r8d
cmp dword [rbp + 0x64], r8d
je 0x18005c9bf
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 0xe0037002
jmp 0x18005cae2
or r9, 0xffffffffffffffff
lea r8d, [r9 + 0x11]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x40]
call fcn.18005f2d0
lea rdx, [rbp + 0x70]
lea rcx, [rsi + 0x8c]
call fcn.18005ef70
test eax, eax
jne 0x18005c9fe
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 0xe0037001
jmp 0x18005cae2
mov r8d, dword [rbp + 0x10]
mov dword [rsi + 0x370], r8d
mov ecx, r8d
shr ecx, 9
mov dword [rsi + 0x374], ecx
mov eax, dword [rbp + 0x14]
mov dword [rsi + 0x378], eax
mov eax, dword [rbp + 0x1c]
shl rax, 9
mov qword [rsi + 0x30], rax
shr rax, 9
xor edx, edx
div rcx
lea rdi, [rax*4 + 0x1ff]
shr rdi, 9
mov eax, edi
not rax
mov qword [rsi + 0x368], rax
cmp qword [rsi + 0x398], 0
jne 0x18005ca92
mov ecx, r8d
lea rdx, [0x1800ece24]
call fcn.180072944
mov qword [rsi + 0x398], rax
test rax, rax
jne 0x18005ca81
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 0x8007000e
jmp 0x18005cae2
mov r8d, dword [rsi + 0x370]
xor edx, edx
mov rcx, rax
call fcn.18008c000
mov rcx, rsi
call fcn.18005d780
mov ebx, eax
test eax, eax
js 0x18005cad5
cmp eax, 1
je 0x18005cad5
shl edi, 9
mov r9, qword [rsi + 0x368]
mov r8d, edi
mov rdx, qword [rsi + 0x380]
lea rcx, [rsi + 0x8c]
call fcn.18005f2d0
nop
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
jmp 0x18005cae2
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.180072920
add rsp, 0x330
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret