Function at 0x1800390a4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov r14b, r8b
mov rdi, rdx
mov rsi, rcx
mov dword [rsp + 0x30], 0x26
mov eax, dword [rsp + 0x30]
xor ax, 0x53
mov word [rsp + 0x34], ax
mov eax, dword [rsp + 0x30]
mov r13d, 1
add ax, r13w
xor ax, 0x45
mov word [rsp + 0x36], ax
mov eax, dword [rsp + 0x30]
add ax, 2
xor ax, 0x4c
mov word [rsp + 0x38], ax
mov eax, dword [rsp + 0x30]
add ax, 3
xor ax, 0x45
mov word [rsp + 0x3a], ax
mov eax, dword [rsp + 0x30]
add ax, 4
xor ax, 0x43
mov word [rsp + 0x3c], ax
mov eax, dword [rsp + 0x30]
add ax, 5
xor ax, 0x54
mov word [rsp + 0x3e], ax
mov eax, dword [rsp + 0x30]
add ax, 6
xor ax, 0x20
mov word [rsp + 0x40], ax
mov eax, dword [rsp + 0x30]
add ax, 7
xor ax, 0x2a
mov word [rsp + 0x42], ax
mov eax, dword [rsp + 0x30]
add ax, 8
xor ax, 0x20
mov word [rsp + 0x44], ax
mov eax, dword [rsp + 0x30]
add ax, 9
xor ax, 0x46
mov word [rsp + 0x46], ax
mov eax, dword [rsp + 0x30]
add ax, 0xa
xor ax, 0x52
mov word [rsp + 0x48], ax
mov eax, dword [rsp + 0x30]
add ax, 0xb
xor ax, 0x4f
mov word [rsp + 0x4a], ax
mov eax, dword [rsp + 0x30]
add ax, 0xc
xor ax, 0x4d
mov word [rsp + 0x4c], ax
mov eax, dword [rsp + 0x30]
add ax, 0xd
xor ax, 0x20
mov word [rsp + 0x4e], ax
mov eax, dword [rsp + 0x30]
add ax, 0xe
xor ax, 0x57
mov word [rsp + 0x50], ax
mov eax, dword [rsp + 0x30]
add ax, 0xf
xor ax, 0x69
mov word [rsp + 0x52], ax
mov eax, dword [rsp + 0x30]
add ax, 0x10
xor ax, 0x6e
mov word [rsp + 0x54], ax
mov eax, dword [rsp + 0x30]
add ax, 0x11
xor ax, 0x33
mov word [rsp + 0x56], ax
mov eax, dword [rsp + 0x30]
add ax, 0x12
xor ax, 0x32
mov word [rsp + 0x58], ax
mov eax, dword [rsp + 0x30]
add ax, 0x13
xor ax, 0x5f
mov word [rsp + 0x5a], ax
mov eax, dword [rsp + 0x30]
add ax, 0x14
xor ax, 0x50
mov word [rsp + 0x5c], ax
mov eax, dword [rsp + 0x30]
add ax, 0x15
xor ax, 0x72
mov word [rsp + 0x5e], ax
mov eax, dword [rsp + 0x30]
add ax, 0x16
lea edx, [r13 + 0x6e]
xor ax, dx
mov word [rsp + 0x60], ax
mov eax, dword [rsp + 0x30]
add ax, 0x17
xor ax, 0x63
mov word [rsp + 0x62], ax
mov eax, dword [rsp + 0x30]
add ax, 0x18
xor ax, 0x65
mov word [rsp + 0x64], ax
mov eax, dword [rsp + 0x30]
add ax, 0x19
xor ax, 0x73
mov word [rsp + 0x66], ax
mov eax, dword [rsp + 0x30]
add ax, 0x1a
xor ax, 0x73
mov word [rsp + 0x68], ax
mov eax, dword [rsp + 0x30]
add ax, 0x1b
xor ax, dx
mov word [rsp + 0x6a], ax
mov eax, dword [rsp + 0x30]
add ax, 0x1c
xor ax, 0x72
mov word [rsp + 0x6c], ax
xor eax, eax
mov word [rsp + 0x6e], ax
movzx eax, word [rsp + 0x34]
xor r15d, r15d
mov edx, r15d
movzx eax, word [rsp + rdx*2 + 0x34]
mov ecx, dword [rsp + 0x30]
add cx, dx
xor cx, ax
mov word [rsp + rdx*2 + 0x34], cx
add rdx, r13
cmp rdx, 0x1d
jb 0x1800392de
mov word [rsp + 0x6e], r15w
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
lea rax, [rsp + 0x34]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], r15w
jne 0x18003931c
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x38]
call fcn.18000c67c
nop
xor edx, edx
lea r8d, [rdx + 0x3c]
lea rcx, [rsp + 0x34]
call qword [sym.imp.VCRUNTIME140.dll_memset]
test r14b, r14b
jne 0x180039363
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.18003906c
mov dword [rdi], eax
test eax, eax
setne bl
jmp 0x180039505
lea rax, [rbp - 0x10]
mov qword [rbp + 0x78], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_7f7ccdcd19ab787a0aa0d9c60962c652___bool__struct_tagVARIANT____ptr64__void____ptr64_.0
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x28], rax
mov eax, 0x50
mov word [rsp + 0x70], ax
mov eax, 0x77
mov word [rsp + 0x72], ax
mov eax, 0x6f
mov word [rsp + 0x74], ax
mov eax, 0x64
mov word [rsp + 0x76], ax
lea edx, [rax + 3]
mov word [rsp + 0x78], dx
lea r8d, [rax + 0x10]
mov word [rsp + 0x7a], r8w
lea eax, [rdx - 0x16]
mov word [rsp + 0x7c], ax
lea eax, [rdx + 1]
mov word [rsp + 0x7e], ax
lea eax, [rdx - 0x19]
mov word [rbp - 0x80], ax
lea ecx, [rdx + 0xa]
mov word [rbp - 0x7e], cx
lea eax, [rdx + 2]
mov word [rbp - 0x7c], ax
lea eax, [rdx + 4]
mov word [rbp - 0x7a], ax
lea eax, [rdx - 2]
mov word [rbp - 0x78], ax
lea r9d, [rdx - 4]
mov word [rbp - 0x76], r9w
lea r9d, [rdx + 7]
mov word [rbp - 0x74], r9w
lea r9d, [rdx - 0x15]
mov word [rbp - 0x72], r9w
mov word [rbp - 0x70], r8w
mov word [rbp - 0x6e], cx
mov word [rbp - 0x6c], ax
mov word [rbp - 0x6a], dx
lea eax, [rdx + 0xe]
mov word [rbp - 0x68], ax
mov word [rbp - 0x66], ax
mov word [rbp - 0x64], cx
mov word [rbp - 0x62], r8w
mov word [rbp - 0x60], ax
mov word [rbp - 0x5e], r15w
movzx eax, word [rsp + 0x70]
mov rcx, r15
movzx eax, word [rsp + rcx*2 + 0x70]
sub ax, 2
mov word [rsp + rcx*2 + 0x70], ax
add rcx, r13
cmp rcx, 0x19
jb 0x18003943c
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
lea rax, [rsp + 0x70]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x180039467
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.18000c67c
nop
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.180038e10
mov bl, al
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1800394e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800394dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800394dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
movdqa xmm0, xmmword [0x180165920]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r15w
xor edx, edx
lea r8d, [rdx + 0x34]
lea rcx, [rsp + 0x70]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x180039548
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039543
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180039543
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
mov al, bl
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret