Function at 0x40e350
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x43cbae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov eax, dword [0x45447c]
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0xb4], eax
push edi
mov dword [esp + 0x24], ebx
sub esp, 0x1c
mov esi, esp
mov ebp, 7
mov dword [esp + 0x38], esp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push str.GetDisplayNameForVolume
mov dword [esp + 0xe4], 1
mov word [esi + 4], bx
call fcn.0042fe2d
add esp, 4
push eax
push str.GetDisplayNameForVolume
mov ecx, esi
call fcn.00402190
push 0x176
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x5c], esp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push str.d:dnsrvdrivers_storage_volsnap_vss_server_vss_support_vshadow.sdk72_srcutil.h
mov byte [esp + 0x104], 2
mov word [esi + 4], bx
call fcn.0042fe2d
add esp, 4
push eax
push str.d:dnsrvdrivers_storage_volsnap_vss_server_vss_support_vshadow.sdk72_srcutil.h
mov ecx, esi
call fcn.00402190
lea ecx, [esp + 0xb8]
mov byte [esp + 0x100], 1
call fcn.0041fd60
push ebx
push 0x104
lea ecx, [esp + 0x4c]
mov byte [esp + 0xcc], 3
mov dword [esp + 0x20], ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
call fcn.00401520
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x48]
mov esi, 8
cmp eax, esi
jae 0x40e449
lea edi, [esp + 0x48]
xor eax, eax
mov ecx, 0x82
rep stosd dword es:[edi], eax
cmp dword [esp + 0x5c], esi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], 0x104
jae 0x40e468
lea eax, [esp + 0x48]
mov word [eax + 0x208], bx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc8], 4
call fcn.00403950
mov ecx, dword [esp + 0xe8]
mov eax, dword [eax + 8]
cmp ecx, esi
mov ecx, dword [esp + 0xd4]
jae 0x40e4a1
lea ecx, [esp + 0xd4]
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x5c]
push edx
push eax
push ecx
call edi
neg eax
sbb al, al
inc al
lea ecx, [esp + 0x28]
mov byte [esp + 0x13], al
call fcn.004039d0
cmp byte [esp + 0x13], bl
je 0x40e711
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
ja 0x40e4ec
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x4c]
call fcn.00401120
jmp 0x40e4f9
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x4c]
call fcn.00401d10
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
call fcn.00403950
mov ecx, dword [eax + 8]
cmp dword [esp + 0xe8], esi
mov eax, dword [esp + 0xd4]
jae 0x40e521
lea eax, [esp + 0xd4]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x5c]
push edx
push ecx
push eax
call edi
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [esp + 0x28]
inc esi
call fcn.004039d0
cmp esi, ebx
jne 0x40e70c
push str.__GetVolumePathNamesForVolumeName__LPCWSTR_volumeName.c_str____WString2Buffer_volumeMountPoints____DWORD_volumeMountPoints.length____dwRequired__
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push str.Executing_Win32_call__s
mov word [esi + 4], bx
call fcn.0042fe2d
add esp, 4
push eax
push str.Executing_Win32_call__s
mov ecx, esi
call fcn.00402190
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x58], esp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push str.GetDisplayNameForVolume
mov byte [esp + 0x104], 5
mov word [esi + 4], bx
call fcn.0042fe2d
add esp, 4
push eax
push str.GetDisplayNameForVolume
mov ecx, esi
call fcn.00402190
push 0x184
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x70], esp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push str.d:dnsrvdrivers_storage_volsnap_vss_server_vss_support_vshadow.sdk72_srcutil.h
mov byte [esp + 0x124], 6
mov word [esi + 4], bx
call fcn.0042fe2d
add esp, 4
push eax
push str.d:dnsrvdrivers_storage_volsnap_vss_server_vss_support_vshadow.sdk72_srcutil.h
mov ecx, esi
call fcn.00402190
lea eax, [esp + 0xd8]
push eax
mov byte [esp + 0x124], 4
call fcn.0041fad0
add esp, 0x60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, ebx
mov edi, esi
jle 0x40e61c
and edi, 0xffff
or edi, 0x80070000
cmp esi, ebx
je 0x40e70c
push str.__GetVolumePathNamesForVolumeName__LPCWSTR_volumeName.c_str____WString2Buffer_volumeMountPoints____DWORD_volumeMountPoints.length____dwRequired__
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str._nERROR:_Win32_call__s_failed.
call fcn.004026d0
lea ecx, [esp + 0x9c]
push ecx
call fcn.00420010
add esp, 0x24
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.__GetLastError_____ld
call fcn.004026d0
lea edx, [esp + 0x9c]
push edx
call fcn.00420010
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.0041f780
add esp, 0x2c
mov ecx, dword [eax + 0x18]
mov esi, 8
cmp ecx, esi
mov byte [esp + 0xc4], 7
jb 0x40e692
mov eax, dword [eax + 4]
jmp 0x40e695
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.__Error_text:__s
call fcn.004026d0
lea ecx, [esp + 0x9c]
push ecx
call fcn.00420010
mov eax, dword [esp + 0x64]
add esp, 0x24
cmp eax, esi
mov byte [esp + 0xc4], 4
jb 0x40e6d6
mov edx, dword [esp + 0x2c]
push edx
call fcn.0042fe43
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
call fcn.004026d0
lea eax, [esp + 0x98]
push eax
call fcn.00420010
add esp, 0x20
push 0x44f9c4
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], edi
call fcn.004302ea
mov esi, 8
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
call fcn.00401de0
cmp dword [esp + 0x5c], esi
mov esi, dword [esp + 0x48]
mov byte [esp + 0xc4], 8
jae 0x40e74b
lea esi, [esp + 0x48]
cmp word [esi], bx
je 0x40e787
mov edi, dword [esp + 0x74]
push esi
call fcn.0042fe2d
add esp, 4
cmp edi, eax
jbe 0x40e775
push esi
call fcn.0042fe2d
add esp, 4
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.00402190
push esi
call fcn.0042fe2d
lea esi, [esi + eax*2 + 2]
add esp, 4
cmp word [esi], bx
jne 0x40e750
mov esi, dword [esp + 0xcc]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x68]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.00401de0
mov eax, dword [esp + 0x78]
mov edi, 8
cmp eax, edi
mov dword [esp + 0x24], 1
jb 0x40e7c9
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0042fe43
add esp, 4
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
jb 0x40e7e9
mov edx, dword [esp + 0x48]
push edx
call fcn.0042fe43
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
mov byte [esp + 0xc4], 1
call fcn.0041fed0
cmp dword [esp + 0xe8], edi
jb 0x40e820
mov eax, dword [esp + 0xd4]
push eax
call fcn.0042fe43
add esp, 4
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xb8]
mov eax, esi
call fcn.0043053d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret