Function at 0x18004a6d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1801d0100]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x68]
mov r13d, edx
mov r14, qword [rbp + 0x58]
mov rdi, rcx
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x4c], edx
mov qword [rbp - 0x28], rcx
test dl, 0xf
je 0x18004a715
mov esi, 1
jmp 0x18004aa20
test rax, rax
jne 0x18004a720
cmp dword [rbp + 0x60], r13d
jmp 0x18004a726
lea eax, [rdx - 0x10]
cmp dword [rbp + 0x60], eax
jae 0x18004a732
mov esi, 3
jmp 0x18004aa20
mov qword [rsp + 0xb0], rbx
lea rcx, [rbp - 0x40]
xorps xmm0, xmm0
mov qword [rsp + 0x68], r12
xor eax, eax
mov qword [rsp + 0x60], r15
mov rdx, r8
mov qword [rbp - 0x30], rax
movups xmmword [rbp - 0x40], xmm0
call fcn.180049930
mov r8, r14
lea rcx, [rbp - 0x40]
mov rdx, rdi
call fcn.180049fd0
mov r8, qword [rbp + 0x50]
xor esi, esi
mov r12d, Ordinal_21
test r8, r8
je 0x18004a7c5
lea rax, [r8 + 0xf]
lea rcx, [r14 + 0xf]
cmp r14, rax
ja 0x18004a7b3
cmp rcx, r8
jb 0x18004a7b3
sub r8, r14
lea rax, [rsi + r14]
mov edx, r12d
sub rdx, rsi
nop dword [rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x18004a7a0
jmp 0x18004a7c5
movdqu xmm1, xmmword [r14]
movdqu xmm0, xmmword [r8]
xorps xmm1, xmm0
movdqu xmmword [r14], xmm1
mov r15d, r13d
shr r15d, 4
dec r15d
cmp r15d, 1
jbe 0x18004a887
lea r13d, [r15 - 1]
mov rsi, rdi
movsxd rax, r12d
lea rcx, [rbp - 0x40]
lea rdi, [rax + r14]
lea rbx, [rax + rsi]
mov r8, rdi
mov rdx, rbx
call fcn.180049fd0
movzx eax, byte [rbx - 0x10]
add r12d, 0x10
xor byte [rdi], al
movzx eax, byte [rbx - 0xf]
xor byte [rdi + 1], al
movzx eax, byte [rbx - 0xe]
xor byte [rdi + 2], al
movzx eax, byte [rbx - 0xd]
xor byte [rdi + 3], al
movzx eax, byte [rbx - 0xc]
xor byte [rdi + 4], al
movzx eax, byte [rbx - 0xb]
xor byte [rdi + 5], al
movzx eax, byte [rbx - 0xa]
xor byte [rdi + 6], al
movzx eax, byte [rbx - 9]
xor byte [rdi + 7], al
movzx eax, byte [rbx - 8]
xor byte [rdi + 8], al
movzx eax, byte [rbx - 7]
xor byte [rdi + 9], al
movzx eax, byte [rbx - 6]
xor byte [rdi + 0xa], al
movzx eax, byte [rbx - 5]
xor byte [rdi + 0xb], al
movzx eax, byte [rbx - 4]
xor byte [rdi + 0xc], al
movzx eax, byte [rbx - 3]
xor byte [rdi + 0xd], al
movzx eax, byte [rbx - 2]
xor byte [rdi + 0xe], al
movzx eax, byte [rbx - 1]
xor byte [rdi + 0xf], al
sub r13, 1
jne 0x18004a7e0
mov r13d, dword [rbp - 0x4c]
xor esi, esi
mov rdi, qword [rbp - 0x28]
mov r12d, Ordinal_21
shl r15d, 4
xorps xmm0, xmm0
mov ebx, r15d
mov r15, qword [rsp + 0x60]
movups xmmword [rbp - 0x28], xmm0
cmp r13d, 0x10
jbe 0x18004a941
lea rdx, [rbx + rdi]
lea r8, [rbp - 0x28]
lea rcx, [rbp - 0x40]
call fcn.180049fd0
lea eax, [rbx - 0x10]
mov ecx, eax
movzx eax, byte [rax + rdi]
xor byte [rbp - 0x28], al
movzx eax, byte [rcx + rdi + 1]
xor byte [rbp - 0x27], al
movzx eax, byte [rcx + rdi + 2]
xor byte [rbp - 0x26], al
movzx eax, byte [rcx + rdi + 3]
xor byte [rbp - 0x25], al
movzx eax, byte [rcx + rdi + 4]
xor byte [rbp - 0x24], al
movzx eax, byte [rcx + rdi + 5]
xor byte [rbp - 0x23], al
movzx eax, byte [rcx + rdi + 6]
xor byte [rbp - 0x22], al
movzx eax, byte [rcx + rdi + 7]
xor byte [rbp - 0x21], al
movzx eax, byte [rcx + rdi + 8]
xor byte [rbp - 0x20], al
movzx eax, byte [rcx + rdi + 9]
xor byte [rbp - 0x1f], al
movzx eax, byte [rcx + rdi + 0xa]
xor byte [rbp - 0x1e], al
movzx eax, byte [rcx + rdi + 0xb]
xor byte [rbp - 0x1d], al
movzx eax, byte [rcx + rdi + 0xc]
xor byte [rbp - 0x1c], al
movzx eax, byte [rcx + rdi + 0xd]
xor byte [rbp - 0x1b], al
movzx eax, byte [rcx + rdi + 0xe]
xor byte [rbp - 0x1a], al
movzx eax, byte [rbp - 0x19]
xor al, byte [rcx + rdi + 0xf]
mov edi, dword [rbp + 0x60]
mov byte [rbp - 0x19], al
jmp 0x18004a964
mov r8d, r13d
lea rcx, [rbp - 0x28]
mov rdx, r14
call fcn.1800ab3c0
mov edi, dword [rbp + 0x60]
xor edx, edx
mov r8d, edi
mov rcx, r14
call fcn.1800aba60
movzx eax, byte [rbp - 0x19]
mov rcx, qword [rbp - 0x48]
mov rdx, rbx
test rcx, rcx
je 0x18004a9d0
movzx r8d, al
sub r12d, r8d
mov dword [rcx], r8d
cmp r8d, 0x10
ja 0x18004a9c9
mov edx, esi
test al, al
je 0x18004a9a8
nop word [rax + rax]
mov eax, reloc.LIBPQ.dll_Ordinal_15
sub eax, edx
movzx ecx, byte [rbp + rax - 0x28]
cmp ecx, r8d
jne 0x18004a9c9
inc edx
cmp edx, r8d
jb 0x18004a990
lea eax, [rbx + r12]
cmp edi, eax
jb 0x18004a9c2
mov r8d, r12d
lea rcx, [r14 + rbx]
lea rdx, [rbp - 0x28]
call fcn.1800ab3c0
jmp 0x18004a9d9
mov esi, 3
jmp 0x18004a9d9
mov esi, 4
jmp 0x18004a9d9
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [r14 + rdx], xmm0
mov rcx, qword [rbp - 0x40]
mov r12, qword [rsp + 0x68]
mov rbx, qword [rsp + 0xb0]
test rcx, rcx
je 0x18004aa20
mov rdx, qword [rbp - 0x30]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x18004aa1b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004aa3a
call fcn.18007bb20
mov eax, esi
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.18007bb00
add rsp, 0x70
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
call fcn.18008a6e4
int3