Function at 0x41c020
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x43db1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov eax, dword [0x45447c]
push ebx
push ebp
push esi
mov dword [esp + 0x90], eax
push edi
sub esp, 0x1c
mov esi, esp
xor ebx, ebx
mov ebp, 7
mov dword [esp + 0x38], esp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push str.IsVolume
mov dword [esp + 0xc0], ebx
mov word [esi + 4], bx
call fcn.0042fe2d
add esp, 4
push eax
push str.IsVolume
mov ecx, esi
call fcn.00402190
push 0xf3
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x54], 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 + 0xe0], 1
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 + 0x94]
mov byte [esp + 0xdc], bl
call fcn.0041fd60
mov eax, dword [esp + 0xc0]
mov edi, 8
cmp eax, edi
mov eax, dword [esp + 0xac]
mov byte [esp + 0xa0], 2
jae 0x41c0f9
lea eax, [esp + 0xac]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x38], esp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push str.Checking_if__s_is_a_real_volume_path...
mov word [esi + 4], bx
call fcn.0042fe2d
add esp, 4
push eax
push str.Checking_if__s_is_a_real_volume_path...
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.IsVolume
mov byte [esp + 0xe0], 3
mov word [esi + 4], bx
call fcn.0042fe2d
add esp, 4
push eax
push str.IsVolume
mov ecx, esi
call fcn.00402190
push 0xf5
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 + 0x100], 4
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 + 0xb4]
push eax
mov byte [esp + 0x100], 2
call fcn.0041fad0
add esp, 0x44
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xcc]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], bx
call fcn.00401de0
lea eax, [esp + 0x3c]
push eax
call fcn.00402a90
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xac], 5
call fcn.00401de0
cmp dword [esp + 0x38], edi
mov byte [esp + 0xa0], 2
jb 0x41c20e
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0042fe43
add esp, 4
push ebx
push 0x104
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.00401520
cmp dword [esp + 0x54], edi
mov edi, dword [esp + 0x40]
jae 0x41c238
lea edi, [esp + 0x40]
xor eax, eax
mov ecx, 0x82
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x54]
mov esi, 8
cmp eax, esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], 0x104
jae 0x41c25e
lea eax, [esp + 0x40]
mov word [eax + 0x208], bx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 6
call fcn.00403950
mov ecx, dword [esp + 0xc0]
mov eax, dword [eax + 8]
cmp ecx, esi
mov ecx, dword [esp + 0xac]
jae 0x41c297
lea ecx, [esp + 0xac]
mov edx, dword [esp + 0x50]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
neg eax
sbb al, al
inc al
lea ecx, [esp + 0x20]
mov byte [esp + 0x13], al
call fcn.004039d0
cmp byte [esp + 0x13], bl
je 0x41c3e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov edi, esp
sub esp, 0x1c
mov ecx, ebp
lea esi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov esi, esp
mov dword [esp + 0x50], esp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push str.GetVolumeNameForVolumeMountPoint__s__failed_with__d
mov word [esi + 4], bx
call fcn.0042fe2d
add esp, 4
push eax
push str.GetVolumeNameForVolumeMountPoint__s__failed_with__d
mov ecx, esi
call fcn.00402190
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x70], esp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push str.IsVolume
mov byte [esp + 0xfc], 7
mov word [esi + 4], bx
call fcn.0042fe2d
add esp, 4
push eax
push str.IsVolume
mov ecx, esi
call fcn.00402190
push 0xff
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x94], 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 + 0x11c], 8
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 + 0xd0]
push eax
mov byte [esp + 0x11c], 6
call fcn.0041fad0
mov eax, dword [esp + 0xd0]
mov esi, 8
add esp, 0x7c
cmp eax, esi
jb 0x41c3ac
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042fe43
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov byte [esp + 0xa0], bl
call fcn.0041fed0
cmp dword [esp + 0xc0], esi
jb 0x41c3e2
mov edx, dword [esp + 0xac]
push edx
call fcn.0042fe43
add esp, 4
xor al, al
jmp 0x41c431
cmp dword [esp + 0x54], esi
jb 0x41c3f9
mov eax, dword [esp + 0x40]
push eax
call fcn.0042fe43
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov byte [esp + 0xa0], bl
call fcn.0041fed0
cmp dword [esp + 0xc0], esi
jb 0x41c42f
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0042fe43
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x94]
call fcn.0043053d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret