Function at 0x1400b8910
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 0x1400b893d
mov al, 1
add rsp, 0x428
pop r14
pop rbp
ret
mov qword [rsp + 0x448], rbx
mov qword [rsp + 0x450], rsi
lea rsi, [0x14024ed50]
mov qword [rsp + 0x458], rdi
mov rdi, qword [0x14024ed60]
mov qword [rsp + 0x420], r15
xor r15d, r15d
cmp qword [0x14024ed68], 8
mov qword [rsp + 0x40], r15
cmovae rsi, qword [0x14024ed50]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
cmp rdi, 8
jae 0x1400b89ab
movups xmm0, xmmword [rsi]
mov qword [rsp + 0x58], 7
lea r8, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
jmp 0x1400b89fd
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.14000e860
lea r8, [rdi*2 + 2]
mov qword [rsp + 0x40], rax
mov rdx, rsi
mov rcx, rax
call fcn.1400e5740
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.1400ee918
mov rdx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x458]
mov rsi, qword [rsp + 0x450]
cmp rdx, 8
jb 0x1400b8a65
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b8a60
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b8fa3
call fcn.1400e3588
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 0x1400b8ab0
lea rax, [rsp + 0x6a]
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
cmp r9, rax
je 0x1400b8b18
lea r8, [rsp + 0x6a]
mov rdx, r9
sub r8, r9
lea rcx, [rbp - 0x70]
sar r8, 1
call fcn.14000e980
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 0x1400b8b40
lea rax, [rbp - 6]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
cmp r9, rax
je 0x1400b8ba4
lea r8, [rbp - 6]
mov rdx, r9
sub r8, r9
lea rcx, [rsp + 0x40]
sar r8, 1
call fcn.14000e980
movzx edx, byte [rbp + 0x340]
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14004b110
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400b8bff
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b8bfa
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b8f9d
call fcn.1400e3588
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400b8c3f
mov rcx, qword [rbp - 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b8c3a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b8f9d
call fcn.1400e3588
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [0x14024ed50]
call fcn.1400a8eb0
mov ecx, 0x10130
call fcn.1400e354c
test rax, rax
je 0x1400b8c80
cmp qword [rbp - 0x78], 8
lea rdx, [rsp + 0x70]
mov rcx, rax
cmovae rdx, qword [rsp + 0x70]
call fcn.1400b56f0
jmp 0x1400b8c83
mov rax, r15
mov rcx, rax
mov qword [r14 + 0x220], rax
call fcn.1400b5d80
test al, al
jne 0x1400b8ef2
cmp dword [0x14024f2c0], 2
lea rcx, str.vP__QQ
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 0x1400b8ea5
movdqa xmm5, xmmword [0x140113370]
lea rcx, [rbp]
movdqa xmm4, xmmword [0x1401170e0]
mov eax, 4
movaps xmmword [rsp + 0x410], xmm6
movaps xmmword [rsp + 0x400], xmm7
movdqa xmm7, xmmword [str.5555]
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 0x1400b8d90
movaps xmm9, xmmword [rsp + 0x3e0]
movaps xmm8, xmmword [rsp + 0x3f0]
movaps xmm7, xmmword [rsp + 0x400]
movaps xmm6, xmmword [rsp + 0x410]
cmp r8d, 0x65
jge 0x1400b8ee5
movsxd rax, r8d
lea r9, [rbp]
lea r9, [r9 + rax*2]
mov eax, 0x4d4873ed
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x65
jl 0x1400b8eb0
lea rcx, [rbp]
call fcn.1400a7b80
xor bl, bl
jmp 0x1400b8ef4
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400b8f31
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b8f2c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b8f9d
call fcn.1400e3588
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
cmp rdx, 8
jb 0x1400b8f7f
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b8f7a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b8f9d
call fcn.1400e3588
mov r15, qword [rsp + 0x420]
movzx eax, bl
mov rbx, qword [rsp + 0x448]
add rsp, 0x428
pop r14
pop rbp
ret
call fcn.1400ea23c
int3
call fcn.1400ea23c
int3