Function at 0x10005150
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 0x100114b0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a4
mov eax, dword [0x1001c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x164]
push eax
push 0
push 0
push 0x10013740
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [ebp - 0x164]
push 0x10013744
push 0x1001d1a0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x268]
push 0xb0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x53
xor edx, edx
mov al, byte [edx + 0x10013748]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x154], al
and ecx, 0x800000ff
jns 0x10005216
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x100051f6
mov byte [ebp - 0x149], 0
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x154]
lea ecx, [ebp - 0x268]
push eax
call fcn.1000e640
xorps xmm0, xmm0
mov dword [ebp - 0x14c], 0
movq qword [ebp - 0x154], xmm0
mov ecx, 0x47
xor edx, edx
nop dword [eax + eax]
mov al, byte [edx + 0x10013754]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x13c], al
and ecx, 0x800000ff
jns 0x10005280
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1a
jl 0x10005260
mov byte [ebp - 0x122], 0
push 0x1000ef90
push ecx
lea edx, [ebp - 0x13c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.1000ed70
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 - 0x13c], al
and ecx, 0x800000ff
jns 0x100052e0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1a
jl 0x100052c0
mov byte [ebp - 0x122], 0
push 0x1000ef90
push ecx
lea edx, [ebp - 0x13c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x268]
call fcn.1000ed70
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 - 0x148], al
and ecx, 0x800000ff
jns 0x10005340
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x24
jl 0x10005320
mov byte [ebp - 0x124], 0
push 0x1000ef90
push ecx
lea edx, [ebp - 0x148]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x268]
call fcn.1000ed70
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 - 0x2ac], al
and ecx, 0x800000ff
jns 0x100053a0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x38
jl 0x10005380
mov byte [ebp - 0x274], 0
push 0x1000ef90
push ecx
lea edx, [ebp - 0x2ac]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x268]
call fcn.1000ed70
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 + 0x100137f0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x2a8], al
and ecx, 0x800000ff
jns 0x10005400
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x33
jl 0x100053e0
mov byte [ebp - 0x275], 0
push 0x1000ef90
push ecx
lea edx, [ebp - 0x2a8]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x268]
call fcn.1000ed70
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 + 0x10013824]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x148], al
and ecx, 0x800000ff
jns 0x10005460
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x26
jl 0x10005440
mov byte [ebp - 0x122], 0
push 0x1000ef90
push 0x1000ef90
lea edx, [ebp - 0x148]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x268]
call fcn.1000ed70
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 0x1000ef90
sub esp, 0x18
mov byte [ebp - 4], 2
mov edx, esp
mov ecx, 0x1001d1a0
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 0x100054c6
sub ecx, esi
push ecx
push 0x1001d1a0
mov ecx, edx
call fcn.1000f1f0
lea ecx, [ebp - 0x13c]
call fcn.1000fef0
add esp, 0x18
mov esi, eax
mov dword [ebp - 0x270], 0x44495748
mov dword [ebp - 0x26c], 0x203a20
lea edx, [ebp - 0x270]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x268]
call fcn.1000ed70
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x1000551f
mov edx, dword [esi]
push ecx
push dword [esi + 0x10]
mov ecx, eax
call fcn.1000f440
add esp, 8
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 - 0x128]
movq qword [ebp - 0x270], xmm0
cmp ecx, 0xf
jbe 0x10005580
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005576
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005576
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100104a8
add esp, 8
lea ecx, [ebp - 0x264]
call fcn.1000eb60
test eax, eax
jne 0x100055a7
push eax
mov eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x268]
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_]
xorps xmm0, xmm0
mov dword [ebp - 0x150], 0
movups xmmword [ebp - 0x160], xmm0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
mov ecx, 0x4f
xor edx, edx
mov al, byte [edx + str.___iz5___.___poPQ]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x2b0], al
and ecx, 0x800000ff
jns 0x100055f3
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x3d
jl 0x100055d3
mov byte [ebp - 0x273], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2b0]
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x128], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005630
sub ecx, edx
lea eax, [ebp - 0x2b0]
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.1000f1f0
mov ecx, 0x5e
xor edx, edx
mov al, byte [edx + 0x100138b0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x29c], al
and ecx, 0x800000ff
jns 0x10005673
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x27
jl 0x10005653
mov byte [ebp - 0x275], 0
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0xf
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005690
sub ecx, edx
lea eax, [ebp - 0x29c]
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.1000ec40
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov edx, esp
mov ecx, 0x1001d1a0
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 0x100056d1
sub ecx, esi
push ecx
push 0x1001d1a0
mov ecx, edx
call fcn.1000f1f0
lea ecx, [ebp - 0x1ac]
call fcn.1000fef0
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 0x10
push eax
lea edx, [ebp - 0x160]
lea ecx, [ebp - 0x194]
call fcn.1000efc0
add esp, 0x1c
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 0x11
push eax
lea edx, [ebp - 0x13c]
lea ecx, [ebp - 0x17c]
call fcn.1000efc0
add esp, 4
mov byte [ebp - 4], 0x12
lea esi, [ebp - 0x194]
cmp dword [ebp - 0x180], 0xf
lea ecx, [ebp - 0x17c]
cmova esi, dword [ebp - 0x194]
cmp dword [ebp - 0x168], 0xf
cmova ecx, dword [ebp - 0x17c]
call fcn.100047d0
cmp byte [0x1001d292], 1
jne 0x10005771
mov ecx, esi
call fcn.100047d0
mov ecx, dword [ebp - 0x168]
cmp ecx, 0xf
jbe 0x100057ab
mov edx, dword [ebp - 0x17c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100057a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100058d2
push ecx
push edx
call fcn.100104a8
add esp, 8
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0xf
mov byte [ebp - 0x17c], 0
cmp ecx, 0xf
jbe 0x10005800
mov edx, dword [ebp - 0x194]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100057f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100058d2
push ecx
push edx
call fcn.100104a8
add esp, 8
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0xf
mov byte [ebp - 0x194], 0
cmp ecx, 0xf
jbe 0x10005855
mov edx, dword [ebp - 0x1ac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000584b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100058d2
push ecx
push edx
call fcn.100104a8
add esp, 8
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0xf
mov byte [ebp - 0x1ac], 0
cmp ecx, 0xf
jbe 0x100058a6
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000589c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100058d2
push ecx
push edx
call fcn.100104a8
add esp, 8
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x100058e2
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100058d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100058d8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100104a8
add esp, 8
lea ecx, [ebp - 0x268]
call fcn.10005090
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10010158
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret