Function at 0x4112b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fb78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
call dword [eax + 0x60]
mov edx, dword [esi]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call dword [edx + 0x64]
mov ebx, eax
add esi, 0x50
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
call fcn.00434b58
push 0x3e8
push 0
mov ecx, 0x46c220
mov dword [ebp - 4], 0
mov byte [0x46bd7a], 0
mov byte [0x4634ed], 0
mov byte [0x4634ec], 1
mov byte [0x46bd79], 0
call fcn.0042fa4a
push 0x3e8
push 0
mov ecx, 0x46c208
call fcn.0042fc4b
push 0x3e8
push 0
mov ecx, 0x46c1f0
call fcn.0042fc4b
push 0x3e8
push 0
mov ecx, 0x46c1d8
call fcn.0042fa4a
push 0x3e8
push 0
mov ecx, 0x46c1c0
call fcn.0042fa4a
push 0x3e8
push 0
mov ecx, 0x46c1a8
call fcn.0042fa4a
push 0x3e8
push 0
mov ecx, 0x46c190
call fcn.0042fa4a
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x46314c
repne scasb al, byte es:[edi]
mov eax, dword [ebp - 0x14]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
mov edi, 0x46c16c
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x411472
mov al, byte [eax]
test al, al
je 0x411472
mov byte [0x46c16c], al
mov eax, dword [ebp - 0x18]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x46c16c
mov byte [ebp - 4], 1
call fcn.00434e51
push ebx
call fcn.004109b0
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_Beep]
push 0xc8
push 0x3e8
call esi
push 0xc8
push 0x7d0
call esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00434de3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
cmp ebx, 0x18
mov dword [ebp - 0x20], ebx
jge 0x4113fa
mov al, byte [0x46bd7a]
test al, al
jne 0x4113fa
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x46314c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, 0x46c16c
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov cl, bl
add cl, 0x43
push 0x46c16c
mov byte [0x46c16c], cl
call esi
cmp eax, 3
je 0x4114df
push 0x46c16c
call esi
cmp eax, 2
jne 0x411651
push 0x32
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0xc8
lea eax, [ebp - 0x130]
push eax
push 0x46c16c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x41152f
or ecx, 0xffffffff
mov edi, 0x463148
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
lea edx, [ebp - 0x68]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x463140
lea eax, [ebp - 0x68]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41155b
test cl, cl
je 0x411557
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41155b
add eax, 2
add esi, 2
test cl, cl
jne 0x411537
xor eax, eax
jmp 0x411560
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4115ce
mov esi, str.FAT32
lea eax, [ebp - 0x68]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x411590
test cl, cl
je 0x41158c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x411590
add eax, 2
add esi, 2
test cl, cl
jne 0x41156c
xor eax, eax
jmp 0x411595
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4115ce
mov esi, 0x463134
lea eax, [ebp - 0x68]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4115c5
test cl, cl
je 0x4115c1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4115c5
add eax, 2
add esi, 2
test cl, cl
jne 0x4115a1
xor eax, eax
jmp 0x4115ca
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x411642
push str.Scanning_drive
mov ecx, 0x46b120
call fcn.00434f6c
push 0x46c16c
mov ecx, 0x46b120
call fcn.004351bf
call fcn.0040dcd0
mov eax, dword [ebp - 0x18]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x46c16c
mov byte [ebp - 4], 3
call fcn.00434e51
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004109b0
add esp, 0xc
jmp 0x41163b
mov dword [ebp - 4], 0
push str.Ready
mov ecx, 0x46b120
call fcn.00434f6c
inc ebx
jmp 0x411474