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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x44], ebx
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
sar eax, 2
movups xmmword [ebp - 0x14], xmm0
test eax, eax
jne 0x42fab8
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [edi + 0x10]
mov edx, ecx
movzx ebx, ax
mov eax, dword [edi + 0xc]
sub edx, eax
sar edx, 2
test edx, edx
je 0x42faf6
cmp eax, ecx
je 0x42faec
mov esi, dword [eax]
test esi, esi
je 0x42fae5
cmp dword [esi], ebx
je 0x42fc12
add eax, 4
cmp eax, ecx
jne 0x42fad7
xor eax, eax
test eax, eax
jne 0x42fc71
mov ecx, 0x5ca15c
call fcn.00405860
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x42fc84
push 8
lea eax, [ebp - 0x14]
push eax
push 0x6d
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
je 0x42fb48
mov ebx, dword [esi]
test ebx, ebx
je 0x42fb40
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00574f99
add esp, 8
test eax, eax
je 0x42fc31
add esi, 4
cmp esi, dword [edi + 0x10]
jne 0x42fb22
mov esi, dword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
lea eax, [ebp - 0x40]
push eax
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push 8
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x24], xmm0
call esi
test eax, eax
je 0x42fc57
cmp dword [ebp - 0x38], 0
je 0x42fc57
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x42fc57
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x42fc57
lea ecx, [ebp - 0x40]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
push 8
call esi
test eax, eax
je 0x42fc57
cmp dword [ebp - 0x38], 0
mov ebx, dword [ebp - 0x44]
jbe 0x42fc57
nop dword [eax]
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
je 0x42fbf7
mov eax, dword [esi]
test eax, eax
je 0x42fbef
add eax, 4
push eax
push ebx
call fcn.00574f99
add esp, 8
test eax, eax
je 0x42fc35
add esi, 4
cmp esi, dword [edi + 0x10]
jne 0x42fbd8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax*2]
mov eax, dword [ebp - 0x48]
inc eax
add ebx, 2
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0x38]
jb 0x42fbd0
jmp 0x42fc57
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 1
jmp 0x42faee
mov eax, dword [ebx]
jmp 0x42fc54
push 8
lea eax, [ebp - 0x24]
push eax
push 9
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
push 0x10
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.005809d5
add esp, 0xc
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x42fc6e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, dword [ebp - 0x3c]
pop esi
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ebx, ebx
pop esi
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0056d977
mov esp, ebp
pop ebp
ret