Function at 0x1800cdd28
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1f0
mov qword [rbp], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov rsi, rdx
mov rdi, rcx
xor r13d, r13d
lea rcx, [rsp + 0x40]
call fcn.1800ce6f4
nop
cmp qword [rsp + 0x50], r13
je 0x1800cddb6
lea r8d, [r13 + 0x20]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
nop
mov rax, rdi
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rsp + 0x60], 0x4c
mov eax, dword [rsp + 0x60]
xor ax, 0x2e
mov word [rsp + 0x64], ax
mov eax, dword [rsp + 0x60]
mov r8d, 1
add ax, r8w
xor ax, 0x65
mov word [rsp + 0x66], ax
mov eax, dword [rsp + 0x60]
add ax, 2
xor ax, 0x78
mov word [rsp + 0x68], ax
mov eax, dword [rsp + 0x60]
add ax, 3
xor ax, 0x65
mov word [rsp + 0x6a], ax
xor eax, eax
mov word [rsp + 0x6c], ax
movzx eax, word [rsp + 0x64]
mov rdx, r13
movzx eax, word [rsp + rdx*2 + 0x64]
mov ecx, dword [rsp + 0x60]
add cx, dx
xor cx, ax
mov word [rsp + rdx*2 + 0x64], cx
add rdx, r8
cmp rdx, 4
jb 0x1800cde13
mov word [rsp + 0x6c], r13w
mov rdx, qword [rsi + 0x10]
lea rax, [rsp + 0x64]
or r15, 0xffffffffffffffff
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x1800cde46
movabs r12, 0x7ffffffffffffffe
mov rax, r12
sub rax, rdx
cmp rax, rcx
jb 0x1800ce6d9
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x1800cde76
mov r9, qword [rsi]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x28]
call fcn.1800a8224
nop
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x88]
call fcn.1800ce6f4
mov rbx, rax
lea rax, [rsp + 0x40]
mov r14d, 0x20
cmp rax, rbx
je 0x1800cdf31
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1800cdefc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cdef7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800cdef7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r13w
mov r8, r14
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
lea rcx, [rbp + 0x88]
call fcn.18000bd8c
nop
lea rcx, [rbp + 0x28]
call fcn.18000bd8c
nop
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0x64]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [rsp + 0x50], r13
je 0x1800cdf68
mov r8, r14
jmp 0x1800cdd75
mov dword [rbp - 0x6c], 0x77
mov eax, 0x59
mov word [rbp - 0x68], ax
mov eax, 0x13
mov word [rbp - 0x66], ax
mov eax, 0x1b
mov word [rbp - 0x64], ax
mov word [rbp - 0x62], ax
xor eax, eax
mov word [rbp - 0x60], ax
movzx eax, word [rbp - 0x68]
mov rdx, r13
movzx eax, word [rbp + rdx*2 - 0x68]
mov ecx, dword [rbp - 0x6c]
xor cx, ax
mov word [rbp + rdx*2 - 0x68], cx
inc rdx
cmp rdx, 4
jb 0x1800cdf9b
mov word [rbp - 0x60], r13w
mov rdx, qword [rsi + 0x10]
lea rax, [rbp - 0x68]
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x1800cdfc4
mov rax, r12
sub rax, rdx
cmp rax, rcx
jb 0x1800ce6df
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x1800cdfea
mov r9, qword [rsi]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x48]
call fcn.1800a8224
nop
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0xa8]
call fcn.1800ce6f4
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x1800ce09e
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1800ce069
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ce064
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ce064
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r13w
mov r8, r14
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
lea rcx, [rbp + 0xa8]
call fcn.18000bd8c
nop
lea rcx, [rbp + 0x48]
call fcn.18000bd8c
nop
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp - 0x68]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [rsp + 0x50], r13
jne 0x1800cdf60
mov dword [rsp + 0x70], 0x16
mov eax, 0x38
mov word [rsp + 0x74], ax
mov word [rsp + 0x76], ax
mov eax, 0x4a
mov word [rsp + 0x78], ax
xor eax, eax
mov word [rsp + 0x7a], ax
movzx eax, word [rsp + 0x74]
mov rdx, r13
movzx eax, word [rsp + rdx*2 + 0x74]
mov ecx, dword [rsp + 0x70]
xor cx, ax
mov word [rsp + rdx*2 + 0x74], cx
inc rdx
cmp rdx, 3
jb 0x1800ce100
mov word [rsp + 0x7a], r13w
lea rax, [rsp + 0x74]
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x1800ce128
mov rdx, qword [rsi + 0x10]
mov rax, r12
sub rax, rdx
cmp rax, rcx
jb 0x1800ce6e5
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x1800ce152
mov rax, qword [rsi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x74]
lea rcx, [rbp + 0x68]
call fcn.1800a8224
nop
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0xc8]
call fcn.1800ce6f4
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x1800ce207
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1800ce1d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ce1cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ce1cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r13w
mov r8, r14
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
lea rcx, [rbp + 0xc8]
call fcn.18000bd8c
nop
lea rcx, [rbp + 0x68]
call fcn.18000bd8c
nop
xor edx, edx
lea r8d, [rdx + 8]
lea rcx, [rsp + 0x74]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [rsp + 0x50], r13
jne 0x1800cdf60
mov eax, 0x38
mov word [rbp - 0x78], ax
lea ecx, [rax + 0x37]
mov word [rbp - 0x76], cx
lea eax, [rcx + 0x13]
mov word [rbp - 0x74], ax
mov word [rbp - 0x72], cx
mov word [rbp - 0x70], r13w
movzx eax, word [rbp - 0x78]
mov rcx, r13
mov edx, 0xa
movzx eax, word [rbp + rcx*2 - 0x78]
sub ax, dx
mov word [rbp + rcx*2 - 0x78], ax
inc rcx
cmp rcx, 4
jb 0x1800ce266
mov dword [rsp + 0x7c], 3
mov eax, 0x2d
mov word [rbp - 0x80], ax
mov word [rbp - 0x7e], ax
mov eax, 0x5f
mov word [rbp - 0x7c], ax
xor eax, eax
mov word [rbp - 0x7a], ax
movzx eax, word [rbp - 0x80]
mov rdx, r13
movzx eax, word [rbp + rdx*2 - 0x80]
mov ecx, dword [rsp + 0x7c]
xor cx, ax
mov word [rbp + rdx*2 - 0x80], cx
inc rdx
cmp rdx, 3
jb 0x1800ce2a7
mov word [rbp - 0x7a], r13w
lea rax, [rbp - 0x80]
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x1800ce2cd
mov rdx, qword [rsi + 0x10]
mov rax, r12
sub rax, rdx
cmp rax, rcx
jb 0x1800ce6eb
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x1800ce2f7
mov rax, qword [rsi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.1800a8224
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x20]
call fcn.1800a8194
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov r8, r14
mov rdx, rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 8]
call fcn.1800ce6f4
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x1800ce3e7
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1800ce3b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ce3ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ce3ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r13w
mov r8, r14
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
lea rcx, [rbp + 8]
call fcn.18000bd8c
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1800ce434
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ce42f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ce42f
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 - 0x38], xmm0
mov word [rbp - 0x48], r13w
lea rcx, [rbp - 0x20]
call fcn.18000bd8c
nop
xor edx, edx
lea r8d, [rdx + 8]
lea rcx, [rbp - 0x80]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp - 0x78]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [rsp + 0x50], r13
jne 0x1800cdf60
mov dword [rbp - 0x5c], 0x4f
mov eax, 0x61
mov word [rbp - 0x58], ax
mov eax, 0x2b
mov word [rbp - 0x56], ax
mov eax, 0x23
mov word [rbp - 0x54], ax
mov word [rbp - 0x52], ax
xor eax, eax
mov word [rbp - 0x50], ax
movzx eax, word [rbp - 0x58]
mov rdx, r13
movzx eax, word [rbp + rdx*2 - 0x58]
mov ecx, dword [rbp - 0x5c]
xor cx, ax
mov word [rbp + rdx*2 - 0x58], cx
inc rdx
cmp rdx, 4
jb 0x1800ce4af
mov word [rbp - 0x50], r13w
mov eax, 0x34
mov word [rbp + 0x130], ax
mov word [rbp + 0x132], ax
mov eax, 0x62
mov word [rbp + 0x134], ax
mov word [rbp + 0x136], r13w
movzx eax, word [rbp + 0x130]
mov rcx, r13
movzx eax, word [rbp + rcx*2 + 0x130]
sub ax, 6
mov word [rbp + rcx*2 + 0x130], ax
inc rcx
cmp rcx, 3
jb 0x1800ce4fe
lea rax, [rbp + 0x130]
inc r15
cmp word [rax + r15*2], r13w
jne 0x1800ce522
mov rax, qword [rsi + 0x10]
sub r12, rax
cmp r12, r15
jb 0x1800ce6cd
mov r12d, 8
cmp qword [rsi + 0x18], r12
jb 0x1800ce54b
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x130]
lea rcx, [rbp - 0x20]
call fcn.1800a8224
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x20]
call fcn.1800a8194
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov r8, r14
mov rdx, rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbx + 0x10], r13
mov esi, 7
mov qword [rbx + 0x18], rsi
mov word [rbx], r13w
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 8]
call fcn.1800ce6f4
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x1800ce636
mov rdx, qword [rsp + 0x58]
cmp rdx, r12
jb 0x1800ce609
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ce604
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ce604
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x40], r13w
mov r8, r14
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], rsi
mov word [rbx], r13w
lea rcx, [rbp + 8]
call fcn.18000bd8c
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, r12
jb 0x1800ce682
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ce67d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ce67d
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 - 0x38], xmm0
mov word [rbp - 0x48], r13w
lea rcx, [rbp - 0x20]
call fcn.18000bd8c
nop
mov r8, r12
xor edx, edx
lea rcx, [rbp + 0x130]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp - 0x58]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [rsp + 0x50], r13
je 0x1800ce6d3
jmp 0x1800cdf60
call fcn.18000a128
nop
call fcn.1800a9ce8
nop
call fcn.18000a128
nop
call fcn.18000a128
nop
call fcn.18000a128
nop
call fcn.18000a128
int3