Function at 0x10013a4
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x4f4
push ebx
push esi
mov esi, dword [sym.imp.ulib.dll_public:_void___thiscall_DSTRING::constructor_void_]
lea ecx, [ebp]
call esi
lea ecx, [ebp + 0x48]
call esi
lea ecx, [ebp + 0x18]
call esi
lea ecx, [ebp + 0x30]
call esi
lea ecx, [ebp - 0x18]
call esi
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x70]
call fcn.010012d4
test al, al
jne 0x1001407
mov esi, dword [ebp + 0x7c]
mov eax, dword [esi]
push 3
xor ebx, ebx
push ebx
push 0x7f4
mov ecx, esi
call dword [eax + 0xc]
push 0x100115c
push esi
call dword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_MESSAGE::Display_char_const__]
pop ecx
pop ecx
jmp 0x10015e2
push 1
push 0x418
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x60]
call dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
test eax, eax
push dword [ebp + 0x60]
jge 0x1001436
call dword [sym.imp.ntdll.dll_NtClose]
xor bl, bl
jmp 0x10015e2
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [ebp - 0x484]
shr eax, 1
xor ebx, ebx
mov word [ebp + eax*2 - 0x47e], bx
push 0xffffffffffffffff
lea eax, [ebp - 0x47e]
push eax
lea ecx, [ebp]
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_WSTRING::Initialize_unsigned_short_int_const___unsigned_long_int_]
test al, al
je 0x10015e2
cmp dword [ebp - 0x484], ebx
mov esi, dword [ebp + 0x7c]
mov eax, dword [esi]
push edi
push 3
push ebx
mov ecx, esi
je 0x10014a3
push 0x1773
call dword [eax + 0xc]
mov edi, dword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_MESSAGE::Display_char_const__]
lea eax, [ebp]
push eax
push dword [ebp + 0x6c]
push 0x100117c
push esi
call edi
mov eax, dword [ebp + 0x74]
add esp, 0x10
mov byte [eax], 1
jmp 0x10014c4
push 0x1772
call dword [eax + 0xc]
push dword [ebp + 0x6c]
mov edi, dword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_MESSAGE::Display_char_const__]
push 0x1001178
push esi
call edi
mov eax, dword [ebp + 0x74]
add esp, 0xc
mov byte [eax], bl
cmp word [ebp - 0x486], bx
jne 0x10014d6
cmp word [ebp - 0x488], bx
je 0x1001500
mov eax, dword [esi]
push 3
push ebx
push 0xbbb
mov ecx, esi
call dword [eax + 0xc]
movzx eax, word [ebp - 0x488]
push eax
movzx eax, word [ebp - 0x486]
push eax
push 0x100116c
push esi
call edi
add esp, 0x10
push 0xffffffffffffffff
push 0x1001160
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x7c], 0xbbc
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_WSTRING::Initialize_char_const___unsigned_long_int_]
test al, al
je 0x10015bd
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x70]
lea ecx, [ebp + 0x48]
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 0x10015bd
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp + 0x48]
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_WSTRING::Strcat_class_WSTRING_const__]
test al, al
je 0x10015bd
push 0xffffffffffffffff
push 0x1001164
lea ecx, [ebp - 0x18]
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_WSTRING::Initialize_char_const___unsigned_long_int_]
test al, al
je 0x10015bd
push 1
push ebx
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x48]
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]
cmp eax, ebx
mov dword [ebp + 0x6c], eax
je 0x10015bd
push 0x28
lea ecx, [ebp - 0x70]
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 0x10015b4
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp + 0x30]
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_WSTRING::Initialize_unsigned_short_int_const___unsigned_long_int_]
test al, al
je 0x10015b4
push dword [ebp - 0x10]
push dword [ebp + 0x38]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x10015b4
mov dword [ebp + 0x7c], 0xbd9
push dword [ebp + 0x6c]
call fcn.010011c0
pop ecx
mov eax, dword [esi]
push 3
push 1
push dword [ebp + 0x7c]
mov ecx, esi
call dword [eax + 0xc]
push 0x100115c
push esi
call edi
mov eax, dword [esi]
pop ecx
pop ecx
push dword [ebp + 0x78]
mov ecx, esi
call dword [eax + 0x18]
mov bl, al
pop edi
mov esi, dword [sym.imp.ulib.dll_public_virtual:_void___thiscall_DSTRING::destructor_void_]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp + 0x30]
call esi
lea ecx, [ebp + 0x18]
call esi
lea ecx, [ebp + 0x48]
call esi
lea ecx, [ebp]
call esi
pop esi
mov al, bl
pop ebx
add ebp, 0x64
leave
ret 0x14