Function at 0x1400b18d0
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 0x1400b18fd
mov al, 1
add rsp, 0x428
pop r14
pop rbp
ret
mov qword [rsp + 0x448], rbx
mov qword [rsp + 0x450], rsi
lea rsi, [0x140247c90]
mov qword [rsp + 0x458], rdi
mov rdi, qword [0x140247ca0]
mov qword [rsp + 0x420], r15
xor r15d, r15d
cmp qword [0x140247ca8], 8
mov qword [rsp + 0x40], r15
cmovae rsi, qword [0x140247c90]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
cmp rdi, 8
jae 0x1400b196b
movups xmm0, xmmword [rsi]
mov qword [rsp + 0x58], 7
lea r8, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
jmp 0x1400b19bd
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.14000dda0
lea r8, [rdi*2 + 2]
mov qword [rsp + 0x40], rax
mov rdx, rsi
mov rcx, rax
call fcn.1400de9c0
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.1400e7b98
mov rdx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x458]
mov rsi, qword [rsp + 0x450]
cmp rdx, 8
jb 0x1400b1a25
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b1a20
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b1f76
call fcn.1400dc808
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 0x1400b1a70
lea rax, [rsp + 0x6a]
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
cmp r9, rax
je 0x1400b1ad8
lea r8, [rsp + 0x6a]
mov rdx, r9
sub r8, r9
lea rcx, [rbp - 0x70]
sar r8, 1
call fcn.14000dea0
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 0x1400b1b00
lea rax, [rbp - 6]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
cmp r9, rax
je 0x1400b1b64
lea r8, [rbp - 6]
mov rdx, r9
sub r8, r9
lea rcx, [rsp + 0x40]
sar r8, 1
call fcn.14000dea0
movzx edx, byte [rbp + 0x340]
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.140049a90
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400b1bbf
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b1bba
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b1f70
call fcn.1400dc808
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400b1bff
mov rcx, qword [rbp - 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b1bfa
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b1f70
call fcn.1400dc808
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [0x140247c90]
call fcn.1400a2190
mov ecx, 0x10130
call fcn.1400dc7cc
test rax, rax
je 0x1400b1c40
cmp qword [rbp - 0x78], 8
lea rdx, [rsp + 0x70]
mov rcx, rax
cmovae rdx, qword [rsp + 0x70]
call fcn.1400ae680
jmp 0x1400b1c43
mov rax, r15
mov rcx, rax
mov qword [r14 + 0x220], rax
call fcn.1400aed10
test al, al
jne 0x1400b1ec5
cmp dword [0x140248200], 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 0x1400b1e6d
movdqa xmm5, xmmword [0x14010c2c0]
lea rcx, [rbp]
movdqa xmm4, xmmword [0x140110090]
mov eax, 5
movaps xmmword [rsp + 0x410], xmm6
movaps xmmword [rsp + 0x400], xmm7
movdqa xmm7, xmmword [str.3333]
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
paddd xmm1, xmm2
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 0x1400b1d50
movaps xmm9, xmmword [rsp + 0x3e0]
movaps xmm8, xmmword [rsp + 0x3f0]
movaps xmm7, xmmword [rsp + 0x400]
movaps xmm6, xmmword [rsp + 0x410]
cmp r8d, 0x65
jge 0x1400b1eb8
movsxd rax, r8d
lea r9, [rbp]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x65
jl 0x1400b1e80
lea rcx, [rbp]
call fcn.1400a0e70
xor bl, bl
jmp 0x1400b1ec7
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400b1f04
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b1eff
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b1f70
call fcn.1400dc808
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
cmp rdx, 8
jb 0x1400b1f52
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b1f4d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b1f70
call fcn.1400dc808
mov r15, qword [rsp + 0x420]
movzx eax, bl
mov rbx, qword [rsp + 0x448]
add rsp, 0x428
pop r14
pop rbp
ret
call fcn.1400e34bc
int3
call fcn.1400e34bc
int3