Function at 0x4435a7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a75d2
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4d6674]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov eax, dword [0x4d6674]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
call fcn.0046df20
push eax
lea ecx, [esp + 0x24]
call fcn.0046e14b
lea ecx, [ebx + 0x5c]
mov dword [esp + 0xc0], esi
call fcn.00401954
mov eax, dword [ebx + 0x168]
or dword [ebx + 0x2b8], 0xffffffff
cmp dword [ebx + 0x498], esi
mov dword [ebx + 0x190], eax
mov eax, dword [ebx + 0x16c]
mov dword [ebx + 0x194], eax
mov dword [ebx + 0x418], esi
jne 0x44397c
mov edx, dword [ebx + 0x274]
xor ecx, ecx
call fcn.0040c165
mov eax, dword [ebx + 0x180]
xor edi, edi
inc edi
cmp dword [ebx + 0x184], esi
mov dword [ebx + 0x10c], edi
jl 0x44377a
jg 0x44366d
cmp eax, esi
jbe 0x44377a
mov ecx, dword [ebx + 0x274]
mov eax, ecx
call fcn.0040e0d7
test eax, eax
jne 0x44377a
cmp dword [ebx + 0x118], esi
jne 0x44377a
mov eax, dword [ecx + 0x6c]
mov edx, dword [ecx + 0x68]
mov ecx, dword [ebx + 0x16c]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x168]
add eax, dword [ebx + 0x180]
mov edi, edx
adc ecx, dword [ebx + 0x184]
cmp edi, eax
jne 0x4436c0
cmp dword [esp + 0x28], ecx
je 0x443752
mov edi, dword [esp + 0x28]
or edx, edi
je 0x443752
push ecx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00464f9b
add esp, 0xc
mov edi, eax
mov byte [esp + 0xc0], 1
mov eax, dword [ebx + 0x274]
push dword [eax + 0x6c]
mov ecx, dword [eax + 0x68]
push ecx
lea eax, [esp + 0x18]
push eax
call fcn.00464f9b
add esp, 0xc
mov byte [esp + 0xc0], 2
push dword [edi]
push dword [eax]
lea eax, [esp + 0x28]
push str.Size_Change:__s_to__s._r_n
push eax
call fcn.00401a10
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [esp + 0xc0], 0
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
push esi
xor edi, edi
inc edi
push edi
push esi
lea ecx, [esp + 0x2c]
mov esi, ebx
call fcn.0043cdeb
xor esi, esi
jmp 0x443755
xor edi, edi
inc edi
mov eax, dword [ebx + 0x180]
add eax, dword [ebx + 0x168]
mov ecx, dword [ebx + 0x184]
adc ecx, dword [ebx + 0x16c]
push ecx
push eax
mov eax, dword [ebx + 0x274]
call fcn.0040b0a7
mov eax, dword [ebx + 0x274]
mov dword [ebx + 0x408], esi
mov dword [ebx + 0x580], esi
mov ecx, dword [eax + 0x68]
or ecx, dword [eax + 0x6c]
jne 0x4437c4
mov edx, dword [ebx + 0x184]
cmp edx, esi
mov ecx, dword [ebx + 0x180]
jl 0x4437c4
jg 0x4437aa
cmp ecx, esi
jbe 0x4437c4
mov edi, dword [ebx + 0x168]
add edi, ecx
mov ecx, dword [ebx + 0x16c]
adc ecx, edx
push ecx
push edi
call fcn.0040b0a7
xor edi, edi
inc edi
push dword [ebx + 0x274]
mov dword [ebx + 0x400], esi
mov dword [ebx + 0x404], edi
call fcn.00408195
mov eax, dword [0x4db468]
mov dword [esp + 0x10], eax
call fcn.00471d19
mov eax, dword [eax + 4]
push edi
push str.FMLFindFastest
push dword [esp + 0x18]
mov ecx, eax
call fcn.00471162
test eax, eax
je 0x443830
mov eax, dword [ebx + 0x274]
cmp dword [eax + 0x124], esi
je 0x443830
cmp dword [ebx + 0x69c], esi
jne 0x443836
push 0xa
push 0x8c7
mov esi, ebx
call fcn.0043f6d2
mov eax, ebx
call fcn.0044565c
xor esi, esi
jmp 0x443836
mov dword [ebx + 0x69c], edi
cmp dword [0x4db1d8], esi
jne 0x443882
cmp dword [0x4db238], esi
jne 0x443882
cmp dword [ebx + 0x140], esi
jne 0x443882
cmp dword [ebx + 0x21c], esi
jne 0x443882
mov eax, dword [0x4db468]
mov dword [esp + 0x10], eax
call fcn.00471d19
mov eax, dword [eax + 4]
push esi
push str.AlwaysAuto
push dword [esp + 0x18]
mov ecx, eax
call fcn.00471162
test eax, eax
je 0x443882
mov dword [0x4db238], edi
cmp dword [ebx + 0x16c], esi
jl 0x4438b7
jg 0x443894
cmp dword [ebx + 0x168], esi
jbe 0x4438b7
mov ecx, dword [ebx + 0x274]
lea eax, [ecx + 0x114]
inc dword [eax]
cmp dword [eax], esi
jg 0x4438a8
mov dword [eax], edi
mov dword [ecx + 0xc], edi
mov dword [0x4db168], edi
mov dword [0x4db16c], edi
cmp dword [ebx + 0x11c], esi
je 0x4438de
lea eax, [esp + 0x1c]
push 0xea
push eax
call fcn.004614c1
pop ecx
pop ecx
mov byte [esp + 0xc0], 3
mov dword [esp + 0x14], edi
jmp 0x443902
lea eax, [esp + 0x10]
push 0xeb
push eax
call fcn.004614c1
pop ecx
pop ecx
mov dword [esp + 0xc0], 4
mov dword [esp + 0x14], 2
mov edi, dword [ebx + 0x274]
push eax
call fcn.0040bc7f
test byte [esp + 0x14], 2
je 0x443926
mov ecx, dword [esp + 0x10]
and dword [esp + 0x14], 0xfffffffd
add ecx, 0xfffffff0
call fcn.0040174a
mov dword [esp + 0xc0], esi
test byte [esp + 0x14], 1
je 0x443945
mov ecx, dword [esp + 0x1c]
and dword [esp + 0x14], 0xfffffffe
add ecx, 0xfffffff0
call fcn.0040174a
cmp dword [ebx + 0x118], esi
jne 0x443961
push dword [ebx + 0x11c]
mov esi, ebx
push 0x8c4
call fcn.0043f6d2
xor esi, esi
push esi
push 0x8c7
mov esi, ebx
call fcn.0043f6d2
push 0
push 0x8b1
call fcn.0043f6d2
xor esi, esi
cmp dword [ebx + 0x11c], esi
mov edi, dword [0x4db468]
je 0x4439f2
call fcn.00471d19
mov eax, dword [eax + 4]
push 5
push str.DataTimeout
push edi
mov ecx, eax
call fcn.00471162
imul eax, eax, 0x3c
mov dword [ebx + 0x410], eax
mov eax, dword [0x4db468]
mov dword [esp + 0x10], eax
call fcn.00471d19
mov eax, dword [eax + 4]
push esi
mov edi, str.DataTimeoutSEC
push edi
push dword [esp + 0x18]
mov ecx, eax
call fcn.00471162
cmp eax, 0xa
jbe 0x443a12
mov eax, dword [0x4db468]
mov dword [esp + 0x10], eax
call fcn.00471d19
mov eax, dword [eax + 4]
push esi
push edi
push dword [esp + 0x18]
mov ecx, eax
call fcn.00471162
jmp 0x443a0c
call fcn.00471d19
mov eax, dword [eax + 4]
push 0xf
push str.DataTimeout2
push edi
mov ecx, eax
call fcn.00471162
imul eax, eax, 0x3c
mov dword [ebx + 0x410], eax
mov eax, dword [ebx + 0x168]
or eax, dword [ebx + 0x16c]
jne 0x443a6b
mov eax, dword [ebx + 0x274]
cmp dword [eax + 0x6c], esi
mov ecx, dword [eax + 0x68]
jl 0x443a6b
jg 0x443a38
cmp ecx, 0x80000000
jbe 0x443a6b
lea eax, [esp + 0x10]
push str.FMTWARN
push eax
call fcn.00461468
pop ecx
pop ecx
mov byte [esp + 0xc0], 5
mov edi, dword [ebx + 0x274]
or dword [esp + 0x14], 4
push eax
call fcn.0040bbbf
test eax, eax
mov byte [esp + 0x1b], 1
je 0x443a70
mov byte [esp + 0x1b], 0
mov dword [esp + 0xc0], esi
test byte [esp + 0x14], 4
je 0x443a8a
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
cmp byte [esp + 0x1b], 0
je 0x443c97
lea eax, [esp + 0x10]
push str.FMTWARN
push eax
call fcn.00461468
pop ecx
pop ecx
mov byte [esp + 0xc0], 6
mov edi, dword [ebx + 0x274]
push eax
call fcn.0040bb13
mov byte [esp + 0xc0], 0
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
push 0x63
lea eax, [esp + 0x49]
push esi
push eax
mov byte [esp + 0x50], 0
call fcn.004887d0
xor eax, eax
mov byte [esp + 0x44], 0
lea edi, [esp + 0x45]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [ebx + 0x274]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
call fcn.0040d20b
mov byte [esp + 0xc0], 7
call fcn.0046df20
push eax
lea ecx, [esp + 0x18]
call fcn.0046e14b
push 3
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 8
call fcn.004013d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 9
call fcn.0040189c
mov byte [esp + 0xc0], 8
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
push 0xa
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
push 0x64
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
cmp eax, 1
jne 0x443c7f
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x14]
call fcn.00403395
mov byte [esp + 0xc0], 0xa
push 0x4ba840
push dword [esp + 0x14]
call fcn.00488c03
test eax, eax
pop ecx
pop ecx
jne 0x443bd4
mov eax, dword [ebx + 0x274]
cmp dword [eax + 0x6c], esi
mov ecx, dword [eax + 0x68]
jg 0x443c01
jl 0x443bd4
cmp ecx, 0x80000000
ja 0x443c01
push str.FAT32
push dword [esp + 0x14]
call fcn.00488c03
test eax, eax
pop ecx
pop ecx
jne 0x443c73
mov eax, dword [ebx + 0x274]
cmp dword [eax + 0x6c], 1
mov ecx, dword [eax + 0x68]
jl 0x443c73
jg 0x443c01
cmp ecx, esi
jbe 0x443c73
push str.The_format_of_this_disk_is__s.__The_size_of_this_file_is_larger_than_this_disk_will_allow__r_nYou_must_select_a_different_disk_for_saving_this_file.
push 0x6d
lea esi, [esp + 0x2c]
call fcn.00461510
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 0xb
call fcn.0040189c
mov byte [esp + 0xc0], 0xa
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040174a
push dword [esp + 0x10]
lea eax, [esp + 0x20]
push dword [esp + 0x18]
push eax
call fcn.00401a10
mov esi, dword [esp + 0x28]
add esp, 0xc
mov eax, ebx
call fcn.0043f6a6
test eax, eax
push 0xffffffffffffffff
push 0x30
push esi
jne 0x443c69
call fcn.00457fed
jmp 0x443c70
mov ecx, eax
call fcn.00457f6c
add esp, 0xc
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004882f3
mov esp, ebp
pop ebp
ret