Function at 0x18008c7c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x180174838]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rax, rdx
mov r14, rcx
xor ebx, ebx
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.18009e9d0
nop
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.18000a7a0
lea rdi, [rbp - 0x49]
mov rcx, qword [rbp - 0x49]
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
cmovae rdi, rcx
lea rsi, [rbp - 0x49]
cmovae rsi, rcx
mov r8, qword [rbp - 0x39]
add rsi, r8
cmp rdi, rsi
je 0x18008c850
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x18008c831
mov rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x49]
lea rax, [rbp - 0x49]
cmp rdx, 0x10
cmovae rax, rcx
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], r8
xor r8d, r8d
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 0x17]
call fcn.180073820
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x18008c8b3
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008c8ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008c8ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
movdqa xmm0, xmmword [0x180109f10]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x18008c902
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008c8fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008c8fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
movdqa xmm0, xmmword [0x180109f10]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rcx, qword [r14 + 0x78]
mov rax, qword [r14 + 0x80]
cmp rcx, rax
je 0x18008cacc
sub rax, rcx
sar rax, 5
movsxd r8, dword [r14 + 0x90]
mov rdx, r8
cmp r8, rax
jae 0x18008cacc
cmp byte [r14 + 0x94], 0
je 0x18008ca06
test r8d, r8d
jne 0x18008ca06
mov esi, 1
cmp rax, rsi
jbe 0x18008c9ff
mov edi, reloc.WLDAP32.dll_Ordinal_32
nop dword [rax + rax]
lea rax, [rdi + rcx]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x18008c982
mov rax, qword [rax]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rcx
xor r8d, r8d
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.180073820
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp - 0x61], rax
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 0x17]
call fcn.1800940d0
mov ebx, eax
lea rcx, [rbp - 0x29]
call fcn.18000a270
test ebx, ebx
je 0x18008cacc
inc rsi
add rdi, 0x20
mov rcx, qword [r14 + 0x78]
mov rax, qword [r14 + 0x80]
sub rax, rcx
sar rax, 5
cmp rsi, rax
jb 0x18008c970
xor bl, bl
jmp 0x18008cace
mov dword [rbp - 0x79], 0x1005356
nop dword [rax]
lea eax, [rbx + 0x78]
xor byte [rbp + rbx - 0x79], al
inc rbx
cmp rbx, 2
jb 0x18008ca10
mov byte [rbp - 0x76], 0
lea r8, [rbp - 0x79]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [r8 + rax], 0
jne 0x18008ca30
shl rdx, 5
lea rbx, [rdx + rcx]
mov rcx, rbx
mov rsi, qword [rbx + 0x18]
cmp rsi, 0x10
jb 0x18008ca52
mov rcx, qword [rbx]
mov rdi, qword [rbx + 0x10]
cmp rdi, rax
jne 0x18008ca6b
mov r8, rdi
lea rdx, [rbp - 0x79]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18008cacc
cmp rsi, 0x10
jb 0x18008ca74
mov rbx, qword [rbx]
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x61], rdi
xor r8d, r8d
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.180073820
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp - 0x61], rax
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0x17]
call fcn.1800940d0
test eax, eax
sete bl
lea rcx, [rbp - 0x29]
call fcn.18000a270
jmp 0x18008cace
mov bl, 1
lea rcx, [rbp + 0x17]
call fcn.18000a270
movzx eax, bl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800f5150
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret