Function at 0x4147f8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x414800
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 0x4153ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x4153e4
call fcn.0040325c
push dword [ebp - 4]
push 0x4154b0
push 0x4154bc
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 0x414877
sub eax, 1
jne 0x4153b3
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 0x4148e1
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
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, 0x4154c8
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 0x41498c
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, 0x4154e8
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 0x414b5c
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 0x414a3f
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, 0x41554c
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 0x414aa2
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 0x414af9
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x4155c0
call fcn.0040325c
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 0x414b5c
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
mov eax, ebx
mov edx, 0x41561c
call fcn.0040325c
push dword [ebp - 4]
push 0x4154b0
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, 0x415638
call fcn.0040325c
mov edx, dword [ebp - 8]
mov eax, dword [0x41ab34]
call fcn.00403624
test eax, eax
jne 0x414ec7
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x414c07
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x4154b0
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 0x4154b0
push dword [0x41ad60]
push dword [0x41ad78]
push dword [0x41ad68]
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 0x414c54
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push 0x4154b0
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 0x414cc7
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x4154b0
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 0x4154b0
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 0x414d3b
push dword [ebp - 4]
push 0x4154b0
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 0x4154b0
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 0x414ec7
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 0x414da7
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [edi], al
push dword [ebp - 4]
push 0x4154b0
push dword [0x41ad60]
push dword [0x41acfc]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
mov eax, ebx
mov edx, 0x4156f4
call fcn.0040325c
push 1
push 0x96
push 0x7a120
lea eax, [ebp - 0x44]
mov ecx, dword [0x41acfc]
invalid
invalid