Function at 0x46aa20
Capabilities:
Check if file exists
Check os version
Get common file path
Get geographical location
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x49763b
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x454], eax
push ebp
push esi
push edi
mov eax, dword [0x4b62b0]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov eax, dword [esp + 0x478]
mov ebp, dword [esp + 0x47c]
lea esi, [eax + 0x10]
lea eax, [esp + 0x20]
lea edi, [esp + 0x14]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0x1506
call fcn.0046acd0
mov eax, edi
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0041e1a0
mov ecx, eax
call fcn.004233e0
test al, al
je 0x46ab13
cmp dword [esp + 0x14], 0
jne 0x46aaaa
call fcn.00475265
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, dword [edx + 4]
jne 0x46aabc
call fcn.00475265
mov ecx, dword [esp + 0x18]
add ecx, 0x10
call fcn.00432120
cmp eax, 0x104
jge 0x46ac9a
cmp dword [esp + 0x14], 0
jne 0x46aadf
call fcn.00475265
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp edx, dword [ecx + 4]
jne 0x46aaf1
call fcn.00475265
mov ecx, dword [esp + 0x18]
add ecx, 0x10
call fcn.0041ba20
push eax
push 0x104
push ebp
call fcn.0047583f
add esp, 0xc
xor eax, eax
jmp 0x46ac9f
push 0x208
lea eax, [esp + 0x25a]
push 0
push eax
mov word [esp + 0x260], 0
call fcn.00472c50
add esp, 0xc
push 0
push 0x25
lea ecx, [esp + 0x25c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x46ac9a
lea edx, [esp + 0x254]
push edx
lea ecx, [esp + 0x2c]
call fcn.00415f20
lea esi, [esp + 0x28]
mov dword [esp + 0x470], 0
call fcn.00466730
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
call esi
cmp al, 5
jbe 0x46ac11
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0x208
movzx esi, ax
lea eax, [esp + 0x4a]
push 0
push eax
mov word [esp + 0x50], 0
call fcn.00472c50
mov ebp, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x48]
push ecx
movzx esi, si
push 0x59
push esi
call ebp
push 0x4a98f8
lea edx, [esp + 0x48]
push 0x105
push edx
mov edi, eax
call fcn.00475be3
add esp, 0xc
mov eax, 0x104
sub eax, edi
push eax
lea ecx, [esp + edi*2 + 0x48]
push ecx
push 0x5a
push esi
call ebp
lea edx, [esp + 0x44]
push edx
lea edi, [esp + 0x2c]
call fcn.004669d0
mov esi, edi
call fcn.00466730
push 0x4a98fc
call fcn.004669d0
mov ebp, dword [esp + 0x1c]
jmp 0x46ac2f
call esi
movzx ecx, al
cmp ecx, 5
ja 0x46ac21
jb 0x46ac91
test ah, ah
jbe 0x46ac91
push 0x4a9924
lea edi, [esp + 0x2c]
call fcn.004669d0
lea ecx, [esp + 0x28]
call fcn.0041ba20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [esp + 0x28]
je 0x46ac95
call fcn.0041ba20
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x46ac91
push 0x104
push ebp
push 0x1506
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
push edi
add esi, 0x80004005
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x28]
call fcn.00432550
mov eax, esi
jmp 0x46ac9f
lea ecx, [esp + 0x28]
call fcn.00432550
mov eax, 0x80004005
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x454]
xor ecx, esp
call fcn.00472710
add esp, 0x464
ret 8