Function at 0x418984
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x41898c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403a94
xor eax, eax
push ebp
push 0x419645
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41eb54
mov edx, 0x419658
call fcn.00403780
lea eax, [ebp - 0xc]
mov ecx, 0x419684
mov edx, dword [ebp - 4]
call fcn.004038f0
mov eax, dword [ebp - 0xc]
call fcn.00403aa4
push eax
call sub.kernel32.dll_GetDriveTypeA
add eax, 0xfffffffe
sub eax, 3
jb 0x4189ea
sub eax, 1
jne 0x41962a
push dword [ebp - 4]
push dword [0x41ed48]
push dword [0x41ed58]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403964
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.0040520c
mov eax, dword [ebp - 8]
call fcn.00405764
test al, al
jne 0x418a57
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push dword [0x41ed48]
push dword [0x41ed54]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403964
mov eax, dword [ebp - 0x14]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.004056b8
mov byte [0x41eb97], al
push dword [ebp - 4]
push dword [0x41ed48]
push dword [0x41ed54]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403964
mov eax, 0x41eb54
mov edx, 0x419690
call fcn.00403780
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x41eb2c]
call fcn.004056b8
test al, al
mov eax, dword [ebp - 8]
call fcn.00406ad4
mov byte [0x41eb97], al
mov eax, 0x41eb54
mov edx, 0x4196a4
call fcn.00403780
push dword [ebp - 4]
push dword [0x41ed48]
push dword [0x41ed60]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403964
mov eax, dword [ebp - 8]
call fcn.00405764
test al, al
jne 0x418b1d
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push dword [0x41ed48]
push dword [0x41ed5c]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00403964
mov eax, dword [ebp - 0x18]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.004056b8
mov byte [0x41eb97], al
push dword [ebp - 4]
push dword [0x41ed48]
push dword [0x41ed5c]
xor eax, 0x41ed5c
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403964
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x41eb2c]
call fcn.004056b8
test al, al
mov eax, dword [ebp - 8]
call fcn.00406ad4
mov byte [0x41eb97], al
mov eax, 0x41eb54
mov edx, 0x4196f4
call fcn.00403780
push dword [ebp - 4]
push dword [0x41ed48]
push dword [0x41ece4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403964
mov eax, dword [ebp - 8]
call fcn.00405764
test al, al
jne 0x418d08
push 1
push 0x96
add byte [eax], al
push 0x7a120
lea eax, [ebp - 0x1c]
mov ecx, dword [0x41ece4]
mov edx, dword [0x41eb20]
call fcn.004038f0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004056b8
test al, al
je 0x418bdc
mov eax, dword [ebp - 8]
call fcn.00406ad4
mov byte [0x41eb97], al
push dword [ebp - 4]
push dword [0x41ed48]
push dword [0x41ece8]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403964
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x20]
mov ecx, dword [0x41ece8]
mov edx, dword [0x41eb20]
call fcn.004038f0
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004056b8
test al, al
je 0x418c36
mov eax, dword [ebp - 8]
call fcn.00406ad4
mov byte [0x41eb97], al
push dword [ebp - 4]
push dword [0x41ed48]
push dword [0x41ecec]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403964
mov eax, 0x41eb54
mov edx, 0x419778
call fcn.00403780
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x24]
mov ecx, dword [0x41ecec]
mov edx, dword [0x41eb20]
call fcn.004038f0
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004056b8
test al, al
je 0x418c9f
mov eax, dword [ebp - 8]
call fcn.00406ad4
mov byte [0x41eb97], al
mov eax, 0x41eb54
mov edx, 0x419804
call fcn.00403780
push dword [ebp - 4]
push dword [0x41ed48]
push dword [0x41ecf0]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403964
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x28]
mov ecx, dword [0x41ecf0]
mov edx, dword [0x41eb20]
call fcn.004038f0
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.004056b8
test al, al
je 0x418d08
mov eax, dword [ebp - 8]
call fcn.00406ad4
mov byte [0x41eb97], al
mov eax, 0x41eb54
mov edx, 0x4198c8
call fcn.00403780
push dword [ebp - 4]
push 0x4198ec
push dword [0x41ed4c]
push dword [0x41ed64]
push dword [0x41ed58]
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.00403964
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 8]
call fcn.0040520c
mov eax, 0x41eb54
mov edx, 0x4198f8
call fcn.00403780
mov edx, dword [ebp - 8]
mov eax, dword [0x41eb20]
call fcn.00403b3c
test eax, eax
jne 0x4190d0
mov eax, dword [ebp - 8]
call fcn.00405764
test al, al
jne 0x418db9
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x4198ec
push dword [0x41ed4c]
push dword [0x41ed64]
push dword [0x41ed54]
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00403964
mov eax, dword [ebp - 0x30]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.004056b8
push dword [ebp - 4]
push 0x4198ec
push dword [0x41ed4c]
push dword [0x41ed64]
push dword [0x41ed54]
lea eax, [ebp - 8]
mov edx, 5
call fcn.00403964
mov eax, 0x41eb54
mov edx, 0x419974
call fcn.00403780
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x41eb2c]
call fcn.004056b8
test al, al
je 0x418e1b
mov eax, dword [ebp - 8]
call fcn.00406ad4
mov byte [0x41eb97], al
mov eax, 0x41eb54
mov edx, 0x4199f8
call fcn.00403780
push dword [ebp - 4]
push 0x4198ec
push dword [0x41ed4c]
push dword [0x41ed64]
push dword [0x41ed60]
lea eax, [ebp - 8]
mov edx, 5
call fcn.00403964
mov eax, 0x41eb54
mov edx, 0x419a9c
call fcn.00403780
mov eax, dword [ebp - 8]
call fcn.00405764
test al, al
jne 0x418eac
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x4198ec
push dword [0x41ed4c]
push dword [0x41ed64]
push dword [0x41ed5c]
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.00403964
mov eax, dword [ebp - 0x34]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.004056b8
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x4198ec
push dword [0x41ed4c]
push dword [0x41ed64]
push dword [0x41ed5c]
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00403964
mov edx, dword [ebp - 0x38]
mov cl, 1
mov eax, dword [0x41eb2c]
call fcn.004056b8
test al, al
je 0x418f26
push dword [ebp - 4]
push 0x4198ec
push dword [0x41ed4c]
push dword [0x41ed64]
push dword [0x41ed5c]
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00403964
mov eax, dword [ebp - 0x3c]
call fcn.00406ad4
mov byte [0x41eb97], al
mov eax, 0x41eb54
mov edx, 0x419b6c
call fcn.00403780
push dword [ebp - 4]
push 0x4198ec
push dword [0x41ed4c]
push dword [0x41ece4]
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403964
mov eax, dword [ebp - 8]
call fcn.00405764
test al, al
jne 0x4190c1
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x40]
mov ecx, dword [0x41ece4]
mov edx, dword [0x41eb20]
call fcn.004038f0
mov eax, dword [ebp - 0x40]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.004056b8
test al, al
je 0x418fa4
mov eax, dword [ebp - 8]
invalid
invalid