Function at 0x14003f940
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
movaps xmmword [rsp + 0x200], xmm6
mov rax, qword [0x1400df040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov qword [rsp + 0x58], r9
mov r12, r8
mov r13, rdx
mov r14, rcx
mov rax, qword [rcx]
call qword [rax + 0x20]
test al, al
jne 0x14003f998
mov rcx, r14
call fcn.14000dd30
mov rcx, qword [r14 + 0x10]
mov rax, qword [rcx]
call qword [rax]
mov rsi, rax
mov rcx, qword [r14 + 0x10]
mov rdx, qword [rcx]
call qword [rdx]
mov rdi, qword [r14 + 8]
sub rdi, rax
mov qword [rbp - 0x58], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x60], rax
test rsi, rsi
je 0x14003fa12
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x14003ffb4
mov edx, 1
mov rcx, rsi
call fcn.14000ddc0
mov r15, rax
mov qword [rbp - 0x70], rax
lea rbx, [rax + rsi]
mov qword [rbp - 0x60], rbx
mov r8, rsi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x68], rbx
jmp 0x14003fa16
mov r15, qword [rbp - 0x70]
cmp qword [rsp + 0x58], 0
je 0x14003ff67
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x48], rsi
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rsi
movaps xmm6, xmmword [rsp + 0x20]
nop dword [rax]
mov r8, qword [r14 + 0x20]
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x50], r13
movdqa xmm2, xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x20], xmm1
mov rax, r13
cmp rsi, 0x20
jb 0x14003fb56
nop word [rax + rax]
mov r9, qword [rsp + 0x40]
movups xmm1, xmmword [r9]
movups xmmword [rbp + 0xd0], xmm1
movups xmm3, xmmword [r9 + 0x10]
movups xmmword [rbp + 0xe0], xmm3
mov r8, qword [rsp + 0x20]
movq rcx, xmm1
xor rcx, qword [r8]
mov qword [rbp + 0xd0], rcx
mov rax, qword [r8 + 8]
xor qword [rbp + 0xd8], rax
movq rcx, xmm3
xor rcx, qword [r8 + 0x10]
mov qword [rbp + 0xe0], rcx
mov rax, qword [r8 + 0x18]
xor qword [rbp + 0xe8], rax
mov rcx, qword [rsp + 0x30]
movups xmm0, xmmword [rbp + 0xd0]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbp + 0xe0]
movups xmmword [rcx + 0x10], xmm1
add rcx, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe0
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rdx
movaps xmm2, xmmword [rbp - 0x30]
movaps xmmword [rsp + 0x30], xmm2
lea rax, [r9 + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rcx
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x40], xmm0
add r8, 0x20
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffffffe0
mov qword [rbp - 0x10], r8
mov qword [rbp - 8], rcx
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x20], xmm0
cmp rdx, 0x20
jae 0x14003fa80
movdqa xmm0, xmm2
psrldq xmm0, 8
movq rdx, xmm0
test rdx, rdx
je 0x14003fb95
sub r8, rax
movq r9, xmm2
sub r9, rax
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax + r8]
xor cl, byte [rax]
mov byte [r9 + rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14003fb80
mov qword [rbp], r15
mov qword [rbp + 8], rsi
movaps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, qword [r14 + 0x18]
call fcn.14000dc40
mov rcx, qword [r14 + 0x18]
mov rax, qword [rcx]
lea rbx, [r12 + rsi]
lea rdx, [rsi + r13]
mov r9, rdi
mov r8, rbx
call qword [rax + 0x60]
mov rcx, qword [r14 + 0x10]
mov rax, qword [rcx]
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rdi
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
call qword [rax + 0x10]
mov rdi, qword [r14 + 0x10]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rdi
call qword [rax]
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], rax
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call rbx
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], rsi
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rbp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
movaps xmm0, xmmword [rbp + 0x50]
movaps xmmword [rsp + 0x30], xmm0
mov r10, rsi
mov r8, r13
mov r9, r12
mov rcx, rsi
cmp rsi, 0x20
jb 0x14003fd52
nop word [rax + rax]
mov r8, qword [rsp + 0x40]
movups xmm1, xmmword [r8]
movups xmmword [rbp + 0xd0], xmm1
movups xmm3, xmmword [r8 + 0x10]
movups xmmword [rbp + 0xe0], xmm3
mov rdx, qword [rsp + 0x30]
movq rcx, xmm1
xor rcx, qword [rdx]
mov qword [rbp + 0xd0], rcx
mov rax, qword [rdx + 8]
xor qword [rbp + 0xd8], rax
movq rcx, xmm3
xor rcx, qword [rdx + 0x10]
mov qword [rbp + 0xe0], rcx
mov rax, qword [rdx + 0x18]
xor qword [rbp + 0xe8], rax
mov rax, qword [rsp + 0x20]
movups xmm0, xmmword [rbp + 0xd0]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0xe0]
movups xmmword [rax + 0x10], xmm1
lea r9, [rax + 0x20]
mov r10, qword [rsp + 0x28]
add r10, 0xffffffffffffffe0
mov qword [rbp + 0x60], r9
mov qword [rbp + 0x68], r10
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rsp + 0x20], xmm0
add r8, 0x20
mov rax, qword [rsp + 0x48]
add rax, 0xffffffffffffffe0
mov qword [rbp + 0x70], r8
mov qword [rbp + 0x78], rax
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rdx + 0x20]
mov rax, qword [rsp + 0x38]
add rax, 0xffffffffffffffe0
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rax
movaps xmm0, xmmword [rbp + 0x80]
movaps xmmword [rsp + 0x30], xmm0
cmp r10, 0x20
jae 0x14003fc70
mov rcx, r10
test r10, r10
je 0x14003fd86
movq rdx, xmm0
sub rdx, r8
sub r9, r8
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor al, byte [r8]
mov byte [r9 + r8], al
lea r8, [r8 + 1]
sub rcx, 1
jne 0x14003fd70
mov rdx, qword [r14 + 0x38]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x80], rdx
movaps xmm2, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x20], xmm2
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x30], xmm1
mov r9, rsi
mov r8, r12
mov rcx, rsi
cmp rsi, 0x20
jb 0x14003fed4
nop dword [rax + rax]
mov r8, qword [rsp + 0x40]
movups xmm1, xmmword [r8]
movups xmmword [rbp + 0xd0], xmm1
movups xmm3, xmmword [r8 + 0x10]
movups xmmword [rbp + 0xe0], xmm3
mov rdx, qword [rsp + 0x30]
movq rcx, xmm1
xor rcx, qword [rdx]
mov qword [rbp + 0xd0], rcx
mov rax, qword [rdx + 8]
xor qword [rbp + 0xd8], rax
movq rcx, xmm3
xor rcx, qword [rdx + 0x10]
mov qword [rbp + 0xe0], rcx
mov rax, qword [rdx + 0x18]
xor qword [rbp + 0xe8], rax
mov rcx, qword [rsp + 0x20]
movups xmm0, xmmword [rbp + 0xd0]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbp + 0xe0]
movups xmmword [rcx + 0x10], xmm1
add rcx, 0x20
mov r9, qword [rsp + 0x28]
add r9, 0xffffffffffffffe0
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], r9
movaps xmm2, xmmword [rbp + 0x90]
movaps xmmword [rsp + 0x20], xmm2
add r8, 0x20
mov rax, qword [rsp + 0x48]
add rax, 0xffffffffffffffe0
mov qword [rbp + 0xa0], r8
mov qword [rbp + 0xa8], rax
movaps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rsp + 0x40], xmm0
add rdx, 0x20
mov rax, qword [rsp + 0x38]
add rax, 0xffffffffffffffe0
mov qword [rbp + 0xb0], rdx
mov qword [rbp + 0xb8], rax
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rsp + 0x30], xmm0
cmp r9, 0x20
jae 0x14003fde0
mov rcx, r9
test r9, r9
je 0x14003ff06
sub rdx, r8
movq r9, xmm2
sub r9, r8
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
xor al, byte [r8]
mov byte [r8 + r9], al
lea r8, [r8 + 1]
sub rcx, 1
jne 0x14003fef0
mov qword [rbp + 0xc0], r15
mov qword [rbp + 0xc8], rsi
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, qword [r14 + 0x18]
call fcn.14000dc40
mov rcx, qword [r14 + 0x18]
mov rax, qword [rcx]
mov rdi, qword [rbp - 0x58]
mov r9, rdi
lea rdx, [r12 + rsi]
mov r8, rdx
call qword [rax + 0x60]
add r13, qword [r14 + 8]
add r12, qword [r14 + 8]
mov rcx, qword [rsp + 0x50]
inc rcx
mov qword [rsp + 0x50], rcx
cmp rcx, qword [rsp + 0x58]
jne 0x14003fa40
test r15, r15
je 0x14003ff82
mov rdx, qword [rbp - 0x60]
sub rdx, r15
mov r8d, 1
mov rcx, r15
call fcn.14000de60
nop
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140092a00
mov rbx, qword [rsp + 0x268]
movaps xmm6, xmmword [rsp + 0x200]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400093c0
int3