Function at 0x1400a17b0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2b8
mov qword [rsp + 0x290], 0xfffffffffffffffe
mov rax, qword [0x1403abd28]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov rcx, qword [rsp + 0x2d0]
call fcn.1400a4110
mov rax, qword [rsp + 0x2d0]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rsp + 0x2d0]
call qword [rax + 8]
mov rax, qword [rsp + 0x2d0]
mov rax, qword [rax]
mov edx, 0xa
mov rcx, qword [rsp + 0x2d0]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x2d0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x2d0]
call qword [rax + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140059b90
nop
mov edx, 4
lea rcx, [rsp + 0x60]
call fcn.140059bf0
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xb8]
call fcn.14009e560
nop
lea rcx, [rsp + 0x20]
call fcn.14009e560
nop
lea rcx, [rsp + 0x68]
call fcn.14009e560
nop
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x58], 0
jmp 0x1400a18a0
mov eax, dword [rsp + 0x58]
add eax, 1
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0xa
jge 0x1400a1935
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa8]
call qword [rax + 0x10]
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov r8d, dword [rsp + 0x58]
mov edx, 4
mov rcx, qword [rsp + 0xa8]
call qword [rax + 8]
test eax, eax
jne 0x1400a1901
lea r8, [0x1403abf80]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x2d0]
call fcn.1400a1620
mov eax, dword [rsp + 0xa0]
add eax, 1
mov dword [rsp + 0xa0], eax
movsxd rdx, dword [rsp + 0xa0]
mov rax, qword [rsp + 0x2d0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x2d0]
call qword [rax + 0x18]
jmp 0x1400a1895
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0x58], 0x41
jmp 0x1400a1957
mov eax, dword [rsp + 0x58]
add eax, 1
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0x5a
jg 0x1400a1aeb
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0xf0], al
mov byte [rsp + 0xf1], 0x3a
mov byte [rsp + 0xf2], 0x5c
mov byte [rsp + 0xf3], 0
mov dword [rsp + 0x210], 1
mov eax, dword [rsp + 0x58]
sub eax, 0x41
movzx ecx, al
mov eax, dword [rsp + 0x210]
shl eax, cl
mov dword [rsp + 0x210], eax
mov ecx, dword [rsp + 0x210]
mov eax, dword [rsp + 0xb0]
and eax, ecx
test eax, eax
jne 0x1400a19c1
jmp 0x1400a194c
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [rsp + 0xf4], eax
cmp dword [rsp + 0xf4], 5
je 0x1400a19e5
jmp 0x1400a194c
mov byte [rsp + 0xf2], 0
mov byte [rsp + 0x100], 0
lea rdi, [rsp + 0x101]
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jbe 0x1400a1ae6
lea rcx, [rsp + 0x100]
call sub.MSVCR90.dll_strlen
movsx eax, byte [rsp + rax + 0xff]
sub eax, 0x30
mov dword [rsp + 0x214], eax
mov dword [rsp + 0x218], 0
jmp 0x1400a1a67
mov eax, dword [rsp + 0x218]
add eax, 1
mov dword [rsp + 0x218], eax
lea rcx, [0x1403abf80]
add rcx, 8
call fcn.140053940
cmp dword [rsp + 0x218], eax
jge 0x1400a1ae6
movsxd rdx, dword [rsp + 0x218]
lea rcx, [0x1403abf80]
add rcx, 8
call fcn.140053970
mov rcx, rax
add rcx, 0x58
xor edx, edx
call fcn.14001a940
mov eax, dword [rax + 8]
cmp dword [rsp + 0x214], eax
jne 0x1400a1ae1
movsxd rdx, dword [rsp + 0x218]
lea rcx, [0x1403abf80]
add rcx, 8
call fcn.140053970
mov rcx, rax
add rcx, 8
lea rdx, [rsp + 0xf0]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
jmp 0x1400a1ae6
jmp 0x1400a1a56
jmp 0x1400a194c
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x60]
call fcn.140059de0
mov dword [rsp + 0x58], 0
jmp 0x1400a1b12
mov eax, dword [rsp + 0x58]
add eax, 1
mov dword [rsp + 0x58], eax
lea rcx, [0x1403abf80]
add rcx, 8
call fcn.140053940
cmp dword [rsp + 0x58], eax
jge 0x1400a1c39
movsxd rdx, dword [rsp + 0x58]
lea rcx, [0x1403abf80]
add rcx, 8
call fcn.140053970
mov dword [rax], 0x101
mov ecx, 0xb8
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x228], rax
cmp qword [rsp + 0x228], 0
je 0x1400a1b7b
mov rcx, qword [rsp + 0x228]
call fcn.140056900
mov qword [rsp + 0x298], rax
jmp 0x1400a1b87
mov qword [rsp + 0x298], 0
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x220], rax
movsxd rdx, dword [rsp + 0x58]
lea rcx, [0x1403abf80]
add rcx, 8
call fcn.140053970
mov rdx, rax
mov rax, qword [rsp + 0x220]
mov qword [rdx + 0x98], rax
movsxd rdx, dword [rsp + 0x58]
lea rcx, [0x1403abf80]
add rcx, 8
call fcn.140053970
cmp qword [rax + 0x98], 0
je 0x1400a1c34
movsxd rdx, dword [rsp + 0x58]
lea rcx, [0x1403abf80]
add rcx, 8
call fcn.140053970
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x2a0], rax
movsxd rdx, dword [rsp + 0x58]
lea rcx, [0x1403abf80]
add rcx, 8
call fcn.140053970
mov rdx, rax
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax]
mov r8d, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x2a0]
call qword [rax + 0x48]
jmp 0x1400a1b07
lea rcx, [0x1403abf80]
add rcx, 8
call fcn.140053940
sub rax, 1
mov dword [rsp + 0x21c], eax
jmp 0x1400a1c67
mov eax, dword [rsp + 0x21c]
sub eax, 1
mov dword [rsp + 0x21c], eax
cmp dword [rsp + 0x21c], 0
jl 0x1400a1d33
movsxd rdx, dword [rsp + 0x21c]
lea rcx, [0x1403abf80]
add rcx, 8
call fcn.140053970
cmp qword [rax + 0x98], 0
jne 0x1400a1d2e
movsxd rdi, dword [rsp + 0x21c]
lea rcx, [0x1403abf80]
add rcx, 8
lea rdx, [rsp + 0x240]
call fcn.140116ce0
mov r8, rdi
lea rdx, [rsp + 0x250]
mov rcx, rax
call fcn.140054cb0
lea rdi, [rsp + 0x280]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x230]
lea rsi, [rsp + 0x280]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x270]
lea rsi, [rsp + 0x230]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [0x1403abf80]
add rcx, 8
lea r8, [rsp + 0x270]
lea rdx, [rsp + 0x260]
call fcn.1400a77b0
jmp 0x1400a1c56
mov rax, qword [rsp + 0x2d0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x2d0]
call qword [rax + 0x28]
nop
lea rcx, [rsp + 0x68]
call fcn.14009e5a0
nop
lea rcx, [rsp + 0x20]
call fcn.14009e5a0
nop
lea rcx, [rsp + 0xb8]
call fcn.14009e5a0
nop
lea rcx, [rsp + 0x60]
call fcn.140059bb0
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.14012bc90
add rsp, 0x2b8
pop rdi
pop rsi
ret