Function at 0x415784
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x41578c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040357c
mov ebx, 0x41bb40
mov esi, 0x41bbab
mov edi, 0x41bb68
xor eax, eax
push ebp
push 0x416342
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x416358
push 0x416364
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040344c
mov eax, dword [ebp - 0xc]
call fcn.0040358c
push eax
call sub.kernel32.dll_GetDriveTypeA
add eax, 0xfffffffe
sub eax, 3
jb 0x4157f7
sub eax, 1
jne 0x416327
push dword [ebp - 4]
push dword [0x41bd5c]
push dword [0x41bd6c]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040344c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00404964
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x415861
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push dword [0x41bd5c]
push dword [0x41bd68]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040344c
mov eax, dword [ebp - 0x14]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00404d2c
mov byte [esi], al
push dword [ebp - 4]
push dword [0x41bd5c]
push dword [0x41bd68]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.00404d2c
test al, al
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
push dword [ebp - 4]
push dword [0x41bd5c]
push dword [0x41bd74]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x415900
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push dword [0x41bd5c]
push dword [0x41bd70]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040344c
mov eax, dword [ebp - 0x18]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00404d2c
mov byte [esi], al
push dword [ebp - 4]
push dword [0x41bd5c]
push dword [0x41bd70]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
mov eax, edi
mov edx, 0x416370
call fcn.0040325c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.00404d2c
test al, al
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
mov eax, edi
mov edx, 0x4163d8
call fcn.0040325c
push dword [ebp - 4]
push dword [0x41bd5c]
push dword [0x41bcf8]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x415ae8
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x1c]
mov ecx, dword [0x41bcf8]
mov edx, dword [0x41bb34]
call fcn.004033d8
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00404d2c
test al, al
je 0x4159bf
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
push dword [ebp - 4]
push dword [0x41bd5c]
push dword [0x41bcfc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
mov eax, edi
mov edx, 0x416454
call fcn.0040325c
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x20]
mov ecx, dword [0x41bcfc]
mov edx, dword [0x41bb34]
call fcn.004033d8
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00404d2c
test al, al
je 0x415a22
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
push dword [ebp - 4]
push dword [0x41bd5c]
push dword [0x41bd00]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x24]
mov ecx, dword [0x41bd00]
mov edx, dword [0x41bb34]
call fcn.004033d8
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00404d2c
test al, al
je 0x415a79
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
mov eax, edi
mov edx, 0x4164cc
call fcn.0040325c
push dword [ebp - 4]
push dword [0x41bd5c]
push dword [0x41bd04]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x28]
mov ecx, dword [0x41bd04]
mov edx, dword [0x41bb34]
call fcn.004033d8
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00404d2c
test al, al
je 0x415adc
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
mov eax, edi
mov edx, 0x416550
call fcn.0040325c
push dword [ebp - 4]
push 0x416358
push dword [0x41bd60]
push dword [0x41bd78]
push dword [0x41bd6c]
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.0040344c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 8]
call fcn.00404964
mov edx, dword [ebp - 8]
mov eax, dword [0x41bb34]
call fcn.00403624
test eax, eax
jne 0x415e53
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x415b7b
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x416358
push dword [0x41bd60]
push dword [0x41bd78]
push dword [0x41bd68]
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.0040344c
mov eax, dword [ebp - 0x30]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00404d2c
push dword [ebp - 4]
push 0x416358
push dword [0x41bd60]
push dword [0x41bd78]
push dword [0x41bd68]
lea eax, [ebp - 8]
mov edx, 5
call fcn.0040344c
mov eax, edi
mov edx, 0x4165ec
call fcn.0040325c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.00404d2c
test al, al
je 0x415bd4
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
push dword [ebp - 4]
push 0x416358
push dword [0x41bd60]
push dword [0x41bd78]
push dword [0x41bd74]
lea eax, [ebp - 8]
mov edx, 5
call fcn.0040344c
mov eax, edi
mov edx, 0x416658
call fcn.0040325c
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x415c53
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x416358
push dword [0x41bd60]
push dword [0x41bd78]
push dword [0x41bd70]
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.0040344c
mov eax, dword [ebp - 0x34]