Function at 0x1101095e0
Capabilities:
Get disk information

Disassembly:
jmp 0x11010a0f8
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x110190928]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
xor r12d, r12d
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
jne 0x11010a162
call sym.msvcrt.dll___doserrno
mov dword [rax], r12d
call sym.msvcrt.dll__errno
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], 0x16
call sym.msvcrt.dll__invalid_parameter
jmp 0x11010a4b0
test rbx, rbx
je 0x11010a136
lea rdx, [0x11017909c]
call sym.msvcrt.dll_wcspbrk
test rax, rax
je 0x11010a190
call sym.msvcrt.dll__errno
mov ebx, 2
mov dword [rax], ebx
call sym.msvcrt.dll___doserrno
mov dword [rax], ebx
jmp 0x11010a4b0
cmp word [rdi + 2], 0x3a
jne 0x11010a1b5
movzx ecx, word [rdi]
test cx, cx
je 0x11010a1a6
cmp word [rdi + 4], r12w
je 0x11010a178
call sym.msvcrt.dll_towlower
movzx r13d, ax
sub r13d, 0x60
jmp 0x11010a1bd
call sym.msvcrt.dll__getdrive
mov r13d, eax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x11010a2f4
lea rdx, [0x1101790a8]
mov rcx, rdi
mov rsi, r12
call sym.msvcrt.dll_wcspbrk
test rax, rax
je 0x11010a178
call sym.msvcrt.dll__errno
mov r15d, dword [rax]
call sym.msvcrt.dll__errno
mov r8d, 0x104
lea rcx, [rbp + 0x1b0]
mov rdx, rdi
mov dword [rax], r12d
call sym.msvcrt.dll__wfullpath
mov r14, rax
test rax, rax
je 0x11010a226
call sym.msvcrt.dll__errno
mov dword [rax], r15d
jmp 0x11010a24f
call sym.msvcrt.dll__errno
cmp dword [rax], 0x22
jne 0x11010a178
call sym.msvcrt.dll__errno
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
mov dword [rax], r15d
call sym.msvcrt.dll__wfullpath
mov rsi, rax
mov r14, rax
test r14, r14
je 0x11010a2de
or rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], r12w
jne 0x11010a25c
cmp rax, 3
je 0x11010a278
mov rcx, r14
call fcn.1101095ec
test eax, eax
je 0x11010a2de
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
mov r14d, 1
cmp eax, r14d
jbe 0x11010a2de
test rsi, rsi
je 0x11010a299
mov rcx, rsi
call sym.msvcrt.dll_free
or dword [rsp + 0x30], 0xffffffff
xor r9d, r9d
mov dword [rsp + 0x28], r12d
mov r8d, r14d
mov edx, r14d
mov dword [rsp + 0x20], r12d
mov ecx, 0x7bc
mov dword [rsp + 0x60], 0x10
mov qword [rsp + 0x7c], r12
mov word [rbp - 0x74], r12w
call fcn.110165164
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x28], rax
jmp 0x11010a466
test rsi, rsi
je 0x11010a178
mov rcx, rsi
call sym.msvcrt.dll_free
jmp 0x11010a178
cmp dword [rsp + 0x74], r12d
jne 0x11010a307
cmp dword [rsp + 0x78], r12d
jne 0x11010a307
mov rax, r12
jmp 0x11010a36b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x74]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x11010a49a
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNELBASE.dll_FileTimeToSystemTime]
test eax, eax
je 0x11010a49a
or dword [rsp + 0x30], 0xffffffff
movzx eax, word [rsp + 0x54]
movzx r10d, word [rsp + 0x52]
movzx r9d, word [rsp + 0x50]
movzx r8d, word [rsp + 0x4e]
movzx edx, word [rsp + 0x4a]
movzx ecx, word [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.110165164
mov qword [rbx + 0x20], rax
cmp dword [rsp + 0x6c], r12d
jne 0x11010a37d
cmp dword [rsp + 0x70], r12d
je 0x11010a3e1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x11010a49a
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNELBASE.dll_FileTimeToSystemTime]
test eax, eax
je 0x11010a49a
or dword [rsp + 0x30], 0xffffffff
movzx eax, word [rsp + 0x54]
movzx r10d, word [rsp + 0x52]
movzx r9d, word [rsp + 0x50]
movzx r8d, word [rsp + 0x4e]
movzx edx, word [rsp + 0x4a]
movzx ecx, word [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.110165164
mov qword [rbx + 0x18], rax
cmp dword [rsp + 0x64], r12d
jne 0x11010a3f9
cmp dword [rsp + 0x68], r12d
jne 0x11010a3f9
mov rax, qword [rbx + 0x20]
jmp 0x11010a459
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x64]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x11010a49a
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNELBASE.dll_FileTimeToSystemTime]
test eax, eax
je 0x11010a49a
or dword [rsp + 0x30], 0xffffffff
movzx eax, word [rsp + 0x54]
movzx r10d, word [rsp + 0x52]
movzx r9d, word [rsp + 0x50]
movzx r8d, word [rsp + 0x4e]
movzx edx, word [rsp + 0x4a]
movzx ecx, word [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.110165164
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
mov ecx, dword [rsp + 0x60]
mov rdx, rdi
call fcn.1101094e8
mov word [rbx + 6], ax
mov eax, dword [rbp - 0x80]
mov dword [rbx + 0x14], eax
lea eax, [r13 - 1]
mov dword [rbx], eax
mov dword [rbx + 0x10], eax
xor eax, eax
mov dword [rbx + 8], 1
mov word [rbx + 4], r12w
mov word [rbx + 0xc], r12w
jmp 0x11010a4b3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.110107d08
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
or eax, 0xffffffff
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1101303f0
mov rbx, qword [rsp + 0x520]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret