Function at 0x140005850
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400dd180]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x38], ebx
lea r9, [rsp + 0x60]
mov qword [rsp + 0x30], rbx
mov rdi, rcx
mov qword [rsp + 0x28], rbx
lea rcx, [0x1400baf40]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x140005abe
lea rdx, [rsp + 0x68]
call fcn.140005b60
mov r9, rax
cmp byte [rax + 0x12], bl
je 0x140005b32
cmp dword [0x1400dd1d8], 2
jl 0x140005a85
movdqa xmm5, xmmword [0x1400c4370]
movdqa xmm2, xmmword [0x1400c4210]
movdqa xmm3, xmmword [0x1400c4290]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400c4360]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movaps xmmword [rsp + 0xa0], xmm6
movdqa xmm6, xmmword [0x1400c4350]
movaps xmmword [rsp + 0x90], xmm7
movdqa xmm7, xmmword [0x1400c4380]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rax]
andps xmm2, xmm4
pmuldq xmm1, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rax], xmm2
movdqa xmm2, xmmword [0x1400c42c0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rax + 4]
andps xmm3, xmm4
pmuldq xmm1, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rax + 4], xmm3
movdqa xmm3, xmmword [0x1400c42e0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rax + 8]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
pmuldq xmm1, xmm5
paddb xmm2, xmm7
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rax + 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
movaps xmm6, xmmword [rsp + 0xa0]
psubd xmm3, xmm0
movd xmm0, dword [rax + 0xc]
andps xmm3, xmm4
packuswb xmm3, xmm3
mov ebx, reloc.WS2_32.dll_recv
packuswb xmm3, xmm3
paddb xmm3, xmm7
movaps xmm7, xmmword [rsp + 0x90]
xorps xmm3, xmm0
movd dword [rax + 0xc], xmm3
mov r8d, ebx
add r8, r9
nop dword [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp ebx, 0x13
jge 0x140005b32
jmp 0x140005a90
mov ecx, dword [rsp + 0x60]
lea r10, [rsp + 0x7d]
nop word [rax + rax]
dec r10
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r10], cl
mov ecx, edx
test edx, edx
jne 0x140005ad0
lea r9, [rsp + 0x40]
mov rdx, r10
lea r8, [rsp + 0x7d]
mov rcx, rdi
call fcn.140003af0
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400ad050
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.1400045a0
lea rdx, [0x1400d9d68]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3