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

Disassembly:
push 0xffffffffffffffff
push 0x4a431b
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c6280]
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]
push eax
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x1506
call fcn.0047d9a0
mov edi, dword [esi + 4]
lea ecx, [esp + 0x18]
call fcn.0040fc10
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x20]
cmp esi, edi
mov dword [esp + 0x18], esi
je 0x47d7a3
call fcn.00482f2e
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x1c], esi
je 0x47d7f5
test edi, edi
jne 0x47d7b6
call fcn.00482f2e
cmp esi, dword [edi + 4]
jne 0x47d7c0
call fcn.00482f2e
cmp dword [esi + 0x24], 0x104
jge 0x47d963
cmp esi, dword [edi + 4]
jne 0x47d7d7
call fcn.00482f2e
lea ecx, [esi + 0x10]
call fcn.00421e20
push eax
push 0x104
push ebp
call fcn.00482d72
add esp, 0xc
xor eax, eax
jmp 0x47d968
xor ebx, ebx
push 0x208
lea ecx, [esp + 0x25a]
push ebx
push ecx
mov word [esp + 0x260], bx
call fcn.004806d0
add esp, 0xc
push ebx
push 0x25
lea edx, [esp + 0x25c]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, ebx
je 0x47d963
lea eax, [esp + 0x254]
push eax
lea ecx, [esp + 0x2c]
call fcn.00419660
lea edi, [esp + 0x28]
mov dword [esp + 0x470], ebx
call fcn.0045e640
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
call esi
cmp al, 5
jbe 0x47d8e0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0x208
lea ecx, [esp + 0x4a]
push ebx
push ecx
movzx esi, ax
mov word [esp + 0x50], bx
call fcn.004806d0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add esp, 0xc
push 0x104
lea edx, [esp + 0x48]
push edx
movzx esi, si
push 0x59
push esi
call ebx
push 0x4b9b88
mov edi, eax
lea eax, [esp + 0x48]
push 0x105
push eax
call fcn.00484331
add esp, 0xc
mov ecx, 0x104
sub ecx, edi
push ecx
lea edx, [esp + edi*2 + 0x48]
push edx
push 0x5a
push esi
call ebx
lea eax, [esp + 0x44]
push eax
lea ebx, [esp + 0x2c]
call fcn.0045e870
mov edi, ebx
call fcn.0045e640
push 0x4b9b8c
jmp 0x47d8f5
call esi
movzx ecx, al
cmp ecx, 5
ja 0x47d8f0
jb 0x47d95a
cmp ah, bl
jbe 0x47d95a
push 0x4b9bb4
lea ebx, [esp + 0x2c]
call fcn.0045e870
mov ecx, ebx
call fcn.00421e20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, ebx
je 0x47d95e
call fcn.00421e20
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x47d95a
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]
mov ecx, ebx
call fcn.00419810
mov eax, esi
jmp 0x47d968
lea ecx, [esp + 0x28]
call fcn.00419810
mov eax, 0x80004005
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.0047f404
add esp, 0x460
ret 8