Function at 0x7bf250
Capabilities:
Get disk information

Disassembly:
push rbp
push rbx
sub rsp, 0xd8
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xc0], 0
nop
call fcn.007bc6a0
mov rax, qword [0x008cffc0]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x8b8]
mov qword [rax + 0x760], rcx
mov rcx, qword [rbp + 0x40]
mov rax, qword [0x008d07f8]
mov rax, qword [rax]
mov rdx, qword [rax + 0x140]
call fcn.00747ef0
mov rax, qword [0x008cff00]
mov rcx, qword [rax]
mov rax, qword [0x008d07f8]
mov rax, qword [rax]
mov rdx, qword [rax + 0x140]
call fcn.00747ef0
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x740]
mov edx, 0xbb8
call fcn.006b8eb0
mov rax, qword [0x008d07f8]
mov rcx, qword [rax]
lea rdx, [0x007bfb34]
call fcn.00756640
mov rax, qword [0x008d07f8]
mov rax, qword [rax]
mov rcx, rax
lea rdx, [0x007bfb34]
mov rbx, qword [rax]
call qword [rbx + 0x50]
mov rax, qword [0x008d07f8]
mov rcx, qword [rax]
lea rdx, [rbp + 0xc0]
call fcn.00758090
lea rcx, [rbp + 0xc8]
mov rdx, qword [rbp + 0xc0]
call fcn.007ba350
mov rax, qword [rbp + 0x40]
lea rcx, [rax + 0x8c8]
mov rdx, qword [rbp + 0xc8]
call fcn.00412a90
lea rcx, [rbp + 0xb8]
mov edx, 5
lea r8, [0x007bfb60]
mov rax, qword [rbp + 0x40]
mov r9, qword [rax + 0x8c8]
lea rax, [0x007bfb94]
mov qword [rsp + 0x20], rax
lea rax, [0x007bfba8]
mov qword [rsp + 0x28], rax
lea rax, [0x007bfbbc]
mov qword [rsp + 0x30], rax
call fcn.00413d40
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0xb8]
call fcn.00603380
mov rcx, qword [rbp + 0x40]
lea rdx, [rbp + 0xb0]
call fcn.00603310
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x740]
mov rdx, qword [rbp + 0xb0]
call fcn.006b8650
mov rax, qword [0x008d07f8]
mov rcx, qword [rax]
lea rdx, [rbp + 0xa0]
call fcn.00758090
lea rcx, [rbp + 0xa8]
mov rdx, qword [rbp + 0xa0]
call fcn.0043b030
mov rax, qword [rbp + 0x40]
lea rcx, [rax + 0x8d0]
mov rdx, qword [rbp + 0xa8]
call fcn.00412a90
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x8d0]
call fcn.00413820
mov rcx, rax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
je 0x7bf4bc
mov rax, qword [rbp + 0x40]
mov byte [rax + 0x8d8], 1
jmp 0x7bf4c7
mov rax, qword [rbp + 0x40]
mov byte [rax + 0x8d8], 0
mov rax, qword [rbp + 0x40]
cmp byte [rax + 0x8d8], 0
je 0x7bf596
lea rcx, [rbp + 0x98]
lea rdx, [0x007bfbcc]
call fcn.0078e920
lea rcx, [rbp + 0x90]
lea rdx, [0x007bfbec]
call fcn.0078e920
mov rax, qword [rbp + 0x40]
lea rcx, [rax + 0x8e0]
mov edx, 3
mov r8, qword [rbp + 0x98]
mov r9, qword [rbp + 0x90]
lea rax, [0x007bfc0c]
mov qword [rsp + 0x20], rax
call fcn.00413d40
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x8e0]
call fcn.0043ae30
test al, al
jne 0x7bf613
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x8e0]
mov qword [rbp + 0x78], rax
mov byte [rbp + 0x80], 0x11
lea rcx, [rbp + 0x88]
lea rdx, [0x007bfc9c]
lea r8, [rbp + 0x78]
xor r9, r9
call fcn.0043ba80
mov rax, qword [rbp + 0x88]
mov rcx, rax
or edx, 0xffffffff
or r8d, 0xffffffff
call fcn.006abaa0
mov rcx, qword [rbp + 0x40]
call fcn.0074eb70
jmp 0x7bf613
mov rax, qword [rbp + 0x40]
lea rcx, [rax + 0x8e0]
mov rax, qword [rbp + 0x40]
mov rdx, qword [rax + 0x8d0]
call fcn.00412a90
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x798]
mov rcx, rax
xor edx, edx
mov rbx, qword [rax]
call qword [rbx + 0x2e0]
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x798]
mov rcx, rax
xor edx, edx
mov rbx, qword [rax]
call qword [rbx + 0x138]
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x798]
lea rcx, [rax + 0xf0]
lea rdx, [0x007bfd04]
call fcn.00412a90
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x798]
mov dl, 1
call fcn.00603530
mov rax, qword [0x008cff00]
mov rax, qword [rax]
lea rcx, [rax + 0x7f8]
mov rax, qword [rbp + 0x40]
mov rdx, qword [rax + 0x8d0]
call fcn.00412a90
mov rax, qword [rbp + 0x40]
lea rcx, [rax + 0x8e8]
mov rax, qword [rbp + 0x40]
mov rdx, qword [rax + 0x8e0]
lea r8, [0x007bfdd4]
call fcn.00413c10
lea rcx, [rbp + 0x70]
mov edx, 7
call fcn.007b9a70
mov rax, qword [rbp + 0x40]
lea rcx, [rax + 0x8f0]
mov rdx, qword [rbp + 0x70]
call fcn.00412a90
mov rax, qword [0x008d0010]
mov rax, qword [rax]
mov rcx, qword [rax + 0x740]
lea rdx, [rbp + 0x68]
call fcn.00603310
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x8b8]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x68]
call fcn.00412a90
mov rax, qword [0x008d0010]
mov rax, qword [rax]
mov rcx, qword [rax + 0x760]
lea rdx, [rbp + 0x60]
call fcn.00603310
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x8b8]
lea rcx, [rax + 0x10]
mov rdx, qword [rbp + 0x60]
call fcn.00412a90
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x7d8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x2d8]
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x8b8]
mov byte [rcx + 0x18], al
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x7e8]
lea rdx, [rbp + 0x58]
call fcn.00651e60
mov rcx, qword [rbp + 0x58]
call fcn.0043a4b0
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x8b8]
mov dword [rcx + 0x1c], eax
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x828]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x2d8]
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x8b8]
mov byte [rcx + 0x20], al
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x830]
lea rdx, [rbp + 0x50]
call fcn.00651e60
mov rcx, qword [rbp + 0x50]
call fcn.0043a4b0
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x8b8]
mov dword [rcx + 0x24], eax
mov rax, qword [0x008cffc0]
mov rax, qword [rax]
mov rax, qword [rax + 0x740]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x2d8]
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x8b8]
mov byte [rcx + 0x28], al
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x848]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x2d8]
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x8b8]
mov byte [rcx + 0x29], al
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x850]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x2d8]
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x8b8]
mov byte [rcx + 0x2a], al
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x858]
lea rdx, [rbp + 0x48]
call fcn.00651e60
mov rcx, qword [rbp + 0x48]
call fcn.0043a4b0
mov ecx, eax
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x8b8]
mov dword [rax + 0x2c], ecx
mov rcx, qword [rbp + 0x40]
mov ecx, dword [rcx + 0x9c]
mov dword [rax + 0x30], ecx
mov rcx, qword [rbp + 0x40]
mov ecx, dword [rcx + 0x98]
mov dword [rax + 0x34], ecx
mov rcx, qword [rbp + 0x40]
call fcn.00745050
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x8b8]
mov dword [rcx + 0x38], eax
mov rcx, qword [rbp + 0x40]
call fcn.00745020
mov ecx, eax
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x8b8]
mov dword [rax + 0x3c], ecx
mov rcx, qword [0x008cff00]
mov rcx, qword [rcx]
mov ecx, dword [rcx + 0x9c]
mov dword [rax + 0x40], ecx
mov rcx, qword [0x008cff00]
mov rcx, qword [rcx]
mov ecx, dword [rcx + 0x98]
mov dword [rax + 0x44], ecx
mov rax, qword [0x008cff00]
mov rcx, qword [rax]
call fcn.00745050
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x8b8]
mov dword [rcx + 0x48], eax
mov rax, qword [0x008cff00]
mov rcx, qword [rax]
call fcn.00745020
mov ecx, eax
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x8b8]
mov dword [rax + 0x4c], ecx
mov rcx, qword [0x008cffc0]
mov rcx, qword [rcx]
mov ecx, dword [rcx + 0x9c]
mov dword [rax + 0x50], ecx
mov rcx, qword [0x008cffc0]
mov rcx, qword [rcx]
mov ecx, dword [rcx + 0x98]
mov dword [rax + 0x54], ecx
mov rax, qword [0x008cffc0]
mov rcx, qword [rax]
call fcn.00745050
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x8b8]
mov dword [rcx + 0x58], eax
mov rax, qword [0x008cffc0]
mov rcx, qword [rax]
call fcn.00745020
mov ecx, eax
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x8b8]
mov dword [rax + 0x5c], ecx
mov rcx, qword [0x008cffc0]
mov rcx, qword [rcx]
movzx rcx, byte [rcx + 0x512]
mov byte [rax + 0x60], cl
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x8c0]
mov rcx, qword [0x008cff00]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x738]
movzx rcx, byte [rcx + 0x4f8]
mov byte [rax + 8], cl
mov rax, qword [0x008cff00]
mov rax, qword [rax]
mov rax, qword [rax + 0x7b0]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x2d8]
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x8c0]
mov byte [rcx + 0x1c], al
mov rax, qword [0x008cff00]
mov rax, qword [rax]
mov rax, qword [rax + 0x7c0]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x2d8]
mov ecx, eax
mov rax, qword [rbp + 0x40]
mov rax, qword [rax + 0x8c0]
mov byte [rax + 0x1d], cl
mov rcx, rax
call fcn.007890b0
mov rax, qword [0x008cff00]
mov rax, qword [rax]
mov rcx, qword [rax + 0x7f0]
call fcn.007890d0
mov rcx, qword [rbp + 0x40]
mov qword [rcx + 0x8c0], rax
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x8e8]
mov dl, 1
call fcn.0043ac60
test al, al
je 0x7bfa13
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x8e8]
call fcn.0078e980
test eax, eax
jne 0x7bfa3a
mov rax, qword [rbp + 0x40]
mov byte [rax + 0x91a], 1
mov rax, qword [0x008d07f8]
mov rax, qword [rax]
mov byte [rax + 0xd3], 1
mov rcx, qword [rbp + 0x40]
call fcn.007c1880
jmp 0x7bfa5f
mov rax, qword [rbp + 0x40]
mov byte [rax + 0x91a], 0
mov rax, qword [0x008d07f8]
mov rax, qword [rax]
mov byte [rax + 0xd3], 0
mov rcx, qword [rbp + 0x40]
call fcn.007c07e0
nop
lea rcx, [rbp + 0x48]
mov edx, 3
call fcn.004124e0
lea rcx, [rbp + 0x60]
mov edx, 2
call fcn.004124e0
lea rcx, [rbp + 0x70]
call fcn.00412400
lea rcx, [rbp + 0x88]
mov edx, 5
call fcn.004124e0
lea rcx, [rbp + 0xb0]
call fcn.00412400
lea rcx, [rbp + 0xb8]
mov edx, 3
call fcn.004124e0
lea rsp, [rbp + 0xd8]
pop rbx
pop rbp
ret