Function at 0x7de065ab
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 0x7de068a5
cmp dword [ebp - 0xac], ecx
jne 0x7de06635
cmp dword [ebp + 0x14], ecx
jg 0x7de068a5
cmp eax, ecx
je 0x7de068a5
cmp dword [ebp + 8], 0xffffffff
je case.0x7de0668b.10
lea eax, [esi - 1]
mov esi, eax
sar esi, 1
test eax, eax
jl 0x7de068a5
mov edx, esi
imul edx, edx, 0x50
mov edx, dword [edx + edi]
cmp dword [ebp + 8], edx
je 0x7de06676
jge 0x7de0666a
lea eax, [esi - 1]
jmp 0x7de0666d
lea ecx, [esi + 1]
lea esi, [ecx + eax]
sar esi, 1
cmp ecx, eax
jle 0x7de06656
cmp ecx, eax
jg 0x7de068a5
mov eax, dword [ebp + 0xc]
dec eax
cmp eax, 0xa
ja case.default.0x7de0668b
jmp dword [eax*4 + 0x7de068c0]
imul esi, esi, 0x50
add esi, edi
cmp dword [esi + 0x34], 0x10
jne case.0x7de0668b.10
push 0x50
lea eax, [ebp - 0xa4]
push eax
push 0
push 0xa
push dword [esi]
call fcn.7de15136
lea ebx, [ebp - 0xa4]
jmp 0x7de06843
imul esi, esi, 0x50
lea ebx, [esi + edi + 4]
jmp 0x7de0687d
imul esi, esi, 0x50
lea ebx, [esi + edi + 0x1c]
jmp 0x7de0687d
imul esi, esi, 0x50
lea ebx, [esi + edi + 0x3c]
jmp 0x7de0687d
imul esi, esi, 0x50
lea ebx, [esi + edi + 0x44]
jmp 0x7de0687d
cmp word [ebp + 0x18], bx
jne 0x7de06701
call fcn.7dd8d64c
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 0x7de0674d
mov eax, dword [ebp + 0x18]
and eax, 0x3ff
or eax, 0x400
cmp ax, word [ebp + 0x18]
je 0x7de0674d
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.0x7de0668b.10
push 0x7de068ec
push 0x50
lea eax, [ebp - 0xa4]
push eax
call fcn.7dd77859
test eax, eax
jl 0x7de0679d
imul esi, esi, 0x50
lea eax, [esi + edi + 0x3c]
push eax
push 0x50
lea eax, [ebp - 0xa4]
push eax
call fcn.7dd77859
test eax, eax
jl 0x7de0679d
lea eax, [ebp - 0xa4]
push eax
call sub.ntdll.dll__wcslwr
pop ecx
jmp 0x7de066b5
push 0x7a
jmp 0x7de068a7
mov edi, dword [ebp + 0x18]
test di, di
jne 0x7de067b9
call fcn.7dd8d64c
movzx eax, ax
mov dword [ebp + 0x18], eax
mov edi, eax
push edi
push dword [ebp + 8]
call fcn.7de0626a
mov dword [ebp - 0xa8], eax
test eax, eax
jne 0x7de0680d
mov eax, edi
and eax, 0x3ff
mov esi, 0x400
or eax, esi
cmp ax, di
je 0x7de067f2
push eax
push dword [ebp + 8]
call fcn.7de0626a
mov dword [ebp - 0xa8], eax
test eax, eax
jne 0x7de0680d
movzx eax, di
test edi, 0xfc00
jne 0x7de067ff
or eax, esi
mov dword [ebp - 0xa8], eax
test eax, eax
je case.0x7de0668b.10
push 0x50
lea ecx, [ebp - 0xa4]
push ecx
push 8
push 0x10
push eax
jmp 0x7de066b0
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 0x7de068a5
lea ebx, [ebp - 0xa4]
test esi, esi
jne 0x7de0684c
mov ecx, ebx
call fcn.7dd91943
mov esi, eax
inc esi
cmp dword [ebp + 0x14], 0
jne 0x7de06883
mov eax, esi
jmp 0x7de068af
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.0x7de0668b.8
jmp 0x7de06839
push 0x3ec
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
test ebx, ebx
je case.0x7de0668b.10
jmp 0x7de06843
cmp dword [ebp + 0x14], esi
jl 0x7de0679d
lea eax, [esi - 1]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0xac]
call fcn.7dd78972
test eax, eax
jge 0x7de06853
jmp case.0x7de0668b.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