Function at 0x415320
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x415328
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040357c
mov ebx, 0x41ab40
mov esi, 0x41abab
mov edi, 0x41ab68
xor eax, eax
push ebp
push 0x415ede
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x415ef4
push 0x415f00
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 0x415393
sub eax, 1
jne 0x415ec3
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 0x4153fd
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 [esi], 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 [ebx]
call fcn.00404d2c
test al, al
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
mov eax, edi
mov edx, 0x415f0c
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 0x4154a8
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 [esi], al
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41ad70]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
mov eax, edi
mov edx, 0x415f48
call fcn.0040325c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.00404d2c
test al, al
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
mov eax, edi
mov edx, 0x415f90
call fcn.0040325c
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 0x415678
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 0x415567
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
push dword [ebp - 4]
push dword [0x41ad5c]
push dword [0x41acfc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040344c
mov eax, edi
mov edx, 0x41604c
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 0x4155ca
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], 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 0x415621
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], 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 0x415678
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
mov eax, edi
mov edx, 0x416108
call fcn.0040325c
push dword [ebp - 4]
push 0x415ef4
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 0x4159fb
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x415717
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x415ef4
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 0x415ef4
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 [ebx]
call fcn.00404d2c
test al, al
je 0x415764
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
push dword [ebp - 4]
push 0x415ef4
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 0x4157d7
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x415ef4
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 0x415ef4
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 [ebx]
call fcn.00404d2c
test al, al
je 0x41584b
push dword [ebp - 4]
push 0x415ef4
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 [esi], al
mov eax, edi
mov edx, 0x4161c8
call fcn.0040325c
push dword [ebp - 4]
push 0x415ef4
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 0x4159ef
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 0x4158c3
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
push dword [ebp - 4]
push 0x415ef4
push dword [0x41ad60]
push dword [0x41acfc]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040344c
mov eax, edi
mov edx, 0x41622c
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 0x41592b
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
mov eax, edi
mov edx, 0x4162f0
call fcn.0040325c
push dword [ebp - 4]
push 0x415ef4
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 0x415993
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
push dword [ebp - 4]
push 0x415ef4
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 0x4159ef
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
mov eax, edi
mov edx, 0x416308
call fcn.0040325c
mov eax, edi
mov edx, 0x41622c
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 0x415b97
mov eax, dword [ebp - 8]
call fcn.00404dc0
test al, al
jne 0x415a92
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 [esi], 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 [ebx]
call fcn.00404d2c
test al, al
je 0x415ada
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
mov eax, edi
mov edx, 0x416340
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 0x415b4f
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, edi
mov edx, 0x416398
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 [ebx]
call fcn.00404d2c
mov byte [esi], al
push dword [ebp - 4]
push dword [0x41ad7c]
push 0x416448
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 [ebx]
call fcn.00404d2c
test al, al
je 0x415bea
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], 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 [ebx]
call fcn.00404d2c
test al, al
je 0x415c32
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
push dword [ebp - 4]
push dword [0x41ad7c]
push 0x416448
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 [ebx]
call fcn.00404d2c
test al, al
je 0x415c85
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
mov eax, edi
mov edx, 0x416454
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 [ebx]
call fcn.00404d2c
test al, al
je 0x415cd9
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], 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 [ebx]
call fcn.00404d2c
test al, al
je 0x415d27
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], 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 [ebx]
call fcn.00404d2c
test al, al
je 0x415d6f
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], 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, edi
mov edx, 0x416480
call fcn.0040325c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.00404d2c
test al, al
je 0x415dc9
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
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, edi
mov edx, 0x4164a8
call fcn.0040325c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.00404d2c
test al, al
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
push dword [ebp - 4]
push 0x415ef4
push 0x415f00
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 [ebx]
call fcn.00404d2c
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
push dword [ebp - 4]
push 0x415ef4
push 0x415f00
push dword [0x41ad58]
push dword [0x41ad9c]
push dword [0x41ad80]
lea eax, [ebp - 8]
mov edx, 6
call fcn.0040344c
mov eax, edi
mov edx, 0x4164f0
call fcn.0040325c
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.00404d2c
mov eax, dword [ebp - 8]
call fcn.00405ce0
mov byte [esi], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415ee5
lea eax, [ebp - 0x58]
mov edx, 0x16
call fcn.0040322c
ret