Function at 0x14003d5f0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140197b10]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x38], rcx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x38]
call fcn.140029d28
or r8d, 0xffffffff
lea rdx, [rsp + 0x38]
lea rcx, str.force
call fcn.140065780
mov bpl, al
mov dword [rsp + 0x30], edi
lea r15d, [rdi + 1]
mov r8d, r15d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140036bcc
mov qword [rsp + 0x48], rax
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.1400712b0
nop
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
lea ebx, [rdi + 9]
lea ecx, [rdi + 2]
lea edx, [rdi + 0x20]
cmp bx, word [rax]
ja 0x14003d6b7
cmp word [rax], 0xd
jbe 0x14003d6bc
cmp dx, word [rax]
jne 0x14003d6fe
mov word [rax], di
add qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x48]
call fcn.140029d28
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140066e10
mov r11, qword [rsp + 0x48]
movzx eax, word [r11]
sub ax, 0x30
cmp ax, bx
ja 0x14003d6fe
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140066e10
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x60]
cmovl rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
cmp rax, rdi
jge 0x14003d722
mov edi, 0x80070057
jmp 0x14003db48
call fcn.140030818
cmp qword [rsp + 0x40], rdi
jg 0x14003d733
jmp 0x14003db48
cmp bpl, dil
jne 0x14003d744
cmp rax, qword [rsp + 0x40]
jb 0x14003d744
jmp 0x14003db48
mov edx, 0xe52
lea rcx, [rsp + 0x58]
call fcn.140063580
nop
mov rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x38]
movzx ecx, word [rax]
mov word [rbx], cx
mov rax, qword [rsp + 0x38]
movzx ecx, word [rax + 2]
mov word [rbx + 2], cx
mov word [rbx + 4], di
mov rax, qword [rsp + 0x58]
lea r13, [rax + 0x430]
lea rsi, [rax + 0x638]
mov word [rsi], di
mov rcx, rbx
call fcn.14002b550
cmp bpl, dil
jne 0x14003d7d4
mov eax, eax
cmp rax, qword [rsp + 0x40]
jge 0x14003d7d4
mov word [rsp + 0xb0], di
xor eax, eax
mov dword [rsp + 0xb2], eax
lea r8, [rsp + 0xb0]
mov edx, dword [rsp + 0x40]
mov rcx, rbx
call fcn.14002bc1c
movsxd rcx, eax
movzx eax, word [rsp + rcx*2 + 0xb0]
mov word [rbx], ax
movzx ecx, word [rbx]
cmp cx, di
je 0x14003db3a
mov rax, qword [rsp + 0x38]
mov word [rax], cx
mov rdx, qword [rsp + 0x38]
add rdx, 4
lea rcx, [rbx + 0x228]
call fcn.14010da10
mov ebp, 0x104
mov r8d, ebp
lea rdx, [rbx + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea rdx, [rbx + 0x228]
lea rcx, [rbx + 0x20]
call fcn.14010d9e4
mov r8d, ebp
lea rdx, [rbx + 0x20]
mov rcx, r13
call qword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov rcx, r13
call fcn.14010d9c8
add ax, ax
mov word [rsp + 0x98], ax
mov ebp, 2
add ax, bp
mov word [rsp + 0x9a], ax
mov qword [rsp + 0xa0], r13
mov rax, qword [rsp + 0x60]
shl rax, 0x14
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x40]
shl rax, 0x14
mov qword [rsp + 0x80], rax
lea rcx, str.NTDLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtCreatePagingFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
cmp rax, rdi
jne 0x14003d8b7
lea rcx, [rsp + 0x58]
call fcn.14005b520
nop
mov edi, r15d
jmp 0x14003db48
mov edx, ebp
lea rcx, str.SeCreatePagefilePrivilege
call fcn.14002e788
xor r9d, r9d
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x98]
call rbx
mov r15d, eax
mov dword [rsp + 0xb0], eax
cmp eax, edi
jne 0x14003db2a
mov dword [rsp + 0x30], 0x1450
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, str.PagingFiles
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
mov rcx, 0xffffffff80000002
call qword [0x14019bf60]
cmp eax, edi
je 0x14003d93c
mov ecx, edi
mov dword [rsp + 0x30], ecx
mov word [rsi + 0x208], di
jmp 0x14003d975
mov ecx, dword [rsp + 0x30]
shr ecx, 1
mov dword [rsp + 0x30], ecx
je 0x14003d975
lea edx, [rcx - 1]
cmp word [rsi + rdx*2], di
jne 0x14003d95b
mov ecx, edx
mov dword [rsp + 0x30], edx
cmp edx, edi
ja 0x14003d948
cmp ecx, edi
jbe 0x14003d975
mov eax, ecx
cmp word [rsi + rax*2], di
je 0x14003d975
mov word [rsi + rax*2], di
mov ecx, dword [rsp + 0x30]
inc ecx
mov dword [rsp + 0x30], ecx
mov eax, ecx
mov word [rsi + rax*2], di
mov eax, dword [rsp + 0x30]
lea r13, [rsi + rax*2]
mov qword [rsp + 0x88], r13
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
mov dword [rsp + 0x70], eax
lea edx, [rax + 0x3c]
lea rcx, [rsp + 0x68]
call fcn.140063580
nop
mov rbx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x38]
lea rdx, [0x140149ec8]
mov rcx, rbx
call fcn.140029bc4
movsxd rcx, eax
lea rcx, [rbx + rcx*2]
lea r8, [0x140149eb8]
mov rdx, qword [rsp + 0x60]
call fcn.140062c40
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.140062c70
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [rax + 1]
mov dword [rsp + 0x74], ebx
mov r12d, edi
mov r14d, edi
lea rcx, [rsp + 0x50]
call fcn.140063500
nop
mov r15d, 9
cmp rsi, r13
jae 0x14003da5f
mov r8d, ebp
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
cmp eax, edi
jne 0x14003da4e
movsxd rax, ebp
cmp r15w, word [rsi + rax*2]
ja 0x14003da3c
cmp word [rsi + rax*2], 0xd
jbe 0x14003da47
mov ecx, 0x20
cmp cx, word [rsi + rax*2]
jne 0x14003da4e
cmp r14d, edi
je 0x14003da64
jmp 0x14003dab5
mov r13, rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebp, [rax + 1]
jmp 0x14003da71
cmp r14d, edi
jne 0x14003dacb
mov r13, qword [rsp + 0x68]
mov ebp, ebx
mov r14d, 1
lea ebx, [rbp + r12]
lea edx, [rbx + 2]
lea rcx, [rsp + 0x50]
call fcn.1400635c0
movsxd r8, ebp
add r8, r8
movsxd rcx, r12d
mov rax, qword [rsp + 0x50]
lea rcx, [rax + rcx*2]
mov rdx, r13
call fcn.14010cd30
mov r12d, ebx
mov r13, qword [rsp + 0x88]
cmp rsi, r13
mov ebx, dword [rsp + 0x74]
jae 0x14003da5f
mov ebp, dword [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea rsi, [rsi + rax*2]
jmp 0x14003da11
movsxd r9, r12d
mov rax, qword [rsp + 0x50]
mov word [rax + r9*2], di
lea eax, [r12 + r12 + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 7
lea r8, str.PagingFiles
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
mov rcx, 0xffffffff80000002
call qword [0x14019c378]
nop
lea rcx, [rsp + 0x50]
call fcn.14005b520
nop
lea rcx, [rsp + 0x68]
call fcn.14005b520
mov r15d, dword [rsp + 0xb0]
lea rcx, [rsp + 0x58]
call fcn.14005b520
nop
mov edi, r15d
jmp 0x14003db48
lea rcx, [rsp + 0x58]
call fcn.14005b520
nop
mov edi, r15d
lea rcx, [rsp + 0x78]
call fcn.14005b520
mov eax, edi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14010bcc0
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