Function at 0x14005ea90
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.140024290
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.14004c1f0
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.1400179b0
lea rdx, [0x14009a730]
mov rcx, rsi
call fcn.140015540
lea r8, [rbp + 0xb00]
mov rdx, rsi
mov rcx, rdi
test eax, eax
jne 0x14005ec03
call fcn.14005e670
test eax, eax
je 0x14005eb57
mov eax, 6
jmp 0x14005ee9a
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.140015f9c
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x6e0]
call fcn.140014c2c
lea rdx, [rbp + 0x8f0]
lea rcx, [rbp + 0x6e0]
call fcn.140014c00
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.140015f9c
lea rdx, [rbp + 0xd10]
lea rcx, [rbp + 0x6e0]
call fcn.140014c00
lea rdx, [rbp + 0xf20]
lea rcx, [rbp + 0x6e0]
call fcn.140014c00
lea r13, [rbp + 0x6e0]
mov qword [rbp + 0x11180], r13
jmp 0x14005ec10
call fcn.14005e670
test eax, eax
jne 0x14005eb4d
mov r9, qword [rdi]
lea rcx, [rbp + 0x11170]
mov r8, r14
mov rdx, r14
call fcn.140017554
mov r9, qword [rdi]
mov esi, 4
lea rcx, [rbp + 0x11188]
mov edx, esi
mov r8, r14
call fcn.140017554
mov r15d, dword [rbp + 0x11188]
mov r9, qword [rdi]
lea rcx, [rbp + 0x11188]
mov r8, r14
mov edx, esi
xor r15d, 0x87bc
call fcn.140017554
mov r9, qword [rdi]
lea rcx, [rbp + 0x11188]
mov r8, r14
mov edx, esi
call fcn.140017554
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.140017554
mov r9, qword [rdi]
lea rcx, [rsp + 0x40]
mov r8, r14
mov edx, esi
call fcn.140017554
mov r9, qword [rdi]
lea rcx, [rsp + 0x4c]
mov r8, r14
mov edx, esi
call fcn.140017554
mov r9, qword [rdi]
lea rcx, [rsp + 0x48]
mov r8, r14
mov edx, esi
call fcn.140017554
lea rcx, [rbp + 0x4d0]
call fcn.140039490
lea rdx, [0x14009a734]
lea rcx, [rbp + 0x4d0]
call fcn.140017184
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14005ecfc
lea eax, [rsi + 5]
jmp 0x14005ee9a
mov edx, dword [rdi + 0xc]
lea rcx, [rbp + 0x3f0]
add edx, 0x2477
call fcn.14004c120
mov esi, r12d
test r15d, r15d
jle 0x14005edbc
mov r13, qword [rsp + 0x50]
lea eax, [rsi + 0x10000]
cmp eax, r15d
jle 0x14005ed34
mov ebx, r15d
sub ebx, esi
jmp 0x14005ed39
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.140017554
test ebx, ebx
jle 0x14005ed75
lea rcx, [rbp + 0x3f0]
call fcn.14004c1b0
inc r12
xor byte [rbp + r12 + 0x112f], al
cmp r12, r14
jl 0x14005ed59
lea rdx, [rbp + 0x1130]
lea rcx, [rsp + 0x30]
mov r8d, ebx
call fcn.140039910
mov r8, r14
mov r14d, 1
lea rcx, [rbp + 0x1130]
mov r9, r13
mov edx, r14d
call fcn.140016974
lea r12d, [r14 - 1]
cmp esi, r15d
jl 0x14005ed22
mov ebx, dword [rsp + 0x30]
mov r13, qword [rbp + 0x11180]
mov rcx, qword [rsp + 0x50]
call fcn.14001720c
cmp dword [rsp + 0x38], ebx
je 0x14005edd6
mov ebx, 0xa
jmp 0x14005ee68
cmp byte [rbp + 0x11170], r14b
jne 0x14005ee4e
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.140039520
lea rcx, [rsp + 0x60]
mov rdx, r13
call fcn.1400394f0
lea rcx, [rsp + 0x60]
call fcn.140055f10
test eax, eax
je 0x14005ee79
mov ebx, reloc.WSOCK32.dll_inet_ntoa
jmp 0x14005ee68
lea rcx, [rbp + 0x4d0]
xor r8d, r8d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14005ee79
lea ebx, [rax + 7]
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
jmp 0x14005ee9a
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.140039420
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