Function at 0x1401c7c00
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1401c7c00
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1404bf700]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r15d, dword [rbp + 0xb0]
mov rdi, r9
mov rax, qword [rbp + 0xa0]
mov r14, rdx
mov rsi, qword [rbp + 0xa8]
mov r13, rcx
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x48], rax
cmp r15d, 1
jb 0x1401c7eb2
test rdx, rdx
je 0x1401c7eb2
test r9, r9
je 0x1401c7eb2
lea rax, [rsi - 1]
cmp rax, 0x3ff
ja 0x1401c7eb2
cmp r9, 0x100000
ja 0x1401c7eb2
lea rax, [r9 + 4]
mov r12d, 1
mov rdx, rax
mov qword [rsp + 0x50], rax
mov ecx, r12d
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov qword [rsp + 0x28], rax
mov r9, rax
test rax, rax
je 0x1401c7eb2
xor edx, edx
mov qword [rsp + 0x138], rbx
lea rcx, [rsi + 0x1f]
mov r8, rdi
shr rcx, 5
lea rax, [rsi - 1]
add rax, rcx
mov qword [rsp + 0x40], rcx
div rcx
mov rdx, qword [rsp + 0x30]
mov rcx, r9
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x20]
call fcn.1401bfd70
mov rcx, qword [rsp + 0x20]
mov r8, r14
mov rdx, r13
call fcn.140235dd0
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp - 0x20]
xor r8d, r8d
call fcn.140235990
mov rcx, qword [rsp + 0x20]
call fcn.1402366b0
mov rcx, qword [rsp + 0x28]
mov r14, rsi
mov r13, qword [rsp + 0x48]
add rcx, rdi
mov edi, r15d
mov qword [rsp + 0x58], r15
mov r15, qword [rsp + 0x40]
mov qword [rsp + 0x30], rcx
nop dword [rax]
mov eax, r12d
mov byte [rcx + 3], r12b
shr eax, 0x18
mov byte [rcx], al
mov eax, r12d
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, r12d
shr eax, 8
mov byte [rcx + 2], al
lea rcx, [rsp + 0x20]
call fcn.1401bfd70
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call fcn.140235dd0
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp - 0x60]
xor r8d, r8d
call fcn.140235990
mov rcx, qword [rsp + 0x20]
call fcn.1402366b0
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.1401c7720
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
cmp rdi, 1
jbe 0x1401c7e45
dec rdi
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.1401bfd70
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x60]
mov r8d, 0x20
call fcn.140235dd0
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp - 0x60]
xor r8d, r8d
call fcn.140235990
mov rcx, qword [rsp + 0x20]
call fcn.1402366b0
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.1401c7720
xor eax, eax
nop
movdqu xmm0, xmmword [rbp + rax - 0x80]
movdqu xmm1, xmmword [rsp + rax + 0x60]
xorps xmm1, xmm0
movdqu xmmword [rbp + rax - 0x80], xmm1
add rax, 0x10
cmp rax, 0x20
jb 0x1401c7e20
sub rdi, 1
jne 0x1401c7dd0
cmp rbx, rsi
mov rax, rsi
cmovb rax, rbx
xor edx, edx
mov rbx, rax
test rax, rax
je 0x1401c7e79
lea edi, [r12 - 1]
nop
cmp rdi, r14
jae 0x1401c7e79
movzx eax, byte [rbp + rdx - 0x80]
inc rdx
mov byte [rdi + r13], al
add rdi, r15
cmp rdx, rbx
jb 0x1401c7e60
mov rcx, qword [rsp + 0x30]
inc r12d
mov rdi, qword [rsp + 0x58]
sub rsi, rdx
jne 0x1401c7d40
mov rbx, qword [rsp + 0x138]
lea rdi, [rbp - 0x80]
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x28]
call fcn.14022b64e
xor eax, eax
jmp 0x1401c7eb7
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14022a640
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret