Function at 0x140053020
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400532e6
push rbp
mov rbp, rsp
sub rsp, 0x78
mov rdx, qword [rax]
mov esi, dword [rdx + 8]
nop dword [rax + rax]
cmp esi, 0x80000000
je 0x140053061
mov edx, esi
sar esi, 0x1f
shr esi, 0x1d
lea eax, [rdx + rsi]
sar eax, 3
xor ebx, ebx
xor ecx, ecx
add rsp, 0x78
pop rbp
nop
ret
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x58], rdx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x50], rcx
mov ebx, dword [rdx + 4]
mov rax, rcx
nop dword [rax]
call fcn.1400564c0
cmp rbx, 0x14
je 0x1400530ab
cmp rbx, 0x17
jne 0x1400530c4
lea rbx, [0x1404975f4]
mov ecx, 0x17
nop dword [rax]
call fcn.140003ce0
test al, al
je 0x1400530c4
jmp 0x1400530cf
lea rbx, [0x14049515c]
mov ecx, 0x14
call fcn.140003ce0
nop dword [rax]
test al, al
jne 0x1400530cf
xor esi, esi
xor eax, eax
xor edx, edx
jmp 0x140053172
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rcx + 0x28]
mov rsi, qword [rcx + 0x30]
add rsi, 0xfffffffffffffff8
cmp rdx, rsi
jb 0x140053117
mov rcx, qword [rsp + 0x58]
mov ebx, dword [rcx]
mov rax, qword [rsp + 0x50]
call fcn.1400563a0
mov rcx, qword [rsp + 0x88]
cmp qword [rcx + 0x10], rax
jne 0x1400531e5
xor eax, eax
xor ebx, ebx
xor ecx, ecx
add rsp, 0x78
pop rbp
ret
mov rcx, rdx
mov rdx, qword [rdx]
mov qword [rsp + 0x70], rdx
add rcx, 0x20
mov rsi, qword [rsp + 0x58]
mov ebx, dword [rsi]
movzx ecx, byte [rcx]
mov byte [rsp + 0x1f], cl
mov rax, qword [rsp + 0x50]
call fcn.1400563a0
mov rcx, qword [rsp + 0x70]
cmp qword [rcx], rax
jne 0x14005317f
mov rdx, qword [rcx + 8]
mov esi, dword [rdx]
movzx edi, byte [rsp + 0x1f]
test dil, dil
jne 0x140053169
mov rdi, qword [rcx + 0x10]
and rdi, 0xfffffffffffffff8
shr rdi, 3
cmp esi, edi
cmovg esi, edi
mov rdx, qword [rdx + 8]
mov eax, 1
mov rbx, rdx
mov ecx, eax
mov eax, esi
add rsp, 0x78
pop rbp
ret
mov rcx, qword [rsp + 0x58]
mov ebx, dword [rcx + 4]
mov rax, qword [rsp + 0x50]
call fcn.1400564c0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], rbx
nop dword [rax + rax]
call fcn.14003b740
lea rax, [0x140495e21]
mov ebx, 0x15
call fcn.14003bfc0
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x20]
call fcn.14003bfc0
call fcn.14003b980
call fcn.14003b7a0
lea rax, [0x140492394]
mov ebx, 0x10
nop dword [rax + rax]
call fcn.140039ca0
mov rcx, qword [rsp + 0x58]
mov ebx, dword [rcx + 4]
mov rax, qword [rsp + 0x50]
call fcn.1400564c0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x28], rbx
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx]
mov rax, qword [rsp + 0x50]
mov ebx, ecx
call fcn.1400563a0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rcx + 0x28]
mov qword [rsp + 0x48], rdx
mov rsi, qword [rcx + 0x30]
mov qword [rsp + 0x40], rsi
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x38], rcx
nop dword [rax]
call fcn.14003b740
lea rax, [0x140495e21]
mov ebx, 0x15
call fcn.14003bfc0
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x28]
call fcn.14003bfc0
lea rax, [0x1404918fb]
mov ebx, 0xf
call fcn.14003bfc0
mov rax, qword [rsp + 0x48]
nop dword [rax + rax]
call fcn.14003be40
lea rax, [0x14048b2dc]
mov ebx, 4
call fcn.14003bfc0
mov rax, qword [rsp + 0x40]
nop dword [rax + rax]
call fcn.14003be40
lea rax, [0x14048eaa2]
mov ebx, 0xb
call fcn.14003bfc0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
sub rax, rcx
call fcn.14003be40
call fcn.14003b980
call fcn.14003b7a0
lea rax, [0x140492394]
mov ebx, 0x10
nop
call fcn.140039ca0
nop
mov qword [rsp + 8], rax
call fcn.14006aec0
mov rax, qword [rsp + 8]
jmp fcn.140053020