Function at 0x10005a20
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078d54
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x250
mov eax, dword [0x10096400]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x13c]
push eax
push 0
push 0
push 0x1008a860
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [ebp - 0x13c]
push 0x1008a864
push 0x10098754
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x210]
push 0xb0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x53
xor edx, edx
mov al, byte [edx + 0x1008a868]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x260], al
and ecx, 0x800000ff
jns 0x10005ae7
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x10005ac7
mov byte [ebp - 0x255], 0
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x210]
push eax
call fcn.1001c0f0
xorps xmm0, xmm0
mov dword [ebp - 0x258], 0
movq qword [ebp - 0x260], xmm0
mov ecx, 0x47
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x1008a874]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x238], al
and ecx, 0x800000ff
jns 0x10005b50
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1a
jl 0x10005b30
mov byte [ebp - 0x21e], 0
push 0x1001d4b0
push ecx
lea edx, [ebp - 0x238]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x210]
call fcn.1001d290
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, 8
xor edx, edx
nop word [eax + eax]
mov al, byte [edx + str.S_W_hfq2Gqw8M]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x238], al
and ecx, 0x800000ff
jns 0x10005bb0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1a
jl 0x10005b90
mov byte [ebp - 0x21e], 0
push 0x1001d4b0
push ecx
lea edx, [ebp - 0x238]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x210]
call fcn.1001d290
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, 0x66
xor edx, edx
nop word [eax + eax]
mov al, byte [edx + str.J5I:_n]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x240], al
and ecx, 0x800000ff
jns 0x10005c10
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x24
jl 0x10005bf0
mov byte [ebp - 0x21c], 0
push 0x1001d4b0
push ecx
lea edx, [ebp - 0x240]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x210]
call fcn.1001d290
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, 0x76
xor edx, edx
nop word [eax + eax]
mov al, byte [edx + str._Z_Y7]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x254], al
and ecx, 0x800000ff
jns 0x10005c70
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x38
jl 0x10005c50
mov byte [ebp - 0x21c], 0
push 0x1001d4b0
push ecx
lea edx, [ebp - 0x254]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x210]
call fcn.1001d290
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, 0x47
xor edx, edx
nop word [eax + eax]
mov al, byte [edx + 0x1008a910]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x250], al
and ecx, 0x800000ff
jns 0x10005cd0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x33
jl 0x10005cb0
mov byte [ebp - 0x21d], 0
push 0x1001d4b0
push ecx
lea edx, [ebp - 0x250]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x210]
call fcn.1001d290
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, 0xa1
xor edx, edx
nop word [eax + eax]
mov al, byte [edx + 0x1008a944]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x244], al
and ecx, 0x800000ff
jns 0x10005d30
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x26
jl 0x10005d10
mov byte [ebp - 0x21e], 0
push 0x1001d4b0
push 0x1001d4b0
lea edx, [ebp - 0x244]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x210]
call fcn.1001d290
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x1001d4b0
sub esp, 0x18
mov byte [ebp - 4], 2
mov edx, esp
mov ecx, 0x10098754
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
lea esi, [ecx + 1]
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005d96
sub ecx, esi
push ecx
push 0x10098754
mov ecx, edx
call fcn.1001da00
lea ecx, [ebp - 0x234]
call fcn.1001ed90
add esp, 0x18
mov esi, eax
mov dword [ebp - 0x218], 0x44495748
mov dword [ebp - 0x214], 0x203a20
lea edx, [ebp - 0x218]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x210]
call fcn.1001d290
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x10005def
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.1001e120
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x220]
movq qword [ebp - 0x218], xmm0
cmp ecx, 0xf
jbe 0x10005e4f
mov edx, dword [ebp - 0x234]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005e45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005e45
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10077b0d
add esp, 8
lea ecx, [ebp - 0x20c]
call fcn.1001d070
test eax, eax
jne 0x10005e76
push eax
mov eax, dword [ebp - 0x210]
lea ecx, [ebp - 0x210]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov ecx, 0xe5
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x1008a96c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x23c], al
and ecx, 0x800000ff
jns 0x10005ea0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x20
jl 0x10005e80
mov byte [ebp - 0x21c], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x23c]
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x124], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005ed8
sub ecx, edx
lea eax, [ebp - 0x23c]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.1001da00
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov edx, esp
mov ecx, 0x10098754
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
lea esi, [ecx + 1]
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005f20
sub ecx, esi
push ecx
push 0x10098754
mov ecx, edx
call fcn.1001da00
lea ecx, [ebp - 0x154]
call fcn.1001ed90
mov eax, dword [ebp - 0x154]
lea edi, [ebp - 0x138]
add esp, 0x18
mov dword [ebp - 0x214], 0x18
nop word [eax + eax]
cmp dword [ebp - 0x140], 0xf
lea ecx, [ebp - 0x154]
mov edx, edi
cmova ecx, eax
cmp dword [edi + 0x14], 0xf
jbe 0x10005f7a
mov edx, dword [edi]
mov esi, dword [edi + 0x10]
cmp esi, dword [ebp - 0x144]
jne 0x10005fed
sub esi, 4
jb 0x10005fa1
nop word [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10005fa6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x10005f90
cmp esi, 0xfffffffc
je 0x10005fda
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x10005fd3
cmp esi, 0xfffffffd
je 0x10005fda
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x10005fd3
cmp esi, 0xfffffffe
je 0x10005fda
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x10005fd3
cmp esi, 0xffffffff
je 0x10005fda
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x10005fda
sbb eax, eax
or eax, 1
jmp 0x10005fdc
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x154]
jne 0x10005fed
mov byte [0x10097cd7], 1
add edi, 0x18
sub dword [ebp - 0x214], 1
jne 0x10005f60
mov ecx, dword [ebp - 0x140]
cmp ecx, 0xf
jbe 0x10006037
inc ecx
cmp ecx, 0x1000
jb 0x10006027
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000602d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edx, dword [ebp - 0x154]
push ecx
push edx
call fcn.10077b0d
add esp, 8
push fcn.1001cbd0
push 1
push 0x18
lea eax, [ebp - 0x138]
mov dword [ebp - 0x144], 0
push eax
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
mov byte [ebp - 4], 2
call fcn.100776de
mov eax, dword [ebp - 0x210]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x214], eax
mov dword [ebp - 4], 0xd
cmp dword [ebp - 0x1c0], 0
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x100060dc
mov eax, dword [ebp - 0x200]
lea ecx, [ebp - 0x1d0]
cmp dword [eax], ecx
jne 0x100060dc
mov edx, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1bc]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x1f0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1e0]
mov dword [eax], edx
cmp byte [ebp - 0x1c4], 0
je 0x100060f0
lea ecx, [ebp - 0x20c]
call fcn.1001d070
lea ecx, [ebp - 0x20c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x208]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100773eb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret