Function at 0x140001810
Capabilities:
Encode data using xor

Disassembly:
push r14
mov eax, 0x1160
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140013410
sub rsp, rax
mov rsi, qword [0x1400f6038]
xor r9d, r9d
mov r12, rcx
mov r13, rdx
mov dword [rsp + 0x90], 0x18
lea rdx, [rsp + 0x60]
mov dword [rsp + 0xa0], 1
lea rcx, [rsp + 0x68]
lea r8, [rsp + 0x90]
mov qword [rsp + 0x98], 0
call qword [rsi + 8]
test eax, eax
je 0x140001b65
xor r8d, r8d
mov rcx, qword [rsp + 0x68]
mov edx, 1
call qword [rsi + 0x78]
lea rdx, [rsp + 0xf0]
xor eax, eax
xor r9d, r9d
mov rdi, rdx
movq xmm0, qword [rsp + 0x60]
mov ecx, 0xb
xor r8d, r8d
rep stosq qword [rdi], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rdx
mov rdx, r13
punpcklqdq xmm0, xmm0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0xf0], 0x68
mov dword [rsp + 0x12c], 0x100
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
movups xmmword [rsp + 0x148], xmm0
call qword [rsi + 0x58]
test eax, eax
je 0x140001a90
lea r14, [rsp + 0xe0]
mov rcx, qword [rsp + 0x60]
lea rbx, [rsp + 0x160]
movabs rdi, 0x3fffffffffffffff
call qword [rsi + 0x60]
lea r13, [rsp + 0xb0]
mov qword [rsp + 0xd0], r14
lea rbp, [rsp + 0xd0]
mov qword [rsp + 0xd8], 0
mov byte [rsp + 0xe0], 0
jmp 0x14000199d
mov eax, dword [rsp + 0xb0]
test eax, eax
je 0x1400019be
mov rcx, rbx
mov byte [rsp + rax + 0x160], 0
call sub.msvcrt.dll_strlen
mov r8, rax
mov rax, rdi
sub rax, qword [rsp + 0xd8]
cmp r8, rax
ja 0x140001c20
mov rdx, rbx
mov rcx, rbp
call fcn.1400a3cd0
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x68]
mov r9, r13
mov rdx, rbx
mov r8d, 0xfff
call qword [rsi + 0x70]
test eax, eax
jne 0x140001960
mov rcx, qword [rsp + 0x68]
call qword [rsi + 0x60]
mov rcx, qword [rsp + 0x70]
or edx, 0xffffffff
call qword [rsi + pe_nt_image_headers64]
mov rcx, qword [rsp + 0x70]
call qword [rsi + 0x60]
mov rcx, qword [rsp + 0x78]
call qword [rsi + 0x60]
mov rcx, qword [rsp + 0xd0]
lea rbx, [rsp + 0x5f]
mov r10, qword [rsp + 0xd8]
mov byte [rsp + 0x5f], 0xa
mov r8, rbx
lea r13, [rsp + 0xd0]
add r10, rcx
mov rdx, r10
call fcn.140001550
mov r8, r10
mov rcx, r13
mov rdx, rax
call fcn.1400a2780
mov rcx, qword [rsp + 0xd0]
mov r10, qword [rsp + 0xd8]
mov r8, rbx
mov byte [rsp + 0x5f], 0xd
add r10, rcx
mov rdx, r10
call fcn.140001550
mov r8, r10
mov rcx, r13
mov rdx, rax
call fcn.1400a2780
lea rax, [r12 + 0x10]
mov qword [r12], rax
mov rax, qword [rsp + 0xd0]
cmp rax, r14
je 0x140001c0c
mov qword [r12], rax
mov rax, qword [rsp + 0xe0]
mov qword [r12 + 0x10], rax
mov rax, qword [rsp + 0xd8]
mov qword [r12 + 8], rax
jmp 0x140001b50
mov rcx, qword [rsp + 0x68]
lea rbx, [rsp + 0x160]
lea r13, [rsp + 0xb0]
call qword [rsi + 0x60]
mov rcx, qword [rsp + 0x60]
mov rdi, r13
call qword [rsi + 0x60]
lea rsi, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
mov edx, eax
call fcn.140001610
movdqu xmm0, xmmword [0x1400c8200]
mov ecx, 0x19
movabs rax, 0x28427b7b6d6b777a
mov qword [rsp + 0xe0], rax
xor eax, eax
mov byte [rsp + 0xe8], 0
movups xmmword [rsp + 0xd0], xmm0
rep movsb byte [rdi], byte [rsi]
nop
movzx edx, byte [rsp + rax + 0xb0]
sub edx, 8
mov byte [rsp + rax + 0xb0], dl
add rax, 1
cmp rax, 0x18
jne 0x140001b00
mov r8, rbx
mov rdx, r13
mov rcx, r12
call fcn.1400017a0
mov rcx, qword [rsp + 0x160]
lea rax, [rsp + 0x170]
cmp rcx, rax
je 0x140001b50
mov rax, qword [rsp + 0x170]
lea rdx, [rax + 1]
call fcn.1400c24f0
mov rax, r12
add rsp, 0x1160
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rbx, [rsp + 0x160]
lea rsi, [rsp + 0xb0]
mov edx, eax
mov rcx, rbx
call fcn.140001610
movdqu xmm0, xmmword [str.xOORO]
mov ecx, 0x16
xor eax, eax
lea rdx, [rsp + 0xf4]
mov dword [rsp + 0xf0], 0x3d
mov dword [rsp + 0xc0], 0x7584d54
mov rdi, rdx
mov word [rsp + 0xc4], 0x1d
movups xmmword [rsp + 0xb0], xmm0
rep movsb byte [rdi], byte [rsi]
nop dword [rax]
movzx ecx, byte [rsp + rax + 0xf4]
mov r8d, dword [rsp + 0xf0]
xor ecx, r8d
mov byte [rsp + rax + 0xf4], cl
add rax, 1
cmp rax, 0x15
jne 0x140001bd0
mov r8, rbx
mov rcx, r12
mov byte [rsp + 0x109], 0
call fcn.1400017a0
jmp 0x140001b2a
movdqu xmm1, xmmword [rsp + 0xe0]
movups xmmword [r12 + 0x10], xmm1
jmp 0x140001a7e
lea rcx, section..rdata
call fcn.1400c3fc0
mov rcx, qword [rsp + 0x160]
mov r12, rax
lea rax, [rsp + 0x170]
cmp rcx, rax
je 0x140001c55
mov rax, qword [rsp + 0x170]
lea rdx, [rax + 1]
call fcn.1400c24f0
mov rcx, r12
call fcn.140013c00
mov rcx, qword [rsp + 0xd0]
mov r12, rax
cmp rcx, r14
je 0x140001c55
mov rax, qword [rsp + 0xe0]
lea rdx, [rax + 1]
call fcn.1400c24f0
jmp 0x140001c55