Function at 0x4429c9
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a575e
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4d4684]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov eax, dword [0x4d4684]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
call fcn.0046c34c
push eax
lea ecx, [esp + 0x24]
call fcn.00401764
lea ecx, [ebx + 0x5c]
mov dword [esp + 0xc0], esi
call fcn.00401979
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 0x442d9e
mov edx, dword [ebx + 0x274]
xor ecx, ecx
call fcn.0040bff3
mov eax, dword [ebx + 0x180]
xor edi, edi
inc edi
cmp dword [ebx + 0x184], esi
mov dword [ebx + 0x10c], edi
jl 0x442b9c
jg 0x442a8f
cmp eax, esi
jbe 0x442b9c
mov ecx, dword [ebx + 0x274]
mov eax, ecx
call fcn.0040de6a
test eax, eax
jne 0x442b9c
cmp dword [ebx + 0x118], esi
jne 0x442b9c
mov eax, dword [ecx + 0x64]
mov edx, dword [ecx + 0x60]
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 0x442ae2
cmp dword [esp + 0x28], ecx
je 0x442b74
mov edi, dword [esp + 0x28]
or edx, edi
je 0x442b74
push ecx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004633f7
add esp, 0xc
mov edi, eax
mov byte [esp + 0xc0], 1
mov eax, dword [ebx + 0x274]
push dword [eax + 0x64]
mov ecx, dword [eax + 0x60]
push ecx
lea eax, [esp + 0x18]
push eax
call fcn.004633f7
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.00401a35
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.0043c222
xor esi, esi
jmp 0x442b77
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.0040af3e
mov eax, dword [ebx + 0x274]
mov dword [ebx + 0x408], esi
mov dword [ebx + 0x580], esi
mov ecx, dword [eax + 0x60]
or ecx, dword [eax + 0x64]
jne 0x442be6
mov edx, dword [ebx + 0x184]
cmp edx, esi
mov ecx, dword [ebx + 0x180]
jl 0x442be6
jg 0x442bcc
cmp ecx, esi
jbe 0x442be6
mov edi, dword [ebx + 0x168]
add edi, ecx
mov ecx, dword [ebx + 0x16c]
adc ecx, edx
push ecx
push edi
call fcn.0040af3e
xor edi, edi
inc edi
push dword [ebx + 0x274]
mov dword [ebx + 0x400], esi
mov dword [ebx + 0x404], edi
call fcn.004080ad
mov eax, dword [0x4d9428]
mov dword [esp + 0x10], eax
call fcn.004701ac
mov eax, dword [eax + 4]
push edi
push str.FMLFindFastest
push dword [esp + 0x18]
mov ecx, eax
call fcn.0046f5f5
test eax, eax
je 0x442c52
mov eax, dword [ebx + 0x274]
cmp dword [eax + 0x11c], esi
je 0x442c52
cmp dword [ebx + 0x69c], esi
jne 0x442c58
push 0xa
push 0x8c7
mov esi, ebx
call fcn.0043eb09
mov eax, ebx
call fcn.00444954
xor esi, esi
jmp 0x442c58
mov dword [ebx + 0x69c], edi
cmp dword [0x4d91b0], esi
jne 0x442ca4
cmp dword [0x4d91fc], esi
jne 0x442ca4
cmp dword [ebx + 0x140], esi
jne 0x442ca4
cmp dword [ebx + 0x21c], esi
jne 0x442ca4
mov eax, dword [0x4d9428]
mov dword [esp + 0x10], eax
call fcn.004701ac
mov eax, dword [eax + 4]
push esi
push str.AlwaysAuto
push dword [esp + 0x18]
mov ecx, eax
call fcn.0046f5f5
test eax, eax
je 0x442ca4
mov dword [0x4d91fc], edi
cmp dword [ebx + 0x16c], esi
jl 0x442cd9
jg 0x442cb6
cmp dword [ebx + 0x168], esi
jbe 0x442cd9
mov ecx, dword [ebx + 0x274]
lea eax, [ecx + 0x10c]
inc dword [eax]
cmp dword [eax], esi
jg 0x442cca
mov dword [eax], edi
mov dword [ecx + 0xc], edi
mov dword [0x4d9140], edi
mov dword [0x4d9144], edi
cmp dword [ebx + 0x11c], esi
je 0x442d00
lea eax, [esp + 0x1c]
push 0xea
push eax
call fcn.0045f91d
pop ecx
pop ecx
mov byte [esp + 0xc0], 3
mov dword [esp + 0x14], edi
jmp 0x442d24
lea eax, [esp + 0x10]
push 0xeb
push eax
call fcn.0045f91d
pop ecx
pop ecx
mov dword [esp + 0xc0], 4
mov dword [esp + 0x14], 2
mov edi, dword [ebx + 0x274]
push eax
call fcn.0040bb0d
test byte [esp + 0x14], 2
je 0x442d48
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 0x442d67
mov ecx, dword [esp + 0x1c]
and dword [esp + 0x14], 0xfffffffe
add ecx, 0xfffffff0
call fcn.0040174a
cmp dword [ebx + 0x118], esi
jne 0x442d83
push dword [ebx + 0x11c]
mov esi, ebx
push 0x8c4
call fcn.0043eb09
xor esi, esi
push esi
push 0x8c7
mov esi, ebx
call fcn.0043eb09
push 0
push 0x8b1
call fcn.0043eb09
xor esi, esi
cmp dword [ebx + 0x11c], esi
mov edi, dword [0x4d9428]
je 0x442e14
call fcn.004701ac
mov eax, dword [eax + 4]
push 5
push str.DataTimeout
push edi
mov ecx, eax
call fcn.0046f5f5
imul eax, eax, 0x3c
mov dword [ebx + 0x410], eax
mov eax, dword [0x4d9428]
mov dword [esp + 0x10], eax
call fcn.004701ac
mov eax, dword [eax + 4]
push esi
mov edi, str.DataTimeoutSEC
push edi
push dword [esp + 0x18]
mov ecx, eax
call fcn.0046f5f5
cmp eax, 0xa
jbe 0x442e34
mov eax, dword [0x4d9428]
mov dword [esp + 0x10], eax
call fcn.004701ac
mov eax, dword [eax + 4]
push esi
push edi
push dword [esp + 0x18]
mov ecx, eax
call fcn.0046f5f5
jmp 0x442e2e
call fcn.004701ac
mov eax, dword [eax + 4]
push 0xf
push str.DataTimeout2
push edi
mov ecx, eax
call fcn.0046f5f5
imul eax, eax, 0x3c
mov dword [ebx + 0x410], eax
mov eax, dword [ebx + 0x168]
or eax, dword [ebx + 0x16c]
jne 0x442e8d
mov eax, dword [ebx + 0x274]
cmp dword [eax + 0x64], esi
mov ecx, dword [eax + 0x60]
jl 0x442e8d
jg 0x442e5a
cmp ecx, 0x80000000
jbe 0x442e8d
lea eax, [esp + 0x10]
push str.FMTWARN
push eax
call fcn.0045f8c4
pop ecx
pop ecx
mov byte [esp + 0xc0], 5
mov edi, dword [ebx + 0x274]
or dword [esp + 0x14], 4
push eax
call fcn.0040ba4d
test eax, eax
mov byte [esp + 0x1b], 1
je 0x442e92
mov byte [esp + 0x1b], 0
mov dword [esp + 0xc0], esi
test byte [esp + 0x14], 4
je 0x442eac
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
cmp byte [esp + 0x1b], 0
je 0x4430b9
lea eax, [esp + 0x10]
push str.FMTWARN
push eax
call fcn.0045f8c4
pop ecx
pop ecx
mov byte [esp + 0xc0], 6
mov edi, dword [ebx + 0x274]
push eax
call fcn.0040b9a1
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.00486c70
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.0040cfa1
mov byte [esp + 0xc0], 7
call fcn.0046c34c
push eax
lea ecx, [esp + 0x18]
call fcn.00401764
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.004018c1
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 0x4430a1
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x14]
call fcn.004033ba
mov byte [esp + 0xc0], 0xa
push 0x4b8610
push dword [esp + 0x14]
call fcn.004870a3
test eax, eax
pop ecx
pop ecx
jne 0x442ff6
mov eax, dword [ebx + 0x274]
cmp dword [eax + 0x64], esi
mov ecx, dword [eax + 0x60]
jg 0x443023
jl 0x442ff6
cmp ecx, 0x80000000
ja 0x443023
push str.FAT32
push dword [esp + 0x14]
call fcn.004870a3
test eax, eax
pop ecx
pop ecx
jne 0x443095
mov eax, dword [ebx + 0x274]
cmp dword [eax + 0x64], 1
mov ecx, dword [eax + 0x60]
jl 0x443095
jg 0x443023
cmp ecx, esi
jbe 0x443095
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.0045f96c
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 0xb
call fcn.004018c1
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.00401a35
mov esi, dword [esp + 0x28]
add esp, 0xc
mov eax, ebx
call fcn.0043eadd
test eax, eax
push 0xffffffffffffffff
push 0x30
push esi
jne 0x44308b
call fcn.00456dd6
jmp 0x443092
mov ecx, eax
call fcn.00456d55
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.00486793
mov esp, ebp
pop ebp
ret