Function at 0x40aec0
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40b187
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
mov rdx, qword [rax + 0x38]
cmp qword [rax + 0x40], 0
je 0x40b175
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rax
movzx esi, byte [rbx + 0x14]
test sil, 1
jne 0x40af14
nop dword [rax + rax]
test cl, cl
je 0x40b0d5
xor eax, eax
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov byte [rsp + 0x58], cl
mov rdx, qword [0x0097f0e8]
mov rcx, rbx
mov rbx, rax
mov rax, rdx
call fcn.0040b1c0
test rax, rax
jne 0x40b018
nop
nop
lea rax, [0x0119b7a0]
nop
call fcn.0040c5e0
mov rax, qword [0x0097f0e8]
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.0040b1c0
nop dword [rax + rax]
test rax, rax
je 0x40af85
mov qword [rsp + 0x20], rax
nop
nop
lea rax, [0x0119b7a0]
call fcn.0040c800
mov rax, qword [rsp + 0x20]
nop dword [rax]
jmp 0x40b018
mov rdx, qword [rsp + 0x48]
mov rsi, qword [rdx + 0x40]
dec rsi
shl rsi, 3
lea rax, [rsi + 0x20]
xor ebx, ebx
lea rcx, [0x011a0160]
call fcn.0040ea00
test byte [rax], al
cmp dword [0x0119ba70], 0
jne 0x40afc5
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov rdx, qword [rsp + 0x50]
mov qword [rax + 8], rdx
jmp 0x40afe5
mov rdi, rax
mov rcx, qword [rsp + 0x48]
call fcn.00465800
lea rdx, [rax + 8]
mov rdi, rdx
mov rbx, qword [rsp + 0x50]
nop
call fcn.00465840
mov qword [rsp + 0x30], rax
mov dword [rax + 0x10], 0
call fcn.0040b3c0
mov rax, qword [rsp + 0x30]
nop dword [rax + rax]
call fcn.0040b220
nop
nop
lea rax, [0x0119b7a0]
call fcn.0040c800
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 0
jne 0x40b034
movzx ecx, byte [rsp + 0x58]
test cl, cl
je 0x40b03e
xor eax, eax
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
nop
call fcn.0040b3c0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x18], rbx
lea rax, [0x00a86800]
call fcn.0040e6a0
cmp dword [0x0119ba70], 0
jne 0x40b0b5
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x18]
mov qword [rax + 0x20], rcx
cmp dword [0x0119ba70], 0
jne 0x40b0a5
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x18], rcx
mov rbx, rax
lea rax, [0x00a2f960]
nop dword [rax + rax]
call fcn.004373c0
lea rdi, [rax + 0x18]
mov rcx, qword [rsp + 0x28]
call fcn.00465800
jmp 0x40b091
lea rdi, [rax + 8]
mov rcx, qword [rsp + 0x50]
nop
call fcn.00465800
lea rdi, [rax + 0x10]
mov rcx, qword [rsp + 0x48]
call fcn.00465800
jmp 0x40b076
mov ebx, dword [rdx]
call fcn.0045b160
nop dword [rax]
call fcn.0045b9c0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x18], rbx
lea rax, [0x00a86800]
call fcn.0040e6a0
cmp dword [0x0119ba70], 0
jne 0x40b155
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x18]
mov qword [rax + 0x20], rcx
cmp dword [0x0119ba70], 0
jne 0x40b145
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x18], rcx
mov rbx, rax
lea rax, [0x00a2f960]
nop dword [rax + rax]
call fcn.004373c0
lea rdi, [rax + 0x18]
mov rcx, qword [rsp + 0x28]
call fcn.00465800
jmp 0x40b131
lea rdi, [rax + 8]
mov rcx, qword [rsp + 0x50]
nop
call fcn.00465800
lea rdi, [rax + 0x10]
mov rcx, qword [rsp + 0x48]
call fcn.00465800
jmp 0x40b116
lea rax, [0x00adc1b2]
mov ebx, 0x1f
call fcn.00437b60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
call fcn.00463480
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
jmp fcn.0040aec0