Function at 0x1401f1780
Capabilities:
Encode data using xor
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
movdqa xmm0, xmmword [0x1404cec10]
lea rcx, [rsp + 0x28]
mov rsi, rdx
xor r14d, r14d
lea rdx, [0x1404c05ac]
mov qword [rsp + 0x28], r14
movdqu xmmword [rsp + 0x38], xmm0
mov rbx, r8
call fcn.14013edcc
lea rdx, [rbp + 0x40]
mov ecx, 0x3e8
call qword [sym.imp.kernel32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1401f1924
cmp word [rbp + 0x40], r14w
je 0x1401f1924
lea rdi, [rbp + 0x40]
lea r9d, [r14 + 0x42]
nop dword [rax + rax]
mov dword [rbp + 0x488], 0x3b0041
mov ecx, r14d
mov dword [rbp + 0x48c], 0x5e
nop word [rax + rax]
movsxd rax, ecx
xor word [rbp + rax*2 + 0x488], cx
inc ecx
cmp ecx, 3
jb 0x1401f1820
lea rax, [rbp + 0x40]
mov word [rbp + 0x48e], r14w
lea r8, [rbp + 0x488]
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1401f1864
add rax, 2
test ecx, ecx
jne 0x1401f1850
test edx, edx
je 0x1401f1916
mov dword [rsp + 0x20], 0x3b0042
mov eax, r14d
mov dword [rsp + 0x24], 0x5e
nop
movsxd rcx, eax
xor word [rsp + rcx*2 + 0x20], ax
inc eax
cmp eax, 3
jb 0x1401f1880
lea rax, [rbp + 0x40]
mov word [rsp + 0x26], r14w
lea r8, [rsp + 0x20]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1401f18b5
add rax, 2
test ecx, ecx
jne 0x1401f18a1
test edx, edx
je 0x1401f1916
movzx eax, word [rdi]
lea rdx, [rsp + 0x70]
mov word [rbp + 0x470], ax
lea rcx, [rbp + 0x470]
movzx eax, word [rdi + 2]
mov r8d, 0x64
mov word [rbp + 0x472], ax
mov word [rbp + 0x474], r14w
call qword [sym.imp.kernel32.dll_QueryDosDeviceW]
test eax, eax
je 0x1401f1a8c
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x1401f1903
mov rcx, qword [rbx]
lea rdx, [rsp + 0x70]
call fcn.1403cbeb0
test rax, rax
jne 0x1401f1979
lea r9d, [rax + 0x42]
add rdi, 8
cmp word [rdi], r14w
jne 0x1401f1800
movups xmm0, xmmword [rsp + 0x28]
mov word [rsp + 0x28], r14w
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
movdqa xmm0, xmmword [0x1404cec10]
movdqu xmmword [rsp + 0x38], xmm0
movups xmmword [rsi + 0x10], xmm1
lea rcx, [rsp + 0x28]
call fcn.14013ed68
mov rcx, rbx
call fcn.14013ed68
mov rbx, qword [rsp + 0x578]
mov rax, rsi
add rsp, 0x530
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140141104
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
call fcn.14013edcc
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1401946d4
cmp rax, 0xffffffffffffffff
je 0x1401f1a1e
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1401946d4
mov r8, qword [rbx + 0x10]
cmp r8, rax
jb 0x1401f1aaa
mov rdx, qword [rsp + 0x58]
mov rcx, r8
sub rcx, rax
cmp rcx, rdx
cmovb rdx, rcx
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x1401f19ec
mov rcx, qword [rbx]
sub r8, rdx
lea rcx, [rcx + rax*2]
mov qword [rbx + 0x10], r8
lea rdx, [rcx + rdx*2]
sub r8, rax
lea r8, [r8*2 + 2]
call fcn.1403cc5a0
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1401946d4
cmp rax, 0xffffffffffffffff
jne 0x1401f19b3
lea rcx, [rsp + 0x48]
call fcn.14013ed68
mov rdi, 0xffffffffffffffff
lea rax, [rbp + 0x470]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x1401f1a40
lea rdx, [rbp + 0x470]
lea rcx, [rsp + 0x28]
call fcn.14013ec14
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x1401f1a70
mov rdx, qword [rbx]
nop dword [rax + rax]
inc rdi
cmp word [rdx + rdi*2], r14w
jne 0x1401f1a70
mov r8, rdi
lea rcx, [rsp + 0x28]
call fcn.14013ec14
jmp 0x1401f1924
xor edx, edx
mov qword [rsi], r14
mov rcx, rsi
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
call fcn.14013edcc
jmp 0x1401f1949
call fcn.140194ed4
int3