Function at 0x10024170
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10081010]
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.10054c47
add esp, 4
mov esi, eax
mov dword [ebp - 0x12c], esi
push edi
push esi
push 0
call ebx
test eax, eax
jne 0x10024222
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x12c]
mov esi, eax
call fcn.10055a53
add esp, 4
add edi, edi
cmp esi, 0x7a
je 0x100241e8
jmp 0x1002422a
test esi, esi
jne 0x100242f6
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 0x100242a9
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 0x100242c1
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 0x100242d5
push edi
call fcn.10055a53
add esp, 4
test esi, esi
je 0x100242e2
push esi
call fcn.10055a53
add esp, 4
mov ecx, dword [ebp - 0x110]
test ecx, ecx
je 0x1002449e
push ecx
jmp 0x10024496
cmp byte [esi], 0
mov edi, esi
je 0x100243f9
push edi
call fcn.10056de4
push str.volume
push edi
call fcn.10056e80
add esp, 0xc
test eax, eax
je 0x100243e0
lea ecx, [ebp - 0x108]
mov esi, str.._
mov eax, ecx
mov edx, 0x104
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1002434c
mov al, byte [esi + ecx]
test al, al
je 0x1002434c
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10024331
jmp 0x10024350
test edx, edx
jne 0x10024351
dec ecx
mov byte [ecx], 0
lea eax, [ebp - 0x108]
mov ecx, 0x104
nop
cmp byte [eax], 0
je 0x1002436d
inc eax
sub ecx, 1
jne 0x10024360
jmp 0x100243b4
test ecx, ecx
je 0x100243b4
mov edx, 0x104
lea eax, [ebp - 0x108]
sub edx, ecx
mov ecx, 0x104
lea eax, [eax + edx]
sub ecx, edx
je 0x100243b0
add edx, 0x7ffffefa
mov esi, edi
add edx, ecx
sub esi, eax
test edx, edx
je 0x100243ac
mov bl, byte [esi + eax]
test bl, bl
je 0x100243ac
mov byte [eax], bl
dec edx
inc eax
sub ecx, 1
jne 0x10024396
jmp 0x100243b0
test ecx, ecx
jne 0x100243b1
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 0x10024301
mov esi, dword [ebp - 0x12c]
push esi
call fcn.10055a53
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 0x10024452
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 0x1002446a
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 0x1002447e
push edi
call fcn.10055a53
add esp, 4
test esi, esi
je 0x1002448b
push esi
call fcn.10055a53
add esp, 4
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x1002449e
push eax
call fcn.10055a53
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10054bb7
mov esp, ebp
pop ebp
ret