Function at 0x41810e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push esi
mov dword [ebp - 0x14], 0x9fe387fb
and dword [ebp - 0x78], 0
and dword [ebp - 0x74], 0
and dword [ebp - 0x70], 0
and dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x19]
call fcn.00411494
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x90]
call fcn.00411497
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x84]
call fcn.00411452
mov dword [ebp - 0x5c], 0xb3e713e1
cmp dword [ebp - 0x14], 0
je 0x418237
mov dword [ebp - 0x10], 0xe21afa9b
mov dword [ebp - 0x3c], 0x5b3847d2
mov dword [ebp - 0x64], 1
push 3
lea ecx, [ebp - 0x84]
call fcn.00401484
cmp dword [ebp - 0x10], 0
jne 0x41819d
mov dword [ebp - 0x40], 1
jmp 0x4181a1
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x10], 0
jbe 0x4181b0
mov dword [ebp - 0x50], 1
jmp 0x4181b4
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x50], eax
jne 0x4181c5
mov dword [ebp - 0x28], 1
jmp 0x4181c9
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x10]
mov esi, eax
imul esi, dword [ebp - 0x40]
push 3
lea ecx, [ebp - 0x84]
call fcn.00401484
cmp esi, dword [eax]
jl 0x4181f2
mov dword [ebp - 0x30], 1
jmp 0x4181f6
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0x9ed080c1
jbe 0x418208
mov dword [ebp - 0x20], 1
jmp 0x41820c
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x20], eax
je 0x41821d
mov dword [ebp - 0x58], 1
jmp 0x418221
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
sub eax, 0x150790db
mov dword [ebp - 0x64], eax
jmp 0x4182bb
mov dword [ebp - 0x14], 0
jmp 0x418247
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x4182a0
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x41826a
push 1
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [ebp - 3], 0
movzx eax, byte [ebp - 3]
test eax, eax
je 0x41829e
push 0xd65
push 0xa4e
push 0x5e5
push 0x2253
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
jmp 0x418240
mov byte [ebp - 4], 0
movzx eax, byte [ebp - 4]
test eax, eax
je 0x4182bb
push 0x23ff
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea ecx, [ebp - 0x84]
call fcn.00411478
mov dword [ebp - 0x88], 0x1928c176
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x4182f9
push 0
push 0x1c84
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov byte [ebp - 6], 0
movzx eax, byte [ebp - 6]
test eax, eax
je 0x418312
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
push 0x3c95
push 0x3cd
push dword [ebp + 8]
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x60]
push eax
call fcn.0041c64b
add esp, 0x18
push 2
lea ecx, [ebp - 0x4c]
call fcn.004113a6
mov dword [ebp - 0x54], 1
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x418358
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x418371
push dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
call fcn.00401484
mov dword [eax], 0x5e17ca00
jmp 0x418351
push 1
lea ecx, [ebp - 0x4c]
call fcn.00401484
cmp dword [eax], 0
je 0x4183fd
mov dword [ebp - 0x54], 0xffff
cmp dword [ebp - 0x54], 0
je 0x4183a5
push 1
lea ecx, [ebp - 0x4c]
call fcn.00401484
cmp dword [eax], 0
je 0x4183a5
mov dword [ebp - 0x34], 1
jmp 0x4183a9
and dword [ebp - 0x34], 0
push 0
lea ecx, [ebp - 0x4c]
call fcn.00401484
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
add ecx, dword [ebp - 0xc]
jne 0x4183d2
push 1
lea ecx, [ebp - 0x4c]
call fcn.00401484
cmp dword [eax], 0
jne 0x4183d2
and dword [ebp - 0x38], 0
jmp 0x4183d9
mov dword [ebp - 0x38], 1
push 0
lea ecx, [ebp - 0x4c]
call fcn.00401484
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
je 0x4183f3
mov dword [ebp - 0x24], 1
jmp 0x4183f7
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 1
je 0x418412
push 1
lea ecx, [ebp - 0x4c]
call fcn.00401484
cmp dword [eax], 0
jne 0x418412
and dword [ebp - 0x2c], 0
jmp 0x418419
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xc], 0xfffffff5
jmp 0x41842f
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jle 0x418451
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41844f
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
jmp 0x418428
lea ecx, [ebp - 0x4c]
call fcn.00411478
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
pop esi
mov esp, ebp
pop ebp
ret