Function at 0x43f538
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x348
lea ebp, [esp - 4]
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp + 0x348], eax
push 0x48
mov eax, 0x49c1de
call fcn.00470906
mov edi, dword [ebp + 0x354]
and dword [ebp - 0x14], 0
mov ebx, ecx
mov esi, 0x4c186c
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], edi
call fcn.00404a10
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push 0xb2
mov ecx, ebx
call fcn.0041e109
and dword [edi + 8], 0
push 8
pop eax
push esi
lea ecx, [ebp - 0x18]
mov word [edi], ax
call fcn.00404a10
mov byte [ebp - 4], 1
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x200]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x1c]
xor edi, edi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], 0x61
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
cmp esi, edi
je 0x43f618
or dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x18]
push 0x104
mov ecx, eax
mov dword [ebp - 0x34], eax
call fcn.00405410
mov dword [ebp - 0x30], eax
push eax
inc edi
or dword [ebp - 0x14], edi
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x43f61b
mov byte [ebp - 0xd], 1
jmp 0x43f61f
xor edi, edi
inc edi
mov byte [ebp - 0xd], 0
test byte [ebp - 0x14], 1
mov dword [ebp - 4], edi
je 0x43f637
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
and dword [ebp - 0x14], 0xfffffffe
call fcn.004048d0
cmp byte [ebp - 0xd], 0
je 0x43f771
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x43f682
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x43f682
push 3
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041dff7
push dword [eax]
or dword [ebp - 0x14], 2
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov byte [ebp - 0xd], 1
cmp eax, 3
je 0x43f686
mov byte [ebp - 0xd], 0
test byte [ebp - 0x14], 2
mov dword [ebp - 4], edi
je 0x43f69e
mov ecx, dword [ebp - 0x24]
and dword [ebp - 0x14], 0xfffffffd
add ecx, 0xfffffff0
call fcn.004011bc
cmp byte [ebp - 0xd], 0
je 0x43f737
push 0x3e8
push dword [ebp - 0x18]
call fcn.00408ccb
pop ecx
pop ecx
test eax, eax
jns 0x43f75b
lea ecx, [ebx + 0x108]
push str.1000
call fcn.00406290
push 2
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041dff7
lea ecx, [ebx + 0x104]
push eax
mov byte [ebp - 4], 4
call fcn.00406170
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004011bc
push ebx
lea ecx, [ebp + 0x1a4]
call fcn.00411d43
push 0xa
push 0x462
lea ecx, [ebp + 0x1a4]
mov byte [ebp - 4], 5
call fcn.0041355f
lea ecx, [ebp + 0x1a4]
cmp eax, 8
mov byte [ebp - 4], 1
jne 0x43f76c
call fcn.00411be3
jmp 0x43f5a4
push ebx
lea ecx, [ebp]
call fcn.00411d43
push 2
push 0xb3
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.0041355f
lea ecx, [ebp]
cmp eax, 3
jmp 0x43f727
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 8], eax
jmp 0x43f771
call fcn.00411be3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004011bc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004011bc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x348]
xor ecx, ebp
call fcn.00470483
add ebp, 0x34c
leave
ret 4