Function at 0x140081bfc
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
mov rsi, rdx
mov rbp, rcx
movzx edi, byte [rdx]
cmp rdi, 0x14
je 0x140081ffa
cmp edi, 0x15
jne 0x140082553
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rbp
mov r14, qword [rsi + 8]
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x28], rsi
mov r15, qword [rsi + 0x18]
shl r15, 6
add r15, r14
lea rcx, [rsp + 0x100]
mov qword [rcx], r14
xor dword [rax - 0x77], ecx
or byte [r9 + rcx*4 + 0x71], cl
adc byte [rcx + rcx*4 + 0x79], cl
sbb dh, al
loopne 0x140081c7e
and qword [rcx + 0x20], 0
lea rax, [rsp + 0x128]
and qword [rax], 0
lea rsi, [rsp + 0x6f]
lea rdi, [rsp + 0xa8]
mov eax, 2
mov qword [rsp + 0x48], rax
lea rbp, [0x14031b2ec]
lea r13, [rsp + 0x50]
xor eax, eax
mov qword [rsp + 0x38], rax
xor ebx, ebx
inc rbx
mov rax, r14
cmp r14, r15
je 0x1400820fb
lea r14, [rax + 0x40]
mov qword [rsp + 0x110], r14
movzx r12d, byte [rax]
cmp r12d, 0x16
je 0x1400820fb
movups xmm0, xmmword [rax + 1]
movups xmm1, xmmword [rax + 0x11]
movups xmm2, xmmword [rax + 0x21]
movups xmm3, xmmword [rax + 0x30]
movups xmmword [rsp + 0x7f], xmm3
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rax + 1]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rsp + 0xa1]
movups xmmword [rax + 0xf], xmm1
movups xmmword [rax], xmm0
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x1a0], xmm1
movaps xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x120], rbx
and al, 0x20
add dword [rax], eax
add byte [rax - 0x73], cl
mov word [rax + riz*8], fs
add byte [rax], al
add al, ch
cmpsd dword [rsi], dword [rdi]
invalid
std
dec dword [rdi]
sub byte [rsp + 0x190], al
movaps xmm1, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0xf0], xmm1
movaps xmmword [rsp + 0xe0], xmm0
mov byte [rsp + 0xa0], r12b
dec r12d
cmp r12d, 0xe
ja case.0x140081d72.2
movsxd rax, dword [rbp + r12*4]
add rax, rbp
jmp rax
mov al, byte [rsp + 0xa1]
cmp al, 1
sete cl
mov dl, 2
sub dl, cl
test al, al
jmp 0x140081d9e
mov rax, qword [rsp + 0xa8]
cmp rax, 1
sete cl
mov dl, 2
sub dl, cl
test rax, rax
movzx eax, dl
mov ecx, 0
cmove eax, ecx
mov byte [rsp + 0x51], al
mov byte [rsp + 0x50], 0
jmp 0x140081e22
mov rdx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb8]
mov rcx, r13
call fcn.14004581c
jmp 0x140081e00
mov rdx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb0]
mov rcx, r13
call fcn.14004581c
jmp 0x140081e22
mov rdx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb8]
mov rcx, r13
call fcn.1400457a9
mov rcx, rdi
call fcn.1400eb7d6
jmp 0x140081e2f
mov rdx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb0]
mov rcx, r13
call fcn.1400457a9
lea rcx, [rsp + 0xa0]
call fcn.1400636b5
cmp byte [rsp + 0x50], 0
jne 0x140082305
movzx eax, byte [rsp + 0x51]
test rax, rax
je 0x140081e92
cmp eax, 1
je 0x140081f33
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
mov byte [rsp + 0xe0], 0x16
mov rcx, r13
lea rdx, [rsp + 0xa0]
call fcn.140066690
mov rcx, r13
call fcn.1400636b5
jmp 0x140081ca5
cmp qword [rsp + 0x48], 2
jne 0x140082637
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0x1a0], xmm1
movaps xmmword [rsp + 0x190], xmm0
mov byte [rsp + 0xe0], 0x16
lea r12, [rsp + 0xa0]
mov rcx, r12
lea rdx, [rsp + 0x190]
call fcn.140066690
mov rcx, r13
mov rdx, r12
call fcn.14009cafc
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x48], rcx
cmp rcx, 2
je 0x1400825db
mov rax, qword [rsi + 0x11]
mov qword [rsp + 0x170], rax
movups xmm0, xmmword [rsi - 0xf]
movups xmm1, xmmword [rsi + 1]
movaps xmmword [rsp + 0x160], xmm1
movaps xmmword [rsp + 0x150], xmm0
jmp 0x140081ca5
cmp qword [rsp + 0x38], 0
jne 0x14008264a
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
mov byte [rsp + 0xe0], 0x16
mov rcx, r13
lea rdx, [rsp + 0xa0]
call fcn.140066690
lea rcx, [rsp + 0x190]
mov rdx, r13
call fcn.14006d0b2
mov rdi, qword [rsp + 0x190]
mov r12, qword [rsp + 0x198]
test rdi, rdi
je 0x1400825f7
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x148], rax
lea rcx, [rsp + 0x128]
call fcn.140062b2f
mov rax, rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x1d8], r12
mov qword [rsp + 0x130], r12
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x138], rax
lea rdi, [rsp + 0xa8]
jmp 0x140081ca5
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov r8, rdx
shl r8, 5
add r8, rax
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x158], rcx
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], r8
and qword [rsp + 0x170], 0
test rdx, rdx
je 0x140082536
lea rcx, [rax + 0x20]
mov qword [rsp + 0x160], rcx
mov cl, byte [rax]
cmp cl, 0x16
je 0x140082536
movups xmm0, xmmword [rax + 1]
movups xmm1, xmmword [rax + 0x10]
lea rdx, [rsp + 0xa0]
xchg esp, eax
and al, 0xa0
add byte [rax], al
add byte [rdi], cl
adc dword [rdx + 0x10], ecx
movups xmmword [rdx + 1], xmm0
mov byte [rdx], cl
mov qword [rsp + 0x170], 1
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.14009cafc
mov r15, qword [rbx]
cmp r15, 2
je 0x1400820de
lea r14, [rsp + 0x50]
mov rbx, qword [r14 + 8]
movups xmm0, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
movups xmm0, xmmword [r14 + 0x20]
movaps xmmword [rsp + 0xf0], xmm0
and al, 0xf0
add byte [rax], al
add byte [rcx - 0x75], cl
xor byte [rax - 0x77], r9b
test byte [rax + rax], ah
add dword [rax], eax
add byte [rax - 0x73], cl
xchg esp, eax
and al, 0x50
add dword [rax], eax
add byte [rcx + rcx*4 - 0xf], cl
call fcn.140067af3
cmp qword [r14], 0
je 0x1400823e2
mov rbx, qword [rsp + 0x58]
mov r15, qword [rsp + 0x48]
cmp r15, 2
add cl, byte [rax - 0x75]
insb byte [rdi], dx
and al, 0x40
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
je 0x140082572
invalid
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14008258b
add al, 0
invalid
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x210], rax
movaps xmm0, xmmword [rsp + 0x150]
test byte [rax + rdx*2], ah
add dword [rax], eax
invalid
movaps xmm1, xmmword [rsp + 0x160]
movups xmmword [rsp + 0x200], xmm1
movups xmmword [rsp + 0x1f0], xmm0
mov qword [rsp + 0x1e0], r15
mov rbx, qword [rsp + 0x98]
mov qword [rsp + 0x1e8], rbx
mov dword [rsp + 0x1e8], ebx
mov qword [rsp + 0x218], rcx
mov rax, qword [rsp + 0x1d8]
test byte [rax + rbx*8], ah
add dword [rax], eax
invalid
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x148]
test byte [rax + rcx*2], ah
add dword [rax], eax
invalid
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x100]
mov eax, dword [rsp + 0x100]
movups xmm0, xmmword [rsp + 0x108]
movaps xmmword [rsp + 0x230], xmm0
mov rcx, qword [rsp + 0x118]
mov qword [rsp + 0x240], rcx
mov dword [rsp + 0x240], ecx
test rax, rax
je 0x140082355
mov rsi, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
movaps xmm0, xmmword [rsp + 0x230]
movups xmmword [rsp + 0x130], xmm0
mov rdi, qword [rsp + 0x240]
mov qword [rsp + 0x140], rdi
mov rax, qword [rsp + 0x138]
lea rbx, [rsp + 0xc0]
lea r12, [rsp + 0x170]
add byte [rbp + rcx*4 + 0x7c], cl
and al, 0x58
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
xor r12d, r12d
jmp 0x1400823b1
mov rax, qword [rsp + 0x58]
lea rdx, str.struct_ChatLocation_with_2_elements
lea r8, [0x140273eb8]
xor ecx, ecx
lea r8, [0x1402740d8]
lea rdx, [rsp + 0x190]
mov rcx, rsi
call fcn.14026d2f1
mov rbx, rax
jmp 0x1400824e5
lea rcx, [0x1402e8a33]
mov edx, 8
call fcn.14026d161
mov rbx, rax
jmp 0x140082319
lea rcx, [0x1402e87f7]
mov edx, 7
call fcn.14026d161
mov r12, rax
jmp 0x140082606
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x98]
jmp 0x140082319
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
lea r14, [rsp + 0x100]
jmp 0x14008233e
lea r8, [0x140274318]
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x190]
call fcn.14026d2f1
mov rbx, rax
jmp 0x14008230a
lea rcx, [0x1402e8a33]
mov edx, 8
call fcn.14026d227
jmp 0x14008262f
lea rcx, [0x1402e87f7]
mov edx, 7
call fcn.14026d227
mov rbx, rax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
lea r14, [rsp + 0x100]
jmp 0x14008232e