Function at 0x1400584e0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x370
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov r12, rcx
xor r14d, r14d
mov dword [rsp + 0x24], r14d
lea ecx, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [rsp + 0x20], 0x5c3a43
mov edx, 0x2b7a
mov rcx, qword [r12 + 0x20]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r13, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov edi, r14d
mov dword [rsp + 0x58], r14d
cmp edi, 0x1a
jge 0x1400588e1
lea eax, [rdi + 0x41]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov esi, eax
mov ecx, eax
test eax, eax
je 0x140058736
sub ecx, 2
je 0x1400586d9
dec ecx
je 0x140058679
dec ecx
je 0x140058619
dec ecx
je 0x1400585b3
mov byte [rsp + 0x210], 0
jmp 0x140058799
mov rbx, qword [0x1402bfb28]
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x40], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x40]
call fcn.1400ca6a0
mov r8, rbx
mov edx, 0x2b7d
lea rcx, [rsp + 0x40]
call fcn.1400cc060
nop
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x210]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140058600
lea rcx, [rsp + 0x40]
jmp 0x140058794
mov rbx, qword [0x1402bfb28]
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x28], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x28]
call fcn.1400ca6a0
mov r8, rbx
mov edx, 0x2b7f
lea rcx, [rsp + 0x28]
call fcn.1400cc060
nop
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x210]
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140058660
lea rcx, [rsp + 0x28]
jmp 0x140058794
mov rbx, qword [0x1402bfb28]
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x30], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x30]
call fcn.1400ca6a0
mov r8, rbx
mov edx, 0x2b7e
lea rcx, [rsp + 0x30]
call fcn.1400cc060
nop
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x210]
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x1400586c0
lea rcx, [rsp + 0x30]
jmp 0x140058794
mov rbx, qword [0x1402bfb28]
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x38], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x38]
call fcn.1400ca6a0
mov r8, rbx
mov edx, 0x2b80
lea rcx, [rsp + 0x38]
call fcn.1400cc060
nop
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x210]
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140058720
lea rcx, [rsp + 0x38]
jmp 0x140058794
mov rbx, qword [0x1402bfb28]
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x48], rax
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x48]
call fcn.1400ca6a0
mov r8, rbx
mov edx, 0x2b7c
lea rcx, [rsp + 0x48]
call fcn.1400cc060
nop
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x210]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140058780
lea rcx, [rsp + 0x48]
call fcn.1400ca400
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x50]
call fcn.1400cc800
nop
movsxd rax, edi
lea r8, [r12 + rax*8 + 0xc0]
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.140055f10
lea r8d, [rdi + 0x41]
lea r9, [rsp + 0x210]
lea rdx, str._c:__s
lea rcx, [rsp + 0x250]
call fcn.14010d754
xor r11d, r11d
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x78], r11
mov qword [rsp + 0x80], r11
mov qword [rsp + 0x88], r11
mov qword [rsp + 0x90], r11
mov qword [rsp + 0x98], r11
mov qword [rsp + 0xa0], r11
mov qword [rsp + 0xa8], r11
mov qword [rsp + 0xb0], r11
mov dword [rsp + 0x70], 5
lea rax, [rsp + 0x20]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x74], edi
mov qword [rsp + 0x98], rsi
mov dword [rsp + 0x78], r14d
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x1007
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [rsp + 0x178], 1
lea rcx, [rsp + 0x210]
mov qword [rsp + 0x188], rcx
mov ebx, eax
lea r9, [rsp + 0x170]
mov r8d, eax
mov edx, 0x102e
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [rsp + 0xd8], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xe8], rax
lea r9, [rsp + 0xd0]
mov r8d, ebx
mov edx, 0x102e
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
nop
lea rcx, [rsp + 0x50]
call fcn.1400ca400
inc edi
mov dword [rsp + 0x58], edi
jmp 0x140058566
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [0x14024d112]
lea rcx, [rsp + 0x60]
call fcn.1400cc800
nop
movsxd rax, edi
lea r8, [r12 + rax*8 + 0xc0]
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140055f10
mov dword [rsp + 0x250], 0x434e55
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 5
lea rax, [rsp + 0x250]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x74], edi
mov qword [rsp + 0x98], r14
mov dword [rsp + 0x78], r14d
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x1007
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
mov rbx, rax
mov dword [rsp + 0x130], 2
mov dword [rsp + 0x12c], 2
lea r9, [rsp + 0x120]
xor r8d, r8d
mov edx, 0x102b
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [rsp + 0x1c8], 2
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x1d8], rcx
mov r8d, ebx
lea r9, [rsp + 0x1c0]
mov edx, 0x102e
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [rsp + 0x24], 1
lea rcx, [rsp + 0x60]
call fcn.1400ca400
nop
mov eax, 1
jmp 0x140058a22
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret