Function at 0x1400ba180
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14040a3a0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14d, edx
mov rsi, rcx
mov dword [rsp + 0x60], 0
lea rbx, [0x14017f600]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rbx
mov r9d, 0xff
lea r8, [rbp - 0x70]
mov edx, 1
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or edi, 0xffffffff
test eax, eax
je 0x1400ba24b
mov r8d, edi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400090f0
mov rdx, rax
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x78], rcx
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400ba23d
cmp eax, edi
je 0x1400ba24b
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ba24b
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
mov rcx, qword [rsp + 0x30]
cmp dword [rcx + 4], 0
je 0x1400ba309
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14002f450
nop
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x10]
add rcx, rax
lea r9, [rsp + 0x20]
mov r8d, 0x10
lea rdx, [rsp + 0x68]
call fcn.140075fa0
mov rcx, rax
cmp byte [rsp + 0x20], 0
je 0x1400ba2d6
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
jne 0x1400ba2d6
cmp ecx, 0x814
jne 0x1400ba2d6
mov dword [rsp + 0x50], 2
lea rax, [0x140242c04]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400178d0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400ba2f6
cmp eax, 0xffffffff
je 0x1400ba304
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ba304
mov rcx, qword [rsp + 0x38]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002c3b0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0
je 0x1400ba321
mov qword [rsi], rax
mov qword [rsp + 0x28], rbx
jmp 0x1400ba3a2
mov r9d, 0xff
lea r8, [rbp - 0x70]
mov edx, 0x59
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400ba390
mov r8d, edi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400090f0
mov rdx, qword [rsp + 0x28]
mov qword [rbp - 0x80], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1400ba382
cmp eax, 0xffffffff
je 0x1400ba390
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ba390
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002c3b0
mov rax, qword [rsp + 0x28]
mov qword [rsi], rax
mov qword [rsp + 0x28], rbx
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400ba3bd
cmp eax, 0xffffffff
je 0x1400ba3d1
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ba3cc
mov rcx, qword [rsp + 0x30]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.14002c3b0
mov rbx, qword [rsp + 0x28]
mov eax, dword [rbx]
test eax, eax
je 0x1400ba3ea
cmp eax, 0xffffffff
je 0x1400ba3fc
lock xadd dword [rbx], edi
cmp edi, 1
jne 0x1400ba3fc
mov rbx, qword [rsp + 0x28]
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, rbx
call fcn.14002c3b0
mov rax, rsi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400fbe80
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret