Function at 0x140017e20
Capabilities:
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x18], r8d
push rbp
push rdi
push r14
lea rbp, [rsp - 0xfb0]
mov eax, 0x10b0
call fcn.140055010
sub rsp, rax
mov eax, dword [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xor edi, edi
mov dword [rsp + 0x6c], eax
mov r8, rdx
mov dword [rbp + 0xfe0], edi
xor eax, eax
mov dword [rbp + 0xfd0], edi
mov rbx, rcx
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x5c], 2
mov rcx, r8
mov dword [rsp + 0x60], 0x30b0005
lea r14d, [rdi + 1]
mov dword [rsp + 0x64], 0x10
mov dword [rsp + 0x68], 0x48
mov esi, 0x1000
movups xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x70], 0x10001000
movups xmmword [rbp - 0x70], xmm0
mov byte [rsp + 0x78], 1
mov dword [rsp + 0x7c], 0x10000
call fcn.140017b10
test eax, eax
jne 0x1400181aa
mov dword [rbp - 0x70], 2
mov dword [rsp + 0x30], 0x76
mov eax, dword [rsp + 0x30]
xor al, 0x38
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
inc al
xor al, 0x61
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, 2
xor al, 0x38
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
xor al, 0x38
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0x35
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x30]
add al, 5
xor al, 0x64
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x30]
add al, 6
xor al, 0x30
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x30]
add al, 7
xor al, 0x34
mov byte [rsp + 0x3b], al
mov eax, dword [rsp + 0x30]
add al, 8
xor al, 0x2d
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x30]
add al, 9
xor al, 0x31
mov byte [rsp + 0x3d], al
mov eax, dword [rsp + 0x30]
add al, 0xa
xor al, 0x63
mov byte [rsp + 0x3e], al
mov eax, dword [rsp + 0x30]
add al, 0xb
xor al, 0x65
mov byte [rsp + 0x3f], al
mov eax, dword [rsp + 0x30]
add al, 0xc
xor al, 0x62
mov byte [rsp + 0x40], al
mov eax, dword [rsp + 0x30]
add al, 0xd
xor al, 0x2d
mov byte [rsp + 0x41], al
mov eax, dword [rsp + 0x30]
add al, 0xe
xor al, 0x31
mov byte [rsp + 0x42], al
mov eax, dword [rsp + 0x30]
add al, 0xf
xor al, 0x31
mov byte [rsp + 0x43], al
mov eax, dword [rsp + 0x30]
add al, 0x10
xor al, 0x63
mov byte [rsp + 0x44], al
mov eax, dword [rsp + 0x30]
add al, 0x11
xor al, 0x39
mov byte [rsp + 0x45], al
mov eax, dword [rsp + 0x30]
add al, 0x12
xor al, 0x2d
mov byte [rsp + 0x46], al
mov eax, dword [rsp + 0x30]
add al, 0x13
xor al, 0x39
mov byte [rsp + 0x47], al
mov eax, dword [rsp + 0x30]
add al, 0x14
xor al, 0x66
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0x30]
add al, 0x15
xor al, 0x65
mov byte [rsp + 0x49], al
mov eax, dword [rsp + 0x30]
add al, 0x16
xor al, 0x38
mov byte [rsp + 0x4a], al
mov eax, dword [rsp + 0x30]
add al, 0x17
xor al, 0x2d
mov byte [rsp + 0x4b], al
mov eax, dword [rsp + 0x30]
add al, 0x18
xor al, 0x30
mov byte [rsp + 0x4c], al
mov eax, dword [rsp + 0x30]
add al, 0x19
xor al, 0x38
mov byte [rsp + 0x4d], al
mov eax, dword [rsp + 0x30]
add al, 0x1a
xor al, 0x30
mov byte [rsp + 0x4e], al
mov eax, dword [rsp + 0x30]
add al, 0x1b
xor al, 0x30
mov byte [rsp + 0x4f], al
mov eax, dword [rsp + 0x30]
add al, 0x1c
xor al, 0x32
mov byte [rsp + 0x50], al
mov eax, dword [rsp + 0x30]
add al, 0x1d
xor al, 0x62
mov byte [rsp + 0x51], al
mov eax, dword [rsp + 0x30]
add al, 0x1e
xor al, 0x31
mov byte [rsp + 0x52], al
mov eax, dword [rsp + 0x30]
add al, 0x1f
xor al, 0x30
mov byte [rsp + 0x53], al
mov eax, dword [rsp + 0x30]
add al, 0x20
xor al, 0x34
mov byte [rsp + 0x54], al
mov eax, dword [rsp + 0x30]
add al, 0x21
xor al, 0x38
mov byte [rsp + 0x55], al
mov eax, dword [rsp + 0x30]
add al, 0x22
xor al, 0x36
mov byte [rsp + 0x56], al
mov eax, dword [rsp + 0x30]
add al, 0x23
xor al, 0x30
mov byte [rsp + 0x57], al
xor eax, eax
mov byte [rsp + 0x58], al
movzx eax, byte [rsp + 0x34]
mov eax, edi
nop word [rax + rax]
movzx ecx, byte [rsp + rax + 0x34]
mov edx, dword [rsp + 0x30]
add dl, al
xor dl, cl
mov byte [rsp + rax + 0x34], dl
inc rax
cmp rax, 0x24
jb 0x1400180a0
lea rdx, [rbp - 0x6c]
mov byte [rsp + 0x58], dil
lea rcx, [rsp + 0x34]
call fcn.140017b10
test eax, eax
jne 0x1400181aa
mov rcx, qword [rbx]
lea r9, [rbp + 0xfe0]
lea r8d, [rax + 0x10]
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400181aa
mov rcx, qword [rbx]
lea r9, [rbp + 0xfe0]
mov r8d, 0x38
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400181aa
inc dword [rbx + 8]
lea rcx, [rbp - 0x50]
mov r8, rsi
xor edx, edx
call fcn.140057130
mov rcx, qword [rbx]
lea r9, [rbp + 0xfd0]
mov r8d, esi
mov qword [rsp + 0x20], rdi
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400181aa
cmp word [rbp - 0x50], 5
jne 0x1400181aa
cmp byte [rbp - 0x4e], 0xc
jne 0x1400181aa
cmp byte [rbp - 0x4d], 3
jne 0x1400181aa
movzx eax, word [rbp - 0x48]
cmp eax, dword [rbp + 0xfd0]
jne 0x1400181aa
mov rax, qword [rbp - 0x38]
mov ecx, 0x100
cmp ax, cx
ja 0x1400181aa
movzx ecx, ax
lea rax, [rcx + 5]
and rax, 0xfffffffffffffffc
sub rax, rcx
sub rax, 2
mov eax, eax
add rax, rcx
cmp dword [rbp + rax - 0x36], r14d
jne 0x1400181aa
cmp word [rbp + rax - 0x32], di
jne 0x1400181aa
xor eax, eax
jmp 0x1400181ad
mov eax, r14d
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret