Function at 0x413de0
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414190
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 0x41417c
movzx ecx, byte [rbx + 8]
test cl, 4
jne 0x41416b
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rax
mov rdx, qword [rax + 0x48]
mov rcx, qword [rdx]
mov esi, dword [rbx + 0xc]
lea rax, [rsp + 0x78]
mov rbx, rsi
call rcx
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x70]
movzx ecx, byte [rbx + 8]
xor ecx, 4
mov byte [rbx + 8], cl
cmp qword [rbx + 0x10], 0
jne 0x413e91
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rdx + 0x40]
mov rax, qword [rbx]
mov ecx, 1
call fcn.0040dcc0
cmp dword [0x011546d0], 0
jne 0x413e7e
mov rbx, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
jmp 0x413e8c
mov rbx, qword [rsp + 0x70]
lea rdi, [rbx + 0x10]
call fcn.004656c0
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x68]
jmp 0x413ebc
mov rax, rdx
nop dword [rax + rax]
call fcn.00410da0
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
mov rdx, qword [rsp + 0x68]
movzx ecx, byte [rbx + 9]
mov esi, 1
shl rsi, cl
lea rcx, [rsi - 1]
and rcx, rax
cmp qword [rbx + 0x18], 0
je 0x413ef9
mov qword [rsp + 0x30], rcx
mov rax, rdx
nop
call fcn.00414560
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
movzx esi, word [rdx + 0x52]
imul rcx, rsi
add rcx, qword [rbx + 0x10]
mov rsi, rax
shr rax, 0x38
cmp al, 5
jae 0x413f13
add eax, 5
mov byte [rsp + 0x1f], al
xor edi, edi
xor r8d, r8d
nop dword [rax]
jmp 0x413f9e
mov rcx, r10
cmp qword [rbx + 0x18], 0
jne 0x4140b4
mov r9, qword [rbx]
inc r9
movzx r10d, byte [rbx + 9]
nop
cmp r9, 8
jle 0x413f6b
mov r11, rcx
mov ecx, r10d
mov r12d, 1
shl r12, cl
shr r12, 1
lea r13, [r12 + r12*2]
lea r12, [r12 + r13*4]
cmp r12, r9
jb 0x413e98
jmp 0x413f71
mov r11, rcx
mov ecx, r10d
movzx r9d, word [rbx + 0xa]
cmp cl, 0xf
jbe 0x413f80
mov ecx, 0xf
and ecx, 0xf
mov r10d, 1
shl r10d, cl
cmp r9w, r10w
jae 0x413e98
jmp 0x4140b7
mov rcx, r9
mov qword [rsp + 0x50], rcx
xor r9d, r9d
jmp 0x413fcd
movzx r9d, word [rdx + 0x52]
mov r10, rcx
lea r9, [rcx + r9]
lea r9, [r9 - 8]
mov r9, qword [r9]
nop dword [rax + rax]
test r9, r9
jne 0x413f9b
jmp 0x413f25
inc r9
cmp r9, 8
jae 0x413fa8
test byte [rcx], al
movzx r10d, byte [rcx + r9]
cmp al, r10b
je 0x413ffb
nop
cmp r10b, 1
ja 0x413ff1
test rdi, rdi
jne 0x413ff1
mov rdi, rcx
mov r8, r9
test r10b, r10b
jne 0x413fca
jmp 0x413f28
mov r10, r9
shl r9, 4
mov r11, rcx
lea r9, [r9 + rcx]
lea r9, [r9 + 8]
mov rcx, qword [rsp + 0x80]
cmp qword [r9 + 8], rcx
je 0x414023
mov rcx, r11
mov r9, r10
jmp 0x413fca
mov r12, qword [r9]
mov r13, qword [rsp + 0x78]
cmp r13, r12
jne 0x414034
xor ecx, ecx
jmp 0x414085
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x48], rdi
mov rax, r12
mov rbx, r13
call fcn.00402e20
xor eax, 1
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x20]
mov r9, qword [rsp + 0x40]
mov r10, qword [rsp + 0x38]
mov r11, qword [rsp + 0x50]
mov ecx, eax
movzx eax, byte [rsp + 0x1f]
test cl, cl
je 0x414094
mov rcx, r11
mov r9, r10
jmp 0x413fca
mov rcx, qword [rsp + 0x78]
cmp dword [0x011546d0], 0
jne 0x4140aa
mov qword [r9], rcx
jmp 0x41412e
mov rdi, r9
call fcn.004657c0
jmp 0x41412e
mov r11, rcx
test rdi, rdi
jne 0x4140df
mov rax, rbx
mov rbx, rdx
mov rcx, r11
call fcn.0040ef60
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rdi, rax
xor r8d, r8d
movzx eax, byte [rsp + 0x1f]
test byte [rdi], al
mov rcx, r8
and r8, 7
mov byte [rdi + r8], al
mov rsi, rcx
shl rcx, 4
mov r8, rdi
lea rdi, [rdi + rcx]
lea rdi, [rdi + 8]
mov rcx, qword [rsp + 0x80]
mov r9, qword [rsp + 0x78]
mov qword [rdi + 8], rcx
cmp dword [0x011546d0], 0
jne 0x414120
mov qword [rdi], r9
jmp 0x414125
call fcn.00465860
inc qword [rbx]
mov r11, r8
mov r10, rsi
movzx ecx, byte [rdx + 0x51]
imul r10, rcx
movzx ecx, byte [rbx + 8]
lea rax, [r10 + r11]
lea rax, [rax + 0x88]
test cl, 4
je 0x41415a
and ecx, 0xfffffffb
mov byte [rbx + 8], cl
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
lea rax, [0x00ac62e1]
mov ebx, 0x15
call fcn.00437b60
lea rax, [0x00ac62e1]
mov ebx, 0x15
call fcn.00437b60
lea rax, [0x00a11ae0]
lea rbx, [0x00db5880]
call fcn.004373c0
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]
nop dword [rax]
jmp fcn.00413de0