Function at 0x140080f90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x14014d0c0]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov ebx, r8d
mov rdi, rdx
mov qword [rsp + 0x50], rdx
xor r12d, r12d
mov dword [rsp + 0x48], r12d
mov eax, r8d
sar eax, 0x10
lea ecx, [rax*8]
add rcx, qword [0x1401506c8]
mov rdx, qword [0x1401507c0]
add rdx, 0x10
add rdx, rcx
call fcn.140092af0
mov rcx, rax
movzx eax, bx
lea r15, [rcx + rax*2]
mov rdx, r15
call fcn.140092f30
movzx ecx, ax
shr ecx, 6
test ecx, ecx
je 0x140081215
mov r14d, r12d
mov esi, ecx
mov ebx, r12d
nop dword [rax]
nop dword [rax + rax]
mov byte [rsp + 0x40], r12b
mov dword [rsp + 0x5c], r12d
mov ecx, r14d
add rcx, 2
add rcx, r15
mov qword [rsp + 0x60], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov eax, dword [0x140150f30]
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x38], r12
mov r9d, reloc.WLDAP32.dll_Ordinal_32
lea r8, [rsp + 0x58]
mov rcx, qword [0x140150f38]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
cmp byte [0x140150f40], r12b
mov edx, 0x222404
jne 0x14008109f
mov edx, 0x220c58
call qword [0x140150de8]
movzx eax, byte [rsp + 0x40]
mov byte [rbp + rbx - 0x60], al
inc r14d
inc rbx
cmp rbx, rsi
jl 0x140081030
mov rax, qword [0x1401507c0]
add rax, 0x1200051c
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x7c], r12d
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x44]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], 4
mov eax, dword [0x140150f30]
mov dword [rsp + 0x78], eax
mov qword [rsp + 0x38], r12
mov r9d, reloc.WLDAP32.dll_Ordinal_32
lea r8, [rsp + 0x78]
mov rcx, qword [0x140150f38]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
cmp byte [0x140150f40], r12b
mov edx, 0x222404
jne 0x14008112c
mov edx, 0x220c58
call qword [0x140150de8]
mov edx, dword [rsp + 0x44]
mov eax, edx
mov ecx, edx
shl eax, 8
shr ecx, 8
or ecx, eax
lea rax, [rbp - 0x60]
mov r8, rsi
shr edx, 7
nop dword [rax]
add ecx, edx
xor byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x140081150
mov byte [rbp + rsi - 0x60], r12b
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x140081180
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.140021570
mov dword [rsp + 0x48], 1
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rsi, rcx
ja 0x1400811c0
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400811b6
mov rax, qword [rdi]
mov qword [rdi + 0x10], rsi
mov byte [rax + rsi], 0
jmp 0x140081212
mov r14, rsi
sub r14, rcx
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x1400811f9
mov qword [rdi + 0x10], rsi
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400811e1
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, r14
xor edx, edx
mov rcx, rbx
call fcn.14011581c
mov byte [rbx + r14], 0
jmp 0x140081212
mov byte [rsp + 0x20], 0
mov r9, r14
movzx r8d, byte [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call fcn.1400280d0
mov rax, rdi
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140114060
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret