Function at 0x5274c0
Capabilities:
Check if file exists
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a204c
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
push edi
mov eax, dword [0x60a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
xor bl, bl
mov dword [ebp - 0x14], 0
mov byte [ebp - 0xe], bl
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLangID]
cmp dword [esi + 0x14], 8
movzx eax, ax
mov dword [ebp - 0x18], eax
jb 0x527511
mov eax, dword [esi]
jmp 0x527513
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5277ad
push str.FileDescription
lea ecx, [ebp - 0xa8]
call fcn.00413890
push edi
push dword [ebp - 0x18]
mov dword [ebp - 4], 0
lea edx, [ebp - 0xa8]
mov ebx, 1
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.005277d0
add esp, 8
test al, al
jne 0x527666
push str.FileDescription
lea ecx, [ebp - 0x90]
call fcn.00413890
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x90]
push edi
mov ebx, 3
mov ecx, esi
push 0x409
mov dword [ebp - 0x14], ebx
call fcn.005277d0
add esp, 8
test al, al
jne 0x527666
push str.ProductName
lea ecx, [ebp - 0x78]
call fcn.00413890
push edi
push dword [ebp - 0x18]
mov dword [ebp - 4], 2
lea edx, [ebp - 0x78]
mov ebx, 7
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.005277d0
add esp, 8
test al, al
jne 0x527666
push str.ProductName
lea ecx, [ebp - 0x60]
call fcn.00413890
push edi
mov dword [ebp - 4], 3
lea edx, [ebp - 0x60]
mov ebx, 0xf
mov ecx, esi
push 0x409
mov dword [ebp - 0x14], ebx
call fcn.005277d0
add esp, 8
test al, al
jne 0x527666
push str.FileDescription
lea ecx, [ebp - 0x48]
call fcn.00413890
push edi
push dword [ebp - 0x18]
mov dword [ebp - 4], 4
lea edx, [ebp - 0x48]
mov ebx, 0x1f
mov ecx, esi
mov dword [ebp - 0x14], ebx
call fcn.005277d0
add esp, 8
test al, al
jne 0x527666
push str.FileDescription
lea ecx, [ebp - 0x30]
call fcn.00413890
push edi
mov dword [ebp - 4], 5
lea edx, [ebp - 0x30]
mov ebx, 0x3f
mov ecx, esi
push 0x409
mov dword [ebp - 0x14], ebx
call fcn.005277d0
add esp, 8
mov byte [ebp - 0xd], 0
test al, al
je 0x52766a
mov byte [ebp - 0xd], 1
test bl, 0x20
je 0x52769b
mov eax, dword [ebp - 0x1c]
and ebx, 0xffffffdf
cmp eax, 8
jb 0x527687
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
test bl, 0x10
je 0x5276cc
mov eax, dword [ebp - 0x34]
and ebx, 0xffffffef
cmp eax, 8
jb 0x5276b8
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
test bl, 8
je 0x5276fd
mov eax, dword [ebp - 0x4c]
and ebx, 0xfffffff7
cmp eax, 8
jb 0x5276e9
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
test bl, 4
je 0x52772e
mov eax, dword [ebp - 0x64]
and ebx, 0xfffffffb
cmp eax, 8
jb 0x52771a
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
test bl, 2
je 0x527768
mov eax, dword [ebp - 0x7c]
and ebx, 0xfffffffd
cmp eax, 8
jb 0x527751
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
test bl, 1
je 0x52778b
mov eax, dword [ebp - 0x94]
cmp eax, 8
jb 0x52778b
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.00414580
cmp byte [ebp - 0xd], 0
mov ecx, 1
movzx eax, byte [ebp - 0xe]
cmovne eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret