Function at 0x10004090
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 0x1000f0b0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a4
mov eax, dword [0x10019040]
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 0x100116a8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [ebp - 0x164]
push 0x100116ac
push 0x1001a060
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 + 0x100116b0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x154], al
and ecx, 0x800000ff
jns 0x10004156
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x10004136
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.1000c420
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 + 0x100116bc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x13c], al
and ecx, 0x800000ff
jns 0x100041c0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1a
jl 0x100041a0
mov byte [ebp - 0x122], 0
push 0x1000cd70
push ecx
lea edx, [ebp - 0x13c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.1000cb50
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 0x10004220
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1a
jl 0x10004200
mov byte [ebp - 0x122], 0
push 0x1000cd70
push ecx
lea edx, [ebp - 0x13c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x268]
call fcn.1000cb50
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 0x10004280
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x24
jl 0x10004260
mov byte [ebp - 0x124], 0
push 0x1000cd70
push ecx
lea edx, [ebp - 0x148]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x268]
call fcn.1000cb50
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 0x100042e0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x38
jl 0x100042c0
mov byte [ebp - 0x274], 0
push 0x1000cd70
push ecx
lea edx, [ebp - 0x2ac]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x268]
call fcn.1000cb50
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 + 0x10011758]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x2a8], al
and ecx, 0x800000ff
jns 0x10004340
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x33
jl 0x10004320
mov byte [ebp - 0x275], 0
push 0x1000cd70
push ecx
lea edx, [ebp - 0x2a8]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x268]
call fcn.1000cb50
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 + 0x1001178c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x148], al
and ecx, 0x800000ff
jns 0x100043a0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x26
jl 0x10004380
mov byte [ebp - 0x122], 0
push 0x1000cd70
push 0x1000cd70
lea edx, [ebp - 0x148]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x268]
call fcn.1000cb50
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 0x1000cd70
sub esp, 0x18
mov byte [ebp - 4], 2
mov edx, esp
mov ecx, 0x1001a060
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 0x10004406
sub ecx, esi
push ecx
push 0x1001a060
mov ecx, edx
call fcn.1000cfd0
lea ecx, [ebp - 0x13c]
call fcn.1000dcd0
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.1000cb50
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x1000445f
mov edx, dword [esi]
push ecx
push dword [esi + 0x10]
mov ecx, eax
call fcn.1000d220
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 0x100044c0
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100044b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100044b6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000e288
add esp, 8
lea ecx, [ebp - 0x264]
call fcn.1000c940
test eax, eax
jne 0x100044e7
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 0x10004533
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x3d
jl 0x10004513
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 0x10004570
sub ecx, edx
lea eax, [ebp - 0x2b0]
push ecx
push eax
lea ecx, [ebp - 0x13c]
call fcn.1000cfd0
mov ecx, 0x5e
xor edx, edx
mov al, byte [edx + 0x10011818]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x29c], al
and ecx, 0x800000ff
jns 0x100045b3
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x27
jl 0x10004593
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 0x100045d0
sub ecx, edx
lea eax, [ebp - 0x29c]
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.1000ca20
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov edx, esp
mov ecx, 0x1001a060
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 0x10004611
sub ecx, esi
push ecx
push 0x1001a060
mov ecx, edx
call fcn.1000cfd0
lea ecx, [ebp - 0x1ac]
call fcn.1000dcd0
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 0x10
push eax
lea edx, [ebp - 0x160]
lea ecx, [ebp - 0x194]
call fcn.1000cda0
add esp, 0x1c
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 0x11
push eax
lea edx, [ebp - 0x13c]
lea ecx, [ebp - 0x17c]
call fcn.1000cda0
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.10003710
cmp byte [0x1001a14a], 1
jne 0x100046b1
mov ecx, esi
call fcn.10003710
mov ecx, dword [ebp - 0x168]
cmp ecx, 0xf
jbe 0x100046eb
mov edx, dword [ebp - 0x17c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100046e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004812
push ecx
push edx
call fcn.1000e288
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 0x10004740
mov edx, dword [ebp - 0x194]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004736
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004812
push ecx
push edx
call fcn.1000e288
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 0x10004795
mov edx, dword [ebp - 0x1ac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000478b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004812
push ecx
push edx
call fcn.1000e288
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 0x100047e6
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100047dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004812
push ecx
push edx
call fcn.1000e288
add esp, 8
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x10004822
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004818
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004818
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000e288
add esp, 8
lea ecx, [ebp - 0x268]
call fcn.10003fd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000df38
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret