Function at 0x1400035c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140008008]
xor rax, rsp
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
call fcn.140001f90
nop
movzx r15d, byte [rsp + 0x48]
test r15b, r15b
je 0x140003622
xor ebp, ebp
mov r14d, dword [rsp + 0x4c]
jmp 0x1400038b5
lea rcx, [rsp + 0x40]
call fcn.140001d90
mov r14d, dword [rsp + 0x4c]
movzx r15d, byte [rsp + 0x48]
xor ebp, ebp
test r15b, r15b
jne 0x140003672
mov edx, dword [r14 + 0x3c]
add edx, r14d
movzx eax, word [rdx + 6]
lea ecx, [rax - 1]
cmp ecx, eax
jbe 0x140003658
mov r13d, ebp
mov ecx, r14d
jmp 0x140003677
movzx eax, word [rdx + 0x14]
lea r13d, [rcx*4 + 3]
add eax, edx
add r13d, ecx
lea r13d, [rax + r13*8]
mov ecx, r14d
jmp 0x140003677
mov r13, rbp
mov ecx, ebp
mov r12d, dword [r13 + 0x14]
add r12d, ecx
lea rcx, str.Decrypting..._n
call fcn.140001030
mov r8d, dword [r13 + 0x10]
mov r9d, ebp
test r15b, r15b
cmove r9d, r14d
add r9d, dword [r13 + 0x14]
mov eax, ebp
test r8d, r8d
je 0x1400036c1
nop dword [rax]
nop word [rax + rax]
movsxd rdx, eax
lea ecx, [rax - 2]
xor byte [rdx + r9], cl
inc eax
cmp eax, r8d
jb 0x1400036b0
lea rcx, str.Decrypted____n
call fcn.140001030
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov esi, dword [r12 + 4]
mov eax, ebp
test r15b, r15b
cmove eax, r14d
mov edi, dword [r12]
add edi, dword [r13 + 0x14]
add edi, eax
mov byte [rsp + 0x61], 1
lea rax, [0x140005621]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x64], edi
mov edx, ebp
test r15b, r15b
cmove edx, r14d
add edx, dword [r13 + 0x14]
lea rcx, str.Section:__t_t0x_X_n
call fcn.140001030
mov edx, ebp
movzx ebx, byte [rsp + 0x60]
test bl, bl
cmove edx, edi
lea rcx, str.Loaded_Payload_at:__t0x_X_n
call fcn.140001030
mov edx, ebp
test bl, bl
cmove edx, esi
lea rcx, str.Payload_Size:__t_t_X_n
call fcn.140001030
mov ecx, dword [r12 + 8]
call fcn.14000399c
mov edx, ebp
test r15b, r15b
cmove edx, r14d
mov r8d, dword [r12 + 0xc]
add r8d, dword [r13 + 0x14]
lea r13d, [r8 + rdx]
mov edx, ebp
test r15b, r15b
cmove edx, r14d
add edx, r8d
lea rcx, str.Message_at:_0x_X_n
call fcn.140001030
mov edx, dword [r12 + 8]
lea rcx, str.Message_size:__d_n
call fcn.140001030
mov edi, dword [r12 + 8]
lea eax, [rdi + 1]
mov r12d, eax
mov ecx, eax
call fcn.14000399c
mov rbx, rax
test edi, edi
je 0x140003817
test rax, rax
jne 0x1400037c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
jmp 0x140003811
test r13, r13
je 0x1400037e0
cmp r12, rdi
jb 0x1400037e0
mov r8, rdi
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140003817
mov r8, r12
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
test r13, r13
jne 0x140003800
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
jmp 0x140003811
cmp r12, rdi
jae 0x140003817
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov byte [rdi + rbx], 0
mov ecx, 1
cmp edi, 1
jb 0x1400038a4
cmp byte [rcx + rbx], 0
je 0x140003831
inc ecx
cmp ecx, edi
jbe 0x140003825
cmp ecx, 1
je 0x1400038a4
mov esi, ecx
call fcn.14000399c
mov rdi, rax
mov byte [rsi + rax], 0
test rsi, rsi
je 0x140003870
test rax, rax
jne 0x140003862
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x140003870
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, rdi
lea rcx, str.Found_Message:__t_t_s_n
call fcn.140001030
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x20], xmm0
movsd xmm1, qword [rsp + 0x68]
movsd qword [rsp + 0x30], xmm1
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140001560
jmp 0x1400038b5
lea rcx, str.Found_no_Message_n
call fcn.140001030
mov ebp, 0xffffffff
test r15b, r15b
jne 0x1400038e1
cmp byte [rsp + 0x49], r15b
jne 0x1400038e1
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, r14d
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, ebp
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140003930
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret