Function at 0x549360
Capabilities:
Get disk information

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4f8
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xa0], 0
nop
mov rcx, qword [rbp + 0x48]
call fcn.00410b10
xor ebx, ebx
mov ecx, 1
call sub.kernel32.dll_SetErrorMode
mov edi, ebx
add di, 0x41
lea rcx, [rbp + 0x98]
mov edx, edi
call fcn.00412720
lea rcx, [rbp + 0x98]
lea rdx, [0x005497c4]
call fcn.00412a30
mov rcx, qword [rbp + 0x98]
call fcn.004126e0
mov rcx, rax
lea rdx, [rbp + 0x4e8]
lea r8, [rbp + 0x4d8]
lea r9, [rbp + 0x4e0]
mov rax, qword [0x00584ba0]
call qword [rax]
test eax, eax
je 0x549607
mov rsi, qword [rbp + 0x4d8]
sub rsi, qword [rbp + 0x4e0]
lea rcx, [rbp + 0xb0]
call fcn.00410b60
lea rcx, [rbp + 0x90]
mov edx, ebx
add dx, 0x41
call fcn.00412720
lea rcx, [rbp + 0x90]
lea rdx, [0x005497c4]
call fcn.00412a30
mov rcx, qword [rbp + 0x90]
call fcn.004126e0
mov rcx, rax
lea rdx, [rbp + 0x2d0]
mov r8d, 0x104
lea r9, [rbp + 0xc4]
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0xbc]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x104
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x549511
lea rcx, [rbp + 0xb0]
lea rdx, [rbp + 0x2d0]
mov r8d, 0x104
call fcn.004120e0
mov rcx, qword [rbp + 0xb0]
xor edx, edx
call fcn.00412610
test eax, eax
jne 0x549536
lea rcx, [rbp + 0xb0]
lea rdx, [0x005497d0]
call fcn.00411280
lea rcx, [rbp + 0x70]
mov edx, edi
call fcn.00412050
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0x70]
call fcn.00430970
lea rcx, [rbp + 0x80]
mov edx, 5
mov r8, qword [rbp + 0xa8]
mov r9, qword [rbp + 0x78]
lea rax, [0x005497e0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [0x005497e8]
mov qword [rsp + 0x30], rax
call fcn.00412500
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x80]
call fcn.00412810
lea rcx, [rbp + 0x60]
mov rdx, rsi
call fcn.00431360
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x4d8]
call fcn.00431360
lea rcx, [rbp + 0x88]
mov edx, 5
mov r8, qword [rbp + 0x68]
mov r9, qword [rbp + 0x60]
lea rax, [0x005497f8]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [0x00549808]
mov qword [rsp + 0x30], rax
call fcn.00412c30
lea rcx, [rbp + 0xa8]
mov rdx, qword [rbp + 0x88]
call fcn.00412840
add ebx, 1
cmp ebx, 0x1a
jne 0x5493fb
nop
xor eax, eax
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x549628
mov eax, dword [rcx - 4]
shr eax, 1
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0xa8]
mov r8d, 1
mov r9d, eax
sub r9d, 4
call fcn.00412620
lea rcx, [rbp + 0xa8]
mov edx, 3
lea r8, [0x00549818]
mov r9, qword [rbp + 0x50]
lea rax, [0x00549834]
mov qword [rsp + 0x20], rax
call fcn.00412500
lea rcx, [rbp + 0xa0]
mov rdx, qword [rbp + 0xa8]
call fcn.00419f30
mov rcx, qword [rbp + 0x48]
call fcn.00410b10
xor eax, eax
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x54969a
mov eax, dword [rcx - 4]
mov rcx, qword [rbp + 0x48]
mov edx, eax
xor r8, r8
call fcn.00411f00
lea rcx, [rbp + 0xa0]
call fcn.00411480
mov rbx, rax
mov rcx, qword [rbp + 0x48]
call fcn.00411480
mov rcx, rax
xor eax, eax
mov rdx, qword [rbp + 0xa0]
test rdx, rdx
je 0x5496d4
mov eax, dword [rdx - 4]
mov rdx, rcx
movsxd r8, eax
mov rcx, rbx
call fcn.004095f0
nop
lea rcx, [rbp + 0x50]
call fcn.00410b60
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.00410ba0
lea rcx, [rbp + 0x70]
mov edx, 3
call fcn.00410c40
lea rcx, [rbp + 0x88]
mov edx, 3
call fcn.00410ba0
lea rcx, [rbp + 0xa0]
call fcn.00410b10
lea rcx, [rbp + 0xa8]
mov edx, 2
call fcn.00410c40
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x4f8]
pop rbx
pop rsi
pop rdi
pop rbp
ret