Function at 0x140059c00
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400de040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r15, rcx
mov qword [rsp + 0x68], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, str.C:__
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x140059fd5
lea r9, [rbp + 0x95]
mov ebx, dword [rsp + 0x70]
dec r9
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov ebx, edx
test edx, edx
jne 0x140059c80
lea r8, [rbp + 0x95]
mov rdx, r9
mov rcx, r15
call fcn.14006ba50
mov dword [rsp + 0x40], 7
movdqa xmm0, xmmword [0x1400c7f10]
movdqu xmmword [rbp + 0x80], xmm0
xor eax, eax
xor ecx, ecx
cpuid
mov esi, eax
mov dword [rbp + 0x84], ebx
mov dword [rbp + 0x88], ecx
mov dword [rbp + 0x8c], edx
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x80]
call fcn.1400aee60
lea rcx, [rbp - 0x80]
call fcn.14005d160
nop
mov r14d, 1
mov edi, r14d
cmp esi, r14d
jl 0x140059d66
nop dword [rax]
nop word [rax + rax]
mov eax, edi
xor ecx, ecx
cpuid
mov r8d, eax
mov dword [rbp + 0x84], ebx
mov dword [rbp + 0x88], ecx
mov dword [rbp + 0x8c], edx
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx - 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rbp + rcx - 0x58], eax
mov edx, r8d
lea rcx, [rbp - 0x70]
call fcn.14005d370
inc edi
cmp edi, esi
jle 0x140059d20
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1400c7f50]
movdqu xmmword [rsp + 0x58], xmm1
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x17
xor eax, eax
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rax
mov rcx, qword [rbp + 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140059dc6
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x140059dc6
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x140059dfb
test cl, 4
jne 0x140059ded
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x140059ded
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140059dfb
mov r8, qword [rbp + 0x88]
mov rdx, qword [rbp + 0x80]
test rdx, rdx
je 0x140059e0b
lea rcx, [rsp + 0x48]
call fcn.1400092c0
nop
mov dword [rsp + 0x40], 0xf
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
lea rsi, [0x1400c581c]
cmp rax, 1
jb 0x140059ea9
lea r8, [rcx + 1]
mov qword [rsp + 0x58], r8
lea rbx, [rsp + 0x48]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x48]
lea rax, [0x1400c581d]
cmp rax, rbx
jbe 0x140059e6f
lea rax, [rbx + rcx]
cmp rsi, rax
ja 0x140059e6f
cmp rbx, rsi
ja 0x140059e67
mov rdi, r12
jmp 0x140059e72
mov rdi, rbx
sub rdi, rsi
jmp 0x140059e72
mov rdi, r14
lea rcx, [rbx + 1]
mov rdx, rbx
call fcn.1400af220
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400af220
lea rcx, [rbx + rdi]
sub r14, rdi
lea rdx, [rsi + 1]
add rdx, rdi
mov r8, r14
call fcn.1400af220
lea rax, [rsp + 0x48]
jmp 0x140059ec0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.140070a00
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x40], 0x2f
lea rdx, [rbp + 0x80]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
mov rcx, r15
call fcn.1400091c0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x140059f5e
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059f58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059ffc
call fcn.14007b13c
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140059f98
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059f92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059fcf
call fcn.14007b13c
nop
lea rcx, [rbp - 0x80]
call fcn.14005a010
mov rax, r15
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14007acb0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140089930
nop
lea rdx, str.failed_to_get_hwid
lea rcx, [rbp + 0x80]
call fcn.140001890
lea rdx, [0x1400dbe50]
lea rcx, [rbp + 0x80]
call fcn.1400800d0
nop
call fcn.140089930
int3