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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r13
push r15
sub rsp, 0x40
xor ebx, ebx
mov r12, r8
mov r13b, dl
mov rbp, rcx
test rcx, rcx
jne 0x1400a8f7d
lea r8, [0x140009598]
lea rcx, [0x140009550]
mov edx, 0xe9
call fcn.1400a8be8
mov rcx, rbp
mov byte [r12], bl
mov qword [rsp + 0x60], rbx
call fcn.1400aff0c
lea rdx, [rsp + 0x60]
mov rcx, rbp
mov r15b, al
call fcn.1400a97c0
mov esi, eax
test eax, eax
js 0x1400a923e
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x1400a90ee
mov rcx, qword [0x14017d3a8]
lea rbx, [0x14017d3a8]
cmp rcx, rbx
je 0x1400a8ff8
test byte [rcx + 0x1c], 1
je 0x1400a8ff8
cmp byte [rcx + 0x19], 5
jb 0x1400a8ff8
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 6]
lea r8, [0x1400095c0]
mov r9, rbp
call fcn.14001ec40
mov rcx, qword [0x14017d3a8]
xor r8d, r8d
test r15b, r15b
jne 0x1400a900a
mov esi, 0x8078011a
jmp 0x1400a923e
test r13b, r13b
je 0x1400a906f
mov rcx, qword [rsp + 0x60]
call fcn.1400a8df4
xor r8d, r8d
mov esi, eax
test eax, eax
jns 0x1400a9068
mov rcx, qword [0x14017d3a8]
cmp rcx, rbx
je 0x1400a923e
test byte [rcx + 0x1c], 1
je 0x1400a923e
cmp byte [rcx + 0x19], 4
jb 0x1400a923e
mov r9, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x10]
lea edx, [r8 + 0xf]
lea r8, [0x1400095c0]
mov dword [rsp + 0x20], eax
call fcn.14001ecbc
jmp 0x1400a923e
mov rcx, qword [0x14017d3a8]
or rax, 0xffffffffffffffff
mov rdx, rax
inc rdx
cmp word [rbp + rdx*2], r8w
jne 0x1400a9076
cmp edx, 0x6e
jbe 0x1400a90e4
mov esi, 0x80780078
cmp rcx, rbx
je 0x1400a923e
test byte [rcx + 0x1c], 1
je 0x1400a923e
cmp byte [rcx + 0x19], 2
jb 0x1400a923e
inc rax
cmp word [rbp + rax*2], r8w
jne 0x1400a90a8
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x30], reloc.ADVAPI32.dll_TraceEvent
lea r8, [0x1400095c0]
mov edx, CoRevokeClassObject
mov r9, rbp
mov dword [rsp + 0x28], EnterCriticalSection
mov dword [rsp + 0x20], eax
call fcn.1400a8d3c
jmp 0x1400a923e
mov byte [r12], 1
jmp 0x1400a923e
cmp eax, 1
jne 0x1400a9203
test r15b, r15b
jne 0x1400a9132
mov rcx, qword [0x14017d3a8]
lea rbx, [0x14017d3a8]
cmp rcx, rbx
je 0x1400a923e
test byte [rcx + 0x1c], al
je 0x1400a923e
cmp byte [rcx + 0x19], 5
jb 0x1400a923e
lea edx, [rax + 0xa]
mov dword [rsp + 0x20], eax
jmp 0x1400a922b
mov rcx, qword [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x1400a91c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x1400a91bc
cmp eax, 0x52e
je 0x1400a91bc
cmp eax, 0x43
je 0x1400a91b2
cmp eax, 0x35
je 0x1400a91b2
cmp eax, 3
je 0x1400a91b2
mov rcx, qword [0x14017d3a8]
lea rbx, [0x14017d3a8]
cmp rcx, rbx
je 0x1400a923e
test byte [rcx + 0x1c], 1
je 0x1400a923e
cmp byte [rcx + 0x19], 4
jb 0x1400a923e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400095c0]
mov edx, reloc.ADVAPI32.dll_GetTraceLoggerHandle
mov r9d, eax
call fcn.14001de24
jmp 0x1400a923e
mov esi, 0x80780071
jmp 0x1400a923e
mov esi, 0x8078006f
jmp 0x1400a923e
mov rcx, qword [0x14017d3a8]
lea rbx, [0x14017d3a8]
cmp rcx, rbx
je 0x1400a91fc
test byte [rcx + 0x1c], 1
je 0x1400a91fc
cmp byte [rcx + 0x19], 2
jb 0x1400a91fc
mov r9, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400095c0]
mov edx, reloc.ADVAPI32.dll_GetTraceEnableLevel
call fcn.14001ec40
mov esi, 0x8000ffff
jmp 0x1400a923e
mov rcx, qword [0x14017d3a8]
lea rbx, [0x14017d3a8]
cmp rcx, rbx
je 0x1400a923e
test byte [rcx + 0x1c], 1
je 0x1400a923e
cmp byte [rcx + 0x19], 5
jb 0x1400a923e
mov edx, reloc.ADVAPI32.dll_GetTraceEnableFlags
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400095c0]
mov r9, rbp
call fcn.14001ecbc
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov eax, esi
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r13
pop r12
ret