Function at 0x14002f518
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
xor edi, edi
mov r15, rcx
lea rcx, [rsp + 0x38]
mov r14d, edi
mov ebp, edi
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x30], rdi
call fcn.1400632a0
mov rcx, qword [rsp + 0xf8]
lea edx, [rdi + 0x2d]
mov qword [rsp + 0x90], rdi
lea esi, [rdi + 2]
lea ebx, [rdi + 0xd]
cmp dx, word [rcx]
jne 0x14002f744
lea r12d, [rdi + 9]
lea r13d, [rdi + 0x3a]
lea r15d, [rdi + 1]
lea rdx, [rsp + 0xf8]
lea rcx, [0x14011dd0c]
or r8d, 0xffffffff
call fcn.140065d7c
cmp al, dil
je 0x14002f5ae
mov r14d, r15d
jmp 0x14002f726
lea rdx, [rsp + 0xf8]
lea rcx, [0x1401214f4]
or r8d, 0xffffffff
call fcn.140065d7c
cmp al, dil
je 0x14002f5d3
mov ebp, r15d
jmp 0x14002f726
mov rdx, qword [rsp + 0xf8]
lea rcx, [0x1401214f0]
mov r8d, esi
add rdx, rsi
call fcn.14005c4dc
cmp al, dil
je 0x14002f6e7
mov rax, qword [rsp + 0xf8]
mov ebp, 3
add rax, 6
mov qword [rsp + 0xf8], rax
mov rbx, rax
mov qword [rsp + 0x88], rax
movzx ecx, word [rax]
cmp cx, di
je 0x14002f65f
lea edx, [rbp + 0xa]
lea r8d, [rbp + 0x1d]
cmp r12w, cx
ja 0x14002f634
cmp cx, dx
jbe 0x14002f64f
cmp r8w, cx
je 0x14002f64f
add rax, rsi
mov qword [rsp + 0xf8], rax
mov cx, word [rax]
cmp cx, di
je 0x14002f65f
jmp 0x14002f629
cmp word [rax], di
je 0x14002f65f
mov word [rax], di
add qword [rsp + 0xf8], rsi
lea rcx, [rsp + 0x30]
mov edx, r13d
mov qword [rsp + 0x30], rbx
call fcn.1400e8c3c
mov rcx, qword [rsp + 0x30]
cmp word [rcx], di
je 0x14002f6b1
mov word [rcx], di
mov rax, qword [rsp + 0x30]
add rax, rsi
mov qword [rsp + 0x30], rax
cmp word [rax], di
je 0x14002f6b1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x70], rax
call fcn.1400e8c3c
mov rcx, qword [rsp + 0x30]
cmp word [rcx], di
je 0x14002f6b1
mov word [rcx], di
add qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.14001dee0
mov rcx, qword [rsp + 0xf8]
mov ebx, 0xd
cmp r12w, word [rcx]
ja 0x14002f6db
cmp word [rcx], bx
jbe 0x14002f6ef
mov edx, 0x20
cmp dx, word [rcx]
jne 0x14002f72e
jmp 0x14002f711
mov rcx, qword [rsp + 0xf8]
mov edx, 0x20
jmp 0x14002f711
cmp r12w, ax
ja 0x14002f701
cmp ax, bx
jbe 0x14002f719
cmp dx, ax
je 0x14002f719
add rcx, rsi
mov qword [rsp + 0xf8], rcx
movzx eax, word [rcx]
cmp ax, di
jne 0x14002f6f6
lea rcx, [rsp + 0xf8]
call fcn.1400170fc
mov rcx, qword [rsp + 0xf8]
mov eax, 0x2d
cmp ax, word [rcx]
je 0x14002f589
mov r15, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [rax + 0x84]
lea ecx, [rbx + 0x325]
movsxd rdx, ecx
lea rcx, [rsp + 0x48]
call fcn.140063314
mov r13, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xf8]
movsxd rax, ebx
mov qword [rsp + 0x50], rdi
mov r12d, 0x5c
lea rbx, [r13 + rax*2]
cmp ebp, edi
jne 0x14002f862
cmp word [rcx], r12w
jne 0x14002f862
xor edx, edx
add rcx, rsi
movzx r12d, di
lea r8d, [rdx + 0x2c]
mov qword [rsp + 0xf8], rcx
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
mov rbp, rax
cmp rax, rdi
je 0x14002f7d1
add rbp, rsi
mov word [rax], di
mov rcx, rbp
call qword [sym.imp.USER32.dll_CharUpperW]
cmp word [rbp], di
cmovne r12w, word [rbp]
mov rcx, qword [rsp + 0xf8]
call fcn.14001be60
mov rdx, rbx
mov ecx, 0x324
mov qword [rsp + 0xf8], rax
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [rbx], di
je 0x14002fcde
mov ebp, 1
cmp word [rbx], r12w
jb 0x14002f84a
mov r9, qword [rsp + 0xf8]
lea rdx, str._s_sFonts
mov r8, rbx
mov rcx, r13
call fcn.1400170d8
mov rcx, r13
call fcn.1401011a0
cmp eax, edi
je 0x14002f84a
lea rdx, [0x140120298]
mov rcx, r13
call fcn.1401024ac
mov edx, r14d
mov rcx, r13
call fcn.14002f3a0
mov esi, eax
mov rcx, rbx
call fcn.140102490
add eax, ebp
lea rbx, [rbx + rax*2]
cmp word [rbx], di
jne 0x14002f802
jmp 0x14002fcde
call fcn.14001be60
mov qword [rsp + 0xf8], rax
cmp ebp, edi
je 0x14002fbf7
cmp r14d, edi
je 0x14002f8af
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xf8]
call fcn.1400679a0
mov rcx, qword [rsp + 0x50]
cmp rcx, rdi
je 0x14002fa96
call qword [sym.imp.GDI32.dll_RemoveFontMemResourceEx]
cmp eax, edi
je 0x14002fa96
jmp 0x14002fa07
lea rcx, [rsp + 0x58]
call fcn.140062fc4
lea rcx, [rsp + 0xf8]
mov edx, 1
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x80], rdi
call fcn.140079bb0
mov qword [rsp + 0x98], rax
cmp rax, rdi
je 0x14002f9d6
mov ecx, 0x23
cmp cx, word [rax]
jne 0x14002f9d6
mov rbp, qword [rsp + 0xf8]
mov r13, rax
add rax, rsi
lea r8, str.FONT
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x98], rax
call fcn.1400d0498
mov rcx, qword [0x14013cf70]
movzx r14d, word [r13]
mov r15, rax
mov eax, 0x2e
mov word [r13], di
mov rbx, rdi
mov r12, rdi
cmp ax, word [rbp]
jne 0x14002f962
cmp word [rbp + 2], di
jne 0x14002f962
mov rcx, qword [0x14013ca68]
jmp 0x14002f97c
cmp word [rbp], di
je 0x14002f97c
mov r8d, esi
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
mov rcx, rax
mov word [r13], r14w
cmp rcx, rdi
je 0x14002f9a3
mov rdx, qword [rsp + 0x80]
lea r9, [rsp + 0x58]
mov r8, r15
mov qword [rsp + 0x20], rdi
call fcn.14001ea88
mov r12, rax
cmp rbx, rdi
je 0x14002f9b1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp r12, rdi
jne 0x14002f9c7
lea rcx, [rsp + 0x58]
call fcn.14005aef8
mov edi, 1
jmp 0x14002fa07
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0xf0]
jmp 0x14002f9eb
mov rcx, qword [rsp + 0xf8]
lea rdx, [rsp + 0x58]
call fcn.14001e2b0
mov rbx, rax
mov r12d, 0xa
cmp rbx, r12
jg 0x14002fa23
lea rcx, [rsp + 0x58]
call fcn.14005aef8
mov rdi, 0xffffffff80070057
lea rcx, [rsp + 0x48]
call fcn.14005aef8
lea rcx, [rsp + 0x38]
call fcn.14005aef8
mov rax, rdi
jmp 0x14002fcf5
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x108]
xor r8d, r8d
mov edx, ebx
mov dword [rsp + 0x108], edi
call qword [sym.imp.GDI32.dll_AddFontMemResourceEx]
mov qword [rsp + 0x50], rax
cmp rax, rdi
je 0x14002fa8c
cmp qword [rsp + 0x70], rdi
jne 0x14002fa62
lea rcx, [rsp + 0x58]
call fcn.14005aef8
jmp 0x14002fca3
xor edx, edx
or rcx, 0xffffffffffffffff
call fcn.14001f244
cmp rax, rdi
je 0x14002fa8c
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rdi
call qword [0x14013ced0]
mov rcx, qword [rsp + 0x40]
cmp rcx, rdi
jne 0x14002faad
lea rcx, [rsp + 0x58]
call fcn.14005aef8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, 1
cmp eax, edi
cmove eax, ebp
mov esi, eax
jmp 0x14002fca3
mov rdx, qword [rsp + 0x58]
mov r8d, ebx
call qword [0x14013cee0]
lea rcx, [rsp + 0x78]
mov edx, 0x320
call fcn.140063028
mov r14, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x100]
mov r8, r14
mov edx, 0x64
mov dword [rsp + 0x100], edi
call qword [0x14013cee8]
mov r11d, dword [rsp + 0x100]
cmp r11d, edi
jle 0x14002fb1b
lea ecx, [r11 + r11*8 + 9]
shl ecx, 2
movsxd rdx, ecx
lea rcx, [rsp + 0x38]
call fcn.1400633a0
mov r11d, dword [rsp + 0x100]
cmp r11d, edi
mov rbx, qword [rsp + 0x38]
mov rbp, rdi
jle 0x14002fbd8
mov r15d, 0x22
cmp r11d, edi
jle 0x14002fbc1
cmp rbp, rdi
jle 0x14002fb52
mov eax, 0xd
mov word [rbx], ax
add rbx, rsi
mov word [rbx], r12w
add rbx, rsi
mov word [rbx], r15w
movzx r8d, word [rsp + 0x90]
mov rcx, qword [r14 + rbp*8]
add rbx, rsi
mov rdx, rbx
call qword [0x14013cef0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r12, rbx
mov edx, 0x20
movsxd r13, eax
mov rcx, r12
add r13, r13
add rbx, r13
call qword [sym.imp.SHLWAPI.dll_StrChrW]
cmp rax, rdi
je 0x14002fba0
mov word [rbx], r15w
add rbx, rsi
jmp 0x14002fbb3
lea rcx, [r12 - 2]
mov r8, r13
mov rdx, r12
call fcn.14001d790
sub rbx, rsi
mov r11d, dword [rsp + 0x100]
mov r12d, 0xa
inc rbp
movsxd rax, r11d
cmp rbp, rax
jl 0x14002fb32
mov r15, qword [rsp + 0xf0]
lea rcx, [rsp + 0x40]
mov word [rbx], di
call qword [0x14013ced8]
lea rcx, [rsp + 0x78]
mov esi, edi
call fcn.14005aef8
jmp 0x14002fa53
mov rcx, rax
mov qword [rsp + 0x100], rdi
call fcn.1401011a0
cmp eax, edi
je 0x14002fc46
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x100]
call fcn.140070048
lea rdx, [0x140120298]
lea rcx, [rsp + 0x100]
call fcn.1400633dc
mov r8, qword [rsp + 0x100]
mov qword [rsp + 0xf8], r8
jmp 0x14002fc4e
mov r8, qword [rsp + 0xf8]
lea rdx, [0x140120764]
mov rcx, r13
call fcn.1400170d8
mov rcx, qword [rsp + 0xf8]
mov r8d, r12d
xor edx, edx
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp rax, rdi
je 0x14002fc78
mov word [rax], di
mov rcx, qword [rsp + 0xf8]
call fcn.1401011a0
cmp eax, edi
je 0x14002fc96
mov edx, r14d
mov rcx, r13
call fcn.14002f3a0
mov esi, eax
lea rcx, [rsp + 0x100]
call fcn.14005aef8
mov r8, qword [rsp + 0x88]
cmp r8, rdi
je 0x14002fcc4
mov rdx, qword [rsp + 0x50]
lea r9, [0x14011c710]
mov rcx, r15
call fcn.1400665bc
mov rax, qword [rsp + 0x70]
cmp rax, rdi
je 0x14002fcde
mov r8, qword [rsp + 0x38]
mov rdx, rax
mov rcx, r15
call fcn.140062600
lea rcx, [rsp + 0x48]
call fcn.14005aef8
lea rcx, [rsp + 0x38]
call fcn.14005aef8
movsxd rax, esi
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret