Function at 0x14005ee30
Capabilities:
Copy file
Delete file
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11130]
mov eax, 0x11230
call fcn.1400243b0
sub rsp, rax
xor r12d, r12d
mov rdi, rcx
lea rcx, [rbp + 0x3f0]
mov r13, r8
mov rsi, rdx
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], r12d
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov word [rbp - 0x68], r12w
mov word [rbp + reloc.OLEAUT32.dll_OleCreatePictureIndirect], r12w
mov qword [rbp + 0x3d0], r12
call fcn.14004c2f0
mov edx, dword [rdi + 8]
mov rcx, qword [rdi]
lea r14d, [r12 + 1]
xor r8d, r8d
mov ebx, r14d
mov dword [rsp + 0x30], ebx
call fcn.140017ad0
lea rdx, [0x14009b780]
mov rcx, rsi
call fcn.14001565c
lea r8, [rbp + 0xb00]
mov rdx, rsi
mov rcx, rdi
test eax, eax
jne 0x14005efa3
call fcn.14005ea10
test eax, eax
je 0x14005eef7
mov eax, 6
jmp 0x14005f23a
lea rax, [rbp + 0xf20]
lea r9, [rbp + 0xd10]
lea r8, [rbp + 0x8f0]
lea rdx, [rsp + 0x38]
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.1400160bc
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x6e0]
call fcn.140014a94
lea rdx, [rbp + 0x8f0]
lea rcx, [rbp + 0x6e0]
call fcn.140014a68
lea r11, [rbp + 0xf20]
lea r9, [rbp + 0xd10]
lea r8, [rbp + 0x8f0]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xb00]
mov qword [rsp + 0x20], r11
call fcn.1400160bc
lea rdx, [rbp + 0xd10]
lea rcx, [rbp + 0x6e0]
call fcn.140014a68
lea rdx, [rbp + 0xf20]
lea rcx, [rbp + 0x6e0]
call fcn.140014a68
lea r13, [rbp + 0x6e0]
mov qword [rbp + 0x11180], r13
jmp 0x14005efb0
call fcn.14005ea10
test eax, eax
jne 0x14005eeed
mov r9, qword [rdi]
lea rcx, [rbp + 0x11170]
mov r8, r14
mov rdx, r14
call fcn.140017674
mov r9, qword [rdi]
mov esi, 4
lea rcx, [rbp + 0x11188]
mov edx, esi
mov r8, r14
call fcn.140017674
mov r15d, dword [rbp + 0x11188]
mov r9, qword [rdi]
lea rcx, [rbp + 0x11188]
mov r8, r14
mov edx, esi
xor r15d, 0x87bc
call fcn.140017674
mov r9, qword [rdi]
lea rcx, [rbp + 0x11188]
mov r8, r14
mov edx, esi
call fcn.140017674
mov eax, dword [rbp + 0x11188]
mov r9, qword [rdi]
xor eax, 0xa685
lea rcx, [rsp + 0x44]
mov r8, r14
mov edx, esi
mov dword [rsp + 0x38], eax
call fcn.140017674
mov r9, qword [rdi]
lea rcx, [rsp + 0x40]
mov r8, r14
mov edx, esi
call fcn.140017674
mov r9, qword [rdi]
lea rcx, [rsp + 0x4c]
mov r8, r14
mov edx, esi
call fcn.140017674
mov r9, qword [rdi]
lea rcx, [rsp + 0x48]
mov r8, r14
mov edx, esi
call fcn.140017674
lea rcx, [rbp + 0x4d0]
call fcn.1400393c0
lea rdx, [0x14009b784]
lea rcx, [rbp + 0x4d0]
call fcn.1400172a4
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14005f09c
lea eax, [rsi + 5]
jmp 0x14005f23a
mov edx, dword [rdi + 0xc]
lea rcx, [rbp + 0x3f0]
add edx, 0x2477
call fcn.14004c220
mov esi, r12d
test r15d, r15d
jle 0x14005f15c
mov r13, qword [rsp + 0x50]
lea eax, [rsi + 0x10000]
cmp eax, r15d
jle 0x14005f0d4
mov ebx, r15d
sub ebx, esi
jmp 0x14005f0d9
mov ebx, 0x10000
mov r9, qword [rdi]
movsxd r14, ebx
lea rcx, [rbp + 0x1130]
mov r8, r14
mov edx, 1
add esi, ebx
call fcn.140017674
test ebx, ebx
jle 0x14005f115
lea rcx, [rbp + 0x3f0]
call fcn.14004c2b0
inc r12
xor byte [rbp + r12 + 0x112f], al
cmp r12, r14
jl 0x14005f0f9
lea rdx, [rbp + 0x1130]
lea rcx, [rsp + 0x30]
mov r8d, ebx
call fcn.140039840
mov r8, r14
mov r14d, 1
lea rcx, [rbp + 0x1130]
mov r9, r13
mov edx, r14d
call fcn.140016a94
lea r12d, [r14 - 1]
cmp esi, r15d
jl 0x14005f0c2
mov ebx, dword [rsp + 0x30]
mov r13, qword [rbp + 0x11180]
mov rcx, qword [rsp + 0x50]
call fcn.14001732c
cmp dword [rsp + 0x38], ebx
je 0x14005f176
mov ebx, 0xa
jmp 0x14005f208
cmp byte [rbp + 0x11170], r14b
jne 0x14005f1ee
lea rdx, [rbp + 0x4d0]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 0
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov word [rbp - 0x68], r12w
mov word [rbp + reloc.OLEAUT32.dll_OleCreatePictureIndirect], r12w
mov qword [rbp + 0x3d0], r12
mov qword [rsp + 0x78], 0
mov dword [rbp - 0x80], r12d
call fcn.140039450
lea rcx, [rsp + 0x60]
mov rdx, r13
call fcn.140039420
lea rcx, [rsp + 0x60]
call fcn.140055e20
test eax, eax
je 0x14005f219
mov ebx, reloc.WSOCK32.dll_inet_ntoa
jmp 0x14005f208
lea rcx, [rbp + 0x4d0]
xor r8d, r8d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14005f219
lea ebx, [rax + 7]
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
jmp 0x14005f23a
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.140039350
xor eax, eax
mov rbx, qword [rsp + 0x11278]
add rsp, 0x11230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret