Function at 0x14002f454
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.140063620
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 0x14002f680
lea r12d, [rdi + 9]
lea r13d, [rdi + 0x3a]
lea r15d, [rdi + 1]
lea rdx, [rsp + 0xf8]
lea rcx, [0x14011dd2c]
or r8d, 0xffffffff
call fcn.1400660ac
cmp al, dil
je 0x14002f4ea
mov r14d, r15d
jmp 0x14002f662
lea rdx, [rsp + 0xf8]
lea rcx, [0x140121514]
or r8d, 0xffffffff
call fcn.1400660ac
cmp al, dil
je 0x14002f50f
mov ebp, r15d
jmp 0x14002f662
mov rdx, qword [rsp + 0xf8]
lea rcx, [0x140121510]
mov r8d, esi
add rdx, rsi
call fcn.14005c788
cmp al, dil
je 0x14002f623
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 0x14002f59b
lea edx, [rbp + 0xa]
lea r8d, [rbp + 0x1d]
cmp r12w, cx
ja 0x14002f570
cmp cx, dx
jbe 0x14002f58b
cmp r8w, cx
je 0x14002f58b
add rax, rsi
mov qword [rsp + 0xf8], rax
mov cx, word [rax]
cmp cx, di
je 0x14002f59b
jmp 0x14002f565
cmp word [rax], di
je 0x14002f59b
mov word [rax], di
add qword [rsp + 0xf8], rsi
lea rcx, [rsp + 0x30]
mov edx, r13d
mov qword [rsp + 0x30], rbx
call fcn.1400f5c6c
mov rcx, qword [rsp + 0x30]
cmp word [rcx], di
je 0x14002f5ed
mov word [rcx], di
mov rax, qword [rsp + 0x30]
add rax, rsi
mov qword [rsp + 0x30], rax
cmp word [rax], di
je 0x14002f5ed
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x70], rax
call fcn.1400f5c6c
mov rcx, qword [rsp + 0x30]
cmp word [rcx], di
je 0x14002f5ed
mov word [rcx], di
add qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.14001de70
mov rcx, qword [rsp + 0xf8]
mov ebx, 0xd
cmp r12w, word [rcx]
ja 0x14002f617
cmp word [rcx], bx
jbe 0x14002f62b
mov edx, 0x20
cmp dx, word [rcx]
jne 0x14002f66a
jmp 0x14002f64d
mov rcx, qword [rsp + 0xf8]
mov edx, 0x20
jmp 0x14002f64d
cmp r12w, ax
ja 0x14002f63d
cmp ax, bx
jbe 0x14002f655
cmp dx, ax
je 0x14002f655
add rcx, rsi
mov qword [rsp + 0xf8], rcx
movzx eax, word [rcx]
cmp ax, di
jne 0x14002f632
lea rcx, [rsp + 0xf8]
call fcn.1400170b0
mov rcx, qword [rsp + 0xf8]
mov eax, 0x2d
cmp ax, word [rcx]
je 0x14002f4c5
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.140063694
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 0x14002f79e
cmp word [rcx], r12w
jne 0x14002f79e
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 0x14002f70d
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.14001be14
mov rdx, rbx
mov ecx, 0x324
mov qword [rsp + 0xf8], rax
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [rbx], di
je 0x14002fc1a
mov ebp, 1
cmp word [rbx], r12w
jb 0x14002f786
mov r9, qword [rsp + 0xf8]
lea rdx, str._s_sFonts
mov r8, rbx
mov rcx, r13
call fcn.14001708c
mov rcx, r13
call fcn.140101d34
cmp eax, edi
je 0x14002f786
lea rdx, [0x1401202b8]
mov rcx, r13
call fcn.14010303c
mov edx, r14d
mov rcx, r13
call fcn.14002f2dc
mov esi, eax
mov rcx, rbx
call fcn.140103020
add eax, ebp
lea rbx, [rbx + rax*2]
cmp word [rbx], di
jne 0x14002f73e
jmp 0x14002fc1a
call fcn.14001be14
mov qword [rsp + 0xf8], rax
cmp ebp, edi
je 0x14002fb33
cmp r14d, edi
je 0x14002f7eb
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xf8]
call fcn.140067cf4
mov rcx, qword [rsp + 0x50]
cmp rcx, rdi
je 0x14002f9d2
call qword [sym.imp.GDI32.dll_RemoveFontMemResourceEx]
cmp eax, edi
je 0x14002f9d2
jmp 0x14002f943
lea rcx, [rsp + 0x58]
call fcn.140063344
lea rcx, [rsp + 0xf8]
mov edx, 1
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x80], rdi
call fcn.140079f50
mov qword [rsp + 0x98], rax
cmp rax, rdi
je 0x14002f912
mov ecx, 0x23
cmp cx, word [rax]
jne 0x14002f912
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.1400d0b2c
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 0x14002f89e
cmp word [rbp + 2], di
jne 0x14002f89e
mov rcx, qword [0x14013ca68]
jmp 0x14002f8b8
cmp word [rbp], di
je 0x14002f8b8
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 0x14002f8df
mov rdx, qword [rsp + 0x80]
lea r9, [rsp + 0x58]
mov r8, r15
mov qword [rsp + 0x20], rdi
call fcn.14001ea18
mov r12, rax
cmp rbx, rdi
je 0x14002f8ed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp r12, rdi
jne 0x14002f903
lea rcx, [rsp + 0x58]
call fcn.14005b104
mov edi, 1
jmp 0x14002f943
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0xf0]
jmp 0x14002f927
mov rcx, qword [rsp + 0xf8]
lea rdx, [rsp + 0x58]
call fcn.14001e240
mov rbx, rax
mov r12d, 0xa
cmp rbx, r12
jg 0x14002f95f
lea rcx, [rsp + 0x58]
call fcn.14005b104
mov rdi, 0xffffffff80070057
lea rcx, [rsp + 0x48]
call fcn.14005b104
lea rcx, [rsp + 0x38]
call fcn.14005b104
mov rax, rdi
jmp 0x14002fc31
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 0x14002f9c8
cmp qword [rsp + 0x70], rdi
jne 0x14002f99e
lea rcx, [rsp + 0x58]
call fcn.14005b104
jmp 0x14002fbdf
xor edx, edx
or rcx, 0xffffffffffffffff
call fcn.14001f1d4
cmp rax, rdi
je 0x14002f9c8
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rdi
call qword [0x14013ced0]
mov rcx, qword [rsp + 0x40]
cmp rcx, rdi
jne 0x14002f9e9
lea rcx, [rsp + 0x58]
call fcn.14005b104
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, 1
cmp eax, edi
cmove eax, ebp
mov esi, eax
jmp 0x14002fbdf
mov rdx, qword [rsp + 0x58]
mov r8d, ebx
call qword [0x14013cee0]
lea rcx, [rsp + 0x78]
mov edx, 0x320
call fcn.1400633a8
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 0x14002fa57
lea ecx, [r11 + r11*8 + 9]
shl ecx, 2
movsxd rdx, ecx
lea rcx, [rsp + 0x38]
call fcn.140063720
mov r11d, dword [rsp + 0x100]
cmp r11d, edi
mov rbx, qword [rsp + 0x38]
mov rbp, rdi
jle 0x14002fb14
mov r15d, 0x22
cmp r11d, edi
jle 0x14002fafd
cmp rbp, rdi
jle 0x14002fa8e
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 0x14002fadc
mov word [rbx], r15w
add rbx, rsi
jmp 0x14002faef
lea rcx, [r12 - 2]
mov r8, r13
mov rdx, r12
call fcn.14001d744
sub rbx, rsi
mov r11d, dword [rsp + 0x100]
mov r12d, 0xa
inc rbp
movsxd rax, r11d
cmp rbp, rax
jl 0x14002fa6e
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.14005b104
jmp 0x14002f98f
mov rcx, rax
mov qword [rsp + 0x100], rdi
call fcn.140101d34
cmp eax, edi
je 0x14002fb82
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x100]
call fcn.1400703e4
lea rdx, [0x1401202b8]
lea rcx, [rsp + 0x100]
call fcn.14006375c
mov r8, qword [rsp + 0x100]
mov qword [rsp + 0xf8], r8
jmp 0x14002fb8a
mov r8, qword [rsp + 0xf8]
lea rdx, [0x140120784]
mov rcx, r13
call fcn.14001708c
mov rcx, qword [rsp + 0xf8]
mov r8d, r12d
xor edx, edx
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp rax, rdi
je 0x14002fbb4
mov word [rax], di
mov rcx, qword [rsp + 0xf8]
call fcn.140101d34
cmp eax, edi
je 0x14002fbd2
mov edx, r14d
mov rcx, r13
call fcn.14002f2dc
mov esi, eax
lea rcx, [rsp + 0x100]
call fcn.14005b104
mov r8, qword [rsp + 0x88]
cmp r8, rdi
je 0x14002fc00
mov rdx, qword [rsp + 0x50]
lea r9, [0x14011c730]
mov rcx, r15
call fcn.1400668ec
mov rax, qword [rsp + 0x70]
cmp rax, rdi
je 0x14002fc1a
mov r8, qword [rsp + 0x38]
mov rdx, rax
mov rcx, r15
call fcn.1400629b8
lea rcx, [rsp + 0x48]
call fcn.14005b104
lea rcx, [rsp + 0x38]
call fcn.14005b104
movsxd rax, esi
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret