Function at 0x401090
Capabilities:
Get common file path

Disassembly:
sub esp, 0x544
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ebx, eax
lea eax, [esp + 8]
push 0x32
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4013e1
xor eax, eax
mov cl, byte [esp + eax + 8]
mov byte [esp + eax + 0x3c], cl
inc eax
test cl, cl
jne 0x4010b7
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x40712c]
repne scasb al, byte es:[edi]
mov ecx, dword [str._system32_]
mov ax, word [0x407130]
dec edi
mov dword [edi], ecx
mov cl, byte [0x407132]
mov dword [edi + 4], edx
mov edx, dword [0x407118]
mov word [edi + 8], ax
xor eax, eax
mov byte [edi + 0xa], cl
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [0x40711c]
mov ecx, dword [0x407120]
dec edi
mov dword [edi], edx
mov dl, byte [0x407124]
mov dword [edi + 4], eax
lea eax, [esp + 0x3c]
push eax
push 0x6a
mov dword [edi + 8], ecx
mov byte [edi + 0xc], dl
call fcn.00401000
add esp, 8
test eax, eax
jne 0x401145
push eax
push str.VICOC_INSTALL
push str.A_Error
jmp 0x4013d9
xor eax, eax
mov cl, byte [esp + eax + 8]
mov byte [esp + eax + 0x3c], cl
inc eax
test cl, cl
jne 0x401147
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x40712c]
repne scasb al, byte es:[edi]
mov ecx, dword [str._system32_]
mov ax, word [0x407130]
dec edi
mov dword [edi], ecx
mov cl, byte [0x407132]
mov dword [edi + 4], edx
mov edx, dword [0x4070f4]
mov word [edi + 8], ax
xor eax, eax
mov byte [edi + 0xa], cl
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [0x4070f8]
mov ecx, dword [0x4070fc]
dec edi
mov dword [edi], edx
lea edx, [esp + 0x3c]
push edx
push 0x6b
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
call fcn.00401000
add esp, 8
test eax, eax
jne 0x4011cc
push eax
push str.VICOC_INSTALL
push str.B_Error
jmp 0x4013d9
xor eax, eax
mov cl, byte [esp + eax + 8]
mov byte [esp + eax + 0x3c], cl
inc eax
test cl, cl
jne 0x4011ce
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
mov dx, word [0x407130]
repne scasb al, byte es:[edi]
mov eax, dword [str._system32_]
mov ecx, dword [0x40712c]
dec edi
mov dword [edi], eax
mov al, byte [0x407132]
mov dword [edi + 4], ecx
or ecx, 0xffffffff
mov word [edi + 8], dx
mov edx, dword [0x4070e8]
mov byte [edi + 0xa], al
lea edi, [esp + 0x3c]
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, dword [0x4070e4]
dec edi
lea eax, [esp + 0x3c]
mov dword [edi], ecx
push eax
push 0x6c
mov dword [edi + 4], edx
call fcn.00401000
add esp, 8
test eax, eax
jne 0x40124a
push eax
push str.VICOC_INSTALL
push str.C_Error
jmp 0x4013d9
xor eax, eax
mov cl, byte [esp + eax + 8]
mov byte [esp + eax + 0x3c], cl
inc eax
test cl, cl
jne 0x40124c
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
mov dx, word [0x4070d8]
repne scasb al, byte es:[edi]
mov ecx, dword [str.inf_]
dec edi
mov dword [edi], ecx
or ecx, 0xffffffff
mov word [edi + 4], dx
lea edi, [esp + 0x3c]
repne scasb al, byte es:[edi]
mov eax, dword [str.vicoc.inf]
mov ecx, dword [0x4070cc]
mov dx, word [0x4070d0]
dec edi
mov dword [edi], eax
lea eax, [esp + 0x3c]
push eax
push 0x6d
mov dword [edi + 4], ecx
mov word [edi + 8], dx
call fcn.00401000
add esp, 8
test eax, eax
jne 0x4012c0
push eax
push str.VICOC_INSTALL
push str.D_Error
jmp 0x4013d9
xor eax, eax
mov cl, byte [eax + str.DefaultInstall_132]
mov byte [esp + eax + 0x240], cl
inc eax
test cl, cl
jne 0x4012c2
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [esp + 0x248]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
push 0x208
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x350]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x250]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x254]
push ecx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
pop esi
pop ebp
test eax, eax
jne 0x401388
cmp bx, 0x804
jne 0x401365
mov cl, byte [eax + 0x40709c]
mov byte [esp + eax + 0x140], cl
inc eax
test cl, cl
jne 0x401342
push 0
lea edx, [esp + 0x144]
push str.VICOC_INSTALL
push edx
jmp 0x4013d9
mov cl, byte [eax + str.Code_Translation_Error]
mov byte [esp + eax + 0x140], cl
inc eax
test cl, cl
jne 0x401365
push 0
lea edx, [esp + 0x144]
push str.VICOC_INSTALL
push edx
jmp 0x4013d9
lea eax, [esp + 0x344]
push 0
push eax
push 0
push 0
call sub.SETUPAPI.dll_InstallHinfSectionW
xor eax, eax
cmp bx, 0x804
jne 0x4013b8
mov cl, byte [eax + 0x40706c]
mov byte [esp + eax + 0x140], cl
inc eax
test cl, cl
jne 0x4013a4
jmp 0x4013ca
mov cl, byte [eax + str.MediaPlayer_Plugin_Installed_Successfully]
mov byte [esp + eax + 0x140], cl
inc eax
test cl, cl
jne 0x4013b8
push 0
lea ecx, [esp + 0x144]
push str.VICOC_INSTALL
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop ebx
add esp, 0x544
ret 0x10