Function at 0x44412f
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x464
lea ebp, [esp - 4]
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp + 0x464], eax
push 0x88
mov eax, 0x4c2447
call fcn.00492516
mov edi, dword [ebp + 0x470]
mov esi, ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], edi
call fcn.004703d0
lea eax, [ebp - 0x20]
push eax
xor ebx, ebx
push 0xb2
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00426830
push 8
pop eax
push 0x103
mov word [edi], ax
lea eax, [ebp + 0x361]
push ebx
push eax
mov dword [edi + 8], ebx
mov byte [ebp + 0x360], bl
call fcn.00491e90
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x19], 0xff
push 7
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x1f8]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x360]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x20]
jne 0x4441cd
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x4c], 0x61
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
cmp eax, ebx
je 0x4444d1
lea ecx, [ebp + 0x360]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4443f9
cmp byte [ebp + 0x360], bl
je 0x444223
lea eax, [ebp + 0x360]
cmp byte [eax], 0x2f
jne 0x44421e
mov byte [eax], 0x5c
inc eax
cmp byte [eax], bl
jne 0x444216
lea eax, [ebp + 0x360]
push eax
call fcn.00492a70
pop ecx
lea ecx, [ebp + 0x360]
cmp byte [eax + ecx - 1], 0x5c
je 0x44424c
mov eax, ecx
push 0x4cf9a0
push eax
call fcn.00492980
pop ecx
pop ecx
push 2
lea eax, [ebp + 0x360]
push 0x4d72b8
push eax
call fcn.00495fb3
add esp, 0xc
test eax, eax
je 0x4443f9
xor ecx, ecx
cmp byte [ebp + 0x360], bl
je 0x4443f9
lea eax, [ebp + 0x360]
cmp byte [eax], 0x5c
jne 0x444284
inc ecx
inc eax
cmp byte [eax], bl
jne 0x44427e
cmp ecx, 1
jle 0x4443f9
lea eax, [ebp + 0x360]
push eax
lea ecx, [ebp - 0x94]
call fcn.00479880
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.004798e0
test eax, eax
jne 0x4443eb
lea ecx, [ebp - 0x3c]
call fcn.0047a480
lea eax, [ebp + 0x360]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00479d00
lea ecx, [ebp - 0x3c]
call fcn.00479dc0
test eax, eax
je 0x4443df
lea eax, [ebp + 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4443df
lea eax, [ebp + 0x360]
push eax
lea ecx, [ebp - 0x18]
call fcn.00470680
push 3
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00470e50
push 0x5dc
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00426b57
test eax, eax
lea ecx, [ebp - 0x2c]
setns byte [ebp - 0xd]
mov byte [ebp - 4], 3
call fcn.00470660
cmp byte [ebp - 0xd], bl
jne 0x444437
push str.1500
lea ecx, [esi + 0x108]
call fcn.004707b0
push 2
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x18]
call fcn.00470e50
push eax
lea ecx, [esi + 0x100]
mov byte [ebp - 4], 5
call fcn.00470710
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00470660
push esi
lea ecx, [ebp]
call fcn.0041dc5d
push 8
push 0x462
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.0041f648
mov byte [ebp - 4], 3
lea ecx, [ebp]
cmp eax, 8
jne 0x4444c5
call fcn.0041f6a4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00470660
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00479cd0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.004798b0
jmp 0x4441a2
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00479cd0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.004798b0
push esi
lea ecx, [ebp + 0x1b0]
call fcn.0041dc5d
push 2
push 0xb3
lea ecx, [ebp + 0x1b0]
mov byte [ebp - 4], 7
call fcn.0041f648
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x1b0]
cmp eax, 3
jne 0x4444cc
call fcn.0041f6a4
jmp 0x4441a2
cmp byte [ebp - 0x11], 0xff
lea esi, [ebp - 0x18]
jne 0x444443
mov esi, dword [ebp - 0x18]
push ebx
push ebx
lea ecx, [ebp - 0x18]
call fcn.004703e0
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push esi
push ebx
push ebx
call edi
mov esi, eax
push esi
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 8], eax
lea ecx, [esi + esi]
push ecx
push ebx
push eax
call fcn.00491e90
add esp, 0xc
cmp byte [ebp - 0x11], 0xff
lea eax, [ebp - 0x18]
jne 0x444483
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
push esi
push dword [eax + 8]
lea ecx, [ebp - 0x18]
call fcn.004703e0
push eax
push dword [ebp - 0x28]
push ebx
push ebx
call edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00470660
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00479cd0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.004798b0
jmp 0x4444d1
call fcn.0041f6a4
jmp 0x44449d
call fcn.0041f6a4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00470660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x464]
xor ecx, ebp
call fcn.00492093
add ebp, 0x468
leave
ret 4