Function at 0x140054c40
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x140054f17
push rbp
mov rbp, rsp
sub rsp, 0x68
mov rdx, rbx
sub rdx, rax
lea rsi, [rdx - 1]
nop dword [rax]
test rdx, rsi
jne 0x140054f05
mov rsi, rax
cmp dword [0x1416f9eb0], 0
jne 0x140054d0e
nop dword [rax]
cmp rdx, 0x8000
jae 0x140054c93
mov rcx, rdx
xor ebx, ebx
jmp 0x140054e00
movabs rdx, 0x800000000000
add rdx, rax
mov rdi, rdx
shr rdx, 0x2a
nop
nop
cmp rdx, 0x40
jae 0x140054dea
lea r8, [0x14168aff8]
mov rdx, qword [r8 + rdx*8]
test byte [rdx], al
shr rax, 0xd
and eax, 0x1ff
shr rdi, 0x16
and edi, 0xfffff
mov rdx, qword [rdx + rdi*8]
test byte [rdx], al
mov rbx, qword [rdx + rax*8]
nop
mov dl, byte [rbx + 0x63]
cmp dl, 2
jne 0x140054d9f
cmp dword [0x1416f8f40], 0
je 0x140054cfb
mov rcx, qword [rbx + 0x20]
xor eax, eax
jmp 0x140054d40
lea rax, [0x14167ae20]
mov ecx, 1
call fcn.14002ed00
jmp 0x140054d30
sub rax, rbx
nop
lea rcx, [0x1416fa938]
lock xadd qword [rcx], rax
nop
mov rax, rsi
mov rbx, rdx
call fcn.14001be20
add rsp, 0x68
pop rbp
ret
add rsp, 0x68
pop rbp
ret
shr rcx, 1
inc rax
nop dword [rax]
cmp rcx, 1
ja 0x140054d36
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rax
nop
nop
lea rax, [0x1416fadc0]
call fcn.1400104a0
mov rax, qword [rsp + 0x30]
cmp rax, 0x23
jae 0x140054d95
shl rax, 4
lea rcx, [0x1416fadc8]
add rax, rcx
mov rbx, qword [rsp + 0x28]
nop dword [rax]
call fcn.14002f300
nop
nop
lea rax, [0x1416fadc0]
call fcn.140010700
jmp 0x140054d30
mov ecx, 0x23
call fcn.1400713a0
mov qword [rsp + 0x58], rsi
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call fcn.14003f2a0
mov rax, qword [rsp + 0x20]
call fcn.14003f9a0
nop dword [rax]
call fcn.14003f4a0
mov rax, qword [rsp + 0x58]
call fcn.14003faa0
call fcn.14003f4e0
call fcn.14003f300
lea rax, [0x140ae961f]
mov ebx, 0xe
call fcn.14003d800
mov rax, rdx
mov ecx, 0x40
call fcn.1400713c0
inc ebx
shr rdx, 1
nop dword [rax]
cmp rdx, 0x2000
ja 0x140054df7
mov qword [rsp + 0x50], rax
mov rdx, qword [r14 + 0x30]
mov rsi, qword [rdx + 0xa0]
test rsi, rsi
je 0x140054e28
cmp qword [rdx + 0xd0], 0
je 0x140054e76
movzx edx, bl
cmp rdx, 2
jae 0x140054ef5
mov byte [rsp + 0x1f], bl
shl rdx, 6
lea rcx, [0x1416f9fa0]
lea rax, [rcx + rdx]
mov qword [rsp + 0x60], rax
nop
call fcn.1400104a0
mov rax, qword [rsp + 0x50]
movzx ebx, byte [rsp + 0x1f]
nop dword [rax]
call fcn.140054480
nop
nop
mov rax, qword [rsp + 0x60]
call fcn.140010700
jmp 0x140054d30
movzx edx, bl
cmp rdx, 2
jae 0x140054ee8
shl rdx, 4
mov rsi, qword [rsi + 0x40]
test byte [rsi], al
mov rdi, qword [rsi + rdx + 0x470]
cmp rdi, 0x8000
jb 0x140054ec5
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdx
mov rax, rsi
call fcn.140054720
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsi + rdx + 0x468]
mov rdi, rax
mov qword [rax], rbx
mov qword [rsi + rdx + 0x468], rdi
add qword [rsi + rdx + 0x470], rcx
jmp 0x140054d30
mov rax, rdx
mov ecx, 2
call fcn.1400713a0
mov rax, rdx
mov ecx, 2
nop dword [rax]
call fcn.1400713a0
lea rax, [0x140af4b70]
mov ebx, 0x16
call fcn.14003d800
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140075f00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140054c40