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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
movaps xmmword [rsp + 0x120], xmm6
mov r13, r8
mov edi, edx
mov ebx, ecx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x118], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov eax, 7
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0x100], xmm0
mov word [rsp + 0xf0], 0
movdqu xmmword [rsp + 0xe0], xmm0
mov word [rsp + 0xd0], 0
lea rcx, [0x140198f90]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e5a51
movsxd rcx, ebx
lea rdx, str.PSe_
mov rdx, qword [rdx + rcx*8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400e5a51
mov rbx, rax
or edi, 8
mov dword [rsp + 0xb0], 0
mov dword [rsp + 0x90], 0
lea rdx, [rsp + 0xb0]
lea r9, [rsp + 0x90]
mov ecx, edi
xor r8d, r8d
call rax
test eax, eax
je 0x1400e5a51
mov edx, dword [rsp + 0x90]
test edx, edx
je 0x1400e5a51
lea rcx, [rsp + 0x50]
mov r8, rcx
call fcn.1400e6400
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0xb0]
lea r9, [rsp + 0x90]
mov ecx, edi
call rbx
test eax, eax
je 0x1400e5a51
mov eax, dword [rsp + 0xb0]
test eax, eax
je 0x1400e5a51
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x1400e5ae7
cmp word [rsi], 0
je 0x1400e5ae7
xor eax, eax
nop word cs:[rax + rax]
cmp word [rsi + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400e5a40
jmp 0x1400e5ae9
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
cmp edi, 0x1400
je 0x1400e5ac9
lea r8, [rsp + 0xb0]
mov ecx, edi
mov edx, 0x59
mov r9d, 9
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 2
jl 0x1400e5ac9
add eax, 0xffffffff
movsxd rbx, eax
mov rax, qword [rsp + 0x108]
cmp rax, rbx
jae 0x1400e5ad0
lea rcx, [rsp + 0xf0]
lea r9, [rsp + 0xb0]
mov rdx, rbx
call fcn.140006120
cmp qword [rsp + 0xe8], 7
ja 0x1400e5da7
lea rax, [rsp + 0xd0]
jmp 0x1400e5daf
xor edi, edi
jmp 0x1400e62ba
cmp rax, 7
jbe 0x1400e5d6e
mov rsi, qword [rsp + 0xf0]
jmp 0x1400e5d76
xor eax, eax
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x40]
call fcn.14004ec20
mov rax, qword [rsp + 0x108]
cmp rax, 8
jb 0x1400e5b4e
mov rcx, qword [rsp + 0xf0]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400e5b49
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400e63cf
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.14014a880
movdqu xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x100], xmm1
movdqa xmmword [rsp + 0xf0], xmm0
mov dil, 1
cmp qword [rsp + 0x100], 0
je 0x1400e62ba
lea r12, [rsp + 0x30]
xorps xmm6, xmm6
nop word [rax + rax]
mov rbp, qword [r13 + 8]
mov rdx, qword [r13 + 0x10]
cmp rdx, rbp
je 0x1400e5be0
movups xmmword [rbp + 0x10], xmm6
mov r15, qword [rsp + 0x100]
cmp qword [rsp + 0x108], 7
lea rbx, [rsp + 0xf0]
jbe 0x1400e5bc4
mov rbx, qword [rsp + 0xf0]
cmp r15, 7
ja 0x1400e5c00
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbp], xmm0
mov r14d, 7
jmp 0x1400e5c84
mov rcx, r13
lea r8, [rsp + 0xf0]
call fcn.140030550
jmp 0x1400e5c91
mov r14, r15
or r14, 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
cmovae r14, rax
mov rax, r14
add rax, 1
lea rcx, [r14 + r14 + 2]
mov rax, 0xffffffffffffffff
cmovs rcx, rax
cmp rcx, 0x1000
jb 0x1400e5c53
add rcx, 0x27
cmovb rcx, rax
call fcn.14014a810
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x1400e5c70
test rcx, rcx
je 0x1400e5c62
call fcn.14014a810
mov rcx, rax
jmp 0x1400e5c70
xor ecx, ecx
nop word cs:[rax + rax]
nop
mov qword [rbp], rcx
lea r8, [r15 + r15]
add r8, 2
mov rdx, rbx
call fcn.14016e8e0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r14
add qword [r13 + 8], 0x20
mov rax, qword [rsp + 0x100]
lea rbx, [rsi + rax*2]
add rbx, 2
mov qword [rsp + 0x30], rbx
je 0x1400e5cd0
cmp word [rbx], 0
je 0x1400e5cd0
lea rcx, [rsi + rax*2]
add rcx, 4
xor eax, eax
nop dword [rax + rax]
cmp word [rcx + rax*2], 0
lea rax, [rax + 1]
jne 0x1400e5cc0
jmp 0x1400e5cd2
xor eax, eax
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0xb0]
mov rdx, r12
call fcn.14004ec20
mov rax, qword [rsp + 0x108]
cmp rax, 8
jb 0x1400e5d35
mov rcx, qword [rsp + 0xf0]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400e5d30
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400e63cf
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.14014a880
movdqu xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x100], xmm1
movdqa xmmword [rsp + 0xf0], xmm0
cmp qword [rsp + 0x100], 0
mov rsi, rbx
jne 0x1400e5b90
jmp 0x1400e62ba
lea rsi, [rsp + 0xf0]
mov qword [rsp + 0x100], rbx
lea r8, [rbx + rbx]
lea rdx, [rsp + 0xb0]
mov rcx, rsi
call fcn.14016e8e0
mov word [rsi + rbx*2], 0
cmp qword [rsp + 0xe8], 7
jbe 0x1400e5abc
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xe0], 0
mov word [rax], 0
test edi, 0xfc00
je 0x1400e5e17
lea r8, [rsp + 0xb0]
mov ecx, edi
mov edx, 0x5a
mov r9d, 9
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 2
jl 0x1400e5e17
add eax, 0xffffffff
movsxd rdi, eax
mov rax, qword [rsp + 0xe8]
cmp rax, rdi
jae 0x1400e5ec5
lea rcx, [rsp + 0xd0]
lea r9, [rsp + 0xb0]
mov rdx, rdi
call fcn.140006120
cmp qword [rsp + 0xe0], 0
je 0x1400e6182
movaps xmm0, xmmword [0x14019cb80]
movups xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x70], 0x2d
mov rdi, qword [rsp + 0x100]
cmp qword [rsp + 0x108], 7
jbe 0x1400e5e98
mov rdx, qword [rsp + 0xf0]
cmp rdi, 6
ja 0x1400e5ea6
lea rax, [rdi + 1]
mov qword [rsp + 0x80], rax
lea rsi, [rdx + rdi*2]
lea rbx, [rsp + 0x70]
mov rbp, rdi
cmp rsi, rbx
jbe 0x1400e5ede
lea rax, [rsp + 0x72]
mov rbp, rdi
cmp rax, rdx
jb 0x1400e5ede
cmp rdx, rbx
jae 0x1400e5edc
mov rbp, rbx
sub rbp, rdx
sar rbp, 1
jmp 0x1400e5ede
lea rdx, [rsp + 0xf0]
cmp rdi, 6
jbe 0x1400e5e5e
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x70]
mov rdx, rdi
xor r9d, r9d
call fcn.14000e370
mov rbx, rax
jmp 0x1400e5f0e
cmp rax, 7
jbe 0x1400e6254
mov rsi, qword [rsp + 0xd0]
jmp 0x1400e625c
xor ebp, ebp
mov eax, dword [rsp + 0x70]
mov dword [rsp + rdi*2 + 0x70], eax
mov r8, rbp
add r8, rbp
mov rcx, rbx
call fcn.14016e8e0
sub rdi, rbp
lea rdx, [rsi + rbp*2]
lea rcx, [rsp + rbp*2]
add rcx, 0x70
add rdi, rdi
mov r8, rdi
call fcn.14016e8e0
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
mov eax, 7
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rbx + 0x10], xmm0
mov word [rbx], 0
mov r8, qword [rsp + 0xe0]
cmp qword [rsp + 0xe8], 7
jbe 0x1400e5f5b
mov r9, qword [rsp + 0xd0]
jmp 0x1400e5f63
lea r9, [rsp + 0xd0]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
mov rdx, rcx
sub rdx, rax
cmp rdx, r8
jae 0x1400e5f98
mov qword [rsp + 0x20], r8
lea rcx, [rsp + 0x90]
mov rdx, r8
call fcn.14000a090
mov rdi, rax
jmp 0x1400e5fd2
lea rdi, [rsp + 0x90]
lea rsi, [rax + r8]
mov qword [rsp + 0xa0], rsi
mov rbx, rdi
cmp rcx, 7
jbe 0x1400e5fbd
mov rbx, qword [rsp + 0x90]
lea rcx, [rbx + rax*2]
add r8, r8
mov rdx, r9
call fcn.14016e8e0
mov word [rbx + rsi*2], 0
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0xc0], xmm1
movaps xmmword [rsp + 0xb0], xmm0
mov eax, 7
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rdi + 0x10], xmm0
mov word [rdi], 0
mov rax, qword [r13 + 8]
mov rdx, qword [r13 + 0x10]
cmp rdx, rax
je 0x1400e6047
xorps xmm1, xmm1
movups xmmword [rax + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0xb0]
movaps xmm2, xmmword [rsp + 0xc0]
movups xmmword [rax + 0x10], xmm2
movups xmmword [rax], xmm1
movdqa xmmword [rsp + 0xc0], xmm0
mov word [rsp + 0xb0], 0
add qword [r13 + 8], 0x20
jmp 0x1400e60a5
lea r8, [rsp + 0xb0]
mov rcx, r13
call fcn.14002ee00
mov rax, qword [rsp + 0xc8]
cmp rax, 8
jb 0x1400e60a5
mov rcx, qword [rsp + 0xb0]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400e60a0
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400e63cf
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.14014a880
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 7
mov word [rsp + 0xb0], 0
mov rax, qword [rsp + 0xa8]
cmp rax, 8
jb 0x1400e6115
mov rcx, qword [rsp + 0x90]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400e6110
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400e63cf
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.14014a880
mov eax, 7
movq xmm0, rax
pslldq xmm0, 8
movdqa xmmword [rsp + 0xa0], xmm0
mov word [rsp + 0x90], 0
mov rax, qword [rsp + 0x88]
cmp rax, 8
jb 0x1400e6182
mov rcx, qword [rsp + 0x70]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400e617d
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400e63cf
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.14014a880
mov rsi, qword [r13 + 8]
mov rdx, qword [r13 + 0x10]
cmp rdx, rsi
je 0x1400e6213
pxor xmm0, xmm0
movdqu xmmword [rsi + 0x10], xmm0
mov rbp, qword [rsp + 0x100]
cmp qword [rsp + 0x108], 7
jbe 0x1400e6228
mov rdi, qword [rsp + 0xf0]
cmp rbp, 7
jbe 0x1400e6236
mov rbx, rbp
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmovae rbx, rax
mov rax, rbx
add rax, 1
lea rcx, [rbx + rbx + 2]
mov rax, 0xffffffffffffffff
cmovs rcx, rax
cmp rcx, 0x1000
jb 0x1400e6245
add rcx, 0x27
cmovb rcx, rax
call fcn.14014a810
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x1400e6294
lea r8, [rsp + 0xf0]
mov rcx, r13
call fcn.140030550
jmp 0x1400e62b7
lea rdi, [rsp + 0xf0]
cmp rbp, 7
ja 0x1400e61bd
movdqu xmm0, xmmword [rdi]
movdqu xmmword [rsi], xmm0
mov ebx, 7
jmp 0x1400e62aa
test rcx, rcx
je 0x1400e6292
call fcn.14014a810
mov rcx, rax
jmp 0x1400e6294
lea rsi, [rsp + 0xd0]
mov qword [rsp + 0xe0], rdi
lea r8, [rdi + rdi]
lea rdx, [rsp + 0xb0]
mov rcx, rsi
call fcn.14016e8e0
mov word [rsi + rdi*2], 0
cmp qword [rsp + 0xe0], 0
jne 0x1400e5e26
jmp 0x1400e6182
xor ecx, ecx
mov qword [rsi], rcx
lea r8, [rbp + 2]
add r8, rbp
mov rdx, rdi
call fcn.14016e8e0
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], rbx
add qword [r13 + 8], 0x20
mov dil, 1
mov rax, qword [rsp + 0xe8]
cmp rax, 8
jb 0x1400e6308
mov rcx, qword [rsp + 0xd0]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400e6303
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400e63cf
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.14014a880
mov rax, qword [rsp + 0x108]
cmp rax, 8
jb 0x1400e6356
mov rcx, qword [rsp + 0xf0]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400e6351
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400e63cf
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.14014a880
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400e63a1
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400e6389
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x1400e63cf
add rdx, 0x27
mov rcx, rax
call fcn.14014a880
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140178800
ud2
mov r8, rcx
mov ecx, 3
mov edx, 0x30
jmp 0x1400e58f0