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 [0x00976ea8]
mov rcx, rbx
mov rbx, rax
mov rax, rdx
call fcn.0040b1c0
test rax, rax
jne 0x40b018
nop
nop
lea rax, [0x01154450]
nop
call fcn.0040c5e0
mov rax, qword [0x00976ea8]
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, [0x01154450]
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, [0x01158cc0]
call fcn.0040ea00
test byte [rax], al
cmp dword [0x011546d0], 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.004657c0
lea rdx, [rax + 8]
mov rdi, rdx
mov rbx, qword [rsp + 0x50]
nop
call fcn.00465800
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, [0x01154450]
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, [0x00a7ba60]
call fcn.0040e6a0
cmp dword [0x011546d0], 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 [0x011546d0], 0
jne 0x40b0a5
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x18], rcx
mov rbx, rax
lea rax, [0x00a26360]
nop dword [rax + rax]
call fcn.004373c0
lea rdi, [rax + 0x18]
mov rcx, qword [rsp + 0x28]
call fcn.004657c0
jmp 0x40b091
lea rdi, [rax + 8]
mov rcx, qword [rsp + 0x50]
nop
call fcn.004657c0
lea rdi, [rax + 0x10]
mov rcx, qword [rsp + 0x48]
call fcn.004657c0
jmp 0x40b076
mov ebx, dword [rdx]
call fcn.0045b120
nop dword [rax]
call fcn.0045b980
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x18], rbx
lea rax, [0x00a7ba60]
call fcn.0040e6a0
cmp dword [0x011546d0], 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 [0x011546d0], 0
jne 0x40b145
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x18], rcx
mov rbx, rax
lea rax, [0x00a26360]
nop dword [rax + rax]
call fcn.004373c0
lea rdi, [rax + 0x18]
mov rcx, qword [rsp + 0x28]
call fcn.004657c0
jmp 0x40b131
lea rdi, [rax + 8]
mov rcx, qword [rsp + 0x50]
nop
call fcn.004657c0
lea rdi, [rax + 0x10]
mov rcx, qword [rsp + 0x48]
call fcn.004657c0
jmp 0x40b116
lea rax, [0x00acfeb1]
mov ebx, 0x1f
call fcn.00437b60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
call fcn.00463440
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
jmp fcn.0040aec0