Function at 0x413c44
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x413c4c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403a84
mov ebx, 0x41db54
mov esi, 0x41db28
mov edi, 0x41db9f
xor eax, eax
push ebp
push 0x4147df
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov ecx, 0x4147f8
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 0x413cad
sub eax, 1
jne 0x4147c4
push dword [ebp - 4]
push 0x414804
push 0x414818
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403954
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.004053bc
mov eax, dword [ebp - 8]
call fcn.00405818
test al, al
jne 0x413d13
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x414804
push 0x41482c
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.00405784
mov byte [edi], al
push dword [ebp - 4]
push 0x414804
push 0x41482c
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
mov eax, ebx
mov edx, 0x414840
call fcn.00403770
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
test al, al
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
mov eax, ebx
mov edx, 0x4148cc
call fcn.00403770
push dword [ebp - 4]
push 0x414804
push 0x414968
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
mov eax, dword [ebp - 8]
call fcn.00405818
test al, al
jne 0x413dc4
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x414804
push 0x414980
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.00405784
mov byte [edi], al
push dword [ebp - 4]
push 0x414804
push 0x414980
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
mov eax, ebx
mov edx, 0x414994
call fcn.00403770
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
test al, al
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
mov eax, ebx
mov edx, 0x4149e4
call fcn.00403770
push dword [ebp - 4]
push 0x414804
push 0x414a70
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
mov eax, dword [ebp - 8]
call fcn.00405818
test al, al
jne 0x413f9e
push 1
push 0x96
push 0x7a120
mov ecx, 0x414a70
lea eax, [ebp - 0x1c]
mov edx, dword [0x41db1c]
call fcn.004038e0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00405784
test al, al
je 0x413e7e
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
push dword [ebp - 4]
push 0x414804
push 0x414a84
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
mov eax, ebx
mov edx, 0x414a98
call fcn.00403770
push 1
push 0x96
push 0x7a120
mov ecx, 0x414a84
lea eax, [ebp - 0x20]
mov edx, dword [0x41db1c]
call fcn.004038e0
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00405784
test al, al
je 0x413ede
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
push dword [ebp - 4]
push 0x414804
push 0x414b3c
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
mov eax, ebx
mov edx, 0x414b50
call fcn.00403770
push 1
push 0x96
push 0x7a120
mov ecx, 0x414b3c
lea eax, [ebp - 0x24]
mov edx, dword [0x41db1c]
call fcn.004038e0
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00405784
test al, al
je 0x413f3e
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
mov eax, ebx
mov edx, 0x414b78
call fcn.00403770
push dword [ebp - 4]
push 0x414804
push 0x414b98
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403954
push 1
push 0x96
push 0x7a120
mov ecx, 0x414b98
lea eax, [ebp - 0x28]
mov edx, dword [0x41db1c]
call fcn.004038e0
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00405784
test al, al
je 0x413f9e
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
mov eax, ebx
mov edx, 0x414bac
call fcn.00403770
push dword [ebp - 4]
push 0x414c6c
push 0x414c78
push 0x414c88
push 0x414818
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.00403954
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 8]
call fcn.004053bc
mov edx, dword [ebp - 8]
mov eax, dword [0x41db1c]
call fcn.00403b7c
test eax, eax
jne 0x414300
mov eax, dword [ebp - 8]
call fcn.00405818
test al, al
jne 0x414037
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x414c6c
push 0x414c78
push 0x414c88
push 0x41482c
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.00405784
push dword [ebp - 4]
push 0x414c6c
push 0x414c78
push 0x414c88
push 0x41482c
lea eax, [ebp - 8]
mov edx, 5
call fcn.00403954
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
test al, al
je 0x414081
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
push dword [ebp - 4]
push 0x414c6c
push 0x414c78
push 0x414c88
push 0x414968
lea eax, [ebp - 8]
mov edx, 5
call fcn.00403954
mov eax, ebx
mov edx, 0x414c9c
call fcn.00403770
mov eax, dword [ebp - 8]
call fcn.00405818
test al, al
jne 0x4140fa
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x414c6c
push 0x414c78
push 0x414c88
push 0x414980
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.00405784
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x414c6c
push 0x414c78
push 0x414c88
push 0x414980
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00403954
mov edx, dword [ebp - 0x38]
mov cl, 1
mov eax, dword [esi]
call fcn.00405784
test al, al
je 0x414168
push dword [ebp - 4]
push 0x414c6c
push 0x414c78
push 0x414c88
push 0x414980
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00403954
mov eax, dword [ebp - 0x3c]
call fcn.004067c8
mov byte [edi], al
push dword [ebp - 4]
push 0x414c6c
push 0x414c78
push 0x414a70
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
mov eax, dword [ebp - 8]
call fcn.00405818
test al, al
jne 0x4142f4
push 1
push 0x96
push 0x7a120
mov ecx, 0x414a70
lea eax, [ebp - 0x40]
mov edx, dword [0x41db1c]
call fcn.004038e0
mov eax, dword [ebp - 0x40]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00405784
test al, al
je 0x4141d1
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
push dword [ebp - 4]
push 0x414c6c
push 0x414c78
push 0x414a84
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
mov eax, ebx
mov edx, 0x414d1c
call fcn.00403770
push 1
push 0x96
push 0x7a120
mov ecx, 0x414a84
lea eax, [ebp - 0x44]
mov edx, dword [0x41db1c]
call fcn.004038e0
mov eax, dword [ebp - 0x44]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00405784
test al, al
je 0x414236
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
mov eax, ebx
mov edx, 0x414dac
call fcn.00403770
push dword [ebp - 4]
push 0x414c6c
push 0x414c78
push 0x414a70
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
push 1
push 0x96
push 0x7a120
mov ecx, 0x414b3c
lea eax, [ebp - 0x48]
mov edx, dword [0x41db1c]
call fcn.004038e0
mov eax, dword [ebp - 0x48]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00405784
test al, al
je 0x41429b
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
push dword [ebp - 4]
push 0x414c6c
push 0x414c78
push 0x414a84
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
push 1
push 0x96
push 0x7a120
mov ecx, 0x414b98
lea eax, [ebp - 0x4c]
mov edx, dword [0x41db1c]
call fcn.004038e0
mov eax, dword [ebp - 0x4c]
mov cl, 1
mov edx, dword [ebp - 8]
call fcn.00405784
test al, al
je 0x4142f4
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
mov eax, ebx
mov edx, 0x414e78
call fcn.00403770
mov eax, ebx
mov edx, 0x414ee0
call fcn.00403770
push dword [ebp - 4]
push 0x414804
push 0x414c88
push 0x414818
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.00403954
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 8]
call fcn.004053bc
mov edx, dword [ebp - 8]
mov eax, dword [0x41db1c]
call fcn.00403b7c
test eax, eax
jne 0x41448a
mov eax, dword [ebp - 8]
call fcn.00405818
test al, al
jne 0x414391
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x414804
push 0x414c88
push 0x41482c
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.00405784
mov byte [edi], al
push dword [ebp - 4]
push 0x414804
push 0x414c88
push 0x41482c
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
test al, al
je 0x4143d6
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
mov eax, ebx
mov edx, 0x414f2c
call fcn.00403770
push dword [ebp - 4]
push 0x414804
push 0x414c88
push 0x414968
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
mov eax, dword [ebp - 8]
call fcn.00405818
test al, al
jne 0x414445
push 1
push 0x96
push 0x7a120
push dword [ebp - 4]
push 0x414804
push 0x414c88
push 0x414980
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.00405784
mov eax, ebx
mov edx, 0x414f90
call fcn.00403770
push dword [ebp - 4]
push 0x414804
push 0x414c88
push 0x414980
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
mov byte [edi], al
push dword [ebp - 4]
push 0x414fd8
push 0x415004
push 0x415010
push dword [0x41db58]
push 0x415020
lea eax, [ebp - 8]
mov edx, 6
call fcn.00403954
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
test al, al
je 0x4144da
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
mov eax, ebx
mov edx, 0x415040
call fcn.00403770
push dword [ebp - 4]
push 0x414fd8
push dword [0x41db58]
push 0x415020
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
test al, al
je 0x41452c
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
push dword [ebp - 4]
push 0x414fd8
push 0x415004
push 0x415010
push dword [0x41db5c]
push 0x415020
lea eax, [ebp - 8]
mov edx, 6
call fcn.00403954
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
test al, al
je 0x41457c
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
push dword [ebp - 4]
push 0x414fd8
push dword [0x41db5c]
push 0x415020
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
test al, al
je 0x4145c2
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
mov eax, ebx
mov edx, 0x4150b0
call fcn.00403770
push dword [ebp - 4]
push 0x414fd8
push 0x415164
push dword [0x41db58]
push 0x415020
lea eax, [ebp - 8]
mov edx, 5
call fcn.00403954
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
test al, al
je 0x414619
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
push dword [ebp - 4]
push 0x414fd8
push dword [0x41db58]
push 0x415020
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
mov eax, ebx
mov edx, 0x415174
call fcn.00403770
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
test al, al
je 0x41466b
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
push dword [ebp - 4]
push 0x414fd8
push 0x415164
push dword [0x41db5c]
push 0x415020
lea eax, [ebp - 8]
mov edx, 5
call fcn.00403954
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
test al, al
je 0x4146b6
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
push dword [ebp - 4]
push 0x414fd8
push dword [0x41db5c]
push 0x415020
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403954
mov eax, ebx
mov edx, 0x4151f4
call fcn.00403770
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
test al, al
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
mov eax, ebx
mov edx, 0x415238
call fcn.00403770
push dword [ebp - 4]
push 0x4147f8
push 0x415010
push dword [0x41db58]
push 0x415020
lea eax, [ebp - 8]
mov edx, 5
call fcn.00403954
mov eax, ebx
mov edx, 0x415270
call fcn.00403770
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
mov eax, ebx
mov edx, 0x4152a0
call fcn.00403770
push dword [ebp - 4]
push 0x4147f8
push 0x415010
push dword [0x41db5c]
push 0x415020
lea eax, [ebp - 8]
mov edx, 5
call fcn.00403954
mov eax, ebx
mov edx, 0x41535c
call fcn.00403770
push 1
push 0x96
push 0x7a120
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00405784
mov eax, dword [ebp - 8]
call fcn.004067c8
mov byte [edi], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4147e6
lea eax, [ebp - 0x58]
mov edx, 0x16
call fcn.00403740
ret