Function at 0x1400211a0
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140021559
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x68], rax
call fcn.140021be0
mov qword [0x140ae27e8], rax
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
sub rcx, qword [rdx + 0xc8]
test rcx, rcx
jle 0x14002121e
mov rax, qword [rdx + 0xa8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x78]
mov rbx, rcx
imul rcx, rax
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
divsd xmm0, xmm1
movsd xmm1, qword [0x140690928]
addsd xmm1, xmm0
jmp 0x14002122e
mov rax, qword [rsp + 0x78]
mov rbx, rcx
movsd xmm1, qword [0x140690928]
mov rcx, qword [rdx + 0x50]
mov rsi, qword [rdx + 0x40]
cmp rcx, rsi
jbe 0x14002154f
nop
test rbx, rbx
jle 0x140021266
mov rcx, qword [rdx + 0xc0]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
imul rbx, rax
xorps xmm2, xmm2
cvtsi2sd xmm2, rbx
divsd xmm0, xmm2
jmp 0x140021269
xorps xmm0, xmm0
mov rax, qword [rdx + 0x88]
mov rcx, qword [rdx + 0x90]
mov rbx, qword [rdx + 0x98]
mov rsi, qword [rdx + 0x50]
add rax, rcx
add rax, rbx
mov rcx, qword [rdx + 0x40]
sub rsi, rcx
test rsi, rsi
jl 0x14002129e
xorps xmm2, xmm2
cvtsi2sd xmm2, rsi
jmp 0x1400212b6
mov rcx, rsi
shr rsi, 1
and ecx, 1
or rsi, rcx
xorps xmm2, xmm2
cvtsi2sd xmm2, rsi
addsd xmm2, xmm2
addsd xmm0, xmm1
mulsd xmm0, xmm2
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsd xmm3, qword [0x140690988]
subsd xmm3, xmm1
mulsd xmm3, xmm2
divsd xmm0, xmm3
movsd xmm2, qword [rdx + 0x20]
movsd xmm3, qword [rdx + 0x28]
addsd xmm3, xmm0
movsd xmm4, qword [0x140690948]
mulsd xmm3, xmm4
movsd qword [rdx + 0x20], xmm3
movsd qword [rdx + 0x28], xmm0
cmp dword [0x140ae1650], 0
jle 0x140021545
movsd qword [rsp + 0x30], xmm2
movsd qword [rsp + 0x28], xmm1
call fcn.1400393e0
nop dword [rax]
call fcn.1400393e0
lea rax, [0x1405c4108]
mov ebx, 7
call fcn.140039ce0
movsd xmm0, qword [rsp + 0x28]
movsd xmm1, qword [0x1406909d8]
mulsd xmm0, xmm1
cvttsd2si rax, xmm0
call fcn.140039ae0
lea rax, [0x1405c3acc]
mov ebx, 7
nop
call fcn.140039ce0
mov eax, 0x19
call fcn.140039ae0
lea rax, [0x1405c5b2e]
mov ebx, 0xb
nop dword [rax + rax]
call fcn.140039ce0
call fcn.140039460
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x88]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rax + 0x90]
mov qword [rsp + 0x48], rdx
mov rbx, qword [rax + 0x98]
mov qword [rsp + 0x40], rbx
mov rsi, qword [rax + 0x68]
mov qword [rsp + 0x20], rsi
mov rdi, qword [rax + 0x78]
mov qword [rsp + 0x18], rdi
mov r8, qword [rax + 0x60]
mov qword [rsp + 0x38], r8
call fcn.1400393e0
mov rax, qword [rsp + 0x50]
call fcn.140039ae0
lea rax, [0x14068ecc8]
mov ebx, 1
call fcn.140039ce0
mov rax, qword [rsp + 0x48]
call fcn.140039ae0
lea rax, [0x14068ecc8]
mov ebx, 1
call fcn.140039ce0
mov rax, qword [rsp + 0x40]
call fcn.140039ae0
lea rax, [0x1405c4bb3]
mov ebx, 9
nop
call fcn.140039ce0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
add rax, rcx
mov rcx, qword [rsp + 0x18]
add rax, rcx
call fcn.1400399e0
lea rax, [0x1405c4baa]
mov ebx, 9
call fcn.140039ce0
call fcn.140039460
nop
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x50]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rax + 0x40]
mov qword [rsp + 0x50], rdx
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x48], rax
call fcn.1400393e0
lea rax, [0x1405bbd0e]
mov ebx, 3
call fcn.140039ce0
mov rax, qword [rsp + 0x50]
call fcn.1400399e0
lea rax, [0x1405c0ff3]
mov ebx, 6
call fcn.140039ce0
mov rax, qword [rsp + 0x10]
call fcn.1400399e0
lea rax, [0x1405c6302]
mov ebx, 0xc
nop dword [rax]
call fcn.140039ce0
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
call fcn.140039ae0
lea rax, [0x1405c6416]
mov ebx, 0xc
call fcn.140039ce0
movsd xmm0, qword [rsp + 0x30]
call fcn.1400396e0
lea rax, [0x14068ec90]
mov ebx, 1
nop
call fcn.140039ce0
call fcn.140039460
call fcn.1400393e0
call fcn.140039640
call fcn.140039460
mov rax, qword [r14 + 0x30]
nop
movzx ecx, byte [rax + 0xe7]
lea edx, [rcx - 1]
mov byte [rax + 0xe7], dl
cmp cl, 1
jne 0x140021545
nop
nop
lea rax, [0x140ae0de8]
nop dword [rax]
call fcn.14000c020
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.1400653a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.1400211a0