Function at 0x411508
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x411510
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403a84
mov ebx, 0x41aae8
mov esi, 0x41ab5b
mov edi, 0x41ab14
xor eax, eax
push ebp
push 0x41201f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, 0x412038
call fcn.00403770
lea eax, [ebp - 0xc]
mov ecx, 0x4120ec
mov edx, dword [ebp - 4]
call fcn.004038e0
mov eax, dword [ebp - 0xc]
call fcn.00403a94
push eax
call sub.kernel32.dll_GetDriveTypeA
add eax, 0xfffffffe
sub eax, 3
jb 0x41157d
sub eax, 1
jne 0x412004
push dword [ebp - 4]
push 0x4120f8
push 0x41210c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403954
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.004053d4
mov eax, dword [ebp - 8]
call fcn.00405830
test al, al
jne 0x4115e3
push 1
push 0x96
push 0x222e1
push dword [ebp - 4]
push 0x4120f8
push 0x412120
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403954
mov eax, dword [ebp - 0x14]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.0040579c
mov byte [esi], al
push dword [ebp - 4]
push 0x4120f8
push 0x412120
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
push 1
push 0x96
push 0x222e1
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.0040579c
test al, al
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
mov eax, edi
mov edx, 0x412134
call fcn.00403770
push dword [ebp - 4]
push 0x4120f8
push 0x412200
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
mov eax, dword [ebp - 8]
call fcn.00405830
test al, al
jne 0x411688
push 1
push 0x96
push 0x222e1
push dword [ebp - 4]
push 0x4120f8
push 0x412218
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00403954
mov eax, dword [ebp - 0x18]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.0040579c
mov byte [esi], al
push dword [ebp - 4]
push 0x4120f8
push 0x412218
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
push 1
push 0x96
push 0x222e1
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.0040579c
test al, al
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
mov eax, edi
mov edx, 0x41222c
call fcn.00403770
push dword [ebp - 4]
push 0x4120f8
push 0x4122c8
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
mov eax, dword [ebp - 8]
call fcn.00405830
test al, al
jne 0x411832
push 1
push 0x96
push 0x222e1
mov ecx, 0x4122c8
lea eax, [ebp - 0x1c]
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0040579c
test al, al
je 0x411736
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
push dword [ebp - 4]
push 0x4120f8
push 0x4122dc
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
push 1
push 0x96
push 0x222e1
mov ecx, 0x4122dc
lea eax, [ebp - 0x20]
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0040579c
test al, al
je 0x41178a
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
push dword [ebp - 4]
push 0x4120f8
push 0x4122f0
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
push 1
push 0x96
push 0x222e1
mov ecx, 0x4122f0
lea eax, [ebp - 0x24]
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0040579c
test al, al
je 0x4117de
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
push dword [ebp - 4]
push 0x4120f8
push 0x412304
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
push 1
push 0x96
push 0x222e1
mov ecx, 0x412304
lea eax, [ebp - 0x28]
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0040579c
test al, al
je 0x411832
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
mov eax, edi
mov edx, 0x412318
call fcn.00403770
push dword [ebp - 4]
push 0x412340
push 0x41234c
push 0x41235c
push 0x41210c
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.00403954
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 8]
call fcn.004053d4
mov edx, dword [ebp - 8]
mov eax, dword [0x41aadc]
call fcn.00403b7c
test eax, eax
jne 0x411b7c
mov eax, dword [ebp - 8]
call fcn.00405830
test al, al
jne 0x4118cb
push 1
push 0x96
push 0x222e1
push dword [ebp - 4]
push 0x412340
push 0x41234c
push 0x41235c
push 0x412120
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00403954
mov eax, dword [ebp - 0x30]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.0040579c
push dword [ebp - 4]
push 0x412340
push 0x41234c
push 0x41235c
push 0x412120
lea eax, [ebp - 8]
mov edx, 5
call fcn.00403954
push 1
push 0x96
push 0x222e1
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.0040579c
test al, al
je 0x411915
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
push dword [ebp - 4]
push 0x412340
push 0x41234c
push 0x41235c
push 0x412200
lea eax, [ebp - 8]
mov edx, 5
call fcn.00403954
mov eax, dword [ebp - 8]
call fcn.00405830
test al, al
jne 0x411982
push 1
push 0x96
push 0x222e1
push dword [ebp - 4]
push 0x412340
push 0x41234c
push 0x41235c
push 0x412218
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.00403954
mov eax, dword [ebp - 0x34]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.0040579c
push 1
push 0x96
push 0x222e1
push dword [ebp - 4]
push 0x412340
push 0x41234c
push 0x41235c
push 0x412218
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00403954
mov edx, dword [ebp - 0x38]
mov cl, 1
mov eax, dword [ebx]
call fcn.0040579c
test al, al
je 0x4119f0
push dword [ebp - 4]
push 0x412340
push 0x41234c
push 0x41235c
push 0x412218
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00403954
mov eax, dword [ebp - 0x3c]
call fcn.00406664
mov byte [esi], al
mov eax, edi
mov edx, 0x412370
call fcn.00403770
push dword [ebp - 4]
push 0x412340
push 0x41234c
push 0x4122c8
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
mov eax, dword [ebp - 8]
call fcn.00405830
test al, al
jne 0x411b70
push 1
push 0x96
push 0x222e1
mov ecx, 0x4122c8
lea eax, [ebp - 0x40]
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 0x40]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.0040579c
test al, al
je 0x411a65
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
push dword [ebp - 4]
push 0x412340
push 0x41234c
push 0x4122dc
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
push 1
push 0x96
push 0x222e1
mov ecx, 0x4122dc
lea eax, [ebp - 0x44]
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 0x44]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.0040579c
test al, al
je 0x411abe
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
push dword [ebp - 4]
push 0x412340
push 0x41234c
push 0x4122c8
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
push 1
push 0x96
push 0x222e1
mov ecx, 0x4122f0
lea eax, [ebp - 0x48]
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 0x48]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.0040579c
test al, al
je 0x411b17
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
push dword [ebp - 4]
push 0x412340
push 0x41234c
push 0x4122dc
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
push 1
push 0x96
push 0x222e1
mov ecx, 0x412304
lea eax, [ebp - 0x4c]
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 0x4c]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.0040579c
test al, al
je 0x411b70
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
mov eax, edi
mov edx, 0x412424
call fcn.00403770
mov eax, edi
mov edx, 0x4124c0
call fcn.00403770
push dword [ebp - 4]
push 0x4120f8
push 0x41235c
push 0x41210c
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.00403954
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 8]
call fcn.004053d4
mov eax, edi
mov edx, 0x412560
call fcn.00403770
mov edx, dword [ebp - 8]
mov eax, dword [0x41aadc]
call fcn.00403b7c
test eax, eax
jne 0x411cfa
mov eax, dword [ebp - 8]
call fcn.00405830
test al, al
jne 0x411c19
push 1
push 0x96
push 0x222e1
push dword [ebp - 4]
push 0x4120f8
push 0x41235c
push 0x412120
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.00403954
mov eax, dword [ebp - 0x54]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.0040579c
mov byte [esi], al
push dword [ebp - 4]
push 0x4120f8
push 0x41235c
push 0x412120
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
push 1
push 0x96
push 0x222e1
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.0040579c
test al, al
je 0x411c5e
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
push dword [ebp - 4]
push 0x4120f8
push 0x41235c
push 0x412200
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
mov eax, dword [ebp - 8]
call fcn.00405830
test al, al
jne 0x411cc1
push 1
push 0x96
push 0x222e1
push dword [ebp - 4]
push 0x4120f8
push 0x41235c
push 0x412218
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00403954
mov eax, dword [ebp - 0x58]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.0040579c
push dword [ebp - 4]
push 0x4120f8
push 0x41235c
push 0x412218
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
push 1
push 0x96
push 0x222e1
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.0040579c
mov byte [esi], al
push dword [ebp - 4]
push 0x4125a8
push 0x4125d4
push 0x4125e0
push dword [0x41ab18]
push 0x4125f0
lea eax, [ebp - 8]
mov edx, 6
call fcn.00403954
push 1
push 0x96
push 0x222e1
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.0040579c
test al, al
je 0x411d4a
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
push dword [ebp - 4]
push 0x4125a8
push dword [0x41ab18]
push 0x4125f0
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
push 1
push 0x96
push 0x222e1
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.0040579c
test al, al
je 0x411d90
mov eax, dword [ebp - 8]
call fcn.00406664
mov byte [esi], al
push dword [ebp - 4]