Function at 0x180005300
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
movzx eax, word [rdx]
xor r12d, r12d
mov rsi, r8
mov r15, rcx
mov ebx, r12d
test ax, ax
je 0x180005354
mov r9, rcx
sub r9, rdx
nop dword [rax]
mov word [r9 + rdx], ax
lea rdx, [rdx + 2]
movzx eax, word [rdx]
inc rbx
test ax, ax
jne 0x180005340
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [rax*2 + 4]
mov rax, qword [0x18000a4e0]
test rax, rax
je 0x180005396
mov rax, qword [rax + 0x48]
test rax, rax
jne 0x1800053a8
lea edx, [rax + 1]
xor ecx, ecx
mov r8d, 0x697a6afe
call fcn.180004030
mov rcx, qword [0x18000a4e0]
mov qword [rcx + 0x48], rax
jmp 0x1800053a8
mov edx, 1
xor ecx, ecx
mov r8d, 0x697a6afe
call fcn.180004030
xor ecx, ecx
mov edx, edi
mov r8d, 0x3000
lea r9d, [rcx + 4]
call rax
mov r14, rax
test rax, rax
jne 0x18000540c
mov byte [rbp - 0x40], r12b
mov r14, r12
mov dword [rbp - 0x3c], 0x6709fd0
mov dword [rbp - 0x38], 0x6902edc7
mov eax, dword [rbp - 0x3c]
movzx eax, byte [rbp - 0x40]
test al, al
jne 0x180005406
mov rcx, r12
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbp + rcx*4 - 0x3c]
xor eax, 0x6902edb5
mov dword [rbp + rcx*4 - 0x3c], eax
inc rcx
cmp rcx, 2
jb 0x1800053f0
lea r8, [rbp - 0x3c]
jmp 0x18000547e
mov rax, qword [0x18000a4e0]
test rax, rax
je 0x180005444
mov rax, qword [rax + 0x180]
test rax, rax
jne 0x180005456
lea edx, [rax + 1]
xor ecx, ecx
mov r8d, 0xe74f57ee
call fcn.180004030
mov rcx, qword [0x18000a4e0]
mov qword [rcx + 0x180], rax
jmp 0x180005456
mov edx, 1
xor ecx, ecx
mov r8d, 0xe74f57ee
call fcn.180004030
mov qword [rsp + 0x38], r12
mov r9d, 0xffffffff
mov qword [rsp + 0x30], r12
mov r8, rsi
mov dword [rsp + 0x28], edi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r14
call rax
mov r8, r14
movzx edx, byte [r8]
test dl, dl
je 0x180005567
nop word [rax + rax]
mov byte [rbp - 0x34], r12b
mov dword [rbp - 0x30], 0xc763723
mov dword [rbp - 0x2c], 0x8723327
mov dword [rbp - 0x28], 0x7d053f2b
mov dword [rbp - 0x24], 0x79014250
mov dword [rbp - 0x20], 0x3f440613
mov eax, dword [rbp - 0x30]
movzx eax, byte [rbp - 0x34]
test al, al
jne 0x1800054e6
mov rcx, r12
nop word [rax + rax]
mov eax, dword [rbp + rcx*4 - 0x30]
xor eax, 0x3f440613
mov dword [rbp + rcx*4 - 0x30], eax
inc rcx
cmp rcx, 5
jb 0x1800054d0
movzx edx, dl
mov eax, edx
shr rax, 4
movsx eax, byte [rbp + rax - 0x30]
mov word [r15 + rbx*2], ax
mov byte [rbp - 0x1c], r12b
mov dword [rbp - 0x18], 0x39d8f856
mov dword [rbp - 0x14], 0x3ddcfc52
mov dword [rbp - 0x10], 0x48abf05e
mov dword [rbp - 0xc], 0x4caf8d25
mov dword [rbp - 8], 0xaeac966
mov eax, dword [rbp - 0x18]
movzx eax, byte [rbp - 0x1c]
test al, al
jne 0x180005546
mov rcx, r12
nop
mov eax, dword [rbp + rcx*4 - 0x18]
xor eax, 0xaeac966
mov dword [rbp + rcx*4 - 0x18], eax
inc rcx
cmp rcx, 5
jb 0x180005530
and edx, 0xf
inc r8
movsx eax, byte [rbp + rdx - 0x18]
mov word [r15 + rbx*2 + 2], ax
add rbx, 2
movzx edx, byte [r8]
test dl, dl
jne 0x180005490
mov word [r15 + rbx*2], r12w
test r14, r14
je 0x1800055c2
mov rax, qword [0x18000a4e0]
test rax, rax
je 0x1800055a3
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x1800055b5
lea edx, [rax + 1]
xor ecx, ecx
mov r8d, 0x3a35705f
call fcn.180004030
mov rcx, qword [0x18000a4e0]
mov qword [rcx + 0x58], rax
jmp 0x1800055b5
mov edx, 1
xor ecx, ecx
mov r8d, 0x3a35705f
call fcn.180004030
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call rax
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret