Function at 0x470720
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4023f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401ff8
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x68]
mov edx, dword [ebp + 0xc]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor esi, esi
rep stosd dword es:[edi], eax
mov dword [ebp - 0x74], eax
mov ecx, 6
mov dword [ebp - 0x70], eax
lea edi, [ebp - 0x8c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x98], esi
call ebx
push 0x11
lea ecx, [ebp - 0x30]
push 0x419e2c
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov edx, dword [ebp - 0x40]
push esi
push esi
push 3
push esi
push 3
push esi
push 0x419e04
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.00419de4
mov dword [ebp - 0x98], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edi, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
lea edx, [ebp - 0x90]
push ecx
push edx
push 2
mov dword [ebp - 0x38], edi
call dword [fcn.004012a8]
add esp, 0xc
cmp edi, 0xffffffff
je 0x4709a0
lea eax, [ebp - 0x3c]
push esi
lea ecx, [ebp - 0x30]
push eax
push ecx
push 1
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov edx, dword [ebp - 0x24]
add eax, 1
jo 0x470a29
push eax
push edx
lea eax, [ebp - 0x74]
push 0xc
push eax
push 0x2d1400
push edi
call fcn.00413e60
mov dword [ebp - 0x98], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
cmp dword [ebp - 0x98], esi
je 0x4709a7
mov ecx, dword [ebp - 0x24]
push 0x23
lea edx, [ebp - 0x68]
push ecx
push edx
call fcn.00412990
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
movsx eax, word [ebp - 0x4c]
mov dword [ebp - 0x88], eax
mov al, byte [ebp - 0x5e]
xor ecx, ecx
mov word [ebp - 0x8c], 0xffff
test al, al
mov eax, dword [ebp - 0x58]
setne cl
neg ecx
cmp eax, esi
mov word [ebp - 0x84], cx
jle 0x4708ef
cmp eax, 0x2710
mov esi, eax
jb 0x4708b6
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp - 0x24]
add edx, esi
mov esi, dword [sym.imp.MSVBVM60.DLL_VarPtr]
push edx
call esi
push eax
call fcn.00470a30
mov edx, eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x7c]
call ebx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x90]
call edi
jmp 0x4708fb
mov esi, dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [ebp - 0x54]
test eax, eax
jle 0x470946
cmp eax, 0x2710
mov dword [ebp - 0x9c], eax
jb 0x470915
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x9c]
add eax, ecx
push eax
call esi
push eax
call fcn.00470a30
mov edx, eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x78]
call ebx
lea ecx, [ebp - 0x90]
call edi
mov eax, dword [ebp - 0x5c]
test eax, eax
jle 0x470991
cmp eax, 0x2710
mov dword [ebp - 0x9c], eax
jb 0x470960
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x9c]
add edx, eax
push edx
call esi
push eax
call fcn.00470a30
mov edx, eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x80]
call ebx
lea ecx, [ebp - 0x90]
call edi
mov edi, dword [ebp - 0x38]
push edi
call fcn.00413094
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x470a04
jmp 0x4709e2
mov word [ebp - 0x8c], si
jmp 0x470994
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x30]
push edx
push 0
mov dword [ebp - 0x98], ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop