Function at 0x54dcc0
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.00410b20
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.00412730
lea rcx, [rbp + 0x98]
lea rdx, [0x0054e124]
call fcn.00412a40
mov rcx, qword [rbp + 0x98]
call fcn.004126f0
mov rcx, rax
lea rdx, [rbp + 0x4e8]
lea r8, [rbp + 0x4d8]
lea r9, [rbp + 0x4e0]
mov rax, qword [0x005908d8]
call qword [rax]
test eax, eax
je 0x54df67
mov rsi, qword [rbp + 0x4d8]
sub rsi, qword [rbp + 0x4e0]
lea rcx, [rbp + 0xb0]
call fcn.00410b70
lea rcx, [rbp + 0x90]
mov edx, ebx
add dx, 0x41
call fcn.00412730
lea rcx, [rbp + 0x90]
lea rdx, [0x0054e124]
call fcn.00412a40
mov rcx, qword [rbp + 0x90]
call fcn.004126f0
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 0x54de71
lea rcx, [rbp + 0xb0]
lea rdx, [rbp + 0x2d0]
mov r8d, 0x104
call fcn.004120f0
mov rcx, qword [rbp + 0xb0]
xor edx, edx
call fcn.00412620
test eax, eax
jne 0x54de96
lea rcx, [rbp + 0xb0]
lea rdx, [0x0054e130]
call fcn.00411290
lea rcx, [rbp + 0x70]
mov edx, edi
call fcn.00412060
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0x70]
call fcn.00430cf0
lea rcx, [rbp + 0x80]
mov edx, 5
mov r8, qword [rbp + 0xa8]
mov r9, qword [rbp + 0x78]
lea rax, [0x0054e140]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [0x0054e148]
mov qword [rsp + 0x30], rax
call fcn.00412510
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x80]
call fcn.00412820
lea rcx, [rbp + 0x60]
mov rdx, rsi
call fcn.004316e0
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x4d8]
call fcn.004316e0
lea rcx, [rbp + 0x88]
mov edx, 5
mov r8, qword [rbp + 0x68]
mov r9, qword [rbp + 0x60]
lea rax, [0x0054e158]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [0x0054e168]
mov qword [rsp + 0x30], rax
call fcn.00412c40
lea rcx, [rbp + 0xa8]
mov rdx, qword [rbp + 0x88]
call fcn.00412850
add ebx, 1
cmp ebx, 0x1a
jne 0x54dd5b
nop
xor eax, eax
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x54df88
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.00412630
lea rcx, [rbp + 0xa8]
mov edx, 3
lea r8, [0x0054e178]
mov r9, qword [rbp + 0x50]
lea rax, [0x0054e194]
mov qword [rsp + 0x20], rax
call fcn.00412510
lea rcx, [rbp + 0xa0]
mov rdx, qword [rbp + 0xa8]
call fcn.00419f40
mov rcx, qword [rbp + 0x48]
call fcn.00410b20
xor eax, eax
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x54dffa
mov eax, dword [rcx - 4]
mov rcx, qword [rbp + 0x48]
mov edx, eax
xor r8, r8
call fcn.00411f10
lea rcx, [rbp + 0xa0]
call fcn.00411490
mov rbx, rax
mov rcx, qword [rbp + 0x48]
call fcn.00411490
mov rcx, rax
xor eax, eax
mov rdx, qword [rbp + 0xa0]
test rdx, rdx
je 0x54e034
mov eax, dword [rdx - 4]
mov rdx, rcx
movsxd r8, eax
mov rcx, rbx
call fcn.004095f0
nop
lea rcx, [rbp + 0x50]
call fcn.00410b70
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.00410bb0
lea rcx, [rbp + 0x70]
mov edx, 3
call fcn.00410c50
lea rcx, [rbp + 0x88]
mov edx, 3
call fcn.00410bb0
lea rcx, [rbp + 0xa0]
call fcn.00410b20
lea rcx, [rbp + 0xa8]
mov edx, 2
call fcn.00410c50
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x4f8]
pop rbx
pop rsi
pop rdi
pop rbp
ret