Function at 0x1001484
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [sym.imp.ulib.dll_public:_void___thiscall_DSTRING::constructor_void_]
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x64], eax
call edi
lea ecx, [ebp - 0x7c]
call edi
lea ecx, [ebp - 0xc4]
call edi
lea ecx, [ebp - 0xac]
call edi
lea ecx, [ebp - 0x94]
call edi
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x5c]
call fcn.01001399
test al, al
jne 0x100154b
mov eax, dword [esi]
push 3
push 0
push 0x7f4
mov ecx, esi
call dword [eax + 0xc]
push 0x100119c
push esi
call dword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_MESSAGE::Display_char_const__]
pop ecx
pop ecx
mov esi, dword [sym.imp.ulib.dll_public_virtual:_void___thiscall_DSTRING::destructor_void_]
lea ecx, [ebp - 0x94]
call esi
lea ecx, [ebp - 0xac]
call esi
lea ecx, [ebp - 0xc4]
call esi
lea ecx, [ebp - 0x7c]
call esi
lea ecx, [ebp - 0xdc]
call esi
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010024fa
leave
ret 0x14
push 1
push 0x418
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0xe4]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
push dword [ebp - 0x60]
test eax, eax
jge 0x1001578
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x100150d
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [ebp - 0x4f8]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x4f2], cx
push 0xffffffffffffffff
lea eax, [ebp - 0x4f2]
push eax
lea ecx, [ebp - 0xdc]
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_WSTRING::Initialize_unsigned_short_int_const___unsigned_long_int_]
test al, al
jne 0x10015dd
xor bl, bl
mov esi, dword [sym.imp.ulib.dll_public_virtual:_void___thiscall_DSTRING::destructor_void_]
lea ecx, [ebp - 0x94]
call esi
lea ecx, [ebp - 0xac]
call esi
lea ecx, [ebp - 0xc4]
call esi
lea ecx, [ebp - 0x7c]
call esi
lea ecx, [ebp - 0xdc]
call esi
mov al, bl
jmp 0x100153a
mov edx, dword [esi]
xor eax, eax
push 3
mov ecx, esi
push eax
cmp dword [ebp - 0x4f8], eax
je 0x1001616
push 0x1773
call dword [edx + 0xc]
mov edi, dword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_MESSAGE::Display_char_const__]
lea eax, [ebp - 0xdc]
push eax
push dword [ebp - 0x58]
push 0x10011bc
push esi
call edi
add esp, 0x10
mov byte [ebx], 1
jmp 0x1001635
push 0x1772
call dword [edx + 0xc]
push dword [ebp - 0x58]
mov edi, dword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_MESSAGE::Display_char_const__]
push 0x10011b8
push esi
call edi
add esp, 0xc
mov byte [ebx], 0
xor ebx, ebx
cmp word [ebp - 0x4fa], bx
jne 0x1001649
cmp word [ebp - 0x4fc], bx
je 0x1001673
mov eax, dword [esi]
push 3
push ebx
push 0xbbb
mov ecx, esi
call dword [eax + 0xc]
movzx eax, word [ebp - 0x4fc]
push eax
movzx eax, word [ebp - 0x4fa]
push eax
push 0x10011ac
push esi
call edi
add esp, 0x10
push 0xffffffffffffffff
push 0x10011a0
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x58], 0xbbc
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_WSTRING::Initialize_char_const___unsigned_long_int_]
test al, al
je 0x1001746
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x7c]
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_WSTRING::Initialize_class_WSTRING_const___unsigned_long_int__unsigned_long_int_]
test al, al
je 0x1001746
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x7c]
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_WSTRING::Strcat_class_WSTRING_const__]
test al, al
je 0x1001746
push 0xffffffffffffffff
push 0x10011a4
lea ecx, [ebp - 0x94]
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_WSTRING::Initialize_char_const___unsigned_long_int_]
test al, al
je 0x1001746
push 1
push ebx
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x7c]
call dword [sym.imp.ulib.dll_public:_unsigned_short_int____thiscall_WSTRING::QueryWSTR_unsigned_long_int__unsigned_long_int__unsigned_short_int___unsigned_long_int__unsigned_char_const]
mov dword [ebp - 0x5c], eax
cmp eax, ebx
je 0x1001746
push 0x28
lea ecx, [ebp - 0x54]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x100173d
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_WSTRING::Initialize_unsigned_short_int_const___unsigned_long_int_]
test al, al
je 0x100173d
push dword [ebp - 0x8c]
push dword [ebp - 0xa4]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100173d
mov dword [ebp - 0x58], 0xbd9
push dword [ebp - 0x5c]
call fcn.01001265
pop ecx
mov eax, dword [esi]
push 3
push 1
push dword [ebp - 0x58]
mov ecx, esi
call dword [eax + 0xc]
push 0x100119c
push esi
call edi
mov eax, dword [esi]
pop ecx
pop ecx
push dword [ebp - 0x64]
mov ecx, esi
call dword [eax + 0x18]
mov bl, al
jmp 0x10015ab