Function at 0x140006eb0
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14004d020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rdx
mov r12d, ecx
mov qword [rbp - 0x30], rdx
mov r15, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x140006eec
mov r15, qword [rdx]
lea rcx, [0x1400469b4]
call fcn.14001a5cc
lea rdx, str.___Injection_from_path
lea rcx, [0x140091af0]
call fcn.14000b530
mov rcx, rax
call fcn.14000b7e0
lea rdx, str.___Opening__s
lea rcx, [0x140091af0]
call fcn.14000b530
mov rcx, rax
mov rdx, r15
call fcn.14000b530
mov rcx, rax
call fcn.14000b7e0
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r13 + 3]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140006f8c
lea rdx, str.____Unable_to_open_target_Dll.
lea rcx, [0x140091af0]
call fcn.14000b530
mov rcx, rax
call fcn.14000b7e0
jmp 0x140007050
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov ecx, eax
call fcn.140010f10
mov rsi, rax
lea rdx, str.___Reading__s
lea rcx, [0x140091af0]
call fcn.14000b530
mov rcx, rax
mov rdx, r15
call fcn.14000b530
mov rcx, rax
call fcn.14000b7e0
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, ebx
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000700a
lea rdx, str.____Unable_to_read_DLL_file.
lea rcx, [0x140091af0]
call fcn.14000b530
mov rcx, rax
call fcn.14000b7e0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140007048
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x5a4d
cmp word [rsi], ax
je 0x1400071b2
lea rcx, str.__does_not_look_like_a_valid_DLL___n
call fcn.140001590
lea rdx, str.____Invalid_DLL
lea rcx, [0x140091af0]
call fcn.14000b530
mov rcx, rax
call fcn.14000b7e0
mov rcx, rsi
call fcn.140010e98
xor edx, edx
mov cl, 0x5b
call fcn.140002340
mov byte [rbp - 0x28], al
mov edx, 1
mov cl, 0x2d
call fcn.140002340
mov byte [rbp - 0x27], al
mov edx, 2
mov cl, 0x5d
call fcn.140002340
mov byte [rbp - 0x26], al
mov edx, 3
mov cl, 0x20
call fcn.140002340
mov byte [rbp - 0x25], al
mov edx, 4
mov cl, 0x49
call fcn.140002340
mov byte [rbp - 0x24], al
mov edx, 5
mov cl, 0x6e
call fcn.140002340
mov byte [rbp - 0x23], al
mov edx, 6
mov cl, 0x6a
call fcn.140002340
mov byte [rbp - 0x22], al
mov edx, 7
mov cl, 0x65
call fcn.140002340
mov byte [rbp - 0x21], al
mov edx, 8
mov cl, 0x63
call fcn.140002340
mov byte [rbp - 0x20], al
mov edx, 9
mov cl, 0x74
call fcn.140002340
mov byte [rbp - 0x1f], al
mov edx, 0xa
mov cl, 0x69
call fcn.140002340
mov byte [rbp - 0x1e], al
mov edx, 0xb
mov cl, 0x6f
call fcn.140002340
mov byte [rbp - 0x1d], al
mov edx, 0xc
mov cl, 0x6e
call fcn.140002340
mov byte [rbp - 0x1c], al
mov edx, 0xd
mov cl, 0x20
call fcn.140002340
mov byte [rbp - 0x1b], al
mov edx, 0xe
mov cl, 0x66
call fcn.140002340
mov byte [rbp - 0x1a], al
mov edx, 0xf
mov cl, 0x61
call fcn.140002340
mov byte [rbp - 0x19], al
mov edx, 0x10
mov cl, 0x69
call fcn.140002340
mov byte [rbp - 0x18], al
mov edx, 0x11
mov cl, 0x6c
call fcn.140002340
mov byte [rbp - 0x17], al
mov edx, 0x12
mov cl, 0x65
call fcn.140002340
mov byte [rbp - 0x16], al
mov edx, 0x13
mov cl, 0x64
call fcn.140002340
mov byte [rbp - 0x15], al
xor eax, eax
mov byte [rbp - 0x14], al
mov r8, r13
lea edx, [rax + 0x13]
xor byte [rbp + r8 - 0x28], dl
inc eax
movsxd r8, eax
cmp r8, 0x14
jb 0x140007181
mov byte [rbp - 0x14], r13b
lea rdx, [rbp - 0x28]
lea rcx, [0x140091af0]
call fcn.14000b530
mov rcx, rax
call fcn.14000b7e0
jmp 0x1400071e1
lea rdx, str.___DLL_Loaded
lea rcx, [0x140091af0]
call fcn.14000b530
mov rcx, rax
call fcn.14000b7e0
mov r8, rsi
mov edx, r12d
call fcn.14000d830
mov rcx, rsi
call fcn.140010e98
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140007217
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140007212
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000724a
mov rcx, r8
call fcn.140010e98
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400109c0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14001accc
int3