Function at 0x409990
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ea7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
mov eax, dword [0x4d2260]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x220], ecx
mov eax, dword [ebp - 0x220]
mov dword [eax], 0x4a9470
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ecx, dword [ebp - 0x220]
mov dword [ecx + 4], eax
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov edx, dword [ebp - 0x220]
mov dword [edx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [ebp - 0x220]
mov word [ecx + 0xc], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edx, dword [ebp - 0x220]
mov word [edx + 0xe], ax
mov ecx, dword [ebp - 0x220]
add ecx, 0x10
call fcn.0040c550
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.0040c550
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
add ecx, 0x48
call fcn.0040c550
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x220]
add ecx, 0x64
call fcn.0040c550
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x220]
add ecx, 0x80
call fcn.0040c550
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x220]
add ecx, 0x9c
call fcn.0040c550
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x220]
add ecx, 0xb8
call fcn.0040c550
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x220]
add ecx, 0xd4
call fcn.0040c550
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x220]
add ecx, 0xf0
call fcn.0040c550
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x220]
mov dword [eax + 0x10c], 0
mov ecx, dword [ebp - 0x220]
mov dword [ecx + 0x110], 0
mov word [ebp - 0x21c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [ebp - 0x220]
call fcn.0040adc0
mov edx, dword [ebp - 0x220]
mov ax, word [edx + 0xc]
push eax
push 0x103
lea ecx, [ebp - 0x21c]
push ecx
push 6
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.0040aed0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004670e9
add esp, 4
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x220]
add ecx, 0x64
call fcn.0040c650
mov word [ebp - 0x21c], 0
mov eax, dword [ebp - 0x220]
mov cx, word [eax + 0xe]
push ecx
push 0x103
lea edx, [ebp - 0x21c]
push edx
push 6
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.0040aed0
lea edx, [ebp - 0x21c]
push edx
call fcn.004670e9
add esp, 4
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x80
call fcn.0040c650
mov word [ebp - 0x21c], 0
mov ecx, dword [ebp - 0x220]
mov dx, word [ecx + 0xc]
push edx
push 0x103
lea eax, [ebp - 0x21c]
push eax
push 9
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 8]
push edx
mov ecx, dword [ebp - 0x220]
call fcn.0040aed0
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x9c
call fcn.0040c650
mov word [ebp - 0x21c], 0
mov ecx, dword [ebp - 0x220]
mov dx, word [ecx + 0xc]
push edx
push 0x103
lea eax, [ebp - 0x21c]
push eax
push 4
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 8]
push edx
mov ecx, dword [ebp - 0x220]
call fcn.0040aed0
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0xb8
call fcn.0040c650
mov word [ebp - 0x21c], 0
push 0x103
lea ecx, [ebp - 0x21c]
push ecx
push 0x1f
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp - 0x220]
add ecx, 0xd4
call fcn.0040c650
mov word [ebp - 0x21c], 0
push 0x103
lea edx, [ebp - 0x21c]
push edx
push 0x20
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x220]
add ecx, 0xf0
call fcn.0040c650
mov word [ebp - 0x21c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00465dcc
mov esp, ebp
pop ebp
ret