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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r14d, r14d
mov qword [rbp + 0xf], 7
xorps xmm0, xmm0
mov qword [rbp - 0x31], r14
lea rcx, str.kernel32.dll
mov qword [rbp + 7], r14
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 9], r14w
mov rdi, r8
mov qword [rbp + 0x27], r14
mov word [rbp + 0x17], r14w
mov qword [rbp + 0x2f], 7
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ece5b
mov rdx, qword [str.GetThreadPreferredUILanguages]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x1400ece5b
lea r9, [rbp - 0x49]
mov dword [rbp - 0x45], r14d
xor r8d, r8d
mov dword [rbp - 0x49], r14d
lea rdx, [rbp - 0x45]
lea ecx, [r14 + 0x38]
call rsi
test eax, eax
je 0x1400ece5b
mov eax, dword [rbp - 0x49]
test eax, eax
je 0x1400ece5b
mov edx, eax
lea rcx, [rbp - 0x41]
call fcn.1400b4330
mov rbx, qword [rbp - 0x41]
lea r9, [rbp - 0x49]
mov r8, rbx
lea rdx, [rbp - 0x45]
lea ecx, [r14 + 0x38]
call rsi
test eax, eax
je 0x1400ece5b
cmp dword [rbp - 0x45], r14d
je 0x1400ece5b
cmp word [rbx], r14w
jne 0x1400ecd67
mov r8d, r14d
jmp 0x1400ecd7a
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], r14w
jne 0x1400ecd70
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.140029c40
cmp qword [rbp + 7], r14
je 0x1400ed0ce
mov rax, qword [rdi + 8]
lea rcx, [rbp - 9]
cmp rcx, rax
jae 0x1400ecdd8
mov rcx, qword [rdi]
lea rdx, [rbp - 9]
cmp rcx, rdx
ja 0x1400ecdd8
lea rsi, [rbp - 9]
sub rsi, rcx
cmp rax, qword [rdi + 0x10]
jne 0x1400ecdc3
mov edx, 1
mov rcx, rdi
call fcn.14004722c
mov rcx, qword [rdi + 8]
and rsi, 0xffffffffffffffe0
add rsi, qword [rdi]
test rcx, rcx
je 0x1400ece14
mov rdx, rsi
jmp 0x1400ecdf8
cmp rax, qword [rdi + 0x10]
jne 0x1400ecdeb
mov edx, 1
mov rcx, rdi
call fcn.14004722c
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400ece14
lea rdx, [rbp - 9]
mov qword [rcx + 0x18], 7
or r9, 0xffffffffffffffff
mov qword [rcx + 0x10], r14
xor r8d, r8d
mov word [rcx], r14w
call fcn.140029d5c
mov rax, qword [rbp + 7]
add qword [rdi + 8], 0x20
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], r14w
jne 0x1400ece30
mov r8, r14
jmp 0x1400ece3e
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r14w
jne 0x1400ece34
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.140029c40
cmp qword [rbp + 7], r14
jne 0x1400ecd90
mov bl, 1
jmp 0x1400ed0d4
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ebx, ax
mov eax, 0x1400
cmp ax, bx
je 0x1400ed0d2
mov r9d, 9
movzx esi, bx
lea r8, [rbp - 0x29]
mov ecx, esi
lea edx, [r9 + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x1400ed0d2
dec eax
lea rdx, [rbp - 0x29]
movsxd r8, eax
lea rcx, [rbp - 9]
call fcn.140029c40
cmp qword [rbp + 0x2f], 8
lea rax, [rbp + 0x17]
mov qword [rbp + 0x27], r14
cmovae rax, qword [rbp + 0x17]
mov word [rax], r14w
mov eax, 0x400
cmp bx, ax
jb 0x1400ecef3
mov r9d, 9
lea r8, [rbp - 0x29]
mov ecx, esi
lea edx, [r9 + 0x51]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x1400ecef3
dec eax
lea rdx, [rbp - 0x29]
movsxd r8, eax
lea rcx, [rbp + 0x17]
call fcn.140029c40
cmp qword [rbp + 0x27], r14
je 0x1400ed045
or r9, 0xffffffffffffffff
mov qword [rbp - 0x11], 7
xor r8d, r8d
mov qword [rbp - 0x19], r14
lea rdx, [rbp - 9]
mov word [rbp - 0x29], r14w
lea rcx, [rbp - 0x29]
call fcn.140029d5c
mov rcx, qword [rbp - 0x19]
or rax, 0xffffffffffffffff
sub rax, rcx
cmp rax, 1
jbe 0x1400ed15e
lea rbx, [rcx + 1]
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
ja 0x1400ed168
mov rdx, qword [rbp - 0x11]
cmp rdx, rbx
jae 0x1400ecfe8
mov r8, rcx
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.14002b780
mov rdx, qword [rbp - 0x11]
mov rcx, qword [rbp - 0x19]
test rbx, rbx
je 0x1400ecfa4
cmp rdx, 8
lea rax, [rbp - 0x29]
mov edx, 0x2d
cmovae rax, qword [rbp - 0x29]
mov word [rax + rcx*2], dx
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
mov qword [rbp - 0x19], rbx
cmovae rax, qword [rbp - 0x29]
mov word [rax + rbx*2], r14w
or r9, 0xffffffffffffffff
lea rdx, [rbp + 0x17]
xor r8d, r8d
lea rcx, [rbp - 0x29]
call fcn.14002b2fc
mov rdx, rax
mov rcx, rdi
call fcn.140048480
mov rax, qword [rbp - 0x11]
cmp rax, 8
jb 0x1400ed045
mov rcx, qword [rbp - 0x29]
inc rax
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
jbe 0x1400ed004
jmp 0x1400ed172
test rbx, rbx
jne 0x1400ecf77
cmp rdx, 8
mov qword [rbp - 0x19], r14
lea rax, [rbp - 0x29]
cmovae rax, qword [rbp - 0x29]
mov word [rax], r14w
jmp 0x1400ecfa4
add rax, rax
cmp rax, 0x1000
jb 0x1400ed040
test byte [rbp - 0x29], 0x1f
jne 0x1400ed178
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400ed17e
sub rcx, rax
cmp rcx, 8
jb 0x1400ed184
cmp rcx, 0x27
ja 0x1400ed18a
mov rcx, rax
call fcn.140111e78
mov rax, qword [rdi + 8]
lea rcx, [rbp - 9]
cmp rcx, rax
jae 0x1400ed08d
mov rcx, qword [rdi]
lea rdx, [rbp - 9]
cmp rcx, rdx
ja 0x1400ed08d
lea rbx, [rbp - 9]
sub rbx, rcx
cmp rax, qword [rdi + 0x10]
jne 0x1400ed078
mov edx, 1
mov rcx, rdi
call fcn.14004722c
mov rcx, qword [rdi + 8]
and rbx, 0xffffffffffffffe0
add rbx, qword [rdi]
test rcx, rcx
je 0x1400ed0c9
mov rdx, rbx
jmp 0x1400ed0ad
cmp rax, qword [rdi + 0x10]
jne 0x1400ed0a0
mov edx, 1
mov rcx, rdi
call fcn.14004722c
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400ed0c9
lea rdx, [rbp - 9]
mov qword [rcx + 0x18], 7
or r9, 0xffffffffffffffff
mov qword [rcx + 0x10], r14
xor r8d, r8d
mov word [rcx], r14w
call fcn.140029d5c
add qword [rdi + 8], 0x20
mov bl, 1
jmp 0x1400ed0d4
xor bl, bl
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
jb 0x1400ed0f0
mov rcx, qword [rbp + 0x17]
inc rdx
mov r8d, 2
call fcn.1400223b0
mov rdx, qword [rbp + 0xf]
mov qword [rbp + 0x2f], 7
mov qword [rbp + 0x27], r14
mov word [rbp + 0x17], r14w
cmp rdx, 8
jb 0x1400ed11d
mov rcx, qword [rbp - 9]
inc rdx
mov r8d, 2
call fcn.1400223b0
lea rcx, [rbp - 0x41]
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r14
mov word [rbp - 9], r14w
call fcn.14005e8e0
movzx eax, bl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140111850
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rcx, [rbp - 0x29]
call fcn.14002b1c0
int3
lea rcx, [rbp - 0x29]
call fcn.14002b1c0
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3