Function at 0x41a6f2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov al, byte [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
and al, 0xf
inc ebx
push edi
mov byte [ebp - 1], al
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test byte [ebp + 0x14], 0xf0
mov esi, eax
mov dword [ebp - 0x1c], esi
jne 0x41a742
cmp esi, 4
jle 0x41a742
push 0x491eec
lea eax, [edi + esi*2 - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41a742
mov dword [ebp - 0xc], ebx
jmp 0x41a746
and dword [ebp - 0xc], 0
lea eax, [esi + 0x532]
push eax
lea ecx, [ebp - 0x18]
call fcn.00433c42
cmp word [edi], 0x5c
mov ebx, dword [ebp - 0x18]
lea eax, [ebx + esi*2 + 0x41a]
mov dword [ebp - 8], eax
jne 0x41a7bb
push eax
inc edi
push 0x324
inc edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, dword [ebp - 8]
jmp 0x41a7ad
push edi
push esi
push str._s_s
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041a6f2
add esp, 0x20
test eax, eax
jne 0x41a7a2
and dword [ebp - 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x41a77b
mov edi, dword [ebp - 0x10]
jmp 0x41aa11
cmp dword [ebp - 0xc], 0
jne 0x41a7f2
cmp byte [ebp - 1], 0
lea eax, [ebx + esi*2]
push 0x16
jne 0x41a7e2
push str.INF.INF
push eax
call fcn.0047b530
lea eax, [esi + 5]
add esp, 0xc
mov dword [ebp - 0xc], eax
jmp 0x41a80d
push str..INF
push eax
call fcn.0047b530
lea eax, [esi + 1]
jmp 0x41a7da
push 0x5c
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x41a809
sub eax, edi
inc eax
inc eax
sar eax, 1
jmp 0x41a7dd
and dword [ebp - 0xc], 0
and dword [ebp - 0x26c], 0
xor eax, eax
mov ecx, 0x93
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp + 8]
push ebx
xor edi, edi
push eax
mov dword [ebp + 8], edi
call fcn.0047ac16
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x41a938
movzx esi, word [0x4a6e78]
lea eax, [ebp - 0x240]
push eax
shl esi, 0x10
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, eax
push eax
lea eax, [ebp - 0x240]
push eax
mov eax, dword [ebp - 0xc]
lea eax, [ebx + eax*2]
push eax
call fcn.0047b530
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x41a88f
push ebx
push dword [ebp + 0x10]
call fcn.0040d22f
test al, al
pop ecx
pop ecx
je 0x41a91b
push ebx
push dword [ebp + 0xc]
call fcn.0041a600
cmp byte [0x4a6e64], 0
pop ecx
pop ecx
mov edi, eax
jne 0x41a909
test edi, edi
je 0x41a911
and dword [ebp - 8], 0
cmp byte [0x4a6e74], 0
je 0x41a8c1
push esi
push ebx
call fcn.004125b1
pop ecx
pop ecx
jmp 0x41a909
cmp byte [0x4a6e8c], 3
je 0x41a8ee
push esi
push ebx
push edi
call fcn.004124c1
add esp, 0xc
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
mov dword [ebp - 0x14], eax
jge 0x41a909
test eax, eax
je 0x41a909
cmp byte [0x4a6e8c], 3
jne 0x41a8fa
push edi
push ebx
call fcn.0040d2f8
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jge 0x41a909
cmp dword [ebp - 0x14], 0
jne 0x41a8ca
test edi, edi
je 0x41a911
and word [edi], 0
cmp dword [ebp - 0x14], 0
jne 0x41a91b
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x26c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41a845
mov esi, dword [ebp - 0x1c]
xor edi, edi
lea ecx, [ebp + 8]
call fcn.00402afe
cmp byte [ebp - 1], 1
jne 0x41aa09
push 0xc
lea eax, [ebx + esi*2]
push str..
push eax
call fcn.0047b530
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp + 8]
push ebx
push eax
mov word [ebp - 0x23c], di
call fcn.0047ac16
add esp, 0x18
cmp dword [ebp + 8], edi
je 0x41aa09
test byte [ebp - 0x26c], 0x10
je 0x41a9ef
cmp word [ebp - 0x240], 0x2e
jne 0x41a9ad
cmp word [ebp - 0x23e], di
je 0x41a9ef
cmp word [ebp - 0x23e], 0x2e
jne 0x41a9ad
cmp word [ebp - 0x23c], di
je 0x41a9ef
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, eax
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebx + esi*2 + 2]
push eax
call fcn.0047b530
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041a6f2
add esp, 0x1c
cmp eax, edi
jne 0x41a9e8
mov dword [ebp - 0x10], edi
mov word [ebp - 0x23c], di
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp + 8]
call fcn.0040425d
test eax, eax
jne 0x41a97e
mov edi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00402afe
lea ecx, [ebp - 0x18]
call fcn.0042eb98
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret