Function at 0x1401c6200
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x178
mov rax, qword [0x1402c8b58]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r15, r9
mov edi, r8d
mov r14, rdx
mov qword [rsp + 0x48], rcx
mov esi, dword [rsp + 0x1e0]
mov rbx, qword [rsp + 0x1f8]
mov qword [rsp + 0x78], rbx
mov rdx, qword [rsp + 0x200]
mov qword [rsp + 0x50], rdx
mov r13d, dword [rsp + 0x1f0]
mov dword [rsp + 0x30], r13d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], rax
lea r8, str.bcryptPbkdf
lea rcx, [rsp + 0x80]
call fcn.1400531e0
nop
mov rcx, rbx
call fcn.1400409a0
cmp dword [rsp + 0x1e8], 1
jb 0x1401c650b
test edi, edi
je 0x1401c650b
test esi, esi
je 0x1401c650b
lea eax, [r13 - 1]
cmp eax, 0x3ff
ja 0x1401c650b
cmp esi, 0x100000
ja 0x1401c650b
lea eax, [rsi + 4]
mov dword [rsp + 0x44], eax
mov ecx, eax
call fcn.140012c10
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1401c650b
mov ecx, r13d
call fcn.140012c10
mov r12, rax
test rax, rax
je 0x1401c650b
lea ecx, [r13 + 0x1f]
shr ecx, 5
mov dword [rsp + 0x40], ecx
lea eax, [r13 - 1]
add eax, ecx
xor edx, edx
div ecx
mov ebp, eax
mov r8d, esi
mov rdx, r15
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rsp + 0x120]
mov edx, edi
mov rcx, r14
call fcn.1400f8d40
mov edi, 1
mov r9, qword [rsp + 0x38]
lea r8, [rsi + r9]
mov qword [rsp + 0x58], r8
lea edx, [rsi + 1]
add rdx, r9
mov qword [rsp + 0x60], rdx
lea r10d, [rsi + 2]
add r10, r9
mov qword [rsp + 0x68], r10
lea ecx, [rsi + 3]
add rcx, r9
mov qword [rsp + 0x70], rcx
mov esi, r13d
mov r14d, dword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
nop dword [rax]
mov eax, edi
shr eax, 0x18
mov byte [r8], al
mov eax, edi
shr eax, 0x10
mov byte [rdx], al
mov eax, edi
shr eax, 8
mov byte [r10], al
mov byte [rcx], dil
lea r8, [rsp + 0xe0]
mov edx, dword [rsp + 0x44]
mov rcx, r9
call fcn.1400f8d40
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x98]
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x120]
mov rcx, rbx
call fcn.1401c5e60
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rsp + 0xb8], xmm0
movups xmm1, xmmword [rsp + 0xa8]
movups xmmword [rsp + 0xc8], xmm1
mov eax, dword [rsp + 0x1e8]
cmp eax, 1
jbe 0x1401c648b
lea ebx, [rax - 1]
mov rsi, qword [rsp + 0x48]
nop dword [rax + rax]
lea r8, [rsp + 0xe0]
mov edx, 0x20
lea rcx, [rsp + 0x98]
call fcn.1400f8d40
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x98]
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x120]
mov rcx, rsi
call fcn.1401c5e60
xor eax, eax
lea ecx, [rax + 2]
movdqu xmm1, xmmword [rsp + rax + 0x98]
movdqu xmm0, xmmword [rsp + rax + 0xb8]
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0xb8], xmm1
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x1401c6454
sub rbx, 1
jne 0x1401c6410
mov esi, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
mov eax, r13d
cmp ebp, r13d
cmovb eax, ebp
mov ebp, eax
xor edx, edx
test eax, eax
je 0x1401c64c3
lea r9, [rsp + 0xb8]
mov ecx, edx
imul ecx, r14d
dec ecx
add ecx, edi
cmp ecx, esi
jae 0x1401c64c3
movzx eax, byte [r9]
mov byte [rcx + r12], al
inc edx
inc r9
cmp edx, ebp
jb 0x1401c64a4
inc edi
sub r13d, edx
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov r10, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
jne 0x1401c6380
mov rcx, r9
call fcn.1401e12f0
mov r8d, esi
mov rdx, r12
mov rcx, qword [rsp + 0x78]
call fcn.14003eae0
mov rcx, r12
call fcn.1401e12f0
mov bl, 1
jmp 0x1401c650d
xor bl, bl
lea rcx, [rsp + 0x80]
call fcn.140053390
movzx eax, bl
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401e12d0
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret