Function at 0x42b864
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [r11 - 0x20], 7
xor esi, esi
mov qword [r11 - 0x28], rsi
mov word [rsp + 0x40], si
mov rax, qword [rcx]
mov r9b, 1
mov ebx, 0x8000
mov r8d, ebx
lea rdx, [r11 - 0x40]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp eax, esi
jge 0x42b8d1
cmp qword [rsp + 0x58], 8
jb 0x42b8ca
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov ebx, esi
jmp 0x42bb4e
lea r9, [0x004c2cd0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae r9, qword [0x004c2cd0]
mov rax, qword [0x004c2ce0]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x50]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.00406604
cmp eax, esi
jne 0x42b925
cmp qword [rsp + 0x58], 8
jb 0x42b91b
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov ebx, 0x400000
jmp 0x42bb4e
lea r9, [0x004c2cf8]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae r9, qword [0x004c2cf8]
mov rax, qword [0x004c2d08]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x50]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.00406604
cmp eax, esi
jne 0x42b979
cmp qword [rsp + 0x58], 8
jb 0x42b96f
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov ebx, 0x800000
jmp 0x42bb4e
lea rdi, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdi, qword [rsp + 0x40]
mov edx, 0x3a
mov rcx, rdi
call fcn.00445930
sub rax, rdi
and rax, 0xfffffffffffffffe
cmp rax, 2
jne 0x42ba4b
lea edx, [rax + 0x5a]
mov rcx, rdi
call fcn.00445930
sub rax, rdi
and rax, 0xfffffffffffffffe
cmp rax, 4
jne 0x42ba4b
cmp word [rdi], 0x61
jb 0x42b9d0
cmp word [rdi], 0x7a
jbe 0x42b9dc
cmp word [rdi], 0x41
jb 0x42ba4b
cmp word [rdi], 0x5a
ja 0x42ba4b
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x42ba14
cmp qword [rsp + 0x58], 8
jb 0x42ba0a
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov ebx, 0x1000
jmp 0x42bb4e
cmp eax, 4
jne 0x42ba32
cmp qword [rsp + 0x58], 8
jb 0x42ba2b
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov ebx, esi
jmp 0x42bb4e
cmp qword [rsp + 0x58], 8
jb 0x42ba44
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov ebx, esi
jmp 0x42bb4e
lea rdi, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdi, qword [rsp + 0x40]
lea rdx, [0x004a007c]
mov rcx, rdi
call fcn.00445330
cmp rax, rdi
jne 0x42ba9f
mov edx, 0x5c
lea rcx, [rdi + 4]
call fcn.00445930
cmp rax, rsi
jne 0x42ba9f
cmp qword [rsp + 0x58], 8
jb 0x42ba95
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov ebx, 0x4000
jmp 0x42bb4e
lea rdi, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdi, qword [rsp + 0x40]
lea rdx, [0x004a007c]
mov rcx, rdi
call fcn.00445330
cmp rax, rdi
jne 0x42bb04
mov edx, 0x5c
lea rcx, [rdi + 4]
call fcn.00445930
cmp rax, rsi
je 0x42bb04
lea rdx, [0x004a0084]
mov rcx, rdi
call fcn.00445330
cmp rax, rsi
jne 0x42bb04
cmp qword [rsp + 0x58], 8
jb 0x42bafd
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov ebx, 0x2000
jmp 0x42bb4e
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea rdx, [0x004a008c]
call fcn.00445330
cmp rax, rsi
je 0x42bb3c
cmp qword [rsp + 0x58], 8
jb 0x42bb38
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov ebx, esi
jmp 0x42bb4e
cmp qword [rsp + 0x58], 8
jb 0x42bb4e
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.00443d60
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret