Function at 0x14005ddd0
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.1400244c0
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.14004b860
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.140017be0
lea rdx, [0x140098690]
mov rcx, rsi
call fcn.140015770
lea r8, [rbp + 0xb00]
mov rdx, rsi
mov rcx, rdi
test eax, eax
jne 0x14005df43
call fcn.14005d9b0
test eax, eax
je 0x14005de97
mov eax, 6
jmp 0x14005e1da
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.1400161cc
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x6e0]
call fcn.140014e5c
lea rdx, [rbp + 0x8f0]
lea rcx, [rbp + 0x6e0]
call fcn.140014e30
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.1400161cc
lea rdx, [rbp + 0xd10]
lea rcx, [rbp + 0x6e0]
call fcn.140014e30
lea rdx, [rbp + 0xf20]
lea rcx, [rbp + 0x6e0]
call fcn.140014e30
lea r13, [rbp + 0x6e0]
mov qword [rbp + 0x11180], r13
jmp 0x14005df50
call fcn.14005d9b0
test eax, eax
jne 0x14005de8d
mov r9, qword [rdi]
lea rcx, [rbp + 0x11170]
mov r8, r14
mov rdx, r14
call fcn.140017784
mov r9, qword [rdi]
mov esi, 4
lea rcx, [rbp + 0x11188]
mov edx, esi
mov r8, r14
call fcn.140017784
mov r15d, dword [rbp + 0x11188]
mov r9, qword [rdi]
lea rcx, [rbp + 0x11188]
mov r8, r14
mov edx, esi
xor r15d, 0x87bc
call fcn.140017784
mov r9, qword [rdi]
lea rcx, [rbp + 0x11188]
mov r8, r14
mov edx, esi
call fcn.140017784
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.140017784
mov r9, qword [rdi]
lea rcx, [rsp + 0x40]
mov r8, r14
mov edx, esi
call fcn.140017784
mov r9, qword [rdi]
lea rcx, [rsp + 0x4c]
mov r8, r14
mov edx, esi
call fcn.140017784
mov r9, qword [rdi]
lea rcx, [rsp + 0x48]
mov r8, r14
mov edx, esi
call fcn.140017784
lea rcx, [rbp + 0x4d0]
call fcn.1400393f0
lea rdx, [0x140098694]
lea rcx, [rbp + 0x4d0]
call fcn.1400173b4
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14005e03c
lea eax, [rsi + 5]
jmp 0x14005e1da
mov edx, dword [rdi + 0xc]
lea rcx, [rbp + 0x3f0]
add edx, 0x2477
call fcn.14004b790
mov esi, r12d
test r15d, r15d
jle 0x14005e0fc
mov r13, qword [rsp + 0x50]
lea eax, [rsi + 0x10000]
cmp eax, r15d
jle 0x14005e074
mov ebx, r15d
sub ebx, esi
jmp 0x14005e079
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.140017784
test ebx, ebx
jle 0x14005e0b5
lea rcx, [rbp + 0x3f0]
call fcn.14004b820
inc r12
xor byte [rbp + r12 + 0x112f], al
cmp r12, r14
jl 0x14005e099
lea rdx, [rbp + 0x1130]
lea rcx, [rsp + 0x30]
mov r8d, ebx
call fcn.140039870
mov r8, r14
mov r14d, 1
lea rcx, [rbp + 0x1130]
mov r9, r13
mov edx, r14d
call fcn.140016ba4
lea r12d, [r14 - 1]
cmp esi, r15d
jl 0x14005e062
mov ebx, dword [rsp + 0x30]
mov r13, qword [rbp + 0x11180]
mov rcx, qword [rsp + 0x50]
call fcn.14001743c
cmp dword [rsp + 0x38], ebx
je 0x14005e116
mov ebx, 0xa
jmp 0x14005e1a8
cmp byte [rbp + 0x11170], r14b
jne 0x14005e18e
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.140039480
lea rcx, [rsp + 0x60]
mov rdx, r13
call fcn.140039450
lea rcx, [rsp + 0x60]
call fcn.140055430
test eax, eax
je 0x14005e1b9
mov ebx, reloc.WSOCK32.dll_inet_ntoa
jmp 0x14005e1a8
lea rcx, [rbp + 0x4d0]
xor r8d, r8d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14005e1b9
lea ebx, [rax + 7]
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
jmp 0x14005e1da
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.140039380
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