Function at 0x140003640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov qword [rbp - 0x18], rcx
xor esi, esi
call fcn.140004f10
mov byte [rbp - 0xb], al
call fcn.140005520
mov byte [rbp - 0xc], al
call fcn.140005610
mov byte [rbp - 0xd], al
call fcn.1400056b0
mov byte [rbp - 0xe], al
call fcn.1400056d0
mov byte [rbp - 0xf], al
call fcn.140005800
mov byte [rbp - 0x10], al
call fcn.140005760
mov byte [rbp - 0x11], al
mov byte [rbp - 0x12], al
call fcn.1400056a0
mov byte [rbp - 0x13], al
call fcn.1400058b0
mov byte [rbp - 0x14], al
call fcn.140005750
mov byte [rbp - 0x15], al
call fcn.1400055d0
mov byte [rbp - 0x16], al
call fcn.1400057d0
mov byte [rbp - 0x17], al
call fcn.140004f50
movdqa xmm2, xmmword [str.5555555555555555_]
mov ecx, 8
mov byte [rbp - 0x18], al
mov eax, dword [0x140007500]
movzx eax, ax
movd xmm1, eax
movzx eax, word [rbp - 0x18]
psubb xmm1, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [rbp - 0x18], ax
mov eax, dword [0x140007510]
movzx eax, ax
movd xmm1, eax
movzx eax, word [rbp - 0x16]
psubb xmm1, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [rbp - 0x16], ax
mov eax, dword [0x140007520]
movzx eax, ax
movd xmm1, eax
movzx eax, word [rbp - 0x14]
psubb xmm1, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [rbp - 0x14], ax
mov eax, dword [0x140007530]
movzx eax, ax
movd xmm1, eax
movzx eax, word [rbp - 0x12]
psubb xmm1, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [rbp - 0x12], ax
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x35]
xor byte [rbp + rcx - 0x18], al
inc rcx
cmp rcx, 0xe
jb 0x140003780
xorps xmm0, xmm0
lea rax, [rbp - 0x18]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov rbx, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
nop dword [rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x1400037b0
movabs r14, 0x7fffffffffffffff
cmp rbx, r14
ja 0x1400038a6
cmp rbx, 0xf
ja 0x1400037f6
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rbp - 0x18]
mov qword [rdi + 0x18], 0xf
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], sil
jmp 0x140003884
mov rax, rbx
or rax, 0xf
cmp rax, r14
jbe 0x14000382b
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140005d74
test rax, rax
je 0x140003857
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140003866
mov ecx, 0x16
mov r14, rax
cmp rax, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
test rcx, rcx
je 0x140003866
cmp rcx, 0x1000
jb 0x14000385e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400038ac
jmp 0x140003810
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d74
mov rsi, rax
mov r8, rbx
mov qword [rdi], rsi
lea rdx, [rbp - 0x18]
mov qword [rdi + 0x10], rbx
mov rcx, rsi
mov qword [rdi + 0x18], r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140005c70
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
call fcn.140001270
int3
call fcn.1400011d0
int3