Function at 0x1400077c9
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x738
mov rbx, qword [rcx + 0xb0]
lock inc qword [rbx]
jle 0x140008173
mov rsi, rcx
mov rcx, qword [rcx + 0x98]
mov rdx, qword [rsi + 0xa0]
call fcn.140075f32
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x98], rdx
mov rbp, qword [rsi + 0xa8]
lock inc qword [rbp]
jle 0x140008173
lea r14, [rsi + 0x98]
mov ecx, 0x80
call fcn.140192d1e
lea rcx, [rsp + 0xa8]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
and qword [rcx + 0x10], 0
lea rdx, [rsp + 0xc0]
mov qword [rdx], rcx
mov r12d, dword [rsi]
mov r9d, dword [rsi + 8]
cmp r12d, 1
mov ecx, 3
sbb rcx, 0
movzx edi, byte [rsi + 0x94]
xor eax, eax
cmp rdi, 3
setne al
add rax, rcx
mov r15, qword [rsi + 0x78]
cmp r15, 1
sbb rax, 0xffffffffffffffff
lea rcx, [rsi + 0x78]
mov qword [rsp + 0x90], rcx
mov r8b, byte [rsi + 0x90]
xor ecx, ecx
mov byte [rsp + 0x34], r8b
cmp r8b, 2
setne cl
mov r10b, byte [rsi + 0x91]
xor r8d, r8d
mov byte [rsp + 0x35], r10b
cmp r10b, 2
setne r8b
add r8, rcx
mov r10b, byte [rsi + 0x92]
xor ecx, ecx
mov byte [rsp + 0x36], r10b
cmp r10b, 2
setne cl
add rcx, r8
mov qword [rsp + 0x70], r9
add rcx, r9
add rcx, rax
mov r8b, byte [rsi + 0x93]
xor eax, eax
mov byte [rsp + 0x37], r8b
cmp r8b, 2
setne al
lea r8, [rsi + 0x10]
mov qword [rsp + 0x88], r8
mov r9b, byte [rsi + 0x43]
xor r8d, r8d
mov qword [rsp + 0x80], r9
cmp r9b, 6
setne r8b
add r8, rax
add r8, rcx
lea r13, [rsp + 0xc8]
mov rcx, r13
call fcn.1400a81ff
mov al, byte [r13 + 8]
mov r13, qword [r13]
cmp al, 3
je 0x140007efc
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x58]
mov qword [rbp], r13
mov byte [rbp + 8], al
lea rdx, [0x1402e8506]
mov r8d, 7
mov rcx, rbp
call fcn.1400a14a0
mov r13, qword [rbp]
mov rcx, qword [r13]
call fcn.140004528
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x140007992
mov rdx, qword [rsi + 0x70]
mov r8, qword [r13]
call fcn.1400729f5
jmp 0x140007aaf
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x68], r14
mov r9, qword [rsi + 0x68]
mov r8, r9
neg r8
cmovs r8, r9
mov r14d, 0x14
cmp r8, 0x2710
jb 0x140007a17
mov r10d, 0x14
mov r11d, 0x2710
mov bp, 0x64
lea rbx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
mov rax, r8
xor edx, edx
div r11
mov rcx, rax
mov eax, edx
xor edx, edx
div bp
movzx eax, ax
movzx edx, dx
lea r14, [r10 - 4]
movzx eax, word [rbx + rax*2]
mov word [rsp + r10 + 0xc4], ax
movzx eax, word [rbx + rdx*2]
mov word [rsp + r10 + 0xc6], ax
mov r10, r14
cmp r8, 0x5f5e0ff
mov r8, rcx
ja 0x1400079d0
jmp 0x140007a1a
mov rcx, r8
cmp rcx, 0x63
jbe 0x140007a49
mov r8d, 0x64
mov rax, rcx
xor edx, edx
div r8
lea rcx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
movzx ecx, word [rcx + rdx*2]
mov word [rsp + r14 + 0xc6], cx
add r14, 0xfffffffffffffffe
mov rcx, rax
mov rbx, qword [rsp + 0x78]
cmp rcx, 0xa
jae 0x140007a64
add cl, 0x30
mov byte [rsp + r14 + 0xc7], cl
dec r14
jmp 0x140007a7c
lea rax, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
movzx eax, word [rax + rcx*2]
mov word [rsp + r14 + 0xc6], ax
add r14, 0xfffffffffffffffe
test r9, r9
jns 0x140007a8d
mov byte [rsp + r14 + 0xc7], 0x2d
dec r14
mov r8d, 0x14
sub r8, r14
lea rdx, [rsp + r14]
add rdx, 0xc8
mov rcx, qword [r13]
call fcn.14005e8a2
mov r14, qword [rsp + 0x68]
mov r9, qword [rsi + 0x48]
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x20], rax
lea rdx, [0x1402e84ff]
lea rcx, [rsp + 0x58]
mov r8d, 4
call fcn.14007253d
test r12d, r12d
je 0x140007af9
mov eax, dword [rsi + 4]
mov dword [rsp + 0x20], eax
lea rdx, str.message_thread_idparse_modehas_spoilerdisable_notificationprotect_contentreply_to_message_idallow_sending_without_replylimittimeoutdisable_web_page_previewdisable_content_type_detection
lea rcx, [rsp + 0x58]
mov r8d, 0x11
ud2