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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.18005e510
sub rsp, rax
mov rax, qword [0x180072270]
xor rax, rsp
mov qword [rbp + 0xf90], rax
mov rsi, r9
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r8
mov r9, rdx
mov qword [rsp + 0x30], rdx
mov r14d, ecx
mov qword [rsp + 0x60], 0
mov ecx, 0xf
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x50], 0
lea edx, [r14 + 0x5e4]
mov dword [rsp + 0x20], edx
mov ebx, dword [rsp + 0x20]
cmp r14d, edx
jae 0x180010c56
lea r12d, [rcx - 0xe]
mov r13, qword [rsp + 0x40]
mov edi, dword [rsp + 0x20]
mov r15d, dword [rsp + 0x20]
cmp r14d, 0x1d7
ja 0x180010ddf
je 0x180010dcd
cmp r14d, 0xef
ja 0x180010d5a
je 0x180010d3c
mov eax, r14d
sub eax, 0x14
je 0x180010cd1
sub eax, 0x67
je 0x180010c36
cmp eax, 0xd
jne 0x180011148
mov qword [rbp - 0x80], 0
mov qword [rbp - 0x78], rcx
mov byte [rsp + 0x70], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r9 + r8], 0
jne 0x180010bb0
mov rdx, r9
lea rcx, [rsp + 0x70]
call fcn.18004c5f0
nop
mov r9d, 0xd6
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.18000f530
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180010c1d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010c18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001116e
call fcn.18005ddd8
xor r9d, r9d
mov r8, rsi
lea edx, [r9 + 0xd]
lea rcx, [rsp + 0x50]
call fcn.18004c880
jmp 0x180011144
cmp dword [r8], 3
je 0x180010cb8
mov esi, 3
cmp esi, 3
je 0x180010c99
cmp esi, 0x14
jne 0x180010cb0
mov r12d, ebx
mov ebx, r12d
mov rcx, qword [rsp + 0x68]
cmp rcx, 0x10
jb 0x180011196
lea rdx, [rcx + 1]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011191
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180011191
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [r9]
lea rcx, str.__nvvm_read_ptx_sreg_pm2
call fcn.18005dc40
mov ebx, r12d
mov r9, qword [rsp + 0x30]
add esi, 0x11
cmp esi, 0x25
jb 0x180010c41
lea rdx, [0x180061d34]
mov rcx, qword [r9 + 8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r13, rax
jmp 0x180011144
mov ecx, 0x20
call fcn.18005dd9c
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x180010d24
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180010d10
mov rcx, rax
call fcn.18004c5f0
jmp 0x180010d26
xor esi, esi
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x60], xmm1
jmp 0x180011144
test r13, r13
jne 0x180011148
mov rdx, qword [r9 + 8]
lea rcx, str.Plane2Cylinder
call fcn.18005dc40
jmp 0x180010c4e
mov eax, r14d
sub eax, 0xfc
je 0x180010d8b
cmp eax, 0x67
jne 0x180011148
mov r9, r13
mov r8d, 0x1000
mov rdx, r12
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rdi, rax
jmp 0x180011144
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x180010db7
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x180010dac
mov rax, qword [rsi]
mov word [rax + rcx], 0xa
jmp 0x180011144
mov r9b, 0xa
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call fcn.180002290
jmp 0x180011144
test edi, edi
je 0x180011180
movzx r15d, byte [rbp - 0x70]
jmp 0x180011148
cmp r14d, 0x3a7
ja 0x180011119
je 0x180010fe8
mov eax, r14d
sub eax, 0x24b
je 0x180010f31
sub eax, 0x74
je 0x180010ec5
cmp eax, 0x74
jne 0x180011148
xor ecx, ecx
test edi, edi
jle 0x180010e99
cmp edi, 0x40
jb 0x180010e99
movsx eax, r15b
movd xmm1, eax
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
mov edx, edi
and edx, 0x8000003f
jge 0x180010e47
dec edx
or edx, 0xffffffc0
inc edx
mov eax, edi
sub eax, edx
movsxd rdx, eax
nop
movdqu xmm0, xmmword [rbp + rcx - 0x70]
pxor xmm0, xmm1
movdqu xmmword [rbp + rcx - 0x70], xmm0
movdqu xmm0, xmmword [rbp + rcx - 0x60]
pxor xmm0, xmm1
movdqu xmmword [rbp + rcx - 0x60], xmm0
movdqu xmm0, xmmword [rbp + rcx - 0x50]
pxor xmm0, xmm1
movdqu xmmword [rbp + rcx - 0x50], xmm0
movdqu xmm0, xmmword [rbp + rcx - 0x40]
pxor xmm0, xmm1
movdqu xmmword [rbp + rcx - 0x40], xmm0
add rcx, 0x40
cmp rcx, rdx
jl 0x180010e50
movsxd r8, edi
cmp rcx, r8
jge 0x180010eae
xor byte [rbp + rcx - 0x70], r15b
inc rcx
cmp rcx, r8
jl 0x180010ea1
mov r9, qword [rsp + 0x28]
mov rdx, r12
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x180011144
lea rdx, [0x180061ca8]
mov rcx, qword [r9 + 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rsp + 0x28], rax
cmp rax, 0
jne 0x180011144
mov esi, 0x81
nop word [rax + rax]
cmp esi, 0x81
je 0x180010f06
cmp esi, 0x145
je 0x180010c51
jmp 0x180010f1e
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
lea rcx, str.folder_remote_symbolic
call fcn.18005dc40
mov ebx, r12d
add esi, 0xc4
cmp esi, 0x209
jb 0x180010ef0
jmp 0x180011144
test r15d, r15d
jne 0x180010f74
mov esi, 0x71
nop dword [rax + rax]
cmp esi, 0x71
je 0x180010f53
cmp esi, 0x57d7
je 0x180010c51
jmp 0x180010f62
lea rcx, str.ns_estadounidenses
call fcn.18005dc40
mov ebx, r12d
add esi, 0x5766
cmp esi, 0xaecc
jbe 0x180010f40
mov edx, dword [rsp + 0x20]
cmp edi, 0x258
jle 0x180010fb0
movzx eax, byte [rbp - 0x60]
xor eax, r15d
cmp eax, 0x44
jne 0x180010fb0
movzx eax, byte [rbp - 0x5b]
xor eax, r15d
cmp eax, 0x47
jne 0x180010fb0
movzx eax, byte [rbp - 0x2f]
xor eax, r15d
cmp eax, 0x47
jne 0x180010fb0
movzx eax, byte [rbp - 0x2a]
xor eax, r15d
cmp eax, 0x4e
je 0x180011148
mov esi, 0xd7
mov eax, esi
sub eax, 0xd7
je 0x180010fc9
cmp eax, 0x74
je 0x180010c51
jmp 0x180010fd8
lea rcx, str.Internal_import_failure
call fcn.18005dc40
mov ebx, r12d
add esi, 0x74
cmp esi, 0x1bf
jb 0x180010fb5
jmp 0x180011144
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x180011111
nop dword [rax]
mov esi, 0x10
mov eax, esi
sub eax, 0xe
je 0x1800110e0
sub eax, 1
je 0x18001103b
cmp eax, 1
jne 0x1800110f5
mov r9, r13
mov r8d, 0x1000
mov rdx, r12
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edi, eax
jmp 0x1800110f5
test edi, edi
je 0x180011111
xor eax, eax
test edi, edi
jle 0x1800110c9
cmp edi, 0x40
jb 0x1800110c9
movsx ecx, r15b
movd xmm1, ecx
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
mov edx, edi
and edx, 0x8000003f
jge 0x180011078
dec edx
or edx, 0xffffffc0
inc edx
mov ecx, edi
sub ecx, edx
movsxd rdx, ecx
nop
movdqu xmm0, xmmword [rbp + rax - 0x70]
pxor xmm0, xmm1
movdqu xmmword [rbp + rax - 0x70], xmm0
movdqu xmm0, xmmword [rbp + rax - 0x60]
pxor xmm0, xmm1
movdqu xmmword [rbp + rax - 0x60], xmm0
movdqu xmm0, xmmword [rbp + rax - 0x50]
pxor xmm0, xmm1
movdqu xmmword [rbp + rax - 0x50], xmm0
movdqu xmm0, xmmword [rbp + rax - 0x40]
pxor xmm0, xmm1
movdqu xmmword [rbp + rax - 0x40], xmm0
add rax, 0x40
cmp rax, rdx
jl 0x180011080
movsxd rcx, edi
cmp rax, rcx
jge 0x1800110f5
xor byte [rbp + rax - 0x70], r15b
inc rax
cmp rax, rcx
jl 0x1800110d1
jmp 0x1800110f5
movsxd r8, edi
mov r9, qword [rsp + 0x28]
mov rdx, r12
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
dec esi
cmp esi, 0xd
ja 0x180011005
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
je 0x180011000
mov r14d, 0x3a7
jmp 0x180011144
mov eax, r14d
sub eax, 0x41b
je 0x18001112e
cmp eax, 0x74
je 0x180010c4b
jmp 0x180011148
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor ebx, ebx
mov edx, dword [rsp + 0x20]
add r14d, 0x74
cmp r14d, edx
jae 0x180010c51
mov r9, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
mov ecx, 0xf
jmp 0x180010b50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, str.COMPONENT_0
call fcn.18005dc40
jmp 0x180010c4e
call fcn.18005ddd8
mov eax, ebx
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.18005e580
mov rbx, qword [rsp + 0x10e0]
add rsp, 0x10a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret