Function at 0x1400a4500
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x141693be0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov esi, edx
mov rdi, rcx
mov dword [rsp + 0x60], 0
lea r14, [0x141524b70]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov r9d, 0xff
lea r8, [rsp + 0x70]
mov edx, 1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or ebx, 0xffffffff
test eax, eax
je 0x1400a45c0
mov r8d, ebx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14000e3e0
mov rdx, rax
mov rcx, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400a45b2
cmp eax, ebx
je 0x1400a45c0
lock dec dword [rcx]
jne 0x1400a45c0
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0
je 0x1400a4692
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.140042800
nop
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x10]
add rcx, rax
lea r9, [rsp + 0x20]
mov r8d, 0x10
lea rdx, [rsp + 0x58]
call fcn.1400a81b0
mov rcx, rax
cmp byte [rsp + 0x20], 0
je 0x1400a466a
mov rax, qword [rsp + 0x58]
cmp byte [rax], 0
jne 0x1400a466a
cmp ecx, 0x814
jne 0x1400a466a
mov r8d, 2
lea rdx, [0x1415f551c]
lea rcx, [rsp + 0x50]
call fcn.14000a7a0
mov rcx, rax
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov qword [rcx], r14
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400a465b
cmp eax, 0xffffffff
je 0x1400a466a
lock dec dword [rcx]
jne 0x1400a466a
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400a4684
cmp eax, 0xffffffff
je 0x1400a4692
lock dec dword [rcx]
jne 0x1400a4692
mov rcx, qword [rsp + 0x38]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140011e00
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 0
je 0x1400a46c0
mov qword [rdi], rax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400a4743
cmp ecx, 0xffffffff
je 0x1400a4758
lock dec dword [rax]
jmp 0x1400a4741
mov r9d, 0xff
lea r8, [rsp + 0x70]
mov edx, 0x59
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400a4726
mov r8d, ebx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000e3e0
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1400a4718
cmp eax, 0xffffffff
je 0x1400a4726
lock dec dword [rcx]
jne 0x1400a4726
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400a4748
cmp eax, 0xffffffff
je 0x1400a4758
lock dec dword [rcx]
jne 0x1400a4758
mov rcx, qword [rsp + 0x28]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140011e00
nop
mov eax, dword [0x141524b70]
test eax, eax
je 0x1400a4770
cmp eax, 0xffffffff
je 0x1400a4782
lock dec dword [0x141524b70]
jne 0x1400a4782
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, r14
call fcn.140011e00
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400fa620
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret