Function at 0x140063750
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
mov eax, 0x11220
call fcn.140031e20
sub rsp, rax
xor ebp, ebp
mov rdi, rcx
lea rcx, [rsp + 0x4e0]
mov r12, r8
mov rsi, rdx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x60], ebp
mov dword [rsp + 0x64], ebp
mov dword [rsp + 0x68], ebp
mov dword [rsp + 0x6c], ebp
mov dword [rsp + 0x70], ebp
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rbp
mov word [rsp + 0x88], bp
mov word [rsp + 0x292], bp
mov qword [rsp + 0x4c0], rbp
call fcn.140051750
mov edx, dword [rdi + 8]
mov rcx, qword [rdi]
lea r13d, [rbp + 1]
mov ebx, r13d
xor r8d, r8d
mov dword [rsp + 0x34], ebx
call fcn.14001ae4c
lea rdx, [0x14009d500]
mov rcx, rsi
call fcn.140019cfc
xor r9d, r9d
lea r8, [rsp + 0xbf0]
mov rdx, rsi
mov rcx, rdi
cmp eax, ebp
jne 0x1400638dd
call fcn.140063300
cmp eax, ebp
je 0x140063821
mov eax, 6
jmp 0x140063b96
lea rax, [rsp + 0x1010]
lea r9, [rsp + 0xe00]
lea r8, [rsp + 0x9e0]
lea rdx, [rsp + 0x38]
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.14001a7ac
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x7d0]
call fcn.140019150
lea rdx, [rsp + 0x9e0]
lea rcx, [rsp + 0x7d0]
call fcn.140019124
lea r11, [rsp + 0x1010]
lea r9, [rsp + 0xe00]
lea r8, [rsp + 0x9e0]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xbf0]
mov qword [rsp + 0x20], r11
call fcn.14001a7ac
lea rdx, [rsp + 0xe00]
lea rcx, [rsp + 0x7d0]
call fcn.140019124
lea rdx, [rsp + 0x1010]
lea rcx, [rsp + 0x7d0]
call fcn.140019124
lea r12, [rsp + 0x7d0]
mov qword [rsp + 0x11270], r12
jmp 0x1400638ea
call fcn.140063300
cmp eax, ebp
jne 0x140063817
mov r9, qword [rdi]
lea rcx, [rsp + 0x11260]
mov r8, r13
mov rdx, r13
call fcn.14001b5b8
mov r9, qword [rdi]
mov esi, 4
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8, r13
call fcn.14001b5b8
mov r14d, dword [rsp + 0x30]
mov r9, qword [rdi]
lea rcx, [rsp + 0x30]
mov r8, r13
mov rdx, rsi
xor r14d, 0x87bc
call fcn.14001b5b8
mov r9, qword [rdi]
lea rcx, [rsp + 0x30]
mov r8, r13
mov rdx, rsi
call fcn.14001b5b8
mov eax, dword [rsp + 0x30]
mov r9, qword [rdi]
xor eax, 0xa685
lea rcx, [rsp + 0x44]
mov r8, r13
mov rdx, rsi
mov dword [rsp + 0x38], eax
call fcn.14001b5b8
mov r9, qword [rdi]
lea rcx, [rsp + 0x40]
mov r8, r13
mov rdx, rsi
call fcn.14001b5b8
mov r9, qword [rdi]
lea rcx, [rsp + 0x4c]
mov r8, r13
mov rdx, rsi
call fcn.14001b5b8
mov r9, qword [rdi]
lea rcx, [rsp + 0x48]
mov r8, r13
mov rdx, rsi
call fcn.14001b5b8
lea rdx, [rsp + 0x5c0]
mov rcx, rdi
call fcn.140041260
lea rdx, [0x14009d504]
lea rcx, [rsp + 0x5c0]
call fcn.14001ad8c
mov r15, rax
cmp rax, rbp
jne 0x1400639d7
lea eax, [rsi + 5]
jmp 0x140063b96
mov edx, dword [rdi + 0xc]
lea rcx, [rsp + 0x4e0]
add edx, 0x2477
call fcn.140051680
cmp r14d, ebp
mov esi, ebp
jle 0x140063aa3
xor r12d, r12d
lea eax, [rsi + 0x10000]
cmp eax, r14d
jle 0x140063a0d
mov ebx, r14d
sub ebx, esi
jmp 0x140063a12
mov ebx, 0x10000
mov r9, qword [rdi]
movsxd r13, ebx
lea rcx, [rsp + 0x1220]
mov r8, r13
mov edx, 1
add esi, ebx
call fcn.14001b5b8
cmp r13, r12
mov rbp, r12
jle 0x140063a5b
lea rcx, [rsp + 0x4e0]
xor edx, edx
mov r8d, 0xff
call fcn.140051710
inc rbp
xor byte [rsp + rbp + 0x121f], al
cmp rbp, r13
jl 0x140063a37
lea rdx, [rsp + 0x1220]
lea rcx, [rsp + 0x34]
mov r8d, ebx
call fcn.140041680
mov r8, r13
mov r13d, 1
lea rcx, [rsp + 0x1220]
mov r9, r15
mov rdx, r13
call fcn.14001b0f4
cmp esi, r14d
jl 0x1400639fb
mov ebx, dword [rsp + 0x34]
mov r12, qword [rsp + 0x11270]
xor ebp, ebp
mov rcx, r15
call fcn.14001b224
cmp dword [rsp + 0x38], ebx
je 0x140063abb
mov ebx, 0xa
jmp 0x140063b5f
cmp byte [rsp + 0x11260], r13b
jne 0x140063b42
lea rdx, [rsp + 0x5c0]
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x60], ebp
mov dword [rsp + 0x64], ebp
mov dword [rsp + 0x68], ebp
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rbp
mov word [rsp + 0x88], bp
mov word [rsp + 0x292], bp
mov qword [rsp + 0x4c0], rbp
mov dword [rsp + 0x6c], ebp
mov dword [rsp + 0x70], ebp
call fcn.140019150
lea rcx, [rsp + 0x292]
mov rdx, r12
call fcn.140019150
lea rcx, [rsp + 0x50]
call fcn.14005b2f0
cmp eax, ebp
je 0x140063b71
mov ebx, reloc.WSOCK32.dll_inet_ntoa
jmp 0x140063b5f
lea rcx, [rsp + 0x5c0]
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebp
jne 0x140063b71
mov ebx, 7
lea rcx, [rsp + 0x5c0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
jmp 0x140063b96
lea rcx, [rsp + 0x5c0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov rdx, r12
mov rcx, rdi
call fcn.1400411e0
xor eax, eax
mov rbx, qword [rsp + 0x11268]
add rsp, 0x11220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret