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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48deca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
mov eax, dword [0x4d1260]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x220], ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ecx, dword [ebp - 0x220]
mov dword [ecx], eax
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov edx, dword [ebp - 0x220]
mov dword [edx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [ebp - 0x220]
mov word [ecx + 8], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edx, dword [ebp - 0x220]
mov word [edx + 0xa], ax
mov ecx, dword [ebp - 0x220]
add ecx, 0xc
call fcn.0040c4d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x220]
add ecx, 0x28
call fcn.0040c4d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
add ecx, 0x44
call fcn.0040c4d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x220]
add ecx, 0x60
call fcn.0040c4d0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x220]
add ecx, 0x7c
call fcn.0040c4d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x220]
add ecx, 0x98
call fcn.0040c4d0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x220]
add ecx, 0xb4
call fcn.0040c4d0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x220]
add ecx, 0xd0
call fcn.0040c4d0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x220]
add ecx, 0xec
call fcn.0040c4d0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x220]
mov dword [eax + 0x108], 0
mov ecx, dword [ebp - 0x220]
mov dword [ecx + 0x10c], 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.0040ad90
mov edx, dword [ebp - 0x220]
mov ax, word [edx + 8]
push eax
push 0x103
lea ecx, [ebp - 0x21c]
push ecx
push 6
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.0040aea0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00466539
add esp, 4
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x220]
add ecx, 0x60
call fcn.0040c5d0
mov word [ebp - 0x21c], 0
mov eax, dword [ebp - 0x220]
mov cx, word [eax + 0xa]
push ecx
push 0x103
lea edx, [ebp - 0x21c]
push edx
push 6
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.0040aea0
lea edx, [ebp - 0x21c]
push edx
call fcn.00466539
add esp, 4
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x7c
call fcn.0040c5d0
mov word [ebp - 0x21c], 0
mov ecx, dword [ebp - 0x220]
mov dx, word [ecx + 8]
push edx
push 0x103
lea eax, [ebp - 0x21c]
push eax
push 9
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x220]
call fcn.0040aea0
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x98
call fcn.0040c5d0
mov word [ebp - 0x21c], 0
mov ecx, dword [ebp - 0x220]
mov dx, word [ecx + 8]
push edx
push 0x103
lea eax, [ebp - 0x21c]
push eax
push 4
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x220]
call fcn.0040aea0
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0xb4
call fcn.0040c5d0
mov word [ebp - 0x21c], 0
push 0x103
lea ecx, [ebp - 0x21c]
push ecx
push 0x1f
mov edx, dword [ebp - 0x220]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp - 0x220]
add ecx, 0xd0
call fcn.0040c5d0
mov word [ebp - 0x21c], 0
push 0x103
lea edx, [ebp - 0x21c]
push edx
push 0x20
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x220]
add ecx, 0xec
call fcn.0040c5d0
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.0046521c
mov esp, ebp
pop ebp
ret