Function at 0x41dad3
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
xor edi, edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call fcn.00419c64
push 0x13c
call fcn.0042200e
cmp eax, edi
pop ecx
je 0x41db1f
push 0x1a
lea esi, [eax + 4]
pop ecx
mov ebx, esi
mov dword [eax], ecx
mov dword [ebp - 8], ecx
mov ecx, ebx
call fcn.00419c64
add ebx, 0xc
dec dword [ebp - 8]
jne 0x41db0b
mov dword [ebp - 8], esi
jmp 0x41db22
mov dword [ebp - 8], edi
cmp dword [ebp - 8], edi
je 0x41db44
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push edi
push edi
call esi
push eax
mov dword [ebp - 4], eax
call fcn.0042200e
mov ebx, eax
pop ecx
cmp ebx, edi
mov dword [ebp - 0x18], ebx
jne 0x41db4f
inc dword [0x47a1d0]
jmp 0x41dcfd
push ebx
push dword [ebp - 4]
call esi
mov eax, dword [ebp - 0x14]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x18b
push dword [eax + 0xc]
call edi
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1c], eax
call esi
test eax, eax
je 0x41dc55
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ebx
call fcn.00419db1
mov ecx, dword [ebp - 4]
call fcn.0041ab9e
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x41dc3f
inc dword [ebp - 0xc]
push str.
lea ecx, [ebp - 0x30]
call fcn.00419db1
push dword [ebp - 4]
lea ecx, [ebp - 0x30]
call fcn.00419f64
push 9
lea ecx, [ebp - 0x30]
call fcn.00419e97
mov ecx, dword [ebp - 4]
push 1
call fcn.0041ab9e
push eax
call fcn.0040d8b6
cmp edx, dword [0x47a4f4]
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
ja 0x41dbf9
jb 0x41dbf6
cmp eax, dword [0x47a4f0]
jae 0x41dbf9
inc dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.00419c64
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.0041b7af
add esp, 0xc
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x30]
push eax
call fcn.00419f64
lea ecx, [ebp - 0x30]
call fcn.0041ab9e
push eax
mov eax, dword [ebp - 0x14]
push 0
push 0x180
push dword [eax + 0xc]
call edi
lea ecx, [ebp - 0x3c]
call fcn.00419d9a
add dword [ebp - 4], 0xc
push ebx
call esi
lea ebx, [ebx + eax + 1]
push ebx
call esi
test eax, eax
jne 0x41db86
push dword [ebp - 0x18]
call fcn.0042201c
pop ecx
mov ecx, dword [ebp - 8]
push 3
call fcn.00417fac
push 0x47a91c
lea ecx, [ebp - 0x30]
call fcn.00419e1f
push 0
push 0x4298fc
lea ecx, [ebp - 0x30]
call fcn.00419ee6
lea ecx, [ebp - 0x48]
call fcn.00419c64
lea eax, [ebp - 0x48]
push eax
push dword [0x47a4f4]
push dword [0x47a4f0]
call fcn.0041b7af
add esp, 0xc
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
push eax
call fcn.00419f64
push 9
lea ecx, [ebp - 0x30]
call fcn.00419e97
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
jne 0x41dccf
inc dword [0x47a1c8]
push 0x47a7b4
jmp 0x41dcd4
push 0x47a7cc
lea ecx, [ebp - 0x30]
call fcn.00419f64
lea ecx, [ebp - 0x30]
call fcn.0041ab9e
push eax
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x1c]
push 0x181
push dword [eax + 0xc]
call edi
lea ecx, [ebp - 0x48]
call fcn.00419d9a
lea ecx, [ebp - 0x30]
call fcn.00419d9a
pop edi
pop esi
pop ebx
leave
ret