Function at 0x140021b20
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140021ed9
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.140022560
mov qword [0x14112d408], rax
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
sub rcx, qword [rdx + 0xc8]
test rcx, rcx
jle 0x140021b9e
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 [0x140a96da8]
addsd xmm1, xmm0
jmp 0x140021bae
mov rax, qword [rsp + 0x78]
mov rbx, rcx
movsd xmm1, qword [0x140a96da8]
mov rcx, qword [rdx + 0x50]
mov rsi, qword [rdx + 0x40]
cmp rcx, rsi
jbe 0x140021ecf
nop
test rbx, rbx
jle 0x140021be6
mov rcx, qword [rdx + 0xc0]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
imul rbx, rax
xorps xmm2, xmm2
cvtsi2sd xmm2, rbx
divsd xmm0, xmm2
jmp 0x140021be9
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 0x140021c1e
xorps xmm2, xmm2
cvtsi2sd xmm2, rsi
jmp 0x140021c36
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 [0x140a96e18]
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 [0x140a96dd8]
mulsd xmm3, xmm4
movsd qword [rdx + 0x20], xmm3
movsd qword [rdx + 0x28], xmm0
cmp dword [0x14112c430], 0
jle 0x140021ec5
movsd qword [rsp + 0x30], xmm2
movsd qword [rsp + 0x28], xmm1
call fcn.140039dc0
nop dword [rax]
call fcn.140039dc0
lea rax, [0x14096eaa3]
mov ebx, 7
call fcn.14003a6c0
movsd xmm0, qword [rsp + 0x28]
movsd xmm1, qword [0x140a96e78]
mulsd xmm0, xmm1
cvttsd2si rax, xmm0
call fcn.14003a4c0
lea rax, [0x14096db45]
mov ebx, 7
nop
call fcn.14003a6c0
mov eax, 0x19
call fcn.14003a4c0
lea rax, [0x140971bf9]
mov ebx, 0xb
nop dword [rax + rax]
call fcn.14003a6c0
call fcn.140039e40
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.140039dc0
mov rax, qword [rsp + 0x50]
call fcn.14003a4c0
lea rax, [0x140a94df8]
mov ebx, 1
call fcn.14003a6c0
mov rax, qword [rsp + 0x48]
call fcn.14003a4c0
lea rax, [0x140a94df8]
mov ebx, 1
call fcn.14003a6c0
mov rax, qword [rsp + 0x40]
call fcn.14003a4c0
lea rax, [0x140970078]
mov ebx, 9
nop
call fcn.14003a6c0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
add rax, rcx
mov rcx, qword [rsp + 0x18]
add rax, rcx
call fcn.14003a3c0
lea rax, [0x14097006f]
mov ebx, 9
call fcn.14003a6c0
call fcn.140039e40
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.140039dc0
lea rax, [0x14096439b]
mov ebx, 3
call fcn.14003a6c0
mov rax, qword [rsp + 0x50]
call fcn.14003a3c0
lea rax, [0x14096a29b]
mov ebx, 6
call fcn.14003a6c0
mov rax, qword [rsp + 0x10]
call fcn.14003a3c0
lea rax, [0x1409729c6]
mov ebx, 0xc
nop dword [rax]
call fcn.14003a6c0
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
call fcn.14003a4c0
lea rax, [0x140972b16]
mov ebx, 0xc
call fcn.14003a6c0
movsd xmm0, qword [rsp + 0x30]
call fcn.14003a0c0
lea rax, [0x140a94db8]
mov ebx, 1
nop
call fcn.14003a6c0
call fcn.140039e40
call fcn.140039dc0
call fcn.14003a020
call fcn.140039e40
mov rax, qword [r14 + 0x30]
nop
movzx ecx, byte [rax + 0xe7]
lea edx, [rcx - 1]
mov byte [rax + 0xe7], dl
cmp cl, 1
jne 0x140021ec5
nop
nop
lea rax, [0x14112bb78]
nop dword [rax]
call fcn.14000c9a0
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.140065e80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.140021b20