Function at 0x4139c0
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x413d95
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 0x413a36
cmp qword [rbx], 0
je 0x413a36
movzx esi, byte [rbx + 8]
test sil, 4
jne 0x413d83
mov qword [rsp + 0x68], rax
cmp byte [rbx + 9], 0
jne 0x413a49
mov rsi, qword [rbx + 0x10]
mov qword [rsp + 0x50], rsi
cmp rdi, 0x20
jge 0x413a25
nop
lea rdx, [rsi + 8]
xor ecx, ecx
nop
jmp 0x413cc8
nop
lea r8, [rsi + 8]
xor ecx, ecx
mov edx, 8
jmp 0x413bc0
lea rax, [0x01155a20]
xor ebx, ebx
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
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 0x413ac9
movzx edx, byte [rdx + 8]
test dl, 8
jne 0x413aa9
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 0x413ac9
mov rcx, rdx
shr rax, 0x38
cmp al, 5
jae 0x413ad4
add eax, 5
mov byte [rsp + 0x1f], al
jmp 0x413ae9
movzx edx, word [rdi + 0x52]
lea rdx, [rcx + rdx]
lea rdx, [rdx - 8]
mov rcx, qword [rdx]
test rcx, rcx
je 0x413afc
mov qword [rsp + 0x48], rcx
nop
lea rdx, [rcx + 8]
xor ebx, ebx
jmp 0x413b16
lea rax, [0x01155a20]
xor ebx, ebx
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
inc rbx
add rdx, 0x10
cmp rbx, 8
jae 0x413ada
mov rsi, qword [rsp + 0x80]
cmp qword [rdx + 8], rsi
jne 0x413b0f
movzx r8d, byte [rbx + rcx]
cmp r8b, al
jne 0x413b0f
mov r8, qword [rdx]
mov r9, qword [rsp + 0x78]
nop dword [rax]
cmp r9, r8
je 0x413b8e
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rdx
mov rax, r8
mov rbx, r9
mov rcx, rsi
call fcn.00402e20
nop dword [rax]
test al, al
jne 0x413b7f
movzx eax, byte [rsp + 0x1f]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
jmp 0x413b0f
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 ebx, 1
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
inc rcx
add r8, 0x10
nop word [rax + rax]
cmp rcx, 8
jae 0x413c51
cmp qword [r8 + 8], rdi
jne 0x413bdd
test byte [rsi], al
movzx r9d, byte [rcx + rsi]
cmp r9b, 1
ja 0x413beb
test byte [rsi], al
movzx r9d, byte [rcx + rsi]
test r9b, r9b
jne 0x413bb0
jmp 0x413c51
mov r9, qword [r8]
mov r10, qword [rsp + 0x78]
cmp r10, r9
je 0x413c2f
mov r11d, dword [r10]
nop dword [rax + rax]
cmp dword [r9], r11d
jne 0x413bb0
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 0x413bb0
nop dword [rax]
cmp rdx, 8
jne 0x413a49
mov rdx, rcx
jmp 0x413bb0
movzx edx, byte [rax + 0x51]
imul rcx, rdx
lea rax, [rcx + rsi]
lea rax, [rax + 0x88]
mov ebx, 1
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
cmp rdx, 8
je 0x413c7c
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 0x413c8f
lea rax, [0x01155a20]
xor ebx, ebx
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 ebx, 1
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
nop
ret
inc rcx
add rdx, 0x10
cmp rcx, 8
jae 0x413d70
mov rdi, qword [rsp + 0x80]
nop word [rax + rax]
cmp qword [rdx + 8], rdi
jne 0x413cf3
test byte [rsi], al
movzx r8d, byte [rcx + rsi]
cmp r8b, 1
ja 0x413d02
test byte [rsi], al
movzx edi, byte [rcx + rsi]
test dil, dil
jne 0x413cc1
nop
jmp 0x413d70
mov r8, qword [rdx]
mov rbx, qword [rsp + 0x78]
cmp rbx, r8
je 0x413d4e
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rdx
mov rax, r8
mov rcx, rdi
nop
call fcn.00402e20
test al, al
jne 0x413d3f
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x50]
jmp 0x413cc1
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 ebx, 1
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rax, [0x01155a20]
xor ebx, ebx
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rax, [0x00ad153e]
mov ebx, 0x21
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.00463440
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004139c0