Function at 0x18001ada0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x338]
sub rsp, 0x430
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1800ea550]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov rbx, rcx
cmp qword [rcx + 0x10], 0
je 0x18001b0ac
mov qword [rbp + 0x48], 7
xor edi, edi
mov qword [rbp + 0x40], rdi
mov word [rbp + 0x30], di
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rcx
lea rcx, [rbp + 0x30]
call fcn.180005820
nop
lea edx, [rdi + 0x2f]
lea rcx, [rbp + 0x30]
call fcn.1800127e0
lea edx, [rdi + 0x5c]
lea rcx, [rbp + 0x30]
call fcn.1800127e0
cmp qword [rbp + 0x40], 3
ja 0x18001afed
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jbe 0x18001ae74
cmp eax, 4
ja 0x18001afed
cmp qword [rbp + 0x48], 8
jb 0x18001ae5d
mov rcx, qword [rbp + 0x30]
call fcn.18007309c
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], rdi
mov word [rbp + 0x30], di
mov al, 1
jmp 0x18001b0ae
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x40]
call fcn.18000d500
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.return_false._GetLastError:
lea rcx, [rsp + 0x40]
call fcn.180010b40
mov rcx, rax
mov edx, ebx
call fcn.18000cd70
mov rcx, rax
lea rdx, str.._tmpPath:
call fcn.180010b40
mov rcx, rax
lea rdx, [rbp + 0x30]
call fcn.180010da0
mov qword [rbp + 0x70], 0xf
mov qword [rbp + 0x68], rdi
mov byte [rbp + 0x58], 0
mov r8d, 0x17
lea rdx, str.CFileUtility::IsDirPath
lea rcx, [rbp + 0x58]
call fcn.1800071c0
nop
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], rdi
mov byte [rbp + 0x80], 0
mov r8d, 0xf
lea rdx, str.FileUtility.cpp
lea rcx, [rbp + 0x80]
call fcn.1800071c0
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rsp + 0x40]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x268
lea r8, [rbp + 0x80]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0xc0], 8
jb 0x18001af75
mov rcx, qword [rbp + 0xa8]
call fcn.18007309c
mov qword [rbp + 0xc0], 7
mov qword [rbp + 0xb8], rdi
mov word [rbp + 0xa8], di
cmp qword [rbp + 0x98], 0x10
jb 0x18001afa4
mov rcx, qword [rbp + 0x80]
call fcn.18007309c
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], rdi
mov byte [rbp + 0x80], 0
cmp qword [rbp + 0x70], 0x10
jb 0x18001afcd
mov rcx, qword [rbp + 0x58]
call fcn.18007309c
mov qword [rbp + 0x70], 0xf
mov qword [rbp + 0x68], rdi
mov byte [rbp + 0x58], 0
lea rcx, [rsp + 0x40]
call fcn.18000caa0
nop
jmp 0x18001b08c
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x18001b06d
mov rcx, qword [rbx + 0x10]
lea eax, [rcx - 1]
movsxd rdx, eax
cmp rcx, rdx
ja 0x18001b02a
lea rcx, str.invalid_string_position
call fcn.180072554
int3
mov rax, qword [rbx + 0x18]
cmp rax, 8
jb 0x18001b039
mov rcx, qword [rbx]
jmp 0x18001b03c
mov rcx, rbx
cmp word [rcx + rdx*2], 0x5c
je 0x18001b068
cmp qword [rbx + 0x10], rdx
ja 0x18001b056
lea rcx, str.invalid_string_position
call fcn.180072554
int3
cmp rax, 8
jb 0x18001b05f
mov rbx, qword [rbx]
cmp word [rbx + rdx*2], 0x2f
je 0x18001b068
jmp 0x18001b08c
jmp 0x18001ae4d
mov rcx, rax
test byte [rbp + 0xd0], 0x10
je 0x18001b085
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
jmp 0x18001ae4d
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rbp + 0x48], 8
jb 0x18001b09c
mov rcx, qword [rbp + 0x30]
call fcn.18007309c
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], rdi
mov word [rbp + 0x30], di
xor al, al
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.180073c80
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret