Function at 0x140056b80
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140056e46
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 0x140056bc1
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.14005a020
cmp rbx, 0x14
je 0x140056c0b
cmp rbx, 0x17
jne 0x140056c24
lea rbx, [0x140af6451]
mov ecx, 0x17
nop dword [rax]
call fcn.140006fc0
test al, al
je 0x140056c24
jmp 0x140056c2f
lea rbx, [0x140af1d58]
mov ecx, 0x14
call fcn.140006fc0
nop dword [rax]
test al, al
jne 0x140056c2f
xor esi, esi
xor eax, eax
xor edx, edx
jmp 0x140056cd2
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rcx + 0x28]
mov rsi, qword [rcx + 0x30]
add rsi, 0xfffffffffffffff8
cmp rdx, rsi
jb 0x140056c77
mov rcx, qword [rsp + 0x58]
mov ebx, dword [rcx]
mov rax, qword [rsp + 0x50]
call fcn.140059f00
mov rcx, qword [rsp + 0x88]
cmp qword [rcx + 0x10], rax
jne 0x140056d45
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.140059f00
mov rcx, qword [rsp + 0x70]
cmp qword [rcx], rax
jne 0x140056cdf
mov rdx, qword [rcx + 8]
mov esi, dword [rdx]
movzx edi, byte [rsp + 0x1f]
test dil, dil
jne 0x140056cc9
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.14005a020
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], rbx
nop dword [rax + rax]
call fcn.14003f2a0
lea rax, [0x140af3411]
mov ebx, 0x15
call fcn.14003fb20
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x20]
call fcn.14003fb20
call fcn.14003f4e0
call fcn.14003f300
lea rax, [0x140aec27f]
mov ebx, 0x10
nop dword [rax + rax]
call fcn.14003d800
mov rcx, qword [rsp + 0x58]
mov ebx, dword [rcx + 4]
mov rax, qword [rsp + 0x50]
call fcn.14005a020
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.140059f00
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.14003f2a0
lea rax, [0x140af3411]
mov ebx, 0x15
call fcn.14003fb20
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x28]
call fcn.14003fb20
lea rax, [0x140aeac67]
mov ebx, 0xf
call fcn.14003fb20
mov rax, qword [rsp + 0x48]
nop dword [rax + rax]
call fcn.14003f9a0
lea rax, [0x140adb157]
mov ebx, 4
call fcn.14003fb20
mov rax, qword [rsp + 0x40]
nop dword [rax + rax]
call fcn.14003f9a0
lea rax, [0x140ae5258]
mov ebx, 0xb
call fcn.14003fb20
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
sub rax, rcx
call fcn.14003f9a0
call fcn.14003f4e0
call fcn.14003f300
lea rax, [0x140aec27f]
mov ebx, 0x10
nop
call fcn.14003d800
nop
mov qword [rsp + 8], rax
call fcn.14006f0a0
mov rax, qword [rsp + 8]
jmp fcn.140056b80