Function at 0x140003ac4
Capabilities:
Get disk information

Disassembly:
jmp 0x1400078c8
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 [0x140018968]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
xor r12d, r12d
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
jne 0x140007932
call fcn.140006594
mov dword [rax], r12d
call fcn.140006610
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], 0x16
call fcn.140006688
jmp 0x140007c80
test rbx, rbx
je 0x140007906
lea rdx, [0x14001231c]
call fcn.140007d9c
test rax, rax
je 0x140007960
call fcn.140006610
mov ebx, 2
mov dword [rax], ebx
call fcn.140006594
mov dword [rax], ebx
jmp 0x140007c80
cmp word [rdi + 2], 0x3a
jne 0x140007985
movzx ecx, word [rdi]
test cx, cx
je 0x140007976
cmp word [rdi + 4], r12w
je 0x140007948
call fcn.140007d8c
movzx r13d, ax
sub r13d, 0x60
jmp 0x14000798d
call fcn.140007f58
mov r13d, eax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140007ac4
lea rdx, [0x140012328]
mov rcx, rdi
mov rsi, r12
call fcn.140007d9c
test rax, rax
je 0x140007948
call fcn.140006610
mov r15d, dword [rax]
call fcn.140006610
mov r8d, 0x104
lea rcx, [rbp + 0x1b0]
mov rdx, rdi
mov dword [rax], r12d
call fcn.140007e10
mov r14, rax
test rax, rax
je 0x1400079f6
call fcn.140006610
mov dword [rax], r15d
jmp 0x140007a1f
call fcn.140006610
cmp dword [rax], 0x22
jne 0x140007948
call fcn.140006610
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
mov dword [rax], r15d
call fcn.140007e10
mov rsi, rax
mov r14, rax
test r14, r14
je 0x140007aae
or rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], r12w
jne 0x140007a2c
cmp rax, 3
je 0x140007a48
mov rcx, r14
call fcn.140007800
test eax, eax
je 0x140007aae
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov r14d, 1
cmp eax, r14d
jbe 0x140007aae
test rsi, rsi
je 0x140007a69
mov rcx, rsi
call fcn.140006da8
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.14000b6dc
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x28], rax
jmp 0x140007c36
test rsi, rsi
je 0x140007948
mov rcx, rsi
call fcn.140006da8
jmp 0x140007948
cmp dword [rsp + 0x74], r12d
jne 0x140007ad7
cmp dword [rsp + 0x78], r12d
jne 0x140007ad7
mov rax, r12
jmp 0x140007b3b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x74]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x140007c6a
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x140007c6a
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.14000b6dc
mov qword [rbx + 0x20], rax
cmp dword [rsp + 0x6c], r12d
jne 0x140007b4d
cmp dword [rsp + 0x70], r12d
je 0x140007bb1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x140007c6a
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x140007c6a
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.14000b6dc
mov qword [rbx + 0x18], rax
cmp dword [rsp + 0x64], r12d
jne 0x140007bc9
cmp dword [rsp + 0x68], r12d
jne 0x140007bc9
mov rax, qword [rbx + 0x20]
jmp 0x140007c29
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x64]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x140007c6a
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x140007c6a
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.14000b6dc
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [rsp + 0x60]
mov rdx, rdi
call fcn.1400039d4
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 0x140007c83
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400065bc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
or eax, 0xffffffff
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140003420
mov rbx, qword [rsp + 0x520]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret