Function at 0x401ee0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x76c
mov ecx, dword [0x40e478]
push ebx
mov dword [esp + 0x18], ecx
mov ecx, dword [str.Driver_Version]
mov dword [esp + 4], ecx
mov ecx, dword [0x40e468]
mov dword [esp + 8], ecx
mov ecx, dword [0x40e46c]
mov dword [esp + 0xc], ecx
mov cx, word [0x40e470]
mov word [esp + 0x10], cx
mov cl, byte [0x40e472]
push ebp
push esi
push edi
mov edx, dword [0x40e47c]
mov byte [esp + 0x1e], cl
mov eax, dword [str.Video_Adapter]
mov ecx, 5
mov esi, str.Multimedia_Components
lea edi, [esp + 0x48]
mov ebp, dword [0x40e448]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], edx
mov edx, dword [0x40e444]
mov dword [esp + 0x20], eax
mov ax, word [0x40e480]
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], edx
mov word [esp + 0x2c], ax
mov eax, dword [str.Driver_Date]
lea edx, [esp + 0x36c]
push 0x104
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x38], eax
movsw word es:[edi], word [esi]
mov dword [esp + 0x40], ebp
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.System_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x36c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x470]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x36c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x678]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x36c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor ebp, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x268]
push ecx
push str.Display
push ebp
call fcn.00402da0
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
test eax, eax
je 0x402187
lea edx, [esp + 0x164]
push 0x104
push edx
push str.DriverDesc
lea eax, [esp + 0x274]
push 0
push eax
call fcn.00402c60
lea ecx, [esp + 0x178]
lea edx, [esp + 0x74]
push ecx
push 0x40e198
push edx
call ebx
lea eax, [esp + 0x80]
push 1
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.00402af0
lea edx, [esp + 0x190]
push 0x104
push edx
push str.DriverDate
lea eax, [esp + 0x2a0]
push 0
push eax
call fcn.00402c60
add esp, 0x40
lea ecx, [esp + 0x164]
lea edx, [esp + 0x60]
push ecx
push 0x40e198
push edx
call ebx
lea eax, [esp + 0x6c]
push 1
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.00402af0
lea edx, [esp + 0x17c]
push 0x104
push edx
push 0x40e410
lea eax, [esp + 0x28c]
push str.DEFAULT
push eax
call fcn.00402c60
lea ecx, [esp + 0x190]
lea edx, [esp + 0x8c]
push ecx
push 0x40e198
push edx
call ebx
lea edi, [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x4a8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x98]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4ac]
push ecx
call fcn.004026d0
add esp, 0x40
push 1
lea edx, [esp + 0x64]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00402af0
lea ecx, [esp + 0x274]
inc ebp
push ecx
push str.Display
push ebp
call fcn.00402da0
add esp, 0x18
test eax, eax
jne 0x40203f
lea edx, [esp + 0x268]
xor ebp, ebp
push edx
push str.Media
push ebp
call fcn.00402da0
add esp, 0xc
test eax, eax
je 0x40226f
lea eax, [esp + 0x164]
push 0x104
push eax
push str.DriverDesc
lea ecx, [esp + 0x274]
push 0
push ecx
call fcn.00402c60
lea edx, [esp + 0x178]
lea eax, [esp + 0x74]
push edx
push 0x40e198
push eax
call ebx
lea ecx, [esp + 0x80]
push 1
lea edx, [esp + 0x6c]
push ecx
push edx
call fcn.00402af0
lea eax, [esp + 0x190]
push 0x104
push eax
push str.DriverDate
lea ecx, [esp + 0x2a0]
push 0
push ecx
call fcn.00402c60
add esp, 0x40
lea edx, [esp + 0x164]
lea eax, [esp + 0x60]
push edx
push 0x40e198
push eax
call ebx
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x580]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x274]
push ecx
push str.Media
push ebp
call fcn.00402da0
add esp, 0x18
test eax, eax
jne 0x4021a7
lea edx, [esp + 0x574]
push 1
lea eax, [esp + 0x34]
push edx
push eax
call fcn.00402af0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x76c
ret