Function at 0x18008d440
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x240
mov rax, qword [0x180131010]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, rcx
xor ebx, ebx
mov r14d, ebx
mov r15, 0xffffffffffffffff
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], bx
jne 0x18008d480
test dl, 1
je 0x18008d4a5
cmp rax, 0x40
jae 0x18008d831
mov word [rsp + 0x1b0], bx
jmp 0x18008d53f
cmp rax, 0x38
jae 0x18008d831
cmp rax, 0x37
jae 0x18008d831
cmp byte [0x180132812], bl
je 0x18008d51e
mov r9, rsi
mov r8d, 0x1505
movzx edx, word [rcx]
test edx, edx
je 0x18008d4f5
lea eax, [rdx - 0x61]
mov ecx, edx
and ecx, 0xffffffdf
cmp eax, 0x19
cmova ecx, edx
imul eax, r8d, 0x21
mov r8d, ecx
xor r8d, eax
lea r9, [r9 + 2]
movzx edx, word [r9]
test edx, edx
jne 0x18008d4d1
movzx eax, r8b
mov r8d, eax
shr r8d, 5
and eax, 0x1f
mov edx, 1
movzx ecx, al
shl edx, cl
lea rcx, [0x1801328c0]
test dword [rcx + r8*4], edx
je 0x18008d831
lea r8, str.DOTNET_
mov edx, 0x40
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r14, str.COMPlus_
mov r8, rsi
mov edx, 0x40
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov rdi, rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x90], ebx
mov dword [rsp + 0x94], ebx
mov dword [rsp + 0x98], ebx
mov qword [rsp + 0xa0], rbx
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x94], 0x104
mov dword [rsp + 0x90], 2
mov rax, qword [rsp + 0xa0]
mov word [rax], bx
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x1b0]
call fcn.180090e20
mov dword [rsp + 0x48], eax
test eax, eax
jne 0x18008d62f
test r14, r14
je 0x18008d7e2
mov r8, r14
lea edx, [rax + 0x40]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, rsi
mov edx, 0x40
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x1b0]
call fcn.180090e20
mov dword [rsp + 0x48], eax
test eax, eax
je 0x18008d7e2
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x30], ebx
mov r9d, dword [rsp + 0x98]
test r9b, 2
je 0x18008d6ca
test r9b, 0x40
jne 0x18008d6b3
mov r8, qword [rsp + 0xa0]
mov qword [rsp + 0x78], r8
mov ecx, r9d
not ecx
and ecx, 1
mov eax, dword [rsp + 0x90]
shr eax, cl
dec eax
add rax, r8
cmp r8, rax
jae 0x18008d681
cmp byte [r8], 0
jge 0x18008d69d
cmp r8, rax
jne 0x18008d6a7
and r9d, 0xfffffff8
mov dword [rsp + 0x98], r9d
or r9d, 1
mov dword [rsp + 0x98], r9d
jmp 0x18008d6ca
inc r8
mov qword [rsp + 0x78], r8
jmp 0x18008d673
or r9d, 0x40
mov dword [rsp + 0x98], r9d
lea rcx, [rsp + 0x90]
call fcn.180086960
mov r9d, dword [rsp + 0x98]
jmp 0x18008d6ca
not r9d
and r9d, 1
mov eax, dword [rsp + 0x90]
movzx ecx, r9b
shr eax, cl
mov ecx, eax
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.1800db3b8
mov rdi, rax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x90]
call fcn.180086960
mov rsi, qword [rsp + 0xa0]
mov r9d, dword [rsp + 0x98]
test r9b, 2
je 0x18008d7ac
test r9b, 0x40
jne 0x18008d795
mov r8, rsi
mov qword [rsp + 0x80], rsi
mov ecx, r9d
not ecx
and ecx, 1
mov eax, dword [rsp + 0x90]
shr eax, cl
dec eax
add rax, rsi
cmp r8, rax
jae 0x18008d760
cmp byte [r8], 0
jge 0x18008d77c
cmp r8, rax
jne 0x18008d789
and r9d, 0xfffffff8
mov dword [rsp + 0x98], r9d
or r9d, 1
mov dword [rsp + 0x98], r9d
jmp 0x18008d7ac
inc r8
mov qword [rsp + 0x80], r8
jmp 0x18008d752
or r9d, 0x40
mov dword [rsp + 0x98], r9d
lea rcx, [rsp + 0x90]
call fcn.180086960
mov r9d, dword [rsp + 0x98]
jmp 0x18008d7ac
not r9d
movzx ecx, r9b
and cl, 1
mov edx, dword [rsp + 0x90]
shr rdx, cl
mov r8, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rdi
test rdi, rdi
je 0x18008d7e2
mov dword [rsp + 0x40], 1
test byte [rsp + 0x98], 8
je 0x18008d7fa
mov rcx, qword [rsp + 0xa0]
call fcn.1800db3b0
nop
jmp 0x18008d811
test rdi, rdi
je 0x18008d81f
mov dword [rsp + 0x40], ebx
mov rax, rdi
jmp 0x18008d833
cmp dword [rsp + 0x40], 0
je 0x18008d831
xor ecx, ecx
call fcn.1800db3b0
mov dword [rsp + 0x40], ebx
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800db390
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret