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

Disassembly:
push rbp
push r14
lea rbp, [rsp - 0x328]
sub rsp, 0x428
cmp qword [rcx + 0x220], 0
mov r14, rcx
je 0x1400bf12d
mov al, 1
add rsp, 0x428
pop r14
pop rbp
ret
mov qword [rsp + 0x448], rbx
mov qword [rsp + 0x450], rsi
lea rsi, [0x140256260]
mov qword [rsp + 0x458], rdi
mov rdi, qword [0x140256270]
mov qword [rsp + 0x420], r15
xor r15d, r15d
cmp qword [0x140256278], 8
mov qword [rsp + 0x40], r15
cmovae rsi, qword [0x140256260]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
cmp rdi, 8
jae 0x1400bf19b
movups xmm0, xmmword [rsi]
mov qword [rsp + 0x58], 7
lea r8, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
jmp 0x1400bf1ed
movabs rax, 0x7ffffffffffffffe
lea rcx, [rsp + 0x40]
mov rbx, rdi
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
call fcn.14000e970
lea r8, [rdi*2 + 2]
mov qword [rsp + 0x40], rax
mov rdx, rsi
mov rcx, rax
call fcn.1400ebf20
cmp rbx, 8
mov qword [rsp + 0x58], rbx
lea r8, [rsp + 0x40]
cmovae r8, qword [rsp + 0x40]
mov edx, 0x104
mov qword [rsp + 0x50], rdi
lea rcx, [rbp + 0xd0]
call fcn.1400f50f8
mov rdx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x458]
mov rsi, qword [rsp + 0x450]
cmp rdx, 8
jb 0x1400bf255
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bf250
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bf792
call fcn.1400e9d60
mov dword [rsp + 0x38], r15d
lea r9, [rbp + 0x340]
mov qword [rsp + 0x30], r15
lea rcx, [rbp + 0xd0]
mov qword [rsp + 0x28], r15
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r15
mov word [rbp + 0xd6], r15w
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov r10d, dword [rbp + 0x340]
lea r9, [rsp + 0x6a]
mov r8d, r10d
xor r8d, 0xab398cd3
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x1400bf2a0
lea rax, [rsp + 0x6a]
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
cmp r9, rax
je 0x1400bf308
lea r8, [rsp + 0x6a]
mov rdx, r9
sub r8, r9
lea rcx, [rbp - 0x70]
sar r8, 1
call fcn.14000ea60
mov r10d, dword [rbp + 0x340]
mov ecx, r10d
lea r9, [rbp - 6]
movabs rax, 0x48fa3b19d
movabs r10, 0xcccccccccccccccd
xor rcx, rax
nop word [rax + rax]
sub r9, 2
mov rax, r10
mul rcx
shr rdx, 3
movzx eax, dx
shl ax, 2
lea r8d, [rax + rdx]
add r8w, r8w
sub cx, r8w
add cx, 0x30
mov word [r9], cx
mov rcx, rdx
test rdx, rdx
jne 0x1400bf330
lea rax, [rbp - 6]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
cmp r9, rax
je 0x1400bf394
lea r8, [rbp - 6]
mov rdx, r9
sub r8, r9
lea rcx, [rsp + 0x40]
sar r8, 1
call fcn.14000ea60
movzx edx, byte [rbp + 0x340]
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14004b540
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400bf3ef
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bf3ea
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bf78c
call fcn.1400e9d60
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400bf42f
mov rcx, qword [rbp - 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bf42a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bf78c
call fcn.1400e9d60
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [0x140256260]
call fcn.1400af680
mov ecx, 0x10130
call fcn.1400e9d24
test rax, rax
je 0x1400bf470
cmp qword [rbp - 0x78], 8
lea rdx, [rsp + 0x70]
mov rcx, rax
cmovae rdx, qword [rsp + 0x70]
call fcn.1400bbec0
jmp 0x1400bf473
mov rax, r15
mov rcx, rax
mov qword [r14 + 0x220], rax
call fcn.1400bc550
test al, al
jne 0x1400bf6e1
cmp dword [0x1402567d0], 2
lea rcx, [0x14011faf0]
movups xmm0, xmmword [rcx]
lea rdx, [rbp]
mov r8d, r15d
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
mov rax, qword [rcx + 0x40]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rcx]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x10], xmm0
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm1
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm0
movups xmm0, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm1
movups xmmword [rdx + 0x30], xmm0
mov qword [rdx + 0x40], rax
movzx eax, word [rcx + 0x48]
mov word [rdx + 0x48], ax
jl 0x1400bf695
movdqa xmm5, xmmword [0x140119390]
lea rcx, [rbp]
movdqa xmm4, xmmword [0x14011f7d0]
mov eax, 1
movaps xmmword [rsp + 0x410], xmm6
movaps xmmword [rsp + 0x400], xmm7
movdqa xmm7, xmmword [str.7777]
movaps xmmword [rsp + 0x3f0], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x3e0], xmm9
movdqa xmm9, xmmword [str.00000000]
movd xmm8, eax
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x60
jl 0x1400bf580
movaps xmm9, xmmword [rsp + 0x3e0]
movaps xmm8, xmmword [rsp + 0x3f0]
movaps xmm7, xmmword [rsp + 0x400]
movaps xmm6, xmmword [rsp + 0x410]
cmp r8d, 0x65
jge 0x1400bf6d4
movsxd rax, r8d
lea r9, [rbp]
lea r9, [r9 + rax*2]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x65
jl 0x1400bf6a0
lea rcx, [rbp]
call fcn.1400ae360
xor bl, bl
jmp 0x1400bf6e3
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400bf720
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bf71b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bf78c
call fcn.1400e9d60
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
cmp rdx, 8
jb 0x1400bf76e
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bf769
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bf78c
call fcn.1400e9d60
mov r15, qword [rsp + 0x420]
movzx eax, bl
mov rbx, qword [rsp + 0x448]
add rsp, 0x428
pop r14
pop rbp
ret
call fcn.1400f0a1c
int3
call fcn.1400f0a1c
int3