Function at 0x414dcc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x414dd4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040357c
mov ebx, 0x41ab68
mov esi, 0x41ab40
mov edi, 0x41abab
xor eax, eax
push ebp
push 0x415996
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x4159ac
call fcn.0040325c
push dword [ebp - 4]
push 0x415a38
push 0x415a44
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 0x414e4b
sub eax, 1
jne 0x41597b
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad6c]
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 0x414eb5
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad68]
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 [edi], al
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad68]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
mov eax, ebx
mov edx, 0x415a50
call fcn.0040325c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
test al, al
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x415b04
call fcn.0040325c
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad74]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x414f6c
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad70]
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 [edi], al
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad70]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
mov eax, ebx
mov edx, 0x415b20
call fcn.0040325c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
test al, al
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41acf8]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x415130
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x1c]
mov ecx, dword [0x41acf8]
mov edx, dword [0x41ab34]
call fcn.004033d8
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00404d2c
test al, al
je 0x41501f
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41acfc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
mov eax, ebx
mov edx, 0x415be0
call fcn.0040325c
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x20]
mov ecx, dword [0x41acfc]
mov edx, dword [0x41ab34]
call fcn.004033d8
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00404d2c
test al, al
je 0x415082
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad00]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x24]
mov ecx, dword [0x41ad00]
mov edx, dword [0x41ab34]
call fcn.004033d8
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00404d2c
test al, al
je 0x4150d9
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad04]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x28]
mov ecx, dword [0x41ad04]
mov edx, dword [0x41ab34]
call fcn.004033d8
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00404d2c
test al, al
je 0x415130
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push 0x415a38
push dword [0x41ad60]
push dword [0x41ad78]
push dword [0x41ad6c]
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.0040344c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 8]
call fcn.00404964
mov eax, ebx
mov edx, 0x415c4c
call fcn.0040325c
mov edx, dword [ebp - 8]
mov eax, dword [0x41ab34]
call fcn.00403624
test eax, eax
jne 0x41549b
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x4151cf
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x415a38
push dword [0x41ad60]
push dword [0x41ad78]
push dword [0x41ad68]
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 0x415a38
push dword [0x41ad60]
push dword [0x41ad78]
push dword [0x41ad68]
lea eax, [ebp - 8]
mov edx, 5
call fcn.0040344c
mov eax, ebx
mov edx, 0x415d08
call fcn.0040325c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
test al, al
je 0x415228
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push 0x415a38
push dword [0x41ad60]
push dword [0x41ad78]
push dword [0x41ad74]
lea eax, [ebp - 8]
mov edx, 5
call fcn.0040344c
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x41529b
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x415a38
push dword [0x41ad60]
push dword [0x41ad78]
push dword [0x41ad70]
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.0040344c
mov eax, dword [ebp - 0x34]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00404d2c
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x415a38
push dword [0x41ad60]
push dword [0x41ad78]
push dword [0x41ad70]
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.0040344c
mov edx, dword [ebp - 0x38]
mov cl, 1
mov eax, dword [esi]
call fcn.00404d2c
test al, al
je 0x41530f
push dword [ebp - 4]
push 0x415a38
push dword [0x41ad60]
push dword [0x41ad78]
push dword [0x41ad70]
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.0040344c
mov eax, dword [ebp - 0x3c]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push 0x415a38
push dword [0x41ad60]
push dword [0x41acf8]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x41548f
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x40]
mov ecx, dword [0x41acf8]
mov edx, dword [0x41ab34]
call fcn.004033d8
mov eax, dword [ebp - 0x40]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00404d2c
test al, al
je 0x41537b
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push 0x415a38
push dword [0x41ad60]
push dword [0x41acfc]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x44]
mov ecx, dword [0x41acfc]
mov edx, dword [0x41ab34]
call fcn.004033d8
mov eax, dword [ebp - 0x44]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00404d2c
test al, al
je 0x4153d7
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push 0x415a38
push dword [0x41ad60]
push dword [0x41acf8]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x48]
mov ecx, dword [0x41ad00]
mov edx, dword [0x41ab34]
call fcn.004033d8
mov eax, dword [ebp - 0x48]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00404d2c
test al, al
je 0x415433
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push 0x415a38
push dword [0x41ad60]
push dword [0x41acfc]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x4c]
mov ecx, dword [0x41ad04]
mov edx, dword [0x41ab34]
call fcn.004033d8
mov eax, dword [ebp - 0x4c]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00404d2c
test al, al
je 0x41548f
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x415db8
call fcn.0040325c
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad78]
push dword [0x41ad6c]
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.0040344c
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 8]
call fcn.00404964
mov edx, dword [ebp - 8]
mov eax, dword [0x41ab34]
call fcn.00403624
test eax, eax
jne 0x41561f
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x415526
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad78]
push dword [0x41ad68]
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.0040344c
mov eax, dword [ebp - 0x54]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00404d2c
mov byte [edi], al
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad78]
push dword [0x41ad68]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
test al, al
je 0x41556e
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad78]
push dword [0x41ad74]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x4155d7
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad78]
push dword [0x41ad70]
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.0040344c
mov eax, dword [ebp - 0x58]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00404d2c
mov eax, ebx
mov edx, 0x415e00
call fcn.0040325c
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad78]
push dword [0x41ad70]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
mov byte [edi], al
push dword [ebp - 4]
push dword [0x41ad7c]
push 0x415e90
push dword [0x41ad58]
push dword [0x41ad98]
push dword [0x41ad80]
lea eax, [ebp - 8]
mov edx, 6
call fcn.0040344c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
test al, al
je 0x415672
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x415e9c
call fcn.0040325c
push dword [ebp - 4]
push dword [0x41ad7c]
push dword [0x41ad98]
push dword [0x41ad80]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
test al, al
je 0x4156c6
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push dword [0x41ad7c]
push 0x415e90
push dword [0x41ad58]
push dword [0x41ad9c]
push dword [0x41ad80]
lea eax, [ebp - 8]
mov edx, 6
call fcn.0040344c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
test al, al
je 0x415719
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x415f44
call fcn.0040325c
push dword [ebp - 4]
push dword [0x41ad7c]
push dword [0x41ad9c]
push dword [0x41ad80]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
test al, al
je 0x41576d
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x415fc8
call fcn.0040325c
push dword [ebp - 4]
push dword [0x41ad7c]
push dword [0x41ad64]
push dword [0x41ad98]
push dword [0x41ad80]
lea eax, [ebp - 8]
mov edx, 5
call fcn.0040344c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
test al, al
je 0x4157c7
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push dword [0x41ad7c]
push dword [0x41ad98]
push dword [0x41ad80]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
test al, al
je 0x41580f
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push dword [0x41ad7c]
push dword [0x41ad64]
push dword [0x41ad9c]
push dword [0x41ad80]
lea eax, [ebp - 8]
mov edx, 5
call fcn.0040344c
mov eax, ebx
mov edx, 0x416040
call fcn.0040325c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
test al, al
je 0x415869
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x41610c
call fcn.0040325c
push dword [ebp - 4]
push dword [0x41ad7c]
push dword [0x41ad9c]
push dword [0x41ad80]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
mov eax, ebx
mov edx, 0x4161a4
call fcn.0040325c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
test al, al
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push 0x415a38
push 0x415a44
push dword [0x41ad58]
push dword [0x41ad98]
push dword [0x41ad80]
lea eax, [ebp - 8]
mov edx, 6
call fcn.0040344c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x416210
call fcn.0040325c
push dword [ebp - 4]
push 0x415a38
push 0x415a44
push dword [0x41ad58]
push dword [0x41ad9c]
push dword [0x41ad80]
lea eax, [ebp - 8]
mov edx, 6
call fcn.0040344c
mov eax, ebx
mov edx, 0x416284
call fcn.0040325c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00404d2c
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41599d
lea eax, [ebp - 0x58]
mov edx, 0x16
call fcn.0040322c
ret