Function at 0x4150d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4150d8
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 0x415ca6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x415cbc
call fcn.0040325c
push dword [ebp - 4]
push 0x415d38
push 0x415d44
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 0x41514f
sub eax, 1
jne 0x415c8b
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 0x4151b9
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, 0x415d50
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, 0x415d6c
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 0x415270
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, 0x415df4
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 0x415434
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 0x415323
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
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 0x41537a
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 0x4153d1
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 0x415428
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x415e64
call fcn.0040325c
push dword [ebp - 4]
push 0x415d38
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 edx, dword [ebp - 8]
mov eax, dword [0x41ab34]
call fcn.00403624
test eax, eax
jne 0x4157b7
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x4154c7
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x415d38
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 0x415d38
push dword [0x41ad60]
push dword [0x41ad78]
push dword [0x41ad68]
lea eax, [ebp - 8]
mov edx, 5
call fcn.0040344c
mov eax, ebx
mov edx, 0x415f2c
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 0x415520
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x415f68
call fcn.0040325c
push dword [ebp - 4]
push 0x415d38
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 0x41559f
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x415d38
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 0x415d38
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 0x415613
push dword [ebp - 4]
push 0x415d38
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
mov eax, ebx
mov edx, 0x415fac
call fcn.0040325c
push dword [ebp - 4]
push 0x415d38
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 0x4157b7
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 0x41568b
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push 0x415d38
push dword [0x41ad60]
push dword [0x41acfc]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
mov eax, ebx
mov edx, 0x41600c
call fcn.0040325c
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 0x4156f3
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x416058
call fcn.0040325c
push dword [ebp - 4]
push 0x415d38
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 0x41575b
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push 0x415d38
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 0x4157b7
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
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 0x41593b
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x415842
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 0x41588a
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x416128
call fcn.0040325c
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 0x4158ff
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
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 0x4161e8
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 0x41598e
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 0x4159d6
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push dword [0x41ad7c]
push 0x4161e8
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 0x415a29
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x416128
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 0x415a7d
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
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 0x415acb
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 0x415b13
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, 0x4161f4
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 0x415b6d
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x416264
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
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x416330
call fcn.0040325c
push dword [ebp - 4]
push 0x415d38
push 0x415d44
push dword [0x41ad58]
push dword [0x41ad98]
push dword [0x41ad80]
lea eax, [ebp - 8]
mov edx, 6
call fcn.0040344c
mov eax, ebx
mov edx, 0x41640c
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
mov eax, ebx
mov edx, 0x4164c8
call fcn.0040325c
push dword [ebp - 4]
push 0x415d38
push 0x415d44
push dword [0x41ad58]
push dword [0x41ad9c]
push dword [0x41ad80]
lea eax, [ebp - 8]
mov edx, 6
call fcn.0040344c
mov eax, ebx
mov edx, 0x416570
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 0x415cad
lea eax, [ebp - 0x58]
mov edx, 0x16
call fcn.0040322c
ret