Function at 0x1400510e0
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x1400513b7
push rbp
mov rbp, rsp
sub rsp, 0x68
mov rdx, rbx
sub rdx, rax
lea rsi, [rdx - 1]
nop dword [rax]
test rdx, rsi
jne 0x1400513a5
mov rsi, rax
cmp dword [0x1407f3550], 0
jne 0x1400511ae
nop dword [rax]
cmp rdx, 0x8000
jae 0x140051133
mov rcx, rdx
xor ebx, ebx
jmp 0x1400512a0
movabs rdx, 0x800000000000
add rdx, rax
mov rdi, rdx
shr rdx, 0x2a
nop
nop
cmp rdx, 0x40
jae 0x14005128a
lea r8, [0x140784c98]
mov rdx, qword [r8 + rdx*8]
test byte [rdx], al
shr rax, 0xd
and eax, 0x1ff
shr rdi, 0x16
and edi, 0xfffff
mov rdx, qword [rdx + rdi*8]
test byte [rdx], al
mov rbx, qword [rdx + rax*8]
nop
mov dl, byte [rbx + 0x63]
cmp dl, 2
jne 0x14005123f
cmp dword [0x1407f2bd8], 0
je 0x14005119b
mov rcx, qword [rbx + 0x20]
xor eax, eax
jmp 0x1400511e0
lea rax, [0x140774ac0]
mov ecx, 1
call fcn.14002b2c0
jmp 0x1400511d0
sub rax, rbx
nop
lea rcx, [0x1407f4158]
lock xadd qword [rcx], rax
nop
mov rax, rsi
mov rbx, rdx
call fcn.1400183e0
add rsp, 0x68
pop rbp
ret
add rsp, 0x68
pop rbp
ret
shr rcx, 1
inc rax
nop dword [rax]
cmp rcx, 1
ja 0x1400511d6
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rax
nop
nop
lea rax, [0x1407f45e0]
call fcn.14000cf80
mov rax, qword [rsp + 0x30]
cmp rax, 0x23
jae 0x140051235
shl rax, 4
lea rcx, [0x1407f45e8]
add rax, rcx
mov rbx, qword [rsp + 0x28]
nop dword [rax]
call fcn.14002b8c0
nop
nop
lea rax, [0x1407f45e0]
call fcn.14000d1e0
jmp 0x1400511d0
mov ecx, 0x23
call fcn.14006d1c0
mov qword [rsp + 0x58], rsi
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call fcn.14003b740
mov rax, qword [rsp + 0x20]
call fcn.14003be40
nop dword [rax]
call fcn.14003b940
mov rax, qword [rsp + 0x58]
call fcn.14003bf40
call fcn.14003b980
call fcn.14003b7a0
lea rax, [0x140490fc7]
mov ebx, 0xe
call fcn.140039ca0
mov rax, rdx
mov ecx, 0x40
call fcn.14006d1e0
inc ebx
shr rdx, 1
nop dword [rax]
cmp rdx, 0x2000
ja 0x140051297
mov qword [rsp + 0x50], rax
mov rdx, qword [r14 + 0x30]
mov rsi, qword [rdx + 0xa0]
test rsi, rsi
je 0x1400512c8
cmp qword [rdx + 0xd0], 0
je 0x140051316
movzx edx, bl
cmp rdx, 2
jae 0x140051395
mov byte [rsp + 0x1f], bl
shl rdx, 6
lea rcx, [0x1407f3640]
lea rax, [rcx + rdx]
mov qword [rsp + 0x60], rax
nop
call fcn.14000cf80
mov rax, qword [rsp + 0x50]
movzx ebx, byte [rsp + 0x1f]
nop dword [rax]
call fcn.140050920
nop
nop
mov rax, qword [rsp + 0x60]
call fcn.14000d1e0
jmp 0x1400511d0
movzx edx, bl
cmp rdx, 2
jae 0x140051388
shl rdx, 4
mov rsi, qword [rsi + 0x40]
test byte [rsi], al
mov rdi, qword [rsi + rdx + 0x470]
cmp rdi, 0x8000
jb 0x140051365
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdx
mov rax, rsi
call fcn.140050bc0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsi + rdx + 0x468]
mov rdi, rax
mov qword [rax], rbx
mov qword [rsi + rdx + 0x468], rdi
add qword [rsi + rdx + 0x470], rcx
jmp 0x1400511d0
mov rax, rdx
mov ecx, 2
call fcn.14006d1c0
mov rax, rdx
mov ecx, 2
nop dword [rax]
call fcn.14006d1c0
lea rax, [0x14049689d]
mov ebx, 0x16
call fcn.140039ca0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140071aa0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1400510e0