Function at 0x40a120
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x43326e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov eax, dword [0x44647c]
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.00426a3d
add esp, 4
push eax
push str.GetDisplayNameForVolume
mov ecx, esi
call fcn.00402060
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.00426a3d
add esp, 4
push eax
push str.d:dnsrvdrivers_storage_volsnap_vss_server_vss_support_vshadow.sdk72_srcutil.h
mov ecx, esi
call fcn.00402060
lea ecx, [esp + 0xb8]
mov byte [esp + 0x100], 1
call fcn.00418520
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.00401470
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x48]
mov esi, 8
cmp eax, esi
jae 0x40a219
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 0x40a238
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.00403360
mov ecx, dword [esp + 0xe8]
mov eax, dword [eax + 8]
cmp ecx, esi
mov ecx, dword [esp + 0xd4]
jae 0x40a271
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.004033e0
cmp byte [esp + 0x13], bl
je 0x40a4e1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
ja 0x40a2bc
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x4c]
call fcn.004010c0
jmp 0x40a2c9
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x4c]
call fcn.00401be0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
call fcn.00403360
mov ecx, dword [eax + 8]
cmp dword [esp + 0xe8], esi
mov eax, dword [esp + 0xd4]
jae 0x40a2f1
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.004033e0
cmp esi, ebx
jne 0x40a4dc
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.00426a3d
add esp, 4
push eax
push str.Executing_Win32_call__s
mov ecx, esi
call fcn.00402060
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.00426a3d
add esp, 4
push eax
push str.GetDisplayNameForVolume
mov ecx, esi
call fcn.00402060
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.00426a3d
add esp, 4
push eax
push str.d:dnsrvdrivers_storage_volsnap_vss_server_vss_support_vshadow.sdk72_srcutil.h
mov ecx, esi
call fcn.00402060
lea eax, [esp + 0xd8]
push eax
mov byte [esp + 0x124], 4
call fcn.00418290
add esp, 0x60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, ebx
mov edi, esi
jle 0x40a3ec
and edi, 0xffff
or edi, 0x80070000
cmp esi, ebx
je 0x40a4dc
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.00402500
lea ecx, [esp + 0x9c]
push ecx
call fcn.004187d0
add esp, 0x24
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.__GetLastError_____ld
call fcn.00402500
lea edx, [esp + 0x9c]
push edx
call fcn.004187d0
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.00417f50
add esp, 0x2c
mov ecx, dword [eax + 0x18]
mov esi, 8
cmp ecx, esi
mov byte [esp + 0xc4], 7
jb 0x40a462
mov eax, dword [eax + 4]
jmp 0x40a465
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.__Error_text:__s
call fcn.00402500
lea ecx, [esp + 0x9c]
push ecx
call fcn.004187d0
mov eax, dword [esp + 0x64]
add esp, 0x24
cmp eax, esi
mov byte [esp + 0xc4], 4
jb 0x40a4a6
mov edx, dword [esp + 0x2c]
push edx
call fcn.00426a53
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.00402500
lea eax, [esp + 0x98]
push eax
call fcn.004187d0
add esp, 0x20
push 0x442394
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], edi
call fcn.00426efa
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.00401cb0
cmp dword [esp + 0x5c], esi
mov esi, dword [esp + 0x48]
mov byte [esp + 0xc4], 8
jae 0x40a51b
lea esi, [esp + 0x48]
cmp word [esi], bx
je 0x40a557
mov edi, dword [esp + 0x74]
push esi
call fcn.00426a3d
add esp, 4
cmp edi, eax
jbe 0x40a545
push esi
call fcn.00426a3d
add esp, 4
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.00402060
push esi
call fcn.00426a3d
lea esi, [esi + eax*2 + 2]
add esp, 4
cmp word [esi], bx
jne 0x40a520
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.00401cb0
mov eax, dword [esp + 0x78]
mov edi, 8
cmp eax, edi
mov dword [esp + 0x24], 1
jb 0x40a599
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00426a53
add esp, 4
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
jb 0x40a5b9
mov edx, dword [esp + 0x48]
push edx
call fcn.00426a53
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.00418690
cmp dword [esp + 0xe8], edi
jb 0x40a5f0
mov eax, dword [esp + 0xd4]
push eax
call fcn.00426a53
add esp, 4
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xb8]
mov eax, esi
call fcn.0042714d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret