Function at 0x409b0d
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4cc
mov eax, dword [0x413074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x4a4], ecx
push edi
mov dword [ebp - 0x494], ebx
mov dword [ebp - 0x4a0], ebx
call fcn.004087dc
mov dword [ebp - 0x4a8], eax
lea eax, [ebp - 0x494]
push eax
call dword [sym.imp.VSSAPI.DLL_CreateVssBackupComponentsInternal]
test eax, eax
js 0x409dae
mov ecx, dword [ebp - 0x494]
push ebx
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x14]
mov ecx, esi
call dword [0x414340]
call esi
mov eax, dword [ebp - 0x494]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x8c]
mov ecx, esi
call dword [0x414340]
call esi
mov ecx, dword [ebp - 0x494]
mov esi, 0x401304
mov eax, dword [ecx]
mov ebx, dword [eax + 0xac]
lea eax, [ebp - 0x4a0]
push eax
push 3
push 1
sub esp, 0x10
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [0x414340]
call ebx
test eax, eax
js 0x409d98
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x409d98
mov esi, 0x401304
mov dword [ebp - 0x498], ecx
lea edi, [ebp - 0x4b8]
xor ebx, ebx
and dword [ebp - 0x49c], ebx
lea eax, [ebp - 0x210]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x208
push esi
push ebx
push eax
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x418]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x210]
mov esi, 0x104
push esi
push eax
push dword [ebp - 0x4a4]
call dword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumeNameForVolumeMountPointW]
push esi
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumeNameForVolumeMountPointW]
cmp dword [ebp - 0x498], ebx
je 0x409d82
mov ecx, dword [ebp - 0x4a0]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x490]
push eax
push 1
push ecx
mov ecx, esi
call dword [0x414340]
call esi
test eax, eax
js 0x409d75
cmp dword [ebp - 0x498], 0
je 0x409d82
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x460]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x409d68
mov ecx, dword [ebp - 0x49c]
mov eax, ebx
or eax, ecx
mov eax, dword [ebp - 0x434]
jne 0x409cd6
mov ebx, dword [ebp - 0x438]
lea esi, [ebp - 0x488]
lea edi, [ebp - 0x4b8]
mov dword [ebp - 0x49c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x409d68
cmp eax, ecx
jg 0x409cec
jl 0x409ce4
cmp dword [ebp - 0x438], ebx
ja 0x409cec
lea edi, [ebp - 0x4c8]
jmp 0x409d0e
mov ebx, dword [ebp - 0x438]
lea esi, [ebp - 0x4b8]
lea edi, [ebp - 0x4c8]
mov dword [ebp - 0x49c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x4b8]
lea esi, [ebp - 0x488]
mov eax, dword [ebp - 0x494]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x428]
push edx
and dword [ebp - 0x4a4], 0
lea edx, [ebp - 0x4a4]
push edx
movsd dword es:[edi], dword [esi]
push 0
push 3
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x401304
lea edi, [ebp - 0x428]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
lea esi, [ebp - 0x4c8]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ecx + 0x9c]
mov ecx, esi
call dword [0x414340]
call esi
lea eax, [ebp - 0x488]
push eax
call dword [sym.imp.VSSAPI.DLL_VssFreeSnapshotPropertiesInternal]
cmp dword [ebp - 0x498], 0
jne 0x409c4b
mov eax, dword [ebp - 0x4a0]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x414340]
call esi
mov eax, dword [ebp - 0x494]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x414340]
call esi
cmp dword [ebp - 0x4a8], 0
jne 0x409dbd
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004124d0
leave
ret