Function at 0x4135e0
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x413986
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rdi
test rbx, rbx
je 0x413656
cmp qword [rbx], 0
je 0x413656
movzx esi, byte [rbx + 8]
test sil, 4
jne 0x413972
mov qword [rsp + 0x68], rax
cmp byte [rbx + 9], 0
jne 0x413667
mov rsi, qword [rbx + 0x10]
mov qword [rsp + 0x50], rsi
cmp rdi, 0x20
jge 0x413645
nop
lea rdx, [rsi + 8]
xor ecx, ecx
nop
jmp 0x4138c0
nop
lea r8, [rsi + 8]
xor ecx, ecx
mov edx, 8
jmp 0x4137c9
lea rax, [0x0119cec0]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 0x70], rbx
mov rdx, qword [rax + 0x48]
mov rcx, qword [rdx]
mov esi, dword [rbx + 0xc]
lea rax, [rsp + 0x78]
mov rbx, rsi
nop
call rcx
mov rcx, qword [rsp + 0x70]
movzx esi, byte [rcx + 9]
mov rdx, rcx
mov ecx, esi
mov edi, 1
shl rdi, cl
lea rcx, [rdi - 1]
mov rsi, rcx
and rcx, rax
mov rdi, qword [rsp + 0x68]
movzx r8d, word [rdi + 0x52]
imul rcx, r8
mov r9, qword [rdx + 0x18]
add rcx, qword [rdx + 0x10]
test r9, r9
je 0x4136e9
movzx edx, byte [rdx + 8]
test dl, 8
jne 0x4136c9
shr rsi, 1
and rsi, rax
imul r8, rsi
lea rdx, [r9 + r8]
movzx esi, byte [r9 + r8]
add esi, 0xfffffffe
nop dword [rax]
cmp sil, 3
jb 0x4136e9
mov rcx, rdx
shr rax, 0x38
cmp al, 5
jae 0x4136f4
add eax, 5
mov byte [rsp + 0x1f], al
jmp 0x413709
movzx edx, word [rdi + 0x52]
lea rdx, [rcx + rdx]
lea rdx, [rdx - 8]
mov rcx, qword [rdx]
test rcx, rcx
je 0x41371c
mov qword [rsp + 0x48], rcx
nop
lea rdx, [rcx + 8]
xor ebx, ebx
jmp 0x413734
lea rax, [0x0119cec0]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
inc rbx
add rdx, 0x10
cmp rbx, 8
jae 0x4136fa
mov rsi, qword [rsp + 0x80]
cmp qword [rdx + 8], rsi
jne 0x41372d
movzx r8d, byte [rbx + rcx]
cmp r8b, al
jne 0x41372d
mov r8, qword [rdx]
mov r9, qword [rsp + 0x78]
cmp r9, r8
je 0x4137a5
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdx
mov rax, r8
mov rbx, r9
mov rcx, rsi
call fcn.00402e20
test al, al
jne 0x413796
movzx eax, byte [rsp + 0x1f]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
jmp 0x41372d
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
movzx edx, byte [rdi + 0x51]
imul rbx, rdx
lea rax, [rcx + rbx]
lea rax, [rax + 0x88]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
inc rcx
add r8, 0x10
cmp rcx, 8
jae 0x413851
cmp qword [r8 + 8], rdi
jne 0x4137e6
test byte [rsi], al
movzx r9d, byte [rcx + rsi]
cmp r9b, 1
ja 0x4137f4
test byte [rsi], al
movzx r9d, byte [rcx + rsi]
test r9b, r9b
jne 0x4137c2
jmp 0x413851
mov r9, qword [r8]
mov r10, qword [rsp + 0x78]
nop dword [rax]
cmp r10, r9
je 0x413834
mov r11d, dword [r10]
cmp dword [r9], r11d
jne 0x4137c2
lea r10, [rdi + r10]
lea r10, [r10 - 4]
lea r9, [rdi + r9]
lea r9, [r9 - 4]
mov r10d, dword [r10]
cmp dword [r9], r10d
jne 0x4137c2
cmp rdx, 8
jne 0x413667
mov rdx, rcx
jmp 0x4137c2
movzx edx, byte [rax + 0x51]
imul rcx, rdx
lea rax, [rcx + rsi]
lea rax, [rax + 0x88]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
cmp rdx, 8
je 0x41387c
mov qword [rsp + 0x20], rdx
shl rdx, 4
lea rdx, [rdx + rsi]
lea rdx, [rdx + 8]
mov rax, qword [rdx]
mov rbx, qword [rsp + 0x78]
mov rcx, rdi
call fcn.00402e20
test al, al
jne 0x41388d
lea rax, [0x0119cec0]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov rcx, qword [rsp + 0x68]
movzx ecx, byte [rcx + 0x51]
mov rdx, qword [rsp + 0x20]
imul rdx, rcx
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rdx]
lea rax, [rax + 0x88]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
inc rcx
add rdx, 0x10
cmp rcx, 8
jae 0x413961
mov rdi, qword [rsp + 0x80]
cmp qword [rdx + 8], rdi
jne 0x4138e6
test byte [rsi], al
movzx r8d, byte [rcx + rsi]
nop
cmp r8b, 1
ja 0x4138f3
test byte [rsi], al
movzx edi, byte [rcx + rsi]
test dil, dil
jne 0x4138b9
jmp 0x413961
mov r8, qword [rdx]
mov rbx, qword [rsp + 0x78]
nop dword [rax + rax]
cmp rbx, r8
je 0x413943
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], rdx
mov rax, r8
mov rcx, rdi
call fcn.00402e20
test al, al
jne 0x413934
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
jmp 0x4138b9
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x50]
movzx edx, byte [rax + 0x51]
imul rcx, rdx
lea rax, [rsi + rcx]
lea rax, [rax + 0x88]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
nop
ret
lea rax, [0x0119cec0]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rax, [0x00add902]
mov ebx, 0x21
nop
call fcn.00437b60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00463480
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004135e0