Function at 0x41198b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov word [ebx], 8
mov dword [ebx + 8], esi
mov al, byte [0x441880]
push edi
mov dword [ebp - 4], ecx
push 0x40
mov byte [ebp - 0x178], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x177]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x14]
stosb byte es:[edi], al
call fcn.00414590
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
push 0xb2
call fcn.004068e5
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 4]
cmp byte [ebp - 0xd], 0xff
mov dword [ebp - 0x30], esi
mov eax, dword [edi + 0x124]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x178]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x14]
jne 0x411a09
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x24], 0x61
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
cmp eax, esi
je 0x411be4
lea ecx, [ebp - 0x178]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x411bad
lea eax, [ebp - 0x178]
push eax
call fcn.00411c0a
lea eax, [ebp - 0x178]
push eax
call sub.MSVCRT.dll_strlen
cmp byte [ebp + eax - 0x179], 0x5c
pop ecx
pop ecx
je 0x411a7b
lea eax, [ebp - 0x178]
push 0x43fe58
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 2
lea eax, [ebp - 0x178]
push 0x43fe54
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x411bad
lea eax, [ebp - 0x178]
push 0x5c
push eax
call fcn.00411bf3
pop ecx
cmp eax, 1
pop ecx
jle 0x411bad
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x74]
push eax
call fcn.0041e290
lea ecx, [ebp - 0x74]
call fcn.0041e330
test eax, eax
jne 0x411ba5
lea ecx, [ebp - 0x44]
call fcn.0041e450
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0x44]
push eax
call fcn.0041e4a0
lea ecx, [ebp - 0x44]
call fcn.0041e560
test eax, eax
je 0x411b9d
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x411b9d
lea eax, [ebp - 0x178]
lea ecx, [ebp - 0xc]
push eax
call fcn.004146d0
cmp byte [ebp - 5], 0xff
lea edi, [ebp - 0xc]
jne 0x411b2a
mov edi, dword [ebp - 0xc]
push esi
push esi
lea ecx, [ebp - 0xc]
call fcn.00414740
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push esi
call edi
push eax
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ecx, dword [ebp + 8]
mov dword [ebx + 8], eax
add ecx, ecx
push ecx
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp byte [ebp - 5], 0xff
lea eax, [ebp - 0xc]
jne 0x411b6a
mov eax, dword [ebp - 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], eax
push dword [ebx + 8]
call fcn.00414740
push eax
push dword [ebp - 4]
push esi
push esi
call edi
lea ecx, [ebp - 0xc]
call fcn.004146c0
lea ecx, [ebp - 0x44]
call fcn.0041e470
lea ecx, [ebp - 0x74]
call fcn.0041e2d0
jmp 0x411be4
lea ecx, [ebp - 0x44]
call fcn.0041e470
lea ecx, [ebp - 0x74]
call fcn.0041e2d0
push esi
push edi
lea ecx, [ebp - 0x2b8]
call fcn.0040265d
push 2
push 0xb3
lea ecx, [ebp - 0x2b8]
call fcn.00403560
cmp eax, 3
jne 0x411bd9
push ebx
mov ecx, edi
call fcn.0041198b
lea ecx, [ebp - 0x2b8]
call fcn.0040270c
lea ecx, [ebp - 0x14]
call fcn.004146c0
pop edi
pop esi
pop ebx
leave
ret 4