Function at 0x1400170bc
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x308
mov r14, rdx
mov rbx, rcx
mov rcx, rdx
call fcn.140002c22
movabs r13, 0x8000000000000000
test rax, rax
jne 0x14001710c
lea rsi, [rsp + 0x148]
mov rcx, rsi
mov rdx, r14
call fcn.140002b50
cmp byte [rsi], 0
je 0x140017127
mov rax, qword [rsp + 0x150]
mov qword [rbx + 8], rax
mov qword [rbx], r13
add rsp, 0x308
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsp + 0x149], 0
je 0x140017e5b
cmp byte [rsp + 0x14a], 0x5b
jne 0x140017e77
dec byte [r14 + 0x30]
je 0x140017e93
mov qword [rsp + 0x38], rbx
inc qword [r14 + 0x28]
lea rax, [rsp + 0x130]
and qword [rax], 0
mov qword [rax + 8], 8
and qword [rax + 0x10], 0
mov r13b, 1
mov eax, 8
mov qword [rsp + 0x98], rax
xor eax, eax
mov qword [rsp + 0x70], rax
lea r12, [rsp + 0xa0]
lea rbp, [rsp + 0x88]
lea rbx, [0x1402e978d]
lea rdi, [0x1402ea253]
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0x148]
mov rdx, r14
call fcn.140002b50
cmp byte [rsp + 0x148], 0
jne 0x140017d7a
cmp byte [rsp + 0x149], 0
je 0x140017755
mov al, byte [rsp + 0x14a]
movzx ecx, al
cmp ecx, 0x2c
je 0x140017219
movabs r14, 0x800000000000000e
cmp ecx, 0x5d
je 0x140017779
test r13b, r13b
mov r14, qword [rsp + 0x58]
lea rbx, [0x1402e978d]
jne 0x140017222
mov qword [rsp + 0xa0], 7
jmp 0x140017761
test r13b, r13b
je 0x1400176d2
movabs rsi, 0x8000000000000000
lea r13, [0x1403b019a]
cmp al, 0x5d
je 0x140017f3b
lea rcx, [rsp + 0x148]
mov rdx, r14
call fcn.140002b50
cmp byte [rsp + 0x148], 0
jne 0x140017dcf
cmp byte [rsp + 0x149], 0
je 0x140017f27
movzx eax, byte [rsp + 0x14a]
cmp eax, 0x7b
jne 0x140017ef4
dec byte [r14 + 0x30]
je 0x140017f70
inc qword [r14 + 0x28]
mov qword [rsp + 0x88], r14
mov byte [rsp + 0x90], 1
mov qword [rsp + 0x148], rsi
mov al, 1
mov dword [rsp + 0x7c], eax
mov r14, rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
xor eax, eax
mov qword [rsp + 0x128], rax
mov rcx, r12
mov rdx, rbp
call fcn.14001e6e7
cmp qword [rsp + 0xa0], 0
mov r15, qword [rsp + 0xa8]
jne 0x1400175dc
test r15, r15
je 0x140017643
mov rsi, qword [rsp + 0xb0]
mov r9d, 6
mov rcx, r15
mov rdx, rsi
mov r8, r13
call fcn.14006436c
test al, al
jne 0x1400173bf
mov r9d, 6
mov rcx, r15
mov rdx, rsi
lea r8, [0x1403b0213]
call fcn.14006436c
test al, al
jne 0x1400173f2
mov r9d, 3
mov rcx, r15
mov rdx, rsi
lea r8, [0x1402e8a18]
call fcn.14006436c
test al, al
jne 0x140017420
mov r9d, 4
mov rcx, r15
mov rdx, rsi
mov r8, rdi
call fcn.14006436c
test al, al
jne 0x140017481
mov r9d, 8
mov rcx, r15
mov rdx, rsi
lea r8, [0x1402ea257]
call fcn.14006436c
test al, al
jne 0x14001751e
mov r9d, 4
mov rcx, r15
mov rdx, rsi
mov r8, rbx
call fcn.14006436c
test al, al
jne 0x14001757f
mov rcx, r12
mov rdx, rbp
call fcn.14001e8d6
mov rcx, r12
call fcn.1400083b0
jmp 0x1400172c0
mov rcx, qword [rsp + 0x88]
call fcn.140016fff
mov r15, rdx
test rax, rax
jne 0x1400175dc
mov eax, 1
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x1d0], r15
jmp 0x1400172c0
mov rcx, qword [rsp + 0x88]
call fcn.140016fff
mov r15, rdx
test rax, rax
jne 0x1400175dc
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x1c8], r15
jmp 0x1400172c0
mov rdx, qword [rsp + 0x88]
mov rcx, r12
call fcn.1400183a3
mov rsi, qword [rsp + 0xa0]
mov r15, qword [rsp + 0xa8]
movabs rax, 0x8000000000000000
cmp rsi, rax
je 0x1400175dc
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x1c0], rax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
call fcn.140112200
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x50], rsi
jmp 0x1400172c0
mov rdx, qword [rsp + 0x88]
mov rcx, r12
call fcn.140018bfe
mov r14, qword [rsp + 0xa0]
mov r15, qword [rsp + 0xa8]
movabs rax, 0x8000000000000000
cmp r14, rax
je 0x1400175dc
mov ecx, listen
mov r13, r12
mov r12, rbp
lea rbp, [rsp + 0x1d8]
mov rdi, rbp
lea rsi, [rsp + 0xb0]
rep movsq qword [rdi], qword [rsi]
lea rcx, [rsp + 0x148]
call fcn.14000af6b
mov qword [rsp + 0x148], r14
mov qword [rsp + 0x150], r15
mov ecx, listen
lea rdi, [rsp + 0x158]
mov rsi, rbp
mov rbp, r12
mov r12, r13
lea r13, [0x1403b019a]
rep movsq qword [rdi], qword [rsi]
lea rdi, [0x1402ea253]
jmp 0x1400172c0
mov rdx, qword [rsp + 0x88]
mov rcx, r12
call fcn.1400183a3
mov rsi, qword [rsp + 0xa0]
mov r15, qword [rsp + 0xa8]
movabs rax, 0x8000000000000000
cmp rsi, rax
je 0x1400175dc
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x1b8], rax
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
call fcn.140112200
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x68], r15
jmp 0x1400172c0
mov rdx, qword [rsp + 0x88]
mov rcx, r12
call fcn.1400183a3
mov rsi, qword [rsp + 0xa0]
mov r15, qword [rsp + 0xa8]
movabs rax, 0x8000000000000000
cmp rsi, rax
je 0x1400175dc
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
call fcn.140112200
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], rsi
jmp 0x1400172c0
mov r13b, 1
mov sil, 1
mov dil, 1
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
call fcn.140112200
test r13b, r13b
je 0x14001760b
lea rcx, [rsp + 0x148]
call fcn.14000af6b
test sil, sil
je 0x14001761f
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
call fcn.140112200
test dil, dil
je 0x140017631
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.140112200
movabs rbx, 0x800000000000000e
mov r14, rbx
jmp 0x140017aaa
movabs r15, 0x8000000000000000
cmp qword [rsp + 0x40], r15
je 0x140017838
mov r9d, listen
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
mov rsi, qword [rsp + 0x80]
mov rdx, rsi
lea r8, str.text_mentiontext_linkmentionhashtagcashtagbot_commandbolditalicunderlinestrikethroughprem
call fcn.14006436c
mov r13d, eax
test al, al
mov byte [rsp + 0x2b], al
je 0x1400176f9
cmp r14, r15
je 0x140017886
mov rdx, qword [rsp + 0x160]
mov r15, qword [rsp + 0x150]
mov rax, qword [rsp + 0x158]
mov ecx, 0xa
lea r8, [rsp + 0x1d8]
mov rdi, r8
lea rsi, [rsp + 0x168]
rep movsq qword [rdi], qword [rsi]
mov r13b, 1
mov cl, 1
mov dword [rsp + 0x2c], ecx
jmp 0x1400179ed
inc qword [r14 + 0x28]
mov rcx, r12
mov rdx, r14
call fcn.140002b50
cmp byte [rsp + 0xa0], 0
je 0x1400177b2
mov r15, qword [rsp + 0xa8]
jmp 0x14001776f
mov r9d, 9
mov rcx, rbx
mov rdx, rsi
lea r8, [0x1402ea364]
call fcn.14006436c
test al, al
je 0x140017788
mov rax, r15
mov r15, qword [rsp + 0x50]
cmp r15, rax
lea r8, [rsp + 0x1d8]
je 0x1400178cc
mov r13b, 1
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x1c0]
movabs r14, 0x800000000000000d
jmp 0x1400179ed
mov qword [rsp + 0xa0], 2
mov rcx, r14
mov rdx, r12
call fcn.1402e2afc
mov r15, rax
movabs r14, 0x800000000000000f
movabs rax, 0x800000000000000e
jmp 0x140017b3a
mov r9d, 7
mov rcx, rbx
mov rdx, rsi
lea r8, [0x1402ea36d]
call fcn.14006436c
test al, al
je 0x1400177d6
mov al, 1
mov dword [rsp + 0x2c], eax
mov r14, r15
jmp 0x1400179e2
cmp byte [rsp + 0xa1], 0
movabs rsi, 0x8000000000000000
je 0x140017f27
mov al, byte [rsp + 0xa2]
jmp 0x14001722c
mov r9d, 7
mov rcx, rbx
mov rdx, rsi
lea r8, [0x1402ea374]
call fcn.14006436c
test al, al
je 0x140017807
mov al, 1
mov dword [rsp + 0x2c], eax
movabs r14, 0x8000000000000001
jmp 0x1400179e2
mov r9d, 7
mov rcx, rbx
mov rdx, rsi
lea r8, [0x1402ea37b]
call fcn.14006436c
test al, al
je 0x140017855
mov al, 1
mov dword [rsp + 0x2c], eax
movabs r14, 0x8000000000000002
jmp 0x1400179e2
mov edx, 4
mov rcx, rbx
call fcn.1402dec24
mov r15, rax
mov r13b, 1
xor edi, edi
mov sil, 1
jmp 0x1400175e5
mov r9d, listen
mov rcx, rbx
mov rdx, rsi
lea r8, [0x1402ea382]
call fcn.14006436c
test al, al
je 0x14001789b
mov al, 1
mov dword [rsp + 0x2c], eax
movabs r14, 0x8000000000000003
jmp 0x1400179e2
mov edx, 4
mov rcx, rdi
call fcn.1402dec24
mov r15, rax
mov sil, 1
jmp 0x1400178e2
mov r9d, 3
mov rcx, rbx
mov rdx, rsi
lea r8, [0x1402e8a18]
call fcn.14006436c
test al, al
je 0x1400178fa
mov al, 1
mov dword [rsp + 0x2c], eax
movabs r14, 0x8000000000000004
jmp 0x1400179e2
mov edx, 3
lea rcx, [0x1402e8a18]
call fcn.1402dec24
mov r15, rax
xor esi, esi
xor r13b, 1
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.1400a3a56
xor edi, edi
jmp 0x1400175ea
mov r9d, 5
mov rcx, rbx
mov rdx, rsi
lea r8, [0x1403b0245]
call fcn.14006436c
test al, al
je 0x14001792b
mov al, 1
mov dword [rsp + 0x2c], eax
movabs r14, 0x8000000000000005
jmp 0x1400179e2
mov r9d, listen
mov rcx, rbx
mov rdx, rsi
lea r8, [0x1403b0144]
call fcn.14006436c
test al, al
je 0x14001795c
mov al, 1
mov dword [rsp + 0x2c], eax
movabs r14, 0x8000000000000006
jmp 0x1400179e2
mov r9d, 4
mov rcx, rbx
mov rdx, rsi
lea r8, [0x1402ea38d]
call fcn.14006436c
test al, al
je 0x14001798a
mov al, 1
mov dword [rsp + 0x2c], eax
movabs r14, 0x8000000000000007
jmp 0x1400179e2
mov al, 1
mov dword [rsp + 0x2c], eax
mov r9d, 6
mov rcx, rbx
mov rdx, rsi
lea r8, [0x1402ea391]
call fcn.14006436c
test al, al
je 0x1400179b8
movabs r14, 0x8000000000000008
jmp 0x1400179e2
mov r9d, 9
mov rcx, rbx
mov rdx, rsi
lea r8, [0x1402ea397]
call fcn.14006436c
test al, al
je 0x140017c9a
movabs r14, 0x8000000000000009
mov r13b, 1
lea r8, [rsp + 0x1d8]
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rdx
mov ecx, 0xa
lea rdi, [rsp + 0xc0]
mov rsi, r8
rep movsq qword [rdi], qword [rsi]
cmp qword [rsp + 0x128], 0
je 0x140017be1
test byte [rsp + 0x7c], 1
jne 0x140017c2a
mov ecx, listen
lea rdi, [rsp + 0x238]
lea rsi, [rsp + 0xb0]
rep movsq qword [rdi], qword [rsi]
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.1400a3a56
test r13b, r13b
je 0x140017a73
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
call fcn.140112200
cmp byte [rsp + 0x2b], 0
mov rsi, qword [rsp + 0x50]
jne 0x140017a8c
lea rcx, [rsp + 0x148]
call fcn.14000af6b
cmp byte [rsp + 0x2c], 0
je 0x140017aa0
mov rcx, rsi
mov rdx, qword [rsp + 0x60]
call fcn.140112200
movabs rbx, 0x800000000000000e
mov rcx, qword [rsp + 0x58]
inc byte [rcx + 0x30]
call fcn.140002cd1
mov r13, rax
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], r15
mov ecx, listen
lea rdi, [rsp + 0xb0]
lea rsi, [rsp + 0x238]
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], r13
cmp r14, rbx
je 0x140017f92
test r13, r13
jne 0x140017fab
mov rax, rbx
mov ecx, recvfrom
lea rdi, [rsp + 0x298]
lea rsi, [rsp + 0xb0]
rep movsq qword [rdi], qword [rsi]
xor r13d, r13d
lea rbx, [0x1402e978d]
cmp r14, rax
je 0x140017da9
movabs rax, 0x800000000000000f
cmp r14, rax
je 0x140017d93
mov rax, qword [rsp + 0x70]
cmp rax, qword [rsp + 0x130]
jne 0x140017b89
lea rcx, [rsp + 0x130]
call fcn.1400163ee
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x70]
mov rax, rdx
shl rax, 7
mov rcx, qword [rsp + 0x98]
lea rdi, [rcx + rax]
add rdi, 0x10
mov qword [rdi - 0x10], r14
mov qword [rdi - 8], r15
mov ecx, recvfrom
lea rsi, [rsp + 0x298]
rep movsq qword [rdi], qword [rsi]
inc rdx
mov rax, rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x140], rdx
mov r14, qword [rsp + 0x58]
lea rdi, [0x1402ea253]
jmp 0x1400171a9
mov edx, 6
lea rcx, [0x1403b019a]
call fcn.1402dec24
mov r15, rax
mov rcx, r12
call fcn.14000a9fd
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.1400a3a56
test r13b, r13b
je 0x140017c1e
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
call fcn.140112200
cmp byte [rsp + 0x2b], 0
mov rsi, qword [rsp + 0x50]
jmp 0x140017c71
mov edx, 6
lea rcx, [0x1403b0213]
call fcn.1402dec24
mov r15, rax
mov rcx, r12
call fcn.14000a9fd
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.1400a3a56
test r13b, r13b
mov rsi, qword [rsp + 0x50]
je 0x140017c6c
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
call fcn.140112200
cmp byte [rsp + 0x2b], 0
mov edi, dword [rsp + 0x2c]
jne 0x140017c84
lea rcx, [rsp + 0x148]
call fcn.14000af6b
test dil, dil
je 0x140017631
mov rcx, rsi
mov rdx, qword [rsp + 0x60]
jmp 0x14001762c
mov r9d, reloc.WS2_32.dll_listen
mov rcx, rbx
mov rdx, rsi
lea r8, [0x1402ea3a0]
call fcn.14006436c
test al, al
je 0x140017cc2
movabs r14, 0x800000000000000a
jmp 0x140017cef
mov r9d, 4
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x80]
lea r8, [0x1403a789f]
call fcn.14006436c
test al, al
je 0x140017cf4
movabs r14, 0x800000000000000b
mov r13b, 1
jmp 0x140017d36
mov r9d, 3
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x80]
lea r8, [0x1402ea3ad]
call fcn.14006436c
test al, al
je 0x140017d48
xor r13d, r13d
mov r15, qword [rsp + 0x48]
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x1b8]
movabs r14, 0x800000000000000c
lea r8, [rsp + 0x1d8]
mov rbx, qword [rsp + 0x30]
jmp 0x1400179ed
mov r9d, reloc.WS2_32.dll_ntohs
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
mov rdx, qword [rsp + 0x80]
lea r8, [0x1402ea3b0]
call fcn.1402ded9d
mov r15, rax
mov sil, 1
mov r13b, byte [rsp + 0x2b]
jmp 0x1400178e2
mov r15, qword [rsp + 0x150]
mov rbx, qword [rsp + 0x38]
movabs r13, 0x8000000000000000
jmp 0x140017ddf
mov rbx, qword [rsp + 0x38]
movabs r13, 0x8000000000000000
mov r14, qword [rsp + 0x58]
jmp 0x140017ddf
mov rdi, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x38]
movabs r13, 0x8000000000000000
mov r15, qword [rsp + 0x98]
mov r14, qword [rsp + 0x58]
jmp 0x140017df6
mov r13, rsi
mov r15, qword [rsp + 0x150]
mov rbx, qword [rsp + 0x38]
lea rcx, [rsp + 0x130]
call fcn.14000b251
movabs rdi, 0x8000000000000000
inc byte [r14 + 0x30]
mov rcx, r14
call fcn.140002d46
mov rsi, rax
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], r15
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rsi
movabs rax, 0x8000000000000000
cmp rdi, rax
je 0x140017ec0
test rsi, rsi
jne 0x140017ed4
mov qword [rbx], rdi
mov qword [rbx + 8], r15
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
jmp 0x140017113
lea rdx, [rsp + 0xa0]
mov qword [rdx], 5
mov rcx, r14
call fcn.1402e2afc
jmp 0x14001710c
lea r8, [0x1402eab50]
lea rdx, [rsp + 0x148]
mov rcx, r14
call fcn.1402de729
mov r15, rax
jmp 0x140017ee4
lea rdx, [rsp + 0xa0]
mov qword [rdx], reloc.WS2_32.dll_setsockopt
mov rcx, r14
call fcn.1402e2afc
mov qword [rbx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rbx], rax
jmp 0x140017113
test rsi, rsi
je 0x140017ee4
lea rcx, [rsp + 0xb8]
call fcn.140009c2e
jmp 0x140017ee4
lea rcx, [rsp + 0xa0]
call fcn.14000b251
mov r15, rsi
mov rcx, r14
mov rdx, r15
call fcn.1402de4b0
jmp 0x14001710c
mov r13, rsi
cmp eax, 0x5b
jne 0x140017f4f
dec byte [r14 + 0x30]
mov rbx, qword [rsp + 0x38]
jne 0x140017fe2
lea rdx, [rsp + 0xa0]
mov qword [rdx], reloc.WS2_32.dll_setsockopt
mov rcx, r14
call fcn.1402e2afc
jmp 0x140017fda
mov r13, rsi
lea rdx, [rsp + 0xa0]
mov qword [rdx], 5
jmp 0x140017f82
mov r13, rsi
lea rdx, [rsp + 0xa0]
mov qword [rdx], reloc.WS2_32.dll_select
jmp 0x140017f82
lea r8, [0x1402e93c8]
lea rdx, [rsp + 0x148]
mov rcx, r14
call fcn.1402de729
mov r15, rax
mov rbx, qword [rsp + 0x38]
jmp 0x140017fcf
mov r13, rsi
lea rdx, [rsp + 0xa0]
mov qword [rdx], reloc.WS2_32.dll_setsockopt
mov rcx, r14
call fcn.1402e2afc
mov r15, rax
jmp 0x140017dda
test r13, r13
mov rbx, qword [rsp + 0x38]
je 0x140017fc0
lea rcx, [rsp + 0x120]
call fcn.140009c2e
jmp 0x140017fc0
lea rcx, [rsp + 0xa0]
call fcn.14000a9fd
mov r15, r13
mov rbx, qword [rsp + 0x38]
movabs r13, 0x8000000000000000
mov r14, qword [rsp + 0x58]
mov rcx, r14
mov rdx, r15
call fcn.1402de4b0
mov r15, rax
jmp 0x140017ddf
inc qword [r14 + 0x28]
lea rsi, [rsp + 0xa0]
mov byte [rsi], 0xa
lea r8, [0x1402e93c8]
lea rdx, [rsp + 0x148]
mov rcx, rsi
call fcn.1402e29ef
mov r15, rax
inc byte [r14 + 0x30]
mov rcx, r14
call fcn.140002d46
movabs rcx, 0x800000000000000e
mov qword [rsi], rcx
mov qword [rsi + 8], r15
mov qword [rsi + 0x80], rax
test rax, rax
je 0x140017fcf
lea rcx, [rsp + 0x120]
call fcn.140009c2e
jmp 0x140017fcf