Function at 0x14004da80
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rsi, r8
mov rbx, rdx
mov r10, qword [0x14017a048]
lea r12, [0x14017a048]
lea r13, [0x14015aeb8]
mov r15d, 1
cmp r10, r12
je 0x14004daf5
test byte [r10 + 0x1c], r15b
je 0x14004daf5
cmp byte [r10 + 0x19], 4
jb 0x14004daf5
mov rcx, qword [r10 + 0x10]
mov edx, 0x157
mov r8, r13
call fcn.140006b98
mov r10, qword [0x14017a048]
xor r14d, r14d
mov dword [rsp + 0x78], 0xa
xorps xmm0, xmm0
mov byte [rsp + 0x30], r14b
xorps xmm1, xmm1
mov byte [rsp + 0x31], r14b
mov qword [rsp + 0x38], r14
mov edi, r14d
mov qword [rsp + 0x40], r14
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x78], r14
mov dword [rbp - 0x70], r14d
mov qword [rbp - 0x68], r14
mov byte [rbp - 0x60], r14b
mov dword [rbp - 0x80], r14d
cmp r10, r12
je 0x14004db87
test byte [r10 + 0x1c], r15b
je 0x14004db87
cmp byte [r10 + 0x19], 4
jb 0x14004db87
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.14008b8ac
mov rcx, qword [0x14017a048]
mov edx, 0x158
mov r9, rax
mov qword [rsp + 0x20], rsi
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400113b0
mov r10, qword [0x14017a048]
mov rax, qword [rbx]
cmp rax, qword [0x14015f068]
jne 0x14004dba4
mov rax, qword [rbx + 8]
cmp rax, qword [0x14015f070]
je 0x14004de50
test rsi, rsi
je 0x14004de50
xor r9d, r9d
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, rbx
call fcn.14008f47c
mov rdi, qword [rsp + 0x40]
mov ebx, eax
test eax, eax
js 0x14004dc34
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14008c48c
mov ebx, eax
test eax, eax
js 0x14004dc34
mov r8d, r15d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140141b44
mov ebx, eax
test eax, eax
jns 0x14004dc40
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14004de55
test byte [r10 + 0x1c], r15b
je 0x14004de55
cmp byte [r10 + 0x19], 2
jb 0x14004de55
mov edx, 0x159
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8, r13
mov rcx, qword [r10 + 0x10]
call fcn.140011330
mov r10, qword [0x14017a048]
jmp 0x14004de55
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.140139f4c
mov ebx, eax
test eax, eax
jns 0x14004dc81
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14004de55
test byte [r10 + 0x1c], r15b
je 0x14004de55
cmp byte [r10 + 0x19], 2
jb 0x14004de55
mov edx, 0x15a
jmp 0x14004dc1f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop dword [rax + rax]
cmp eax, 3
movzx ecx, r14b
cmove ecx, r15d
movzx edx, byte [rsp + 0x30]
test dl, dl
je 0x14004de0a
test cl, cl
je 0x14004de0a
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x31]
call fcn.14013b0c4
mov ebx, eax
test eax, eax
jns 0x14004dd05
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14004de55
test byte [r10 + 0x1c], r15b
je 0x14004de55
cmp byte [r10 + 0x19], 2
jb 0x14004de55
mov rcx, qword [r10 + 0x10]
mov edx, 0x15d
mov r9d, eax
mov r8, r13
call fcn.140006bc4
jmp 0x14004dc34
cmp byte [rsp + 0x31], r14b
je 0x14004dd51
mov ebx, 0x80780047
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14004de55
test byte [r10 + 0x1c], r15b
je 0x14004de55
cmp byte [r10 + 0x19], 2
jb 0x14004de55
mov r9, qword [rsp + 0x38]
mov edx, 0x15e
mov rcx, qword [r10 + 0x10]
mov r8, r13
call fcn.1400112c8
jmp 0x14004dc34
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
nop dword [rax + rax]
test eax, eax
jne 0x14004ddb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14004dd84
movzx ebx, ax
or ebx, 0x80070000
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14004de55
test byte [r10 + 0x1c], r15b
je 0x14004de55
cmp byte [r10 + 0x19], 2
jb 0x14004de55
mov edx, 0x15f
mov dword [rsp + 0x20], ebx
jmp 0x14004dc23
mov rcx, qword [rsp + 0x38]
call fcn.140116e48
mov ebx, eax
test eax, eax
jns 0x14004dc34
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14004de05
test byte [r10 + 0x1c], r15b
je 0x14004de05
cmp byte [r10 + 0x19], 3
jb 0x14004de05
mov r9, qword [rsp + 0x38]
mov edx, 0x160
mov rcx, qword [r10 + 0x10]
mov r8, r13
mov dword [rsp + 0x20], eax
call fcn.140011330
mov r10, qword [0x14017a048]
mov ebx, r14d
jmp 0x14004de55
mov ebx, 0x8078000c
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14004de55
test byte [r10 + 0x1c], r15b
je 0x14004de55
cmp byte [r10 + 0x19], 2
jb 0x14004de55
mov r9, qword [rsp + 0x38]
mov r8, r13
movzx eax, cl
mov ecx, edx
mov dword [rsp + 0x28], eax
mov edx, 0x15c
mov dword [rsp + 0x20], ecx
mov rcx, qword [r10 + 0x10]
call fcn.14003d63c
jmp 0x14004dc34
mov ebx, 0x80070057
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14004de77
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov r10, qword [0x14017a048]
mov qword [rsp + 0x38], r14
test rdi, rdi
je 0x14004de92
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14004deb5
test byte [r10 + 0x1c], r15b
je 0x14004deb5
cmp byte [r10 + 0x19], 4
jb 0x14004deb5
mov rcx, qword [r10 + 0x10]
mov edx, 0x161
mov r8, r13
call fcn.140006b98
lea rcx, [rsp + 0x50]
call fcn.14013d5d8
mov eax, ebx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140001d90
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret