Function at 0x1400b7be0
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 0x1400b7c0d
mov al, 1
add rsp, 0x428
pop r14
pop rbp
ret
mov qword [rsp + 0x448], rbx
mov qword [rsp + 0x450], rsi
lea rsi, [0x14024dd50]
mov qword [rsp + 0x458], rdi
mov rdi, qword [0x14024dd60]
mov qword [rsp + 0x420], r15
xor r15d, r15d
cmp qword [0x14024dd68], 8
mov qword [rsp + 0x40], r15
cmovae rsi, qword [0x14024dd50]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
cmp rdi, 8
jae 0x1400b7c7b
movups xmm0, xmmword [rsi]
mov qword [rsp + 0x58], 7
lea r8, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
jmp 0x1400b7ccd
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.14000e7b0
lea r8, [rdi*2 + 2]
mov qword [rsp + 0x40], rax
mov rdx, rsi
mov rcx, rax
call fcn.1400e4a20
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.1400edbf8
mov rdx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x458]
mov rsi, qword [rsp + 0x450]
cmp rdx, 8
jb 0x1400b7d35
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7d30
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b8273
call fcn.1400e2868
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 0x1400b7d80
lea rax, [rsp + 0x6a]
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
cmp r9, rax
je 0x1400b7de8
lea r8, [rsp + 0x6a]
mov rdx, r9
sub r8, r9
lea rcx, [rbp - 0x70]
sar r8, 1
call fcn.14000e8e0
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 0x1400b7e10
lea rax, [rbp - 6]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
cmp r9, rax
je 0x1400b7e74
lea r8, [rbp - 6]
mov rdx, r9
sub r8, r9
lea rcx, [rsp + 0x40]
sar r8, 1
call fcn.14000e8e0
movzx edx, byte [rbp + 0x340]
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14004aae0
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400b7ecf
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7eca
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b826d
call fcn.1400e2868
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400b7f0f
mov rcx, qword [rbp - 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7f0a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b826d
call fcn.1400e2868
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [0x14024dd50]
call fcn.1400a8170
mov ecx, 0x10130
call fcn.1400e282c
test rax, rax
je 0x1400b7f50
cmp qword [rbp - 0x78], 8
lea rdx, [rsp + 0x70]
mov rcx, rax
cmovae rdx, qword [rsp + 0x70]
call fcn.1400b49c0
jmp 0x1400b7f53
mov rax, r15
mov rcx, rax
mov qword [r14 + 0x220], rax
call fcn.1400b5050
test al, al
jne 0x1400b81c2
cmp dword [0x14024e2c0], 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 0x1400b8175
movdqa xmm5, xmmword [0x140112370]
lea rcx, [rbp]
movdqa xmm4, xmmword [0x140114250]
mov eax, 4
movaps xmmword [rsp + 0x410], xmm6
movaps xmmword [rsp + 0x400], xmm7
movdqa xmm7, xmmword [0x140114230]
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 0x1400b8060
movaps xmm9, xmmword [rsp + 0x3e0]
movaps xmm8, xmmword [rsp + 0x3f0]
movaps xmm7, xmmword [rsp + 0x400]
movaps xmm6, xmmword [rsp + 0x410]
cmp r8d, 0x65
jge 0x1400b81b5
movsxd rax, r8d
lea r9, [rbp]
lea r9, [r9 + rax*2]
mov eax, 0x4bda12f7
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x65
jl 0x1400b8180
lea rcx, [rbp]
call fcn.1400a6e50
xor bl, bl
jmp 0x1400b81c4
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400b8201
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b81fc
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b826d
call fcn.1400e2868
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
cmp rdx, 8
jb 0x1400b824f
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b824a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b826d
call fcn.1400e2868
mov r15, qword [rsp + 0x420]
movzx eax, bl
mov rbx, qword [rsp + 0x448]
add rsp, 0x428
pop r14
pop rbp
ret
call fcn.1400e951c
int3
call fcn.1400e951c
int3