Function at 0x14005a5e0
Capabilities:
Get geographical location

Disassembly:
lea r12, [rsp - 0x48]
cmp r12, qword [r14 + 0x10]
jbe 0x14005ac6c
push rbp
mov rbp, rsp
sub rsp, 0xc0
test ecx, ecx
je 0x14005a638
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 0x14005a648
xor r10d, r10d
jmp 0x14005abe9
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 0x14005a67a
cmp byte [r14 + 0xb1], 0
je 0x14005a67a
mov qword [r14 + 0x10], 0xfffffffffffffade
nop word [rax + rax]
test rax, rax
je 0x14005a727
mov r8, qword [rbx + 0x58]
mov r9d, ecx
cmp r8, r9
jb 0x14005abdb
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.140059f00
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 0x14005a7a5
test sil, sil
je 0x14005a736
mov ecx, dword [0x1416f8f68]
test ecx, ecx
je 0x14005a746
mov eax, 0xffffffff
xor ebx, ebx
add rsp, 0xc0
pop rbp
ret
mov ecx, dword [rax]
mov rax, rbx
mov ebx, ecx
call fcn.140059f00
mov qword [rsp + 0x40], rax
call fcn.14003f2a0
lea rax, [0x140afdc8f]
mov ebx, 0x1c
call fcn.14003fb20
mov rax, qword [rsp + 0x40]
call fcn.14003f9a0
call fcn.14003f4e0
nop dword [rax]
call fcn.14003f300
lea rax, [0x140ae9657]
mov ebx, 0xe
call fcn.14003d800
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.140059f00
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.14005b240
nop
test dil, dil
je 0x14005a94f
mov rdx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0xa0]
cmp rsi, rdx
jae 0x14005a796
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 0x14005a90c
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 0x14005abd1
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 0x14005a914
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 0x14005a942
cmp byte [r14 + 0xb1], 0
je 0x14005a942
mov qword [r14 + 0x10], 0xfffffffffffffade
mov eax, dword [rsp + 0x34]
add rsp, 0xc0
pop rbp
ret
mov edx, dword [0x1416f8f68]
test edx, edx
jne 0x14005aacb
movzx edx, byte [rsp + 0xf0]
test dl, dl
je 0x14005aacb
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.14005a020
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rcx
call fcn.14003f2a0
lea rax, [0x140b0bff9]
mov ebx, 0x24
call fcn.14003fb20
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x38]
call fcn.14003fb20
lea rax, [0x140adb11f]
mov ebx, 4
call fcn.14003fb20
mov rax, qword [rsp + 0x70]
call fcn.14003f9a0
lea rax, [0x140ae3bf4]
mov ebx, 0xa
call fcn.14003fb20
mov rax, qword [rsp + 0xa0]
call fcn.14003f9a0
lea rax, [0x140adc187]
mov ebx, 5
nop
call fcn.14003fb20
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.14003fba0
nop
call fcn.14003f4e0
call fcn.14003f300
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x58]
mov rdx, qword [rsp + 0x98]
nop
cmp rcx, rdx
jb 0x14005abc9
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.140059f00
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 0x14005ab57
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.14003f2a0
lea rax, [0x140adf65c]
mov ebx, 7
call fcn.14003fb20
movsxd rax, dword [rsp + 0x34]
call fcn.14003f940
lea rax, [0x140ae3bfe]
mov ebx, 0xa
call fcn.14003fb20
mov rax, qword [rsp + 0xa0]
call fcn.14003f9a0
call fcn.14003f4e0
nop dword [rax]
call fcn.14003f300
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.140059f00
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.14005b240
test dil, dil
jne 0x14005aadb
lea rax, [0x140afdc73]
mov ebx, 0x1c
call fcn.14003d800
mov rax, rdx
call fcn.140071460
mov ecx, 8
call fcn.1400713a0
mov rax, r9
mov rcx, r8
call fcn.140071460
inc r10
cmp r10, 8
jge 0x14005a648
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 0x14005abe6
mov r13, qword [r11 + r12*8]
nop dword [rax]
cmp r13, rdx
jne 0x14005abe6
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 0x14005ac63
cmp byte [r14 + 0xb1], 0
je 0x14005ac63
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.14006f0a0
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.14005a5e0