Function at 0x140021960
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140021d19
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.1400223a0
mov qword [0x140e90408], rax
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
sub rcx, qword [rdx + 0xc8]
test rcx, rcx
jle 0x1400219de
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 [0x1408cdc30]
addsd xmm1, xmm0
jmp 0x1400219ee
mov rax, qword [rsp + 0x78]
mov rbx, rcx
movsd xmm1, qword [0x1408cdc30]
mov rcx, qword [rdx + 0x50]
mov rsi, qword [rdx + 0x40]
cmp rcx, rsi
jbe 0x140021d0f
nop
test rbx, rbx
jle 0x140021a26
mov rcx, qword [rdx + 0xc0]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
imul rbx, rax
xorps xmm2, xmm2
cvtsi2sd xmm2, rbx
divsd xmm0, xmm2
jmp 0x140021a29
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 0x140021a5e
xorps xmm2, xmm2
cvtsi2sd xmm2, rsi
jmp 0x140021a76
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 [0x1408cdc98]
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 [0x1408cdc58]
mulsd xmm3, xmm4
movsd qword [rdx + 0x20], xmm3
movsd qword [rdx + 0x28], xmm0
cmp dword [0x140e8f430], 0
jle 0x140021d05
movsd qword [rsp + 0x30], xmm2
movsd qword [rsp + 0x28], xmm1
call fcn.140039c00
nop dword [rax]
call fcn.140039c00
lea rax, [0x1407cf64b]
mov ebx, 7
call fcn.14003a500
movsd xmm0, qword [rsp + 0x28]
movsd xmm1, qword [0x1408cdcf8]
mulsd xmm0, xmm1
cvttsd2si rax, xmm0
call fcn.14003a300
lea rax, [0x1407ce875]
mov ebx, 7
nop
call fcn.14003a500
mov eax, 0x19
call fcn.14003a300
lea rax, [0x1407d200d]
mov ebx, 0xb
nop dword [rax + rax]
call fcn.14003a500
call fcn.140039c80
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.140039c00
mov rax, qword [rsp + 0x50]
call fcn.14003a300
lea rax, [0x1408cbbd0]
mov ebx, 1
call fcn.14003a500
mov rax, qword [rsp + 0x48]
call fcn.14003a300
lea rax, [0x1408cbbd0]
mov ebx, 1
call fcn.14003a500
mov rax, qword [rsp + 0x40]
call fcn.14003a300
lea rax, [0x1407d090e]
mov ebx, 9
nop
call fcn.14003a500
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
add rax, rcx
mov rcx, qword [rsp + 0x18]
add rax, rcx
call fcn.14003a200
lea rax, [0x1407d0905]
mov ebx, 9
call fcn.14003a500
call fcn.140039c80
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.140039c00
lea rax, [0x1407c5a17]
mov ebx, 3
call fcn.14003a500
mov rax, qword [rsp + 0x50]
call fcn.14003a200
lea rax, [0x1407cb346]
mov ebx, 6
call fcn.14003a500
mov rax, qword [rsp + 0x10]
call fcn.14003a200
lea rax, [0x1407d2a80]
mov ebx, 0xc
nop dword [rax]
call fcn.14003a500
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
call fcn.14003a300
lea rax, [0x1407d2bac]
mov ebx, 0xc
call fcn.14003a500
movsd xmm0, qword [rsp + 0x30]
call fcn.140039f00
lea rax, [0x1408cbb80]
mov ebx, 1
nop
call fcn.14003a500
call fcn.140039c80
call fcn.140039c00
call fcn.140039e60
call fcn.140039c80
mov rax, qword [r14 + 0x30]
nop
movzx ecx, byte [rax + 0xe7]
lea edx, [rcx - 1]
mov byte [rax + 0xe7], dl
cmp cl, 1
jne 0x140021d05
nop
nop
lea rax, [0x140e8eb80]
nop dword [rax]
call fcn.14000c7e0
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.140065b80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.140021960