Function at 0x4111f4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4111fc
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41152c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 1
xor eax, eax
push ebp
push 0x41150a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004109ec
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 0
je 0x41124c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.00408cbc
test al, al
jne 0x41125f
lea eax, [ebp - 0x18]
call fcn.0040bac0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0041183c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, 9
call fcn.00407808
mov ebx, eax
test ebx, ebx
je 0x4112b6
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov cl, 0x5c
mov edx, ebx
call fcn.004078f0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00403aec
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.00403aec
mov edx, dword [ebp - 0x24]
pop eax
call fcn.004035e8
test eax, eax
je 0x4114dd
xor ebx, ebx
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2c]
call fcn.00401614
lea eax, [ebp - 0x14]
call fcn.0040157c
jmp 0x4114c1
mov eax, dword [0x4164d8]
cmp byte [eax], 0
jne 0x4112e7
mov eax, dword [0x4164dc]
cmp byte [eax], 0
jne 0x4112f1
call fcn.0040136c
jmp 0x411511
lea ecx, [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x411544
call fcn.0040b894
cmp dword [ebp - 0xc], 0
je 0x4114c1
mov eax, dword [ebp - 0xc]
call fcn.004017ec
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x3a
je 0x411371
mov edx, dword [ebp - 0xc]
mov eax, 0x411550
call fcn.00401ac8
test eax, eax
jle 0x411371
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 0x411550
call fcn.0040b894
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov ecx, 0x411550
call fcn.00401838
push dword [ebp - 0xc]
push 0x41155c
push dword [ebp - 8]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004018ac
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00401614
mov esi, ebx
test esi, esi
jne 0x411388
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
xor edx, edx
call fcn.00407808
mov ebx, eax
jmp 0x41139c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov ecx, 4
mov edx, esi
call fcn.00407828
mov ebx, eax
test ebx, ebx
je 0x4113d7
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.004078a0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
call fcn.004035e8
test eax, eax
je 0x4113d7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov ecx, 1
mov edx, ebx
call fcn.00407828
mov ebx, eax
test ebx, ebx
jne 0x4113a0
test ebx, ebx
jne 0x4113f3
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov ecx, 0xffff0002
mov edx, esi
call fcn.00407a28
mov ebx, eax
test esi, esi
je 0x411409
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov ecx, 2
mov edx, esi
call fcn.00407a78
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push 0x41155c
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004018ac
mov eax, dword [ebp - 0x14]
call fcn.004039a8
mov esi, eax
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov ecx, 2
mov edx, ebx
call fcn.00407838
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov ecx, 0x20
mov edx, ebx
call fcn.00407838
mov eax, dword [ebp - 0xc]
call fcn.004017ec
cmp eax, 2
jne 0x4114b7
mov eax, dword [ebp - 0xc]
cmp byte [eax + 1], 0x3a
jne 0x4114b7
lea eax, [ebp - 0x30]
mov ecx, 0x41155c
mov edx, dword [ebp - 0xc]
call fcn.00401838
mov eax, dword [ebp - 0x30]
call fcn.004019e4
push eax
call sub.kernel32.dll_GetDriveTypeA_1
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], 5
lea edx, [ebp - 0x3c]
mov ecx, 2
call fcn.004037d4
test al, al
jne 0x4114c1
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004109f4
jmp 0x4114c1
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004109f4
cmp dword [ebp - 8], 0
jne 0x4112d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov ecx, ebx
mov edx, 9
call fcn.00407818
test ebx, ebx
je 0x4114f5
push ebx
push 0
push 0x1114
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
call fcn.0040a6e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411511
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411533
lea eax, [ebp - 0x30]
mov edx, 0xb
call fcn.004015a0
ret