Function at 0x14010dfc0
Capabilities:
Get disk information
Get disk size

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rsi, rdx
mov r12, rcx
xor r13d, r13d
mov ebx, r13d
test rcx, rcx
je 0x14010e114
cmp qword [rdx], r13
jne 0x14010e076
lea ecx, [r13 + 0x50]
call fcn.1400be454
mov rdi, rax
test rax, rax
je 0x14010e068
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi + 8], rax
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x38], r13
mov qword [rdi + 0x40], r13
mov qword [rdi + 0x48], r13
jmp 0x14010e06b
mov rdi, r13
mov rdx, rdi
mov rcx, rsi
call fcn.1400a3c74
cmp qword [rsi], r13
jne 0x14010e085
mov ebx, 8
jmp 0x14010e323
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, r12
mov rcx, qword [rsi]
call fcn.14000c9f8
mov r9d, 1
mov r8d, 0x104
mov rdx, qword [rsi]
lea rcx, [rbp - 0x19]
call fcn.14000bd14
mov rcx, qword [rax + 8]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
test eax, eax
sete r12b
mov eax, dword [rbp - 9]
mov rdi, qword [rbp - 0x19]
cmp eax, 0xffffffff
jne 0x14010e0ed
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14010e0e4
mov eax, r13d
jmp 0x14010e0f5
movsxd rdx, dword [rcx - 0xc]
call fcn.1400beaac
test eax, eax
js 0x14010e327
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x14010e327
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], r13w
test r12b, r12b
je 0x14010e11e
mov ebx, 0xd
jmp 0x14010e323
mov rax, qword [rsi]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14010e13b
mov rax, qword [rsi]
mov dword [rax + 0x18], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
jmp 0x14010e14e
cmp eax, 2
jne 0x14010e31e
mov rax, qword [rsi]
mov dword [rax + 0x18], VariantTimeToDosDateTime
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x29], rax
mov dword [rbp + 0x7f], r13d
mov dword [rbp + 0x67], r13d
mov dword [rbp + 0x77], r13d
mov rdx, qword [rsi]
add rdx, 8
mov r9d, 1
mov r12d, 0x104
mov r8d, r12d
lea rcx, [rbp + 0x17]
call fcn.14000bd14
mov rdi, rax
mov r9d, 1
mov r8d, r12d
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 1]
call fcn.14000bd14
mov rcx, qword [rdi + 8]
mov rdx, qword [rax + 8]
mov rax, qword [rsi]
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x67]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x77]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x7f]
mov r8d, r12d
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
sete r12b
mov eax, dword [rbp + 0xf]
mov rdi, qword [rbp - 1]
cmp eax, 0xffffffff
jne 0x14010e20a
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14010e201
mov eax, r13d
jmp 0x14010e212
movsxd rdx, dword [rcx - 0xc]
call fcn.1400beaac
test eax, eax
js 0x14010e313
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x14010e313
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], r13w
mov eax, dword [rbp + 0x27]
mov rdi, qword [rbp + 0x17]
cmp eax, 0xffffffff
jne 0x14010e24e
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14010e245
mov eax, r13d
jmp 0x14010e256
movsxd rdx, dword [rcx - 0xc]
call fcn.1400beaac
test eax, eax
js 0x14010e308
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x14010e308
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], r13w
test r12b, r12b
jne 0x14010e2df
mov rcx, qword [rsi]
add rcx, 0x10
lea rdx, [rbp - 0x29]
call fcn.14000c244
mov rcx, qword [rsi]
lea rax, [rcx + 0x44]
lea r9, [rcx + 0x40]
lea r8, [rcx + 0x3c]
lea rdx, [rcx + 0x38]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
jne 0x14010e2b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14010e2e7
mov rcx, qword [rsi]
mov eax, dword [rcx + 0x3c]
imul eax, dword [rcx + 0x38]
mov dword [rcx + 0x1c], eax
mov rcx, qword [rsi]
lea r9, [rcx + 0x30]
lea r8, [rcx + 0x28]
lea rdx, [rcx + 0x20]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x14010e2e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14010e323
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14010e323
mov ecx, 0x80070057
call fcn.14000cbb8
nop
mov ecx, 0x80070057
call fcn.14000cbb8
nop
mov ebx, 0x32
mov eax, ebx
jmp 0x14010e332
mov ecx, 0x80070057
call fcn.14000cbb8
int3
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret