Function at 0x1800427a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10a8
call fcn.180077260
sub rsp, rax
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x1010], xmm6
mov qword [rbp + 0x1008], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov r12, qword [rdx + 0x10]
test r12, r12
mov qword [rbp + 0xff0], r12
je 0x18004281c
mov r8d, dword [r14 + 0xc]
cmp r12, 1
je 0x1800429a2
movabs rax, 0xfffffffffffffff
lea rdx, [r12 + rax]
and rax, rdx
cmp rax, 8
jae 0x180042839
xor ecx, ecx
jmp 0x180042975
mov eax, 8
mov qword [rbp + 0x1000], rax
xor eax, eax
mov qword [rbp + 0xff8], rax
xor r15d, r15d
jmp 0x180042a7d
and edx, 7
mov rcx, rax
sub rcx, rdx
movd xmm0, r8d
pshufd xmm1, xmm0, 0
lea r8, [r14 + 0x8c]
movdqa xmm0, xmmword [0x1800837a0]
mov r9, rcx
movdqa xmm2, xmm1
nop word cs:[rax + rax]
movd xmm3, dword [r8 - 0x40]
movd xmm4, dword [r8 - 0x50]
punpckldq xmm4, xmm3
movd xmm3, dword [r8 - 0x60]
movd xmm5, dword [r8 - 0x70]
punpckldq xmm5, xmm3
punpcklqdq xmm5, xmm4
movd xmm3, dword [r8]
movd xmm4, dword [r8 - 0x10]
punpckldq xmm4, xmm3
movd xmm3, dword [r8 - 0x20]
movd xmm6, dword [r8 - 0x30]
punpckldq xmm6, xmm3
punpcklqdq xmm6, xmm4
movdqa xmm3, xmm5
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm1, xmm0
pcmpgtd xmm1, xmm3
pand xmm4, xmm1
pandn xmm1, xmm5
por xmm1, xmm4
movdqa xmm3, xmm6
pxor xmm3, xmm0
movdqa xmm4, xmm2
pxor xmm2, xmm0
pcmpgtd xmm2, xmm3
pand xmm4, xmm2
pandn xmm2, xmm6
por xmm2, xmm4
sub r8, 0xffffffffffffff80
add r9, 0xfffffffffffffff8
jne 0x180042870
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
pand xmm1, xmm4
pandn xmm4, xmm2
por xmm4, xmm1
pshufd xmm1, xmm4, 0xee
movdqa xmm2, xmm4
pxor xmm2, xmm0
movdqa xmm3, xmm1
pxor xmm3, xmm0
pcmpgtd xmm2, xmm3
pand xmm4, xmm2
pandn xmm2, xmm1
por xmm2, xmm4
pshufd xmm1, xmm2, 0x55
movdqa xmm3, xmm2
pxor xmm3, xmm0
pxor xmm0, xmm1
pcmpgtd xmm3, xmm0
pand xmm2, xmm3
pandn xmm3, xmm1
por xmm3, xmm2
movd r8d, xmm3
test rdx, rdx
je 0x1800429a2
sub rax, rcx
shl rcx, 4
add rcx, r14
add rcx, 0x1c
nop word cs:[rax + rax]
mov edx, dword [rcx]
cmp r8d, edx
cmovbe r8d, edx
add rcx, 0x10
dec rax
jne 0x180042990
test r8d, r8d
je 0x1800429f5
mov r15d, 1
cmp r8d, 0x39
jbe 0x1800429c1
cmp r8d, 0x72
mov r15d, 3
sbb r15, 0
test r12, r12
je 0x1800429fd
mov r13, r12
shl r13, 4
movzx eax, byte [0x1800a4291]
mov edx, 8
mov rcx, r13
call fcn.1800458d0
test rax, rax
je 0x180042c71
cmp r12, 1
jne 0x180042a14
xor r10d, r10d
jmp 0x180042a53
xor r15d, r15d
test r12, r12
jne 0x1800429c6
mov eax, 8
mov qword [rbp + 0x1000], rax
xor eax, eax
mov qword [rbp + 0xff8], rax
jmp 0x180042a7d
mov rcx, r12
and rcx, 0xfffffffffffffffe
xor edx, edx
xor r10d, r10d
mov r8, qword [r14 + rdx]
mov r9d, dword [r14 + rdx + 0xc]
mov qword [rax + rdx], r8
mov dword [rax + rdx + 8], r9d
mov r8, qword [r14 + rdx + 0x10]
mov r9d, dword [r14 + rdx + 0x1c]
mov qword [rax + rdx + 0x10], r8
mov dword [rax + rdx + 0x18], r9d
add r10, 2
add rdx, 0x20
cmp rcx, r10
jne 0x180042a20
test r12b, 1
mov qword [rbp + 0x1000], rax
mov qword [rbp + 0xff8], r13
je 0x180042a7d
shl r10, 4
mov rcx, qword [r14 + r10]
mov edx, dword [r14 + r10 + 0xc]
mov qword [rax + r10], rcx
mov dword [rax + r10 + 8], edx
lea rcx, [rbp - 0x60]
mov rdx, rbx
call fcn.18002f010
movzx eax, byte [rbp - 0x48]
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0xfd0], xmm0
mov rcx, qword [rbp - 0x50]
mov qword [rbp + 0xfe0], rcx
cmp al, 0x2d
jne 0x180042bb7
movaps xmm0, xmmword [rbp + 0xfd0]
movaps xmmword [rbp + 0xfb0], xmm0
mov rax, qword [rbp + 0xfe0]
mov qword [rbp + 0xfc0], rax
xor ebx, ebx
lea rcx, [rbp - 0x60]
mov r8d, 0x1000
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movdqu xmm0, xmmword [rdi + 0x18]
movdqu xmmword [rbp + 0xfa0], xmm0
mov r12, qword [rbp + 0xff0]
cmp r12, 1
mov rdx, qword [rbp + 0x1000]
jne 0x180042c08
mov eax, dword [r14 + 0xc]
mov rdi, qword [r14]
movd xmm0, dword [r14 + 0xc]
pshufd xmm1, xmm0, 0x51
movd xmm2, eax
lea ecx, [rax + rax]
movd xmm0, ecx
pshufd xmm0, xmm0, 0x50
pshufd xmm2, xmm2, 0x50
movq xmm3, rdi
pshufd xmm3, xmm3, 0x44
mov rcx, 0xfffffffffffffc00
punpcklqdq xmm2, xmm2
nop dword [rax + rax]
movdqa xmm4, xmm1
paddd xmm4, xmm0
movdqu xmmword [rbp + rcx + 0xfa0], xmm2
punpcklqdq xmm1, xmm4
movdqu xmmword [rbp + rcx + 0xba0], xmm1
movdqu xmmword [rbp + rcx*2 + 0x7a0], xmm3
movdqu xmmword [rbp + rcx*2 + 0x7b0], xmm3
paddd xmm4, xmm0
movdqa xmm1, xmm4
paddd xmm1, xmm0
movdqu xmmword [rbp + rcx + 0xfb0], xmm2
punpcklqdq xmm4, xmm1
movdqu xmmword [rbp + rcx + 0xbb0], xmm4
movdqu xmmword [rbp + rcx*2 + 0x7c0], xmm3
movdqu xmmword [rbp + rcx*2 + 0x7d0], xmm3
paddd xmm1, xmm0
add rcx, 0x20
jne 0x180042b40
xor ebx, ebx
test eax, eax
sete bl
jmp 0x180042c08
mov ecx, dword [rbp - 0x44]
mov dword [rsi + 0x24], ecx
mov ecx, dword [rbp - 0x47]
mov dword [rsi + 0x21], ecx
mov rcx, qword [rbp + 0xfe0]
mov qword [rsi + 0x18], rcx
movaps xmm0, xmmword [rbp + 0xfd0]
movups xmmword [rsi + 8], xmm0
mov byte [rsi + 0x20], al
mov qword [rsi], 2
cmp qword [rbp + 0xff0], 0
mov rcx, qword [rbp + 0x1000]
je 0x180042c53
mov r8d, 8
mov rdx, qword [rbp + 0xff8]
call fcn.1800458e0
jmp 0x180042c53
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r12
mov qword [rsi + 0x20], r12
movaps xmm0, xmmword [rbp + 0xfb0]
movups xmmword [rsi + 0x28], xmm0
mov rax, qword [rbp + 0xfc0]
mov qword [rsi + 0x38], rax
lea rcx, [rsi + 0x48]
lea rdx, [rbp - 0x60]
mov r8d, 0x1010
call sub.VCRUNTIME140.dll_memcpy
cmp r12, 1
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x40], r15
setne byte [rsi + 0x1058]
mov rax, rsi
movaps xmm6, xmmword [rbp + 0x1010]
add rsp, 0x10a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov rdx, r13
call fcn.180082720
ud2