Function at 0x140037720
Capabilities:
Get geographical location

Disassembly:
lea r12, [rsp - 0x4d8]
cmp r12, qword [r14 + 0x10]
jbe 0x140037bd7
push rbp
mov rbp, rsp
sub rsp, 0x550
nop dword [rax]
cmp qword [r14 + 0x30], rax
je 0x140037bc5
mov rcx, rax
xor eax, eax
mov edx, 1
lock cmpxchg dword [rcx + 0x5f8], edx
sete dl
nop
test dl, dl
je 0x140037b45
mov qword [rsp + 0x548], rcx
lea rax, [rcx + 0x5d0]
mov qword [rsp + 0x538], rax
nop
call fcn.14000cf80
mov rcx, qword [rsp + 0x548]
cmp qword [rcx + 0x5d8], 0
jne 0x1400377cd
nop
nop
mov rax, qword [rsp + 0x538]
call fcn.14000d1e0
xor ecx, ecx
mov rdx, qword [rsp + 0x548]
xchg dword [rdx + 0x5f8], ecx
nop
mov ecx, 1
lock xadd dword [rdx + 0x440], ecx
add rsp, 0x550
pop rbp
ret
mov qword [rsp + 0x528], 0
mov rax, qword [0x140395470]
mov rdx, qword [rcx + 0x5d8]
lea rbx, [rsp + 0x528]
mov qword [rsp], rax
mov qword [rsp + 8], 0xffffffffffffffff
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0xffffffffffffffff
mov qword [rsp + 0x20], rbx
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 2
nop
call fcn.140037400
xorps xmm15, xmm15
mov r14, qword [0x1407f2f18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x40], 0
nop dword [rax]
je 0x140037b5c
nop
nop
mov rax, qword [rsp + 0x538]
call fcn.14000d1e0
movups xmmword [rsp + 0x49], xmm15
lea rdi, [rsp + 0x58]
mov ecx, 0x9a
xor eax, eax
rep stosq qword [rdi], rax
lea rcx, [rsp + 0x58]
and rcx, 0xfffffffffffffff0
mov qword [rsp + 0x540], rcx
mov dword [rcx + 0x30], 0x100001
nop
nop
lea rax, [0x1407f2d70]
call fcn.14000cf80
mov rcx, qword [rsp + 0x528]
mov rdx, qword [0x140395548]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
call fcn.140037100
xorps xmm15, xmm15
mov r14, qword [0x1407f2f18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x10]
cmp ecx, 0xffffffff
je 0x140037ae1
mov rax, qword [rsp + 0x528]
mov rcx, qword [0x1403954d8]
mov rdx, qword [rsp + 0x540]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rdx
call fcn.140037180
xorps xmm15, xmm15
mov r14, qword [0x1407f2f18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
nop
nop
lea rax, [0x1407f2d70]
call fcn.14000d1e0
mov rax, qword [rsp + 0x548]
mov rcx, qword [rax]
mov rdx, qword [rsp + 0x540]
mov rbx, qword [rdx + 0x98]
test rcx, rcx
je 0x140037946
cmp qword [rcx], rbx
jae 0x140037946
nop dword [rax + rax]
cmp qword [rcx + 8], rbx
ja 0x140037980
mov rsi, qword [rax + 0x50]
test rsi, rsi
je 0x14003795f
cmp qword [rsi], rbx
jae 0x14003795f
cmp qword [rsi + 8], rbx
jbe 0x14003795f
mov rcx, rsi
jmp 0x140037980
mov rsi, qword [rax + 0x90]
test rsi, rsi
je 0x14003797b
cmp qword [rsi], rbx
jae 0x14003797b
cmp qword [rsi + 8], rbx
jbe 0x14003797b
mov rcx, rsi
jmp 0x140037980
xor ecx, ecx
nop dword [rax]
test rcx, rcx
je 0x1400379c7
cmp byte [rcx + 0xb1], 0
jne 0x1400379a9
mov rsi, qword [rcx + 0x30]
mov rsi, qword [rsi + 0xa0]
test rsi, rsi
je 0x1400379c3
test byte [rsi], al
cmp byte [rsi + 0x22e8], 0
je 0x1400379bf
nop
mov esi, dword [rcx + 0x90]
and esi, 0xffffefff
cmp esi, 2
sete sil
jmp 0x1400379c9
xor esi, esi
jmp 0x1400379c9
xor esi, esi
jmp 0x1400379c9
xor esi, esi
test sil, sil
je 0x140037a5f
mov rbx, qword [rdx + 0xf8]
mov rsi, qword [rdx + 0x98]
mov rax, rcx
mov rcx, rsi
xor edi, edi
call fcn.14003b280
test al, al
je 0x140037a57
lea rax, [0x14006e240]
mov rcx, qword [rsp + 0x540]
mov rdx, qword [rcx + 0x98]
add rdx, 0xfffffffffffffff8
mov rsi, rdx
nop
mov qword [rdx], rbx
nop
mov qword [rcx + 0x98], rsi
nop
mov qword [rcx + 0xf8], rax
mov rax, qword [rsp + 0x528]
mov rdx, qword [0x1403954e0]
mov qword [rsp], rdx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rcx
nop
call fcn.140037180
xorps xmm15, xmm15
mov r14, qword [0x1407f2f18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x548]
xor ecx, ecx
xchg dword [rax + 0x5f8], ecx
nop
mov ecx, 1
lock xadd dword [rax + 0x440], ecx
mov rax, qword [rsp + 0x528]
mov rcx, qword [0x140395508]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.140037100
xorps xmm15, xmm15
mov r14, qword [0x1407f2f18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x528]
mov rcx, qword [0x140395440]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
nop dword [rax]
call fcn.140037100
xorps xmm15, xmm15
mov r14, qword [0x1407f2f18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x550
pop rbp
nop
ret
nop
nop
lea rax, [0x1407f2d70]
call fcn.14000d1e0
mov rcx, qword [rsp + 0x528]
mov rdx, qword [0x140395440]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
call fcn.140037100
xorps xmm15, xmm15
mov r14, qword [0x1407f2f18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
xor ecx, ecx
mov rdx, qword [rsp + 0x548]
xchg dword [rdx + 0x5f8], ecx
nop
mov ecx, 1
lock xadd dword [rdx + 0x440], ecx
add rsp, 0x550
pop rbp
ret
nop
mov eax, 1
lock xadd dword [rcx + 0x440], eax
add rsp, 0x550
pop rbp
ret
nop dword [rax]
call fcn.14006e620
xorps xmm15, xmm15
mov r14, qword [0x1407f2f18]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x530], rax
call fcn.14003b740
lea rax, [0x1404a3a6a]
mov ebx, 0x30
call fcn.14003bfc0
mov rax, qword [rsp + 0x530]
call fcn.14003bd00
call fcn.14003b980
call fcn.14003b7a0
lea rax, [0x1404a0dc2]
mov ebx, 0x28
nop dword [rax + rax]
call fcn.140039ca0
lea rax, [0x14048f7c5]
mov ebx, 0xc
call fcn.140039ca0
nop
mov qword [rsp + 8], rax
nop dword [rax]
call fcn.14006aec0
mov rax, qword [rsp + 8]
jmp fcn.140037720