Function at 0x14001034c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, r8
movzx r8d, byte [r8 + 0x27]
mov r13d, 1
mov sil, dl
lea edx, [r13 + 4]
and r8d, r13d
mov rdi, rcx
call qword [sym.imp.USER32.dll_CheckDlgButton]
mov r8d, dword [rbx + 0x24]
lea edx, [r13 + 7]
mov rcx, rdi
shr r8d, 0x1f
call qword [sym.imp.USER32.dll_CheckDlgButton]
lea rcx, [rbp + 0x12]
xor r14d, r14d
xor edx, edx
mov r8d, 0x1fe
mov word [rbp + 0x10], r14w
call fcn.1400ea570
lea r15d, [r13 + 0x31]
mov rcx, rdi
mov edx, r15d
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 0xefc19696
mov ecx, 0xa18a9a9e
mov r8d, 0xa0c9db17
mov r12d, r14d
mov rdi, rax
call fcn.140001528
mov rcx, rdi
mov rdx, rax
call fcn.14000eae8
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClientRect]
mov ebx, 0x100
test sil, sil
je 0x1400105b8
mov r9d, 0x10024
xor r8d, r8d
mov edx, 0x1036
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8d, [r13 + 0x33]
lea rcx, [rsp + 0x44]
xor edx, edx
call fcn.1400ea570
mov rcx, qword [0x140174640]
lea r8, [rbp + 0x10]
lea edx, [r13 + 0x1c]
mov r9d, ebx
mov dword [rsp + 0x40], 6
mov dword [rsp + 0x48], r15d
call fcn.140022de0
mov esi, 0xc4c4
test eax, eax
jne 0x14001048c
movzx edx, word [0x14016926a]
lea r8, [rbp + 0x10]
lea rcx, [0x14016926c]
xor edx, esi
mov r9d, ebx
call fcn.14001b270
lea rax, [rbp + 0x10]
mov r15d, 0x1061
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
mov edx, r15d
mov qword [rsp + 0x50], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x140174640]
lea r8, [rbp + 0x10]
mov r9d, ebx
mov edx, 0x1e
mov dword [rsp + 0x48], 0x64
call fcn.140022de0
test eax, eax
jne 0x1400104ef
movzx edx, word [0x140169278]
lea r8, [rbp + 0x10]
lea rcx, [0x14016927a]
xor edx, esi
mov r9d, ebx
call fcn.14001b270
lea r9, [rsp + 0x40]
mov r8, r13
mov edx, r15d
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rbp + 8]
mov rcx, qword [0x140174640]
sub eax, dword [rbp]
lea r8, [rbp + 0x10]
mov r9d, ebx
sub eax, 0xfa
mov edx, 0x1f
mov dword [rsp + 0x48], eax
call fcn.140022de0
test eax, eax
jne 0x14001054a
movzx edx, word [0x140169288]
lea r8, [rbp + 0x10]
lea rcx, [0x14016928a]
xor edx, esi
mov r9d, ebx
call fcn.14001b270
lea r9, [rsp + 0x40]
mov r8d, 2
mov edx, r15d
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x140174640]
lea r8, [rbp + 0x10]
mov r9d, ebx
mov edx, 0x20
mov dword [rsp + 0x48], 0x64
call fcn.140022de0
test eax, eax
jne 0x1400105a1
movzx edx, word [0x14016929a]
lea r8, [rbp + 0x10]
lea rcx, [0x14016929c]
xor edx, esi
mov r9d, ebx
call fcn.14001b270
lea r9, [rsp + 0x40]
mov r8d, 3
mov edx, r15d
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea rcx, [rbp - 0x5c]
lea r8d, [rdx + 0x54]
call fcn.1400ea570
lea rax, [rbp + 0x10]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, r14d
mov r13d, eax
xor edx, edx
mov ecx, esi
mov r14d, 1
shl r14d, cl
test r13d, r14d
je 0x140010787
lea eax, [rsi + 0x41]
lea r15, [0x1401747a0]
movzx ecx, al
mov r15, qword [r15 + rcx*8 - 0x208]
test r15, r15
je 0x140010787
lea r9, [r15 + 0x2b1]
lea r8, [r15 + 0x2a8]
mov dl, cl
call fcn.14000b88c
xor r9d, r9d
lea ecx, [rsi + 0x41]
movzx r8d, cx
movzx ecx, ax
mov dword [rbp - 0x58], r9d
mov edx, r8d
mov word [rbp + 0x10], r8w
lea r9, [rbp - 0x60]
shl edx, 0x10
xor r8d, r8d
mov ebx, eax
or rdx, rcx
mov rcx, rdi
mov dword [rbp - 0x60], 5
mov qword [rbp - 0x38], rdx
mov edx, 0x104d
mov dword [rbp + 0x12], 0x3a
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, ebx
lea r9, [rsp + 0x40]
neg ecx
mov ecx, 0x1000
mov r8, rax
sbb edx, edx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x50], 0xf000
and edx, ecx
add edx, ecx
mov dword [rsp + 0x4c], edx
lea edx, [rcx + 0x2b]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp - 0x60], 1
test ebx, ebx
je 0x1400106c6
or r12d, r14d
inc dword [rbp - 0x58]
lea rax, [rbp + 0x10]
mov r14d, 0x100
lea r8, [r15 + 0x2a8]
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rbx, qword [rsp + 0x30]
lea r9, [rbp - 0x60]
mov r8, rbx
mov edx, 0x104c
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
inc dword [rbp - 0x58]
lea rax, [rbp + 0x10]
lea r8, [r15 + 0x2b1]
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r9, [rbp - 0x60]
mov r8, rbx
mov edx, 0x104c
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
inc dword [rbp - 0x58]
lea rax, [rbp + 0x10]
lea r8, [r15 + 0x2c2]
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r9, [rbp - 0x60]
mov r8, rbx
mov edx, 0x104c
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
inc dword [rbp - 0x5c]
xor edx, edx
inc esi
cmp esi, 0x1a
jl 0x1400105f5
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt rax, 0x15
jae 0x1400107fd
xor edx, edx
lea rcx, [rsp + 0x44]
lea r8d, [rdx + 0x34]
call fcn.1400ea570
mov esi, 2
lea ecx, [rsi + 3]
mov dword [rsp + 0x40], esi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [rbp + 8]
mov ecx, esi
sub ebx, dword [rbp]
sub ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea r9, [rsp + 0x40]
sub ebx, eax
mov r8d, esi
mov edx, 0x1060
sub ebx, 0xfa
mov rcx, rdi
mov dword [rsp + 0x48], ebx
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140010802
mov esi, 2
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x102b
mov rcx, rdi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x4c], esi
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, r12d
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400e7da0
mov rbx, qword [rsp + 0x368]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret