Function at 0x14002e86c
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 + 0x40], rdi
mov qword [rsp + 0x30], rdi
call fcn.1400157dc
lea rdx, [rsp + 0xf0]
lea rcx, [0x1400fdd9c]
or r8d, 0xffffffff
call fcn.14005c928
lea r15d, [rdi + 1]
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0xf0]
mov r8d, r15d
mov qword [rsp + 0xf8], rdi
mov bpl, al
call fcn.1400256a8
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rax
call fcn.140064d38
mov r11, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
lea ebx, [rdi + 9]
mov qword [rsp + 0xf0], r11
lea eax, [rdi + 2]
lea edx, [rdi + 0x20]
cmp bx, word [rcx]
ja 0x14002e91f
cmp word [rcx], 0xd
jbe 0x14002e924
cmp dx, word [rcx]
jne 0x14002e971
mov word [rcx], di
add qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.1400157dc
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.140068cb4
mov r11, qword [rsp + 0x38]
movzx eax, word [r11]
sub ax, 0x30
cmp ax, bx
jbe 0x14002e962
mov eax, 0x28
cmp ax, word [r11]
jne 0x14002e971
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140068cb4
mov rax, qword [rsp + 0x30]
cmp rax, qword [rsp + 0x40]
cmovl rax, qword [rsp + 0x40]
cmp rax, rdi
mov qword [rsp + 0x30], rax
jge 0x14002e997
mov rdi, 0xffffffff80070057
jmp 0x14002edc2
call fcn.14001c7ac
cmp qword [rsp + 0x30], rdi
jle 0x14002edc2
cmp bpl, dil
jne 0x14002e9b7
cmp rax, qword [rsp + 0x30]
jae 0x14002edc2
lea rcx, [rsp + 0x50]
mov edx, 0xe52
call fcn.14005a1c4
mov rax, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0x50]
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 + 0x50]
mov rcx, rbx
lea rsi, [rax + 0x638]
lea r13, [rax + 0x430]
mov word [rsi], di
call fcn.140017168
cmp bpl, dil
jne 0x14002ea4c
mov eax, eax
cmp rax, qword [rsp + 0x30]
jge 0x14002ea4c
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.140017b00
movsxd rcx, eax
movzx eax, word [rsp + rcx*2 + 0xf8]
mov word [rbx], ax
movzx ecx, word [rbx]
cmp cx, di
je 0x14002edb5
mov rax, qword [rsp + 0xf0]
mov word [rax], cx
mov rdx, qword [rsp + 0xf0]
lea rcx, [rbx + 0x228]
add rdx, 4
call fcn.1400ddfb8
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.1400ddf8c
lea rdx, [rbx + 0x20]
mov r8d, ebp
mov rcx, r13
call qword [sym.imp.SHLWAPI.DLL_StrCpyNW]
mov rcx, r13
call fcn.1400ddf70
mov ebp, 2
lea rcx, [0x1400fb8f0]
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 + 0x40]
shl rax, 0x14
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
shl rax, 0x14
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
lea rdx, [0x1400fdd88]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rbx, rax
cmp rax, rdi
je 0x14002edb5
lea rcx, [0x1400fdd50]
xor r8d, r8d
mov edx, ebp
call fcn.14001a1f0
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x88]
xor r9d, r9d
call rbx
movsxd r15, eax
mov qword [rsp + 0x78], r15
cmp r15, rdi
jne 0x14002edb5
lea rax, [rsp + 0xf8]
lea r8, [0x1400fdd38]
lea rdx, [0x1400fdcb0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0xf8], 0x1450
call fcn.1400533dc
cmp eax, edi
je 0x14002eba8
mov ecx, edi
mov word [rsi + 0x208], di
jmp 0x14002ebe9
mov ecx, dword [rsp + 0xf8]
shr ecx, 1
mov dword [rsp + 0xf8], ecx
je 0x14002ebf0
lea edx, [rcx - 1]
cmp word [rsi + rdx*2], di
jne 0x14002ebd0
mov ecx, edx
mov dword [rsp + 0xf8], edx
cmp edx, edi
ja 0x14002ebba
cmp ecx, edi
jbe 0x14002ebf0
mov eax, ecx
cmp word [rsi + rax*2], di
je 0x14002ebf0
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 + 0x70], r13
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
lea ecx, [rax + 0x3c]
mov ebp, eax
mov dword [rsp + 0x108], eax
movsxd rdx, ecx
lea rcx, [rsp + 0x58]
call fcn.14005a1c4
mov rbx, qword [rsp + 0x58]
mov r8, qword [rsp + 0xf0]
lea rdx, [0x1400fdca8]
mov rcx, rbx
call fcn.1400157b8
mov rdx, qword [rsp + 0x40]
lea r8, [0x1400fdc98]
movsxd rcx, eax
lea rcx, [rbx + rcx*2]
call fcn.1400c90a4
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.1400c90d4
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.14005a150
mov r15d, 9
cmp rsi, r13
jae 0x14002ecea
mov rdx, qword [rsp + 0xf0]
mov r8d, ebp
mov rcx, rsi
call qword [sym.imp.SHLWAPI.DLL_StrCmpNIW]
cmp eax, edi
jne 0x14002ecd9
movsxd rax, ebp
cmp r15w, word [rsi + rax*2]
ja 0x14002ecc7
cmp word [rsi + rax*2], 0xd
jbe 0x14002ecd2
mov ecx, 0x20
cmp cx, word [rsi + rax*2]
jne 0x14002ecd9
cmp r14d, edi
je 0x14002ecef
jmp 0x14002ed46
mov rcx, rsi
mov r13, rsi
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
lea ebp, [rax + 1]
jmp 0x14002ecfc
cmp r14d, edi
jne 0x14002ed5c
mov r13, qword [rsp + 0x58]
mov ebp, ebx
mov r14d, 1
lea ebx, [rbp + r12]
lea rcx, [rsp + 0x48]
lea eax, [rbx + 2]
movsxd rdx, eax
call fcn.14005a250
mov rax, qword [rsp + 0x48]
movsxd rcx, r12d
movsxd r8, ebp
lea rcx, [rax + rcx*2]
mov rdx, r13
add r8, r8
call fcn.14001b7a8
mov r13, qword [rsp + 0x70]
mov r12d, ebx
mov ebx, dword [rsp + 0x100]
cmp rsi, r13
jae 0x14002ecea
mov ebp, dword [rsp + 0x108]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
movsxd rcx, eax
lea rsi, [rsi + rcx*2 + 2]
jmp 0x14002ec99
mov rax, qword [rsp + 0x48]
movsxd r9, r12d
lea r8, [0x1400fdd38]
mov word [rax + r9*2], di
lea eax, [r12 + r12 + 2]
lea rdx, [0x1400fdcb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov r9d, 7
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call fcn.14005349c
lea rcx, [rsp + 0x48]
call fcn.140052160
lea rcx, [rsp + 0x58]
call fcn.140052160
mov r15, qword [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.140052160
mov rdi, r15
lea rcx, [rsp + 0x60]
call fcn.140052160
mov rax, rdi
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret