Function at 0x445460
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x48bf72
mov eax, dword fs:[0]
push eax
sub esp, 0x6e4
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x6e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b38b4]
xor eax, esp
push eax
lea eax, [esp + 0x6f8]
mov dword fs:[0], eax
mov edi, dword [esp + 0x708]
xor esi, esi
mov ecx, edi
mov dword [esp + 0x700], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], esi
call fcn.00419700
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], esi
lea ebx, [ebx]
mov dword [esp + 0x20], esi
jmp 0x4454e0
mov dword [esp + 0x38], 0x49038c
mov dword [esp + 0x40], 0x49108c
mov dword [esp + 0x8c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push esi
lea eax, [esp + 0x48]
mov ebx, 2
or dword [esp + 0x28], ebx
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x708], 1
call fcn.0041afb0
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x44]
mov dword [esp + 0x700], ebx
mov dword [esp + edx + 0x38], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.00410e30
mov dword [esp + 0x44], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push eax
push 0x4910c4
push ecx
lea edx, [esp + 0x4c]
push str.DeviceHarddisk
push edx
mov dword [esp + 0x714], 4
call fcn.00426210
add esp, 8
mov ecx, eax
call fcn.004268b0
push eax
call fcn.00426210
add esp, 8
mov ecx, eax
call fcn.004268b0
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x3c]
call fcn.00418330
cmp dword [esp + 0x110], 0x10
mov byte [esp + 0x700], 5
jb 0x4455c6
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x2c], ecx
jmp 0x4455d1
lea edx, [esp + 0xfc]
mov dword [esp + 0x2c], edx
mov bl, byte [esp + 0x718]
test bl, bl
je 0x4455e9
cmp dword [esp + 0x20], esi
je 0x4455e9
mov eax, 1
jmp 0x4455eb
xor eax, eax
mov ecx, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x458]
push eax
push ecx
call fcn.00430b70
add esp, 0xc
test eax, eax
jne 0x445664
cmp dword [esp + 0x20], esi
je 0x445b25
cmp dword [esp + 0x110], 0x10
jb 0x445629
mov edx, dword [esp + 0xfc]
push edx
call fcn.00469789
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], esi
mov byte [esp + 0xfc], 0
mov byte [esp + 0x700], 0
call fcn.00411430
lea eax, [esp + 0x8c]
push eax
jmp 0x445afb
lea ecx, [esp + 0x114]
call fcn.00440a00
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x700], 6
mov dword [esp + 0x17c], ecx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x445690
sub eax, edx
mov edx, dword [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x15c]
call fcn.00402150
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xc0]
push eax
push ecx
call fcn.004325d0
add esp, 8
test eax, eax
je 0x4456f2
cmp byte [esp + 0xd9], 0
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
setne dl
mov byte [esp + 0x114], dl
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], ecx
test bl, bl
je 0x445707
mov byte [esp + 0x11a], 1
cmp dword [esp + 0x668], esi
jne 0x44570f
mov byte [esp + 0x11a], 0
cmp byte [esp + 0x70c], 0
jne 0x44594b
mov dword [esp + 0x19c], 0x49038c
mov dword [esp + 0x1a4], 0x49108c
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
or dword [esp + 0x24], 4
push esi
lea edx, [esp + 0x1ac]
push edx
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x708], 7
call fcn.00426130
mov eax, dword [esp + 0x19c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov ebx, 8
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x700], ebx
call fcn.00423450
mov dword [esp + method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esp + 0x1e4], esi
mov dword [esp + 0x1e8], esi
cmp dword [esp + 0x110], 0x10
mov eax, dword [esp + 0xfc]
mov byte [esp + 0x700], 0xa
jae 0x4457c6
lea eax, [esp + 0xfc]
push eax
lea edx, [esp + 0x1a8]
push edx
call fcn.00426420
add esp, 8
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x1a0]
call fcn.00425a40
cmp dword [eax + 0x18], ebx
jb 0x4457f5
mov eax, dword [eax + 4]
jmp 0x4457f8
add eax, 4
push eax
call fcn.00432740
add esp, 4
cmp dword [esp + 0xd8], 8
mov ebx, eax
jb 0x44581d
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.00469789
add esp, 4
cmp ebx, esi
jl 0x4458eb
mov dl, bl
add dl, 0x41
movzx eax, dl
push eax
push 1
lea ecx, [esp + 0x124]
call fcn.00411a60
push 1
push 0x4910a4
lea ecx, [esp + 0x124]
call fcn.00412dc0
push esi
push esi
mov edx, 0x3a
mov word [esp + 0x676], dx
lea edx, [esp + 0x38]
push edx
push esi
lea ecx, [ebx + 0x41]
push esi
mov word [esp + 0x680], cx
mov eax, 0x5c
xor ecx, ecx
mov word [esp + 0x684], ax
push 0x40
lea eax, [esp + 0x68c]
mov word [esp + 0x68a], cx
push eax
lea ecx, [esp + 0x688]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4458d4
lea eax, [esp + 0x674]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4458b0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x678]
push edx
lea ecx, [esp + 0x140]
call fcn.00402460
call fcn.00432e70
movsx eax, al
add ebx, 0x41
cmp eax, ebx
jne 0x4458eb
mov byte [esp + 0x115], 1
cmp dword [esp + 0x20], esi
jne 0x44591c
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0xe0]
push ecx
push edx
call fcn.00432670
add esp, 8
test eax, eax
je 0x44591c
cmp dword [esp + 0xe8], 0xb
sete al
mov byte [esp + 0x170], al
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x700], 6
call fcn.00424120
lea ecx, [esp + 0x1f0]
push ecx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00468fa3
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, esi
jne 0x445980
lea edx, [esp + 0x114]
push edx
mov ecx, edi
call fcn.004453b0
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x78787879
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
lea ebp, [edx + eax - 1]
jmp 0x445a97
cmp eax, 1
jne 0x4459ce
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x78787879
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebp, ecx
jb 0x4459a5
call fcn.00469ad4
mov ecx, dword [edi + 0xc]
mov eax, ebp
imul eax, eax, 0x88
mov edx, dword [eax + ecx + 0x60]
cmp edx, dword [esp + 0x174]
jne 0x4459ce
mov eax, dword [eax + ecx + 0x64]
cmp eax, dword [esp + 0x178]
je 0x445b8d
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x17c], ecx
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x78787879
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x118], 1
cmp ebp, eax
jb 0x445a01
call fcn.00469ad4
mov eax, dword [edi + 0xc]
mov esi, ebp
imul esi, esi, 0x88
cmp byte [esp + 0x115], 0
mov cl, byte [esi + eax + 0x5c]
mov byte [esp + 0x170], cl
je 0x445a48
mov ecx, dword [edi + 0x10]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x445a40
call fcn.00469ad4
mov ecx, dword [edi + 0xc]
mov byte [esi + ecx + 1], 1
cmp byte [esp + 0x710], 0
je 0x445a61
lea edx, [esp + 0x114]
push edx
mov ecx, edi
call fcn.004453b0
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x78787879
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x445a81
call fcn.00469ad4
mov edx, dword [edi + 0xc]
lea ecx, [esp + 0x114]
push ecx
lea ecx, [esi + edx + 0x6c]
call fcn.004453b0
xor esi, esi
lea ecx, [esp + 0x114]
mov byte [esp + 0x700], 5
call fcn.00411ed0
cmp dword [esp + 0x110], 0x10
jb 0x445ac5
mov eax, dword [esp + 0xfc]
push eax
call fcn.00469789
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], esi
mov byte [esp + 0xfc], 0
mov byte [esp + 0x700], 0
call fcn.00411430
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0x90], vtable.std::ios_base.0
call fcn.00468fa3
mov eax, dword [esp + 0x24]
inc eax
add esp, 4
cmp eax, 0x20
mov dword [esp + 0x20], eax
jl 0x4454e0
jmp 0x445d10
cmp dword [esp + 0x110], 0x10
jb 0x445b3f
mov edx, dword [esp + 0xfc]
push edx
call fcn.00469789
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], esi
mov byte [esp + 0xfc], 0
mov byte [esp + 0x700], 0
call fcn.00411430
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x90], vtable.std::ios_base.0
call fcn.00468fa3
add esp, 4
jmp 0x445d10
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x78787879
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebp, ecx
jb 0x445bad
call fcn.00469ad4
mov edx, dword [edi + 0xc]
mov esi, ebp
imul esi, esi, 0x88
mov byte [esi + edx + 5], 1
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x78787879
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x445bdd
call fcn.00469ad4
mov ecx, dword [edi + 0xc]
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x124]
lea ecx, [esi + ecx + 8]
push edx
call fcn.00401e90
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x78787879
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x445c15
call fcn.00469ad4
mov ecx, dword [edi + 0xc]
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x140]
lea ecx, [esi + ecx + 0x24]
push edx
call fcn.00401f70
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x78787879
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x445c4d
call fcn.00469ad4
mov ecx, dword [edi + 0xc]
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x15c]
lea ecx, [esi + ecx + 0x40]
push edx
call fcn.00401e90
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x78787879
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x445c85
call fcn.00469ad4
mov ecx, dword [edi + 0xc]
mov dl, byte [esp + 0x11a]
mov byte [esi + ecx + 6], dl
lea ecx, [esp + 0x114]
mov byte [esp + 0x700], 5
call fcn.00411ed0
cmp dword [esp + 0x110], 0x10
jb 0x445cc1
mov eax, dword [esp + 0xfc]
push eax
call fcn.00469789
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
mov byte [esp + 0x700], 0
call fcn.00411430
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0x90], vtable.std::ios_base.0
call fcn.00468fa3
add esp, 4
xor esi, esi
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 0x40
mov dword [esp + 0x28], eax
jl 0x4454d0
cmp dword [0x4dc388], 6
jl 0x446154
movzx edx, byte [esp + 0x718]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], 0x49038c
mov dword [esp + 0x40], 0x49108c
mov dword [esp + 0x8c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
or dword [esp + 0x24], 8
push ebx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x708], 0xb
call fcn.0041afb0
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x44]
mov dword [esp + 0x700], 0xc
mov dword [esp + edx + 0x38], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.00410e30
mov dword [esp + 0x44], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
push ebp
lea eax, [esp + 0x44]
push str.DeviceHarddiskVolume
push eax
mov dword [esp + 0x70c], 0xe
call fcn.00426210
add esp, 8
mov ecx, eax
call fcn.004268b0
lea ecx, [esp + 0xf8]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00418330
cmp dword [esp + 0x110], 0x10
mov esi, dword [esp + 0xfc]
mov byte [esp + 0x700], 0xf
jae 0x445e08
lea esi, [esp + 0xfc]
mov edx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x458]
push eax
push esi
call fcn.00430b70
add esp, 0xc
test eax, eax
jne 0x445e77
cmp dword [esp + 0x110], 0x10
jb 0x445e3c
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.00469789
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], 0
mov byte [esp + 0x700], 0
call fcn.00411430
lea edx, [esp + 0x8c]
push edx
jmp 0x446134
push 0x230
lea eax, [esp + 0x228]
push ebx
push eax
call fcn.0046a470
push esi
lea ecx, [esp + 0x234]
push 0x4910a8
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
push ebx
lea edx, [esp + 0x34]
push edx
mov edx, dword [0x4b118c]
push 0x230
lea eax, [esp + 0x230]
push eax
push 0x230
mov ecx, eax
push ecx
push 0x222038
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4460e4
cmp dword [esp + 0x450], ebx
je 0x4460e4
lea ecx, [esp + 0x19c]
call fcn.00440a00
mov eax, esi
mov byte [esp + 0x700], 0x10
mov byte [esp + 0x19e], 1
mov byte [esp + 0x1a0], 1
mov dword [esp + 0x204], ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x445f13
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x1e4]
call fcn.00402150
cmp byte [esp + 0x718], 0
mov eax, dword [esp + 0x434]
mov ecx, dword [esp + 0x438]
mov dword [esp + 0x1fc], eax
mov dword [esp + 0x200], ecx
je 0x445f61
mov byte [esp + 0x1a2], 1
cmp dword [esp + 0x668], ebx
jne 0x445f69
mov byte [esp + 0x1a2], 0
cmp byte [esp + 0x70c], 0
jne 0x4460c1
push 1
push 3
lea ecx, [esp + 0x11c]
call fcn.00426ab0
cmp dword [esp + 0x110], 0x10
mov eax, dword [esp + 0xfc]
mov byte [esp + 0x700], 0x11
jae 0x445fa7
lea eax, [esp + 0xfc]
push eax
lea edx, [esp + 0x120]
push edx
call fcn.00426420
add esp, 8
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x118]
call fcn.00425a40
cmp dword [eax + 0x18], 8
jb 0x445fd7
mov eax, dword [eax + 4]
jmp 0x445fda
add eax, 4
push eax
call fcn.00432740
add esp, 4
cmp dword [esp + 0xd8], 8
mov ebx, eax
jb 0x445fff
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.00469789
add esp, 4
test ebx, ebx
jl 0x446090
mov dl, bl
add dl, 0x41
movzx eax, dl
push eax
push 1
lea ecx, [esp + 0x1ac]
call fcn.00411a60
push 1
push 0x4910a4
lea ecx, [esp + 0x1ac]
call fcn.00412dc0
push 0x80
lea ecx, [esp + 0x678]
push ecx
push ebx
call fcn.00430c00
add esp, 0xc
test eax, eax
je 0x446079
lea eax, [esp + 0x674]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x446055
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x678]
push edx
lea ecx, [esp + 0x1c8]
invalid
invalid