Function at 0x419f99
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 0x419fe9
cmp esi, 4
jle 0x419fe9
push 0x490fec
lea eax, [edi + esi*2 - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x419fe9
mov dword [ebp - 0xc], ebx
jmp 0x419fed
and dword [ebp - 0xc], 0
lea eax, [esi + 0x532]
push eax
lea ecx, [ebp - 0x18]
call fcn.00432cd5
cmp word [edi], 0x5c
mov ebx, dword [ebp - 0x18]
lea eax, [ebx + esi*2 + 0x41a]
mov dword [ebp - 8], eax
jne 0x41a062
push eax
inc edi
push 0x324
inc edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, dword [ebp - 8]
jmp 0x41a054
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.00419f99
add esp, 0x20
test eax, eax
jne 0x41a049
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 0x41a022
mov edi, dword [ebp - 0x10]
jmp 0x41a2b8
cmp dword [ebp - 0xc], 0
jne 0x41a099
cmp byte [ebp - 1], 0
lea eax, [ebx + esi*2]
push 0x16
jne 0x41a089
push str.INF.INF
push eax
call fcn.0047a010
lea eax, [esi + 5]
add esp, 0xc
mov dword [ebp - 0xc], eax
jmp 0x41a0b4
push str..INF
push eax
call fcn.0047a010
lea eax, [esi + 1]
jmp 0x41a081
push 0x5c
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x41a0b0
sub eax, edi
inc eax
inc eax
sar eax, 1
jmp 0x41a084
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.004796f1
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x41a1df
movzx esi, word [0x4a5e78]
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.0047a010
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x41a136
push ebx
push dword [ebp + 0x10]
call fcn.0040d132
test al, al
pop ecx
pop ecx
je 0x41a1c2
push ebx
push dword [ebp + 0xc]
call fcn.00419ea7
cmp byte [0x4a5e64], 0
pop ecx
pop ecx
mov edi, eax
jne 0x41a1b0
test edi, edi
je 0x41a1b8
and dword [ebp - 8], 0
cmp byte [0x4a5e74], 0
je 0x41a168
push esi
push ebx
call fcn.004123ba
pop ecx
pop ecx
jmp 0x41a1b0
cmp byte [0x4a5e8c], 3
je 0x41a195
push esi
push ebx
push edi
call fcn.004122ca
add esp, 0xc
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
mov dword [ebp - 0x14], eax
jge 0x41a1b0
test eax, eax
je 0x41a1b0
cmp byte [0x4a5e8c], 3
jne 0x41a1a1
push edi
push ebx
call fcn.0040d1fb
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jge 0x41a1b0
cmp dword [ebp - 0x14], 0
jne 0x41a171
test edi, edi
je 0x41a1b8
and word [edi], 0
cmp dword [ebp - 0x14], 0
jne 0x41a1c2
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 0x41a0ec
mov esi, dword [ebp - 0x1c]
xor edi, edi
lea ecx, [ebp + 8]
call fcn.00402b0e
cmp byte [ebp - 1], 1
jne 0x41a2b0
push 0xc
lea eax, [ebx + esi*2]
push str..
push eax
call fcn.0047a010
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp + 8]
push ebx
push eax
mov word [ebp - 0x23c], di
call fcn.004796f1
add esp, 0x18
cmp dword [ebp + 8], edi
je 0x41a2b0
test byte [ebp - 0x26c], 0x10
je 0x41a296
cmp word [ebp - 0x240], 0x2e
jne 0x41a254
cmp word [ebp - 0x23e], di
je 0x41a296
cmp word [ebp - 0x23e], 0x2e
jne 0x41a254
cmp word [ebp - 0x23c], di
je 0x41a296
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.0047a010
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00419f99
add esp, 0x1c
cmp eax, edi
jne 0x41a28f
mov dword [ebp - 0x10], edi
mov word [ebp - 0x23c], di
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp + 8]
call fcn.00404250
test eax, eax
jne 0x41a225
mov edi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.00402b0e
lea ecx, [ebp - 0x18]
call fcn.0042dd2d
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret