Function at 0x180136c6c
Capabilities:
Encode data using xor

Disassembly:
test rcx, rcx
je 0x180136fd3
mov rax, rsp
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x628]
sub rsp, 0x6e8
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov r12, r9
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], 0x59
mov eax, dword [rsp + 0x30]
mov cx, 0x65
xor ax, cx
mov word [rsp + 0x34], ax
mov eax, dword [rsp + 0x30]
lea r13d, [rbx + 1]
add ax, r13w
xor ax, 0x78
mov word [rsp + 0x36], ax
mov eax, dword [rsp + 0x30]
add ax, 2
xor ax, 0x70
mov word [rsp + 0x38], ax
mov eax, dword [rsp + 0x30]
add ax, 3
xor ax, 0x6c
mov word [rsp + 0x3a], ax
mov eax, dword [rsp + 0x30]
add ax, 4
xor ax, 0x6f
mov word [rsp + 0x3c], ax
mov eax, dword [rsp + 0x30]
add ax, 5
xor ax, 0x72
mov word [rsp + 0x3e], ax
mov eax, dword [rsp + 0x30]
add ax, 6
xor ax, cx
mov word [rsp + 0x40], ax
mov eax, dword [rsp + 0x30]
add ax, 7
xor ax, 0x72
mov word [rsp + 0x42], ax
mov eax, dword [rsp + 0x30]
lea edi, [rbx + 8]
add ax, di
xor ax, 0x2e
mov word [rsp + 0x44], ax
mov eax, dword [rsp + 0x30]
add ax, 9
xor ax, cx
mov word [rsp + 0x46], ax
mov eax, dword [rsp + 0x30]
add ax, 0xa
xor ax, 0x78
mov word [rsp + 0x48], ax
mov eax, dword [rsp + 0x30]
add ax, 0xb
xor ax, cx
mov word [rsp + 0x4a], ax
xor eax, eax
mov word [rsp + 0x4c], ax
movzx eax, word [rsp + 0x34]
mov edx, ebx
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, 0xc
jb 0x180136d95
mov word [rsp + 0x4c], bx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x34]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x180136dd1
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x50]
call fcn.18000c67c
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1800d8ec4
mov r14d, eax
mov rdx, qword [rsp + 0x68]
cmp rdx, rdi
jb 0x180136e41
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180136e3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180136e3c
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 [rsp + 0x60], xmm0
mov word [rsp + 0x50], bx
xor edx, edx
lea r8d, [rdx + 0x1a]
lea rcx, [rsp + 0x34]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov r15d, dword [0x180191230]
cmp r14d, 0xffffffff
je 0x180136e77
cmp r15d, r14d
je 0x180136e7a
mov r13b, bl
call fcn.1800df590
mov r8d, 0x638
test rax, rax
jne 0x180136e9f
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rbx
mov rdi, rbx
jmp 0x180136f4d
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov rsi, rbx
mov qword [rsp + 0x60], rbx
mov r12, qword [0x1801912f0]
mov rdi, qword [0x1801912e8]
cmp rdi, r12
je 0x180136f1d
mov rbx, qword [rsp + 0x58]
cmp dword [rdi], r15d
jne 0x180136f0d
cmp rbx, rsi
je 0x180136eed
mov rcx, rbx
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x638
add rbx, r8
mov qword [rsp + 0x58], rbx
jmp 0x180136f0d
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.18012dbc8
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov r8d, 0x638
add rdi, r8
cmp rdi, r12
jne 0x180136ec8
movdqu xmm1, xmmword [rsp + 0x50]
jmp 0x180136f2a
xorps xmm0, xmm0
psrldq xmm0, 8
movq rbx, xmm0
movups xmmword [rsp + 0x78], xmm1
movsd xmm0, qword [rsp + 0x60]
movsd qword [rbp - 0x78], xmm0
movq rdi, xmm1
mov rsi, qword [rbp + 0x630]
mov r12, qword [rbp + 0x648]
cmp rdi, rbx
jne 0x180136f6c
mov edx, dword [0x180191230]
lea rcx, [rsp + 0x50]
call fcn.1800d619c
mov rcx, rax
call fcn.18000bd8c
jmp 0x180136fb6
mov r15d, dword [rbp + 0x640]
test r13b, r13b
je 0x180136f7d
cmp dword [rdi], r14d
jne 0x180136fae
lea rcx, [rbp - 0x60]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x20], r12
mov r9d, r15d
mov r8d, dword [rbp + 0x638]
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.180136114
test al, al
jne 0x180136fb6
mov r8d, 0x638
add rdi, r8
cmp rdi, rbx
jne 0x180136f73
lea rcx, [rsp + 0x78]
call fcn.18000bacc
add rsp, 0x6e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret