Function at 0x411d90
Capabilities:
Get disk information

Disassembly:
sub esp, 0xd0c
push ebx
push ebp
mov ebp, dword [esp + 0xd20]
push esi
push edi
mov edi, 0x446a11
mov esi, ebp
mov ecx, 1
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov byte [esp + 0x13], 0
jne 0x411dc0
mov byte [esp + 0x13], 1
lea ecx, [ecx]
mov ecx, dword [esp + 0xd2c]
cmp dword [ecx], 1
je 0x412033
lea edx, [esp + 0x11c]
push str.Disk_Images_
push edx
call fcn.00424a8c
lea eax, [esp + 0x124]
push eax
push ebp
call fcn.00424b40
add esp, 0x10
test eax, eax
je 0x411e6d
mov ebx, dword [esp + 0xd24]
push ebx
lea ecx, [esp + 0x120]
push str.Disk_ImagesDisk_d
push ecx
mov byte [eax], 0
call fcn.00424a8c
lea eax, [esp + 0x128]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411e20
mov edi, ebp
sub eax, ecx
mov esi, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x411e30
mov edx, dword [esp + 0xd38]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0xd30]
push edx
push eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.00411af0
mov esi, dword [esp + 0xd2c]
add esp, 0xc
mov dword [esi], eax
jmp 0x411f1c
mov ebp, 1
mov bl, 0x41
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x14], eax
xor edi, edi
test dword [esp + 0x14], ebp
je 0x411ef9
movsx esi, bl
push esi
lea ecx, [esp + 0x120]
push str._c:_
push ecx
call fcn.00424a8c
add esp, 0xc
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x411ef9
mov eax, dword [esp + 0xd28]
push esi
push str._c:_
push eax
call fcn.00424a8c
mov ecx, dword [esp + 0xd44]
mov edx, dword [esp + 0xd3c]
push ecx
push edx
lea eax, [esp + 0x130]
push eax
call fcn.00411af0
mov ecx, dword [esp + 0xd38]
mov dword [ecx], eax
mov ecx, dword [esp + 0xd3c]
add esp, 0x18
cmp eax, ecx
je 0x411f07
inc bl
shl ebp, 1
inc edi
cmp edi, 0x20
jl 0x411e80
mov esi, dword [esp + 0xd20]
mov ebx, dword [esp + 0xd24]
mov ebp, dword [esp + 0xd28]
cmp ebx, dword [esi]
je 0x411fe8
mov al, byte [esp + 0x13]
test al, al
jne 0x411f35
push ebx
call dword [0x4541b8]
jmp 0x411f89
push 0x400
lea edx, [esp + 0x920]
push edx
push 0x2f
call fcn.00408270
lea eax, [esp + 0x24]
push eax
call fcn.004076c0
movsx ecx, byte [esp + 0x28]
push ecx
push ebx
lea edx, [esp + 0x934]
push edx
lea eax, [esp + 0x538]
push eax
call fcn.00424a8c
add esp, 0x20
push 1
push 0x446a11
lea ecx, [esp + 0x524]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x411ff5
mov eax, dword [esp + 0xd34]
test eax, eax
push 0x400
je 0x411faa
lea edx, [esp + 0x520]
push edx
push 0x2e
jmp 0x411fb4
lea eax, [esp + 0x520]
push eax
push 0x4f
call fcn.00408270
add esp, 0xc
push 0x124
push 0x446a11
lea ecx, [esp + 0x524]
push ecx
push 0
call dword [0x457308]
cmp eax, 6
jne 0x41201e
mov edx, dword [esp + 0xd2c]
mov dword [edx], 0xffffffff
mov eax, dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0c
ret
push ebx
call dword [0x4541bc]
mov edx, dword [esp + 0xd38]
mov eax, dword [esp + 0xd30]
push edx
push eax
lea ecx, [esp + 0x124]
push ecx
call fcn.00411af0
add esp, 0xc
mov dword [esi], eax
mov eax, dword [esi]
cmp ebx, eax
jne 0x411dc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0c
ret
mov eax, dword [esp + 0xd20]
mov eax, dword [eax]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0c
ret