Function at 0x1400569e0
Capabilities:
Get geographical location

Disassembly:
lea r12, [rsp - 0x48]
cmp r12, qword [r14 + 0x10]
jbe 0x14005706c
push rbp
mov rbp, rsp
sub rsp, 0xc0
test ecx, ecx
je 0x140056a38
mov rdx, rdi
shr rdi, 3
mov r8, qword [r14 + 0x30]
nop
nop
inc dword [r8 + 0xd8]
mov r8, qword [r14 + 0x30]
mov r9, qword [r8 + 0x5c8]
lea r10, [r9 + 1]
mov qword [r8 + 0x5c8], r10
and edi, 1
test r9, r9
jne 0x140056a48
xor r10d, r10d
jmp 0x140056fe9
mov eax, 0xffffffff
xor ebx, ebx
add rsp, 0xc0
pop rbp
ret
mov qword [r8 + 0x5c8], r9
mov r9d, dword [r8 + 0xd8]
lea r10d, [r9 - 1]
nop
mov dword [r8 + 0xd8], r10d
cmp r9d, 1
jne 0x140056a7a
cmp byte [r14 + 0xb1], 0
je 0x140056a7a
mov qword [r14 + 0x10], 0xfffffffffffffade
nop word [rax + rax]
test rax, rax
je 0x140056b27
mov r8, qword [rbx + 0x58]
mov r9d, ecx
cmp r8, r9
jb 0x140056fdb
mov dword [rsp + 0xe0], ecx
mov qword [rsp + 0xa0], rdx
mov byte [rsp + 0xf0], sil
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x98], r9
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x88], rax
mov rcx, qword [rbx + 0x50]
mov rdx, qword [rbx + 0x60]
sub rdx, r9
mov qword [rsp + 0x68], rdx
neg rdx
sar rdx, 0x3f
and rdx, r9
mov edi, dword [rax]
sub r8, r9
mov qword [rsp + 0x60], r8
add rcx, rdx
mov qword [rsp + 0xb0], rcx
mov rax, rbx
mov ebx, edi
call fcn.1400563a0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x34], 0xffffffff
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0xb0]
jmp 0x140056ba5
test sil, sil
je 0x140056b36
mov ecx, dword [0x1407f2c00]
test ecx, ecx
je 0x140056b46
mov eax, 0xffffffff
xor ebx, ebx
add rsp, 0xc0
pop rbp
ret
mov ecx, dword [rax]
mov rax, rbx
mov ebx, ecx
call fcn.1400563a0
mov qword [rsp + 0x40], rax
call fcn.14003b740
lea rax, [0x14049acea]
mov ebx, 0x1c
call fcn.14003bfc0
mov rax, qword [rsp + 0x40]
call fcn.14003be40
call fcn.14003b980
nop dword [rax]
call fcn.14003b7a0
lea rax, [0x140490fff]
mov ebx, 0xe
call fcn.140039ca0
mov rdi, rcx
mov rcx, rbx
mov rbx, rax
mov rax, rdx
mov rdx, rdi
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x50], rax
mov rsi, qword [rsp + 0x88]
mov edi, dword [rsi]
mov rax, qword [rsp + 0x90]
mov ebx, edi
call fcn.1400563a0
cmp qword [rsp + 0x58], rax
sete r8b
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
lea rdi, [rsp + 0x58]
lea rsi, [rsp + 0x34]
call fcn.140057640
nop
test dil, dil
je 0x140056d4f
mov rdx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0xa0]
cmp rsi, rdx
jae 0x140056b96
mov rdx, qword [r14 + 0x30]
nop
inc dword [rdx + 0xd8]
mov rdx, qword [r14 + 0x30]
mov rdi, qword [rdx + 0x5c8]
lea r8, [rdi + 1]
mov qword [rdx + 0x5c8], r8
test rdi, rdi
jne 0x140056d0c
mov rdi, qword [rsp + 0x48]
lea rdi, [rdi + rdi*2]
shl rdi, 6
mov r8, qword [r14 + 0x30]
movabs rax, 0xa0761d6478bd642f
add rax, qword [r8 + 0x730]
movabs r9, 0xe7037ed1a0b428db
xor r9, rax
mov rcx, rdx
mov rbx, rax
mul r9
xor rax, rdx
mov eax, eax
shl rax, 3
shr rax, 0x20
lea rdx, [rcx + rdi]
lea rdx, [rdx + 0x448]
nop
mov qword [r8 + 0x730], rbx
mov r8, qword [rcx + rdi + 0x458]
mov r9, qword [rcx + rdi + 0x448]
mov r10, qword [rcx + rdi + 0x450]
nop dword [rax]
cmp rax, 8
jae 0x140056fd1
lea r11, [rax + rax*2]
mov qword [rdx + r11*8], r9
mov qword [rdx + r11*8 + 8], r10
mov qword [rdx + r11*8 + 0x10], r8
mov edx, dword [rsp + 0x34]
mov qword [rcx + rdi + 0x448], rsi
mov esi, dword [rsp + 0xe0]
mov dword [rcx + rdi + 0x450], esi
mov dword [rcx + rdi + 0x454], edx
mov rbx, qword [rsp + 0x50]
mov qword [rcx + rdi + 0x458], rbx
jmp 0x140056d14
mov rcx, rdx
mov rbx, qword [rsp + 0x50]
dec qword [rcx + 0x5c8]
mov edx, dword [rcx + 0xd8]
lea esi, [rdx - 1]
nop
mov dword [rcx + 0xd8], esi
cmp edx, 1
jne 0x140056d42
cmp byte [r14 + 0xb1], 0
je 0x140056d42
mov qword [r14 + 0x10], 0xfffffffffffffade
mov eax, dword [rsp + 0x34]
add rsp, 0xc0
pop rbp
ret
mov edx, dword [0x1407f2c00]
test edx, edx
jne 0x140056ecb
movzx edx, byte [rsp + 0xf0]
test dl, dl
je 0x140056ecb
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0x88]
mov ebx, dword [rcx + 4]
mov rax, qword [rsp + 0x90]
call fcn.1400564c0
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rcx
call fcn.14003b740
lea rax, [0x14049f205]
mov ebx, 0x24
call fcn.14003bfc0
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x38]
call fcn.14003bfc0
lea rax, [0x14048b2a8]
mov ebx, 4
call fcn.14003bfc0
mov rax, qword [rsp + 0x70]
call fcn.14003be40
lea rax, [0x14048df2b]
mov ebx, 0xa
call fcn.14003bfc0
mov rax, qword [rsp + 0xa0]
call fcn.14003be40
lea rax, [0x14048b927]
mov ebx, 5
nop
call fcn.14003bfc0
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.14003c040
nop
call fcn.14003b980
call fcn.14003b7a0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x58]
mov rdx, qword [rsp + 0x98]
nop
cmp rcx, rdx
jb 0x140056fc9
mov rsi, qword [rax + 0x50]
mov rdi, qword [rax + 0x60]
sub rdi, rdx
mov qword [rsp + 0x68], rdi
neg rdi
sar rdi, 0x3f
and rdi, rdx
mov r9, qword [rsp + 0x88]
mov ebx, dword [r9]
sub rcx, rdx
mov qword [rsp + 0x60], rcx
lea rdx, [rsi + rdi]
mov qword [rsp + 0xb0], rdx
call fcn.1400563a0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x34], 0xffffffff
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xb0]
jmp 0x140056f57
mov eax, 0xffffffff
xor ebx, ebx
add rsp, 0xc0
pop rbp
ret
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa0], rax
call fcn.14003b740
lea rax, [0x14048c6df]
mov ebx, 7
call fcn.14003bfc0
movsxd rax, dword [rsp + 0x34]
call fcn.14003bde0
lea rax, [0x14048df35]
mov ebx, 0xa
call fcn.14003bfc0
mov rax, qword [rsp + 0xa0]
call fcn.14003be40
call fcn.14003b980
nop dword [rax]
call fcn.14003b7a0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xb0]
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
mov rsi, qword [rsp + 0x88]
mov ebx, dword [rsi]
mov rax, qword [rsp + 0x90]
nop dword [rax + rax]
call fcn.1400563a0
cmp qword [rsp + 0x58], rax
sete r8b
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
lea rdi, [rsp + 0x58]
lea rsi, [rsp + 0x34]
call fcn.140057640
test dil, dil
jne 0x140056edb
lea rax, [0x14049acce]
mov ebx, 0x1c
call fcn.140039ca0
mov rax, rdx
call fcn.14006d280
mov ecx, 8
call fcn.14006d1c0
mov rax, r9
mov rcx, r8
call fcn.14006d280
inc r10
cmp r10, 8
jge 0x140056a48
lea r11, [rdi + rdi*2]
shl r11, 6
lea r11, [r8 + r11]
lea r11, [r11 + 0x448]
lea r12, [r10 + r10*2]
lea r13, [r11 + r12*8]
lea r13, [r13 + 8]
cmp dword [r13], ecx
jne 0x140056fe6
mov r13, qword [r11 + r12*8]
nop dword [rax]
cmp r13, rdx
jne 0x140056fe6
mov eax, dword [r11 + r12*8 + 0xc]
mov rbx, qword [r11 + r12*8 + 0x10]
mov qword [r8 + 0x5c8], 0
mov ecx, dword [r8 + 0xd8]
lea edx, [rcx - 1]
nop
mov dword [r8 + 0xd8], edx
cmp ecx, 1
jne 0x140057063
cmp byte [r14 + 0xb1], 0
je 0x140057063
mov qword [r14 + 0x10], 0xfffffffffffffade
add rsp, 0xc0
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov qword [rsp + 0x20], rdi
mov byte [rsp + 0x28], sil
call fcn.14006aec0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
movzx esi, byte [rsp + 0x28]
jmp fcn.1400569e0