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

Disassembly:
push 0x5c
mov eax, 0x100849b7
call fcn.1006a09e
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x48]
xor ebx, ebx
cmp al, bl
jne 0x10016e3e
lea eax, [ebp - 0x68]
push eax
call fcn.10031bf1
push 0x1009624c
lea esi, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.1002d08b
mov byte [ebp - 4], 1
push dword [eax]
lea esi, [ebp - 0x68]
call fcn.1002d486
mov byte [ebp - 4], bl
cmp dword [ebp - 0x40], ebx
je 0x10016c7f
push dword [ebp - 0x40]
call fcn.10060146
pop ecx
push 0x10096250
lea esi, [ebp - 0x40]
call fcn.1002d08b
mov byte [ebp - 4], 2
push dword [eax]
lea esi, [ebp - 0x60]
call fcn.1002d486
mov byte [ebp - 4], bl
cmp dword [ebp - 0x40], ebx
je 0x10016cab
push dword [ebp - 0x40]
call fcn.10060146
pop ecx
mov eax, dword [ebp + 0xc]
push dword [eax]
lea esi, [ebp - 0x50]
call fcn.1002d486
mov eax, dword [ebp + 0x10]
push dword [eax]
lea esi, [ebp - 0x58]
call fcn.1002d486
mov eax, dword [ebp + 0x14]
push dword [eax]
lea esi, [ebp - 0x48]
call fcn.1002d486
mov edi, 0x80
lea esi, [ebp - 0x28]
call fcn.1002d7e5
lea esi, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.1002d074
push edi
mov byte [ebp - 4], 4
push dword [ebp - 0x28]
push 0x59
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push dword [ebp - 0x28]
mov eax, esi
push eax
call fcn.1002d1b3
push 0x10096254
lea esi, [ebp - 0x40]
call fcn.1002d08b
lea eax, [ebp + 0xc]
push eax
mov eax, esi
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp + 0xc], ebx
call fcn.10033065
test eax, eax
jne 0x10016e0c
mov eax, dword [ebp + 8]
mov byte [eax + 0x48], 1
cmp dword [ebp + 0xc], ebx
je 0x10016e0c
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 6
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
call fcn.10034c8b
push 0x10096258
lea eax, [ebp - 0x18]
push eax
xor eax, eax
call fcn.10034262
mov dword [ebp + 0x14], eax
cmp eax, ebx
je 0x10016df6
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x10016d8d
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
jmp 0x10016d90
mov edi, dword [eax + 8]
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], ebx
cmp edi, ebx
je 0x10016df6
lea eax, [ebp + 0x10]
push eax
push edi
call fcn.10034356
test eax, eax
jne 0x10016d7f
push dword [ebp + 0x10]
lea esi, [ebp - 0x38]
call fcn.1002d76d
mov byte [ebp - 4], 7
push dword [edi + 0x14]
lea esi, [ebp - 0x30]
call fcn.1002d76d
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 8
push dword [ebp - 0x38]
push dword [ebp - 0x30]
call fcn.10016b80
cmp dword [ebp - 0x30], ebx
je 0x10016de2
push dword [ebp - 0x30]
call fcn.10060146
pop ecx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x38], ebx
je 0x10016d7f
push dword [ebp - 0x38]
call fcn.10060146
pop ecx
jmp 0x10016d7f
mov byte [ebp - 4], 5
jmp 0x10016e07
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.1003411a
cmp dword [ebp - 0x18], ebx
jne 0x10016dfc
cmp dword [ebp - 0x40], ebx
je 0x10016e1a
push dword [ebp - 0x40]
call fcn.10060146
pop ecx
cmp dword [ebp - 0x20], ebx
je 0x10016e28
push dword [ebp - 0x20]
call fcn.10060146
pop ecx
cmp dword [ebp - 0x28], ebx
je 0x10016e36
push dword [ebp - 0x28]
call fcn.10060146
pop ecx
lea esi, [ebp - 0x68]
call fcn.10031c41
xor eax, eax
call fcn.1006a176
ret 0x10