Function at 0x140027d54
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
xor edi, edi
lea rcx, [rax + 8]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x30], rdi
call fcn.140011910
lea rdx, [rsp + 0xf0]
lea rcx, str.force
or r8d, 0xffffffff
call fcn.14004e558
lea r15d, [rdi + 1]
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0xf0]
mov r8d, r15d
mov dword [rsp + 0xf8], edi
mov bpl, al
call fcn.140020840
mov r8d, dword [rsp + 0xf8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x38], rax
call fcn.140058944
mov r11, qword [rsp + 0x68]
mov rax, qword [rsp + 0x38]
lea ebx, [rdi + 9]
mov qword [rsp + 0xf0], r11
lea ecx, [rdi + 2]
lea edx, [rdi + 0x20]
cmp bx, word [rax]
ja 0x140027e06
cmp word [rax], 0xd
jbe 0x140027e0b
cmp dx, word [rax]
jne 0x140027e4d
mov word [rax], di
add qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x38]
call fcn.140011910
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14004fbd8
mov r11, qword [rsp + 0x38]
movzx eax, word [r11]
sub ax, 0x30
cmp ax, bx
ja 0x140027e4d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14004fbd8
mov rax, qword [rsp + 0x30]
cmp rax, qword [rsp + 0x50]
cmovl rax, qword [rsp + 0x50]
cmp rax, rdi
mov qword [rsp + 0x30], rax
jge 0x140027e71
mov edi, 0x80070057
jmp 0x140028291
call fcn.140017f00
cmp qword [rsp + 0x30], rdi
jle 0x140028291
cmp bpl, dil
jne 0x140027e91
cmp rax, qword [rsp + 0x30]
jae 0x140028291
lea rcx, [rsp + 0x40]
mov edx, 0xe52
call fcn.14004bedc
mov rax, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0x40]
movzx ecx, word [rax]
mov word [rbx], cx
mov rax, qword [rsp + 0xf0]
movzx ecx, word [rax + 2]
mov word [rbx + 4], di
mov word [rbx + 2], cx
mov rax, qword [rsp + 0x40]
mov rcx, rbx
lea rsi, [rax + 0x638]
lea r13, [rax + 0x430]
mov word [rsi], di
call fcn.140012e68
cmp bpl, dil
jne 0x140027f26
mov eax, eax
cmp rax, qword [rsp + 0x30]
jge 0x140027f26
mov edx, dword [rsp + 0x30]
xor eax, eax
lea r8, [rsp + 0xf8]
mov rcx, rbx
mov word [rsp + 0xf8], di
mov dword [rsp + 0xfa], eax
call fcn.140013a10
movsxd rcx, eax
movzx eax, word [rsp + rcx*2 + 0xf8]
mov word [rbx], ax
movzx ecx, word [rbx]
cmp cx, di
je 0x140028284
mov rax, qword [rsp + 0xf0]
mov word [rax], cx
mov rdx, qword [rsp + 0xf0]
lea rcx, [rbx + 0x228]
add rdx, 4
call fcn.1400b9a6c
mov ebp, 0x104
lea rdx, [rbx + 0x20]
mov r8d, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea rdx, [rbx + 0x228]
lea rcx, [rbx + 0x20]
call fcn.1400b9a40
lea rdx, [rbx + 0x20]
mov r8d, ebp
mov rcx, r13
call qword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov rcx, r13
call fcn.1400b9a24
mov ebp, 2
lea rcx, str.NTDLL
add ax, ax
mov qword [rsp + 0x90], r13
mov word [rsp + 0x88], ax
add ax, bp
mov word [rsp + 0x8a], ax
mov rax, qword [rsp + 0x50]
shl rax, 0x14
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x30]
shl rax, 0x14
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtCreatePagingFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
cmp rax, rdi
je 0x140028284
lea rcx, str.SeCreatePagefilePrivilege
mov edx, ebp
call fcn.140016130
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x88]
xor r9d, r9d
call rbx
mov r15d, eax
mov dword [rsp + 0x60], eax
cmp eax, edi
jne 0x140028284
lea rax, [rsp + 0xf8]
lea r8, str.PagingFiles
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0xf8], 0x1450
call fcn.140045db0
cmp eax, edi
je 0x14002807d
mov ecx, edi
mov word [rsi + 0x208], di
jmp 0x1400280be
mov ecx, dword [rsp + 0xf8]
shr ecx, 1
mov dword [rsp + 0xf8], ecx
je 0x1400280c5
lea edx, [rcx - 1]
cmp word [rsi + rdx*2], di
jne 0x1400280a5
mov ecx, edx
mov dword [rsp + 0xf8], edx
cmp edx, edi
ja 0x14002808f
cmp ecx, edi
jbe 0x1400280c5
mov eax, ecx
cmp word [rsi + rax*2], di
je 0x1400280c5
mov word [rsi + rax*2], di
mov ecx, dword [rsp + 0xf8]
inc ecx
mov dword [rsp + 0xf8], ecx
mov eax, ecx
mov word [rsi + rax*2], di
mov eax, dword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
lea r13, [rsi + rax*2]
mov qword [rsp + 0x78], r13
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x58]
lea edx, [rax + 0x3c]
mov ebp, eax
mov dword [rsp + 0x108], eax
call fcn.14004bedc
mov rbx, qword [rsp + 0x58]
mov r8, qword [rsp + 0xf0]
lea rdx, [0x1400d9d38]
mov rcx, rbx
call fcn.1400118ec
mov rdx, qword [rsp + 0x50]
lea r8, [0x1400d9d28]
movsxd rcx, eax
lea rcx, [rbx + rcx*2]
call fcn.1400a9320
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.1400a9350
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x48]
mov r12d, edi
lea ebx, [rax + 1]
mov r14d, edi
mov dword [rsp + 0x100], ebx
call fcn.14004be6c
mov r15d, 9
cmp rsi, r13
jae 0x1400281bc
mov rdx, qword [rsp + 0xf0]
mov r8d, ebp
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
cmp eax, edi
jne 0x1400281ab
movsxd rax, ebp
cmp r15w, word [rsi + rax*2]
ja 0x140028199
cmp word [rsi + rax*2], 0xd
jbe 0x1400281a4
mov ecx, 0x20
cmp cx, word [rsi + rax*2]
jne 0x1400281ab
cmp r14d, edi
je 0x1400281c1
jmp 0x140028215
mov rcx, rsi
mov r13, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebp, [rax + 1]
jmp 0x1400281ce
cmp r14d, edi
jne 0x14002822b
mov r13, qword [rsp + 0x58]
mov ebp, ebx
mov r14d, 1
lea ebx, [rbp + r12]
lea rcx, [rsp + 0x48]
lea edx, [rbx + 2]
call fcn.14004bf70
mov rax, qword [rsp + 0x48]
movsxd rcx, r12d
movsxd r8, ebp
lea rcx, [rax + rcx*2]
mov rdx, r13
add r8, r8
call fcn.1400177f8
mov r13, qword [rsp + 0x78]
mov r12d, ebx
mov ebx, dword [rsp + 0x100]
cmp rsi, r13
jae 0x1400281bc
mov ebp, dword [rsp + 0x108]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea rsi, [rsi + rax*2]
jmp 0x14002816b
mov rax, qword [rsp + 0x48]
movsxd r9, r12d
lea r8, str.PagingFiles
mov word [rax + r9*2], di
lea eax, [r12 + r12 + 2]
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov r9d, 7
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call fcn.140045e70
lea rcx, [rsp + 0x48]
call fcn.140044f24
lea rcx, [rsp + 0x58]
call fcn.140044f24
mov r15d, dword [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140044f24
mov edi, r15d
lea rcx, [rsp + 0x68]
call fcn.140044f24
mov eax, edi
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret