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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xac], eax
xor eax, eax
push 0x9e
xor ebx, ebx
mov word [ebp - 0xa4], ax
lea eax, [ebp - 0xa2]
push ebx
push eax
call sub.ntdll.dll_memset
add esp, 0xc
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov esi, dword [eax + 0x80]
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov edi, dword [eax + 0x84]
movzx eax, word [ebp + 0x18]
mov dword [ebp - 0xa8], eax
push ebx
lea eax, [ebp - 0xa8]
push eax
call sub.KERNELBASE.dll_NlsValidateLocale
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
jl 0x7de06a15
cmp dword [ebp - 0xac], ecx
jne 0x7de067a5
cmp dword [ebp + 0x14], ecx
jg 0x7de06a15
cmp eax, ecx
je 0x7de06a15
cmp dword [ebp + 8], 0xffffffff
je case.0x7de067fb.10
lea eax, [esi - 1]
mov esi, eax
sar esi, 1
test eax, eax
jl 0x7de06a15
mov edx, esi
imul edx, edx, 0x50
mov edx, dword [edx + edi]
cmp dword [ebp + 8], edx
je 0x7de067e6
jge 0x7de067da
lea eax, [esi - 1]
jmp 0x7de067dd
lea ecx, [esi + 1]
lea esi, [ecx + eax]
sar esi, 1
cmp ecx, eax
jle 0x7de067c6
cmp ecx, eax
jg 0x7de06a15
mov eax, dword [ebp + 0xc]
dec eax
cmp eax, 0xa
ja case.default.0x7de067fb
jmp dword [eax*4 + 0x7de06a30]
imul esi, esi, 0x50
add esi, edi
cmp dword [esi + 0x34], 0x10
jne case.0x7de067fb.10
push 0x50
lea eax, [ebp - 0xa4]
push eax
push 0
push 0xa
push dword [esi]
call fcn.7de15396
lea ebx, [ebp - 0xa4]
jmp 0x7de069b3
imul esi, esi, 0x50
lea ebx, [esi + edi + 4]
jmp 0x7de069ed
imul esi, esi, 0x50
lea ebx, [esi + edi + 0x1c]
jmp 0x7de069ed
imul esi, esi, 0x50
lea ebx, [esi + edi + 0x3c]
jmp 0x7de069ed
imul esi, esi, 0x50
lea ebx, [esi + edi + 0x44]
jmp 0x7de069ed
cmp word [ebp + 0x18], bx
jne 0x7de06871
call fcn.7dd8d624
movzx eax, ax
mov dword [ebp + 0x18], eax
movzx eax, word [ebp + 0x18]
push 0x50
lea ecx, [ebp - 0xa4]
push ecx
push 0x59
push eax
mov dword [ebp - 0xa8], eax
call fcn.7dd73c2d
test eax, eax
jne 0x7de068bd
mov eax, dword [ebp + 0x18]
and eax, 0x3ff
or eax, 0x400
cmp ax, word [ebp + 0x18]
je 0x7de068bd
push 0x50
lea ecx, [ebp - 0xa4]
movzx eax, ax
push ecx
push 0x59
push eax
mov dword [ebp - 0xa8], eax
call fcn.7dd73c2d
cmp word [ebp - 0xa4], bx
je case.0x7de067fb.10
push 0x7de06a5c
push 0x50
lea eax, [ebp - 0xa4]
push eax
call fcn.7dd77869
test eax, eax
jl 0x7de0690d
imul esi, esi, 0x50
lea eax, [esi + edi + 0x3c]
push eax
push 0x50
lea eax, [ebp - 0xa4]
push eax
call fcn.7dd77869
test eax, eax
jl 0x7de0690d
lea eax, [ebp - 0xa4]
push eax
call sub.ntdll.dll__wcslwr
pop ecx
jmp 0x7de06825
push 0x7a
jmp 0x7de06a17
mov edi, dword [ebp + 0x18]
test di, di
jne 0x7de06929
call fcn.7dd8d624
movzx eax, ax
mov dword [ebp + 0x18], eax
mov edi, eax
push edi
push dword [ebp + 8]
call fcn.7de063da
mov dword [ebp - 0xa8], eax
test eax, eax
jne 0x7de0697d
mov eax, edi
and eax, 0x3ff
mov esi, 0x400
or eax, esi
cmp ax, di
je 0x7de06962
push eax
push dword [ebp + 8]
call fcn.7de063da
mov dword [ebp - 0xa8], eax
test eax, eax
jne 0x7de0697d
movzx eax, di
test edi, 0xfc00
jne 0x7de0696f
or eax, esi
mov dword [ebp - 0xa8], eax
test eax, eax
je case.0x7de067fb.10
push 0x50
lea ecx, [ebp - 0xa4]
push ecx
push 8
push 0x10
push eax
jmp 0x7de06820
push 5
push 0x50
lea eax, [ebp - 0xa4]
push eax
push dword [ebp + 8]
call sub.KERNELBASE.dll_GetStringTableEntry
mov esi, eax
test esi, esi
je 0x7de06a15
lea ebx, [ebp - 0xa4]
test esi, esi
jne 0x7de069bc
mov ecx, ebx
call fcn.7dd9191b
mov esi, eax
inc esi
cmp dword [ebp + 0x14], 0
jne 0x7de069f3
mov eax, esi
jmp 0x7de06a1f
push 6
push 0x50
lea eax, [ebp - 0xa4]
push eax
push dword [ebp + 8]
call sub.KERNELBASE.dll_GetStringTableEntry
mov esi, eax
test esi, esi
je case.0x7de067fb.8
jmp 0x7de069a9
push 0x3ec
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
test ebx, ebx
je case.0x7de067fb.10
jmp 0x7de069b3
cmp dword [ebp + 0x14], esi
jl 0x7de0690d
lea eax, [esi - 1]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0xac]
call fcn.7dd78982
test eax, eax
jge 0x7de069c3
jmp case.0x7de067fb.10
push 0x57
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7dd71442
leave
ret 0x14