Function at 0x100226d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10073010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x10c], ecx
lea ecx, [ebp - 0x128]
push edi
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0x20000000
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
call sym.ISDI2.dll_private:_void___thiscall_CConsolidatedError::SetErrorCodeString_void_
mov ebx, dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov edi, 0x100
push edi
call fcn.1004a249
add esp, 4
mov esi, eax
mov dword [ebp - 0x12c], esi
push edi
push esi
push 0
call ebx
test eax, eax
jne 0x10022782
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x12c]
mov esi, eax
call fcn.1004a2db
add esp, 4
add edi, edi
cmp esi, 0x7a
je 0x10022748
jmp 0x1002278a
test esi, esi
jne 0x10022856
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x128], 4
mov dword [ebp - 0x124], 0xa0000003
call sym.ISDI2.dll_private:_void___thiscall_CConsolidatedError::SetErrorCodeString_void_
push str.UnKnown_Error_in_flushing_OS_Cache_for_Volume
lea ecx, [ebp - 0x128]
call sym.ISDI2.dll_public:_void___thiscall_CConsolidatedError::AddErrorMessage_char_const__
mov esi, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x128]
mov edi, dword [ebp - 0x118]
mov dword [esi], eax
mov eax, dword [ebp - 0x124]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x11c]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
test edi, edi
je 0x10022809
push edi
mov ecx, esi
call sym.ISDI2.dll_public:_void___thiscall_CConsolidatedError::AddDebugInformation_char_const__
mov esi, dword [ebp - 0x114]
mov ebx, dword [ebp - 0x10c]
test esi, esi
je 0x10022821
push esi
mov ecx, ebx
call sym.ISDI2.dll_public:_void___thiscall_CConsolidatedError::AddErrorMessage_char_const__
mov ecx, ebx
call sym.ISDI2.dll_private:_void___thiscall_CConsolidatedError::SetErrorCodeString_void_
test edi, edi
je 0x10022835
push edi
call fcn.1004a2db
add esp, 4
test esi, esi
je 0x10022842
push esi
call fcn.1004a2db
add esp, 4
mov ecx, dword [ebp - 0x110]
test ecx, ecx
je 0x100229fa
push ecx
jmp 0x100229f2
cmp byte [esi], 0
mov edi, esi
je 0x10022955
push edi
call fcn.1004b4c9
push str.volume
push edi
call fcn.1004b560
add esp, 0xc
test eax, eax
je 0x1002293c
lea ecx, [ebp - 0x108]
mov esi, str.._
mov eax, ecx
mov edx, 0x104
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x100228aa
mov al, byte [esi + ecx]
test al, al
je 0x100228aa
mov byte [ecx], al
inc ecx
dec edx
jne 0x10022891
jmp 0x100228ae
test edx, edx
jne 0x100228af
dec ecx
mov byte [ecx], 0
lea eax, [ebp - 0x108]
mov ecx, 0x104
lea ecx, [ecx]
cmp byte [eax], 0
je 0x100228cb
inc eax
dec ecx
jne 0x100228c0
jmp 0x10022910
test ecx, ecx
je 0x10022910
mov edx, 0x104
lea eax, [ebp - 0x108]
sub edx, ecx
mov ecx, 0x104
lea eax, [eax + edx]
sub ecx, edx
je 0x1002290c
add edx, 0x7ffffefa
mov esi, edi
add edx, ecx
sub esi, eax
test edx, edx
je 0x10022908
mov bl, byte [esi + eax]
test bl, bl
je 0x10022908
mov byte [eax], bl
dec edx
inc eax
dec ecx
jne 0x100228f4
jmp 0x1002290c
test ecx, ecx
jne 0x1002290d
dec eax
mov byte [eax], 0
push 0
push 0
push 3
push 0
push 3
push 0x40000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc edi
add edi, eax
cmp byte [edi], 0
jne 0x10022861
mov esi, dword [ebp - 0x12c]
push esi
call fcn.1004a2db
mov esi, dword [ebp - 0x10c]
add esp, 4
mov eax, dword [ebp - 0x128]
mov edi, dword [ebp - 0x118]
mov dword [esi], eax
mov eax, dword [ebp - 0x124]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x120]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x11c]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
test edi, edi
je 0x100229ae
push edi
mov ecx, esi
call sym.ISDI2.dll_public:_void___thiscall_CConsolidatedError::AddDebugInformation_char_const__
mov esi, dword [ebp - 0x114]
mov ebx, dword [ebp - 0x10c]
test esi, esi
je 0x100229c6
push esi
mov ecx, ebx
call sym.ISDI2.dll_public:_void___thiscall_CConsolidatedError::AddErrorMessage_char_const__
mov ecx, ebx
call sym.ISDI2.dll_private:_void___thiscall_CConsolidatedError::SetErrorCodeString_void_
test edi, edi
je 0x100229da
push edi
call fcn.1004a2db
add esp, 4
test esi, esi
je 0x100229e7
push esi
call fcn.1004a2db
add esp, 4
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x100229fa
push eax
call fcn.1004a2db
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004952f
mov esp, ebp
pop ebp
ret