Function at 0x140371dd0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r14, r9
mov rdi, r8
mov r15, rdx
mov rbx, rcx
cmp rdx, 0x21
jae 0x140371e18
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, r15
mov r8, rdi
mov r9, r14
call fcn.140369550
jmp 0x140372295
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x48], rax
mov ebp, dword [rsp + 0x130]
lea rax, [rdi - 0x20]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], r14
lea rax, [rbx + 0x20]
mov qword [rsp + 0x60], rax
mov rsi, r15
nop word cs:[rax + rax]
sub ebp, 1
jb 0x140372272
mov dword [rsp + 0x44], ebp
mov r9, rsi
shr r9, 3
mov r12, r9
shl r12, 7
add r12, rbx
imul r8, r9, 0xe0
add r8, rbx
cmp rsi, 0x40
jae 0x140371eb0
mov rax, qword [rbx]
mov rcx, qword [r12]
cmp rax, rcx
setb dl
mov r9, qword [r8]
cmp rax, r9
setb al
xor al, dl
cmp rcx, r9
setb cl
xor cl, dl
cmovne r12, r8
test al, al
cmovne r12, rbx
jmp 0x140371ebe
mov rcx, rbx
mov rdx, r12
call fcn.14035d100
mov r12, rax
mov r10, r12
sub r10, rbx
shr r10, 5
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
cmp qword [rsp + 0x48], 0
je 0x140371efd
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
cmp rax, qword [r12]
jae 0x1403720e0
cmp rsi, r14
ja 0x1403722aa
mov r14, rsi
shl r14, 5
lea rbp, [rdi + r14]
xor r15d, r15d
mov rax, rbx
mov rcx, rbp
mov qword [rsp + 0x50], r10
mov rdx, r10
nop word cs:[rax + rax]
mov r8, rdx
shl r8, 5
add r8, rbx
cmp rax, r8
jae 0x140371f78
nop
mov r9, qword [rax]
add rcx, 0xffffffffffffffe0
mov r10, r15
shl r10, 5
cmp r9, qword [r12]
mov r9, rcx
cmovb r9, rdi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r9 + r10 + 0x10], xmm1
movups xmmword [r9 + r10], xmm0
adc r15, 0
add rax, 0x20
cmp rax, r8
jb 0x140371f40
cmp rdx, rsi
je 0x140371fb0
mov rdx, r15
shl rdx, 5
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + rdx - 0x10], xmm1
movups xmmword [rcx + rdx - 0x20], xmm0
add rcx, 0xffffffffffffffe0
add rax, 0x20
mov rdx, rsi
jmp 0x140371f30
mov r13, r15
shl r13, 5
mov rcx, rbx
mov rdx, rdi
mov r8, r13
call sub.VCRUNTIME140.dll_memcpy
movabs r10, 0x7fffffffffffffe
mov rdx, rsi
sub rdx, r15
je 0x14037207f
lea rax, [r15 + 1]
cmp rsi, rax
jne 0x140371ff0
xor eax, eax
jmp 0x140372053
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov rax, qword [rsp + 0x60]
lea r8, [rax + r13]
add r14, qword [rsp + 0x58]
xor r9d, r9d
nop dword [rax + rax]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [r8 - 0x10], xmm1
movups xmmword [r8 - 0x20], xmm0
lea rax, [r9 + 2]
xor r9, r10
shl r9, 5
movups xmm0, xmmword [rbp + r9]
movups xmm1, xmmword [rbp + r9 + 0x10]
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm1
add r8, 0x40
add r14, 0xffffffffffffffc0
mov r9, rax
cmp rcx, rax
jne 0x140372010
test dl, 1
je 0x14037207f
lea rcx, [rbx + r13]
mov r8, rax
not r8
shl r8, 5
shl rax, 5
movups xmm0, xmmword [rbp + r8]
movups xmm1, xmmword [rbp + r8 + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmmword [rcx + rax], xmm0
test r15, r15
mov r14, qword [rsp + 0x68]
mov r10, qword [rsp + 0x50]
je 0x1403720e0
cmp rsi, r15
jb 0x1403722ac
add r13, rbx
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov ebp, dword [rsp + 0x44]
mov dword [rsp + 0x20], ebp
mov rcx, r13
mov r8, rdi
mov r9, r14
call fcn.140371dd0
mov rsi, r15
cmp r15, 0x21
jae 0x140371e50
jmp 0x140371df5
cmp rsi, r14
ja 0x1403722aa
mov rbp, rsi
shl rbp, 5
lea rcx, [rdi + rbp]
xor r13d, r13d
mov rax, rbx
mov qword [rsp + 0x50], rcx
nop
mov rdx, r10
shl rdx, 5
add rdx, rbx
cmp rax, rdx
jae 0x140372148
nop
mov r8, qword [r12]
add rcx, 0xffffffffffffffe0
mov r9, r13
shl r9, 5
cmp r8, qword [rax]
mov r8, rcx
cmovae r8, rdi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r8 + r9 + 0x10], xmm1
movups xmmword [r8 + r9], xmm0
sbb r13, 0xffffffffffffffff
add rax, 0x20
cmp rax, rdx
jb 0x140372110
cmp r10, rsi
je 0x140372180
add rcx, 0xffffffffffffffe0
mov rdx, r13
shl rdx, 5
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + rdx + 0x10], xmm1
movups xmmword [rdi + rdx], xmm0
inc r13
add rax, 0x20
mov r10, rsi
jmp 0x140372100
mov r12, r13
shl r12, 5
mov rcx, rbx
mov rdx, rdi
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
movabs r9, 0x7fffffffffffffe
mov r15, rsi
sub r15, r13
mov r10, qword [rsp + 0x50]
je 0x140372249
lea rax, [r13 + 1]
cmp rsi, rax
jne 0x1403721bd
xor eax, eax
jmp 0x14037221d
mov rcx, r15
and rcx, 0xfffffffffffffffe
lea rdx, [rbx + r12]
add rdx, 0x20
add rbp, qword [rsp + 0x58]
xor r8d, r8d
nop word cs:[rax + rax]
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
movups xmmword [rdx - 0x10], xmm1
movups xmmword [rdx - 0x20], xmm0
lea rax, [r8 + 2]
xor r8, r9
shl r8, 5
movups xmm0, xmmword [r10 + r8]
movups xmm1, xmmword [r10 + r8 + 0x10]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add rdx, 0x40
add rbp, 0xffffffffffffffc0
mov r8, rax
cmp rcx, rax
jne 0x1403721e0
test r15b, 1
je 0x140372249
lea rcx, [rbx + r12]
mov rdx, rax
not rdx
shl rdx, 5
shl rax, 5
movups xmm0, xmmword [r10 + rdx]
movups xmm1, xmmword [r10 + rdx + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmmword [rcx + rax], xmm0
cmp rsi, r13
jb 0x1403722e9
add rbx, r12
mov eax, 0
mov qword [rsp + 0x48], rax
cmp r15, 0x21
mov ebp, dword [rsp + 0x44]
jae 0x140371e3a
jmp 0x140371df5
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 1
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
mov r9, r14
call fcn.14036d740
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rax, [0x1404dbc60]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
mov qword [rsp + 0x80], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
lea rdx, [0x1404dbc70]
lea rcx, [rsp + 0x70]
call fcn.1403f1cb0
lea r8, [0x1404dbc88]
mov rcx, r13
mov rdx, rsi
call fcn.1403f2150
int3