Function at 0x14009b800
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, rcx
xor ebp, ebp
mov r12, rbp
call fcn.1400494c0
mov rsi, rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
mov ebx, ebp
test rdi, rdi
setne bl
test ebx, ebx
jne 0x14009b95c
xor edx, edx
mov r8d, 0x80
lea rsi, [0x1404341a0]
mov rcx, rsi
call sub.ntdll.dll_memset
lea edx, [rbp + 0x5c]
lea rcx, str...helper.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x14009b933
mov byte [rsp + 0xa0], bl
xor eax, eax
mov qword [rsp + 0xa1], rax
mov word [rsp + 0xa9], ax
mov byte [rsp + 0xab], al
mov r8d, Ordinal_598
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rsi
sub rcx, rdx
nop
nop
nop
movzx eax, byte [rdx]
mov byte [rdx + rcx], al
add rdx, 1
test al, al
jne 0x14009b8f0
mov rdi, rsi
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xa0]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x14009b920
mov rbp, rsi
call fcn.140049470
mov rdi, qword [rax]
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea r8, [0x1402e2dd0]
lea rdx, str._s_return_code:_0x_08X___s.
mov rcx, rax
call qword [rdi + 0x10]
jmp 0x14009bc4c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov r12, rax
mov qword [rsp + 0x58], rax
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x20]
movsxd rsi, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov r15d, eax
mov ebx, ebp
test eax, eax
setne bl
test ebx, ebx
jne 0x14009b9cb
mov edx, reloc.MFC80U.DLL_Ordinal_599
lea rcx, str...helper.cpp
call fcn.140099de0
mov rdi, rax
call fcn.140049470
mov r10, qword [rax]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, str.dwLocalDrv_0
lea rdx, str._s_return_code:_0x_08X___s.
mov rcx, rax
call qword [r10 + 0x10]
jmp 0x14009bc4c
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x78]
mov r13, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov rdi, rax
mov rdx, qword [r13]
mov rcx, r13
call qword [rdx + 0x40]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov dword [rsp + 0x50], eax
mov r14, rsi
test rdi, rdi
je 0x14009bbcb
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x78]
test al, al
je 0x14009bb6c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
cmp ax, 0x2a
je 0x14009bb6c
lea ecx, [rax - 0x41]
mov edx, 1
shl edx, cl
test r15d, edx
je 0x14009bb6c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xd0]
test eax, eax
je 0x14009ba57
test r14, r14
je 0x14009bb6c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x38]
mov rdx, rax
mov ecx, dword [rsp + 0x50]
call fcn.140099ed0
mov r12, rax
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14009baaf
mov rdx, rdi
sub rdx, rbx
sar rdx, 3
mov rcx, qword [rsp + 0x48]
sub rcx, rbx
sar rcx, 3
cmp rdx, rcx
jae 0x14009baaf
mov qword [rdi], rax
lea rax, [rdi + 8]
mov qword [rsp + 0x40], rax
jmp 0x14009bb5f
mov rsi, rdi
cmp rbx, rdi
jbe 0x14009bac7
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rsi
test rbx, rbx
je 0x14009bafb
mov rax, rdi
sub rax, rbx
sar rax, 3
je 0x14009bafb
cmp rbx, rdi
jbe 0x14009baf2
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub rsi, rbx
sar rsi, 3
jmp 0x14009bafe
mov rsi, rbp
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x90], xmm0
lea r9, [rsp + 0x60]
mov r8d, 1
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.140061590
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
mov rax, qword [rsp + 0x40]
cmp rdx, rax
jbe 0x14009bb4b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
lea rcx, [rdi + rsi*8]
cmp rcx, rax
ja 0x14009bb59
cmp rcx, rdx
jae 0x14009bb5f
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, ebp
cmp r12, 0xffffffffffffffff
setne bl
test ebx, ebx
je 0x14009bb83
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x38]
mov rdi, rax
test rax, rax
je 0x14009bbc6
jmp 0x14009ba07
mov edx, Ordinal_632
lea rcx, str...helper.cpp
call fcn.140099de0
mov rdi, rax
call fcn.140049470
mov r10, qword [rax]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, str.hLock_INVALID_HANDLE_VALUE
lea rdx, str._s_return_code:_0x_08X___s.
mov rcx, rax
call qword [r10 + 0x10]
mov r12, qword [rsp + 0x58]
jmp 0x14009bc4c
mov r12, qword [rsp + 0x58]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x10]
mov rax, qword [r13]
xor edx, edx
mov rcx, r13
call qword [rax + 0x88]
mov rax, qword [r13]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, r13
call qword [rax + 0x58]
test eax, eax
jne 0x14009bc48
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x68]
mov ebx, eax
test eax, eax
jne 0x14009bcae
mov edx, Ordinal_642
lea rcx, str...helper.cpp
call fcn.140099de0
mov rdi, rax
call fcn.140049470
mov r10, qword [rax]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, str.pPartMgr__UpdatePartTable2__
lea rdx, str._s_return_code:_0x_08X___s.
mov rcx, rax
call qword [r10 + 0x10]
jmp 0x14009bc4c
test ebx, ebx
jne 0x14009bcae
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
cmp rdi, rax
jbe 0x14009bc66
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x40]
mov rsi, rax
cmp qword [rsp + 0x38], rax
jbe 0x14009bc7b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x40]
cmp rdi, rsi
je 0x14009bcae
cmp rdi, rax
jb 0x14009bc8b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rcx, qword [rdi]
call fcn.14009a040
mov rax, qword [rsp + 0x40]
cmp rdi, rax
jb 0x14009bca8
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x40]
add rdi, 8
jmp 0x14009bc66
test r12, r12
je 0x14009bcbd
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
nop
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x14009bcd3
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_776
mov eax, ebx
jmp 0x14009bcd5
mov eax, ebx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret