Function at 0x4050b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov byte [ebp - 0x121], 0x41
push edi
mov dword [ebp - 0x128], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea edi, [esi + 0x2d]
mov ebx, eax
push edi
push ebx
push str.Logical_Drives0x_x_Path:__s_
call fcn.00403880
add esp, 0xc
test ebx, ebx
je 0x40529d
mov al, byte [ebp - 0x121]
lea ecx, [ecx]
test bl, 1
je 0x40528d
push edi
movsx esi, al
lea eax, [ebp - 0x120]
push esi
push 0x418898
push 0x104
push eax
call fcn.00405c7a
add esp, 0x14
lea eax, [ebp - 0x120]
push eax
push 0x417ef4
push 0
call fcn.00403e00
add esp, 0xc
push esi
test eax, eax
je 0x40527a
push str.File_exist_under__C:
call fcn.00403880
mov cl, byte [ebp - 0x121]
lea eax, [ebp - 0x140]
push eax
lea edx, [ebp - 0x14]
call fcn.00403ea0
add esp, 0xc
test eax, eax
jne 0x405287
mov eax, dword [ebp - 0x128]
lea edx, [ebp - 0x14]
add eax, 0x11
mov esi, 0xc
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x405287
add edx, 4
add eax, 4
sub esi, 4
jae 0x405181
push str.Disk_UUID_match
call fcn.00403880
add esp, 4
test ebx, ebx
je 0x40529d
lea eax, [ebp - 0x120]
push eax
push str.Find_ISO_file___s_
call fcn.00403880
mov edi, dword [ebp - 0x140]
lea ecx, [ebp - 0x120]
mov edx, edi
call fcn.00404810
mov esi, str.SUCCESS
test eax, eax
mov edx, str.FAILED
mov ecx, esi
cmovne ecx, edx
push ecx
push str.Mount_ISO_FILE:__s
call fcn.00403880
mov ecx, edi
call fcn.00404980
test eax, eax
mov ecx, str.NO_NEED
cmovne esi, ecx
push esi
push str.Delete_ventoy_mountpoint:__s
call fcn.00403880
add esp, 0x18
cmp byte [0x41cc88], 0
je 0x4052cf
mov bl, byte [ebp - 0x121]
push 0x41cc88
movsx eax, bl
push eax
push str._C:_s
lea eax, [ebp - 0x120]
push 0x104
push eax
call fcn.00405c7a
add esp, 0x14
lea eax, [ebp - 0x120]
push eax
push 0x417ef4
push 0
call fcn.00403e00
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x120]
push eax
je 0x4052c0
push str.use_auto_install_script__s...
call fcn.00403880
add esp, 8
lea ecx, [ebp - 0x120]
call fcn.00404f90
jmp 0x4052e2
push str.File_NOT_exist_under__C:
call fcn.00403880
add esp, 8
mov al, byte [ebp - 0x121]
inc al
shr ebx, 1
mov byte [ebp - 0x121], al
jne 0x405100
push str.Failed_to_find_ISO_file
call fcn.00403880
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004059f4
mov esp, ebp
pop ebp
ret
push str.auto_install_script__s_not_exist
call fcn.00403880
add esp, 8
jmp 0x4052e2
push str.auto_install_no_need
call fcn.00403880
mov bl, byte [ebp - 0x121]
add esp, 4
cmp byte [0x41ce08], 0
je 0x40537f
push 0x41ce08
movsx eax, bl
push eax
push str._C:_s
lea eax, [ebp - 0x120]
push 0x104
push eax
call fcn.00405c7a
add esp, 0x14
lea eax, [ebp - 0x120]
push eax
push 0x417ef4
push 0
call fcn.00403e00
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x120]
push eax
je 0x40535f
push str.decompress_injection_archive__s...
call fcn.00403880
add esp, 8
lea ecx, [ebp - 0x120]
mov edx, edi
call fcn.00404c80
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004059f4
mov esp, ebp
pop ebp
ret
push str.injection_archive__s_not_exist
call fcn.00403880
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004059f4
mov esp, ebp
pop ebp
ret
push str.no_injection_archive_found
call fcn.00403880
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.004059f4
mov esp, ebp
pop ebp
ret