Function at 0x140019383
Capabilities:
Get geographical location

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rbx, rdx
mov rsi, rcx
mov rdi, qword [rdx]
lea r14, [rsp + 0x38]
mov rcx, r14
mov rdx, rdi
call fcn.140002e30
cmp byte [r14], 0
je 0x1400193bc
mov rax, qword [rsp + 0x40]
mov qword [rsi + 8], rax
mov byte [rsi], 1
jmp 0x1400194da
cmp byte [rsp + 0x39], 0
je 0x1400194f4
mov al, byte [rsp + 0x3a]
movzx ecx, al
cmp ecx, 0x2c
je 0x1400193e2
cmp ecx, 0x7d
jne 0x14001940d
mov word [rsi], 0x500
jmp 0x1400194da
mov cl, byte [rbx + 8]
test cl, cl
jne 0x140019410
inc qword [rdi + 0x28]
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rdi
call fcn.140002e30
cmp byte [rbx], 0
je 0x1400194e4
mov rax, qword [rsp + 0x28]
jmp 0x1400193b0
mov cl, byte [rbx + 8]
test cl, 1
je 0x140019521
mov byte [rbx + 8], 0
cmp al, 0x22
jne 0x140019502
inc qword [rdi + 0x28]
and qword [rdi + 0x10], 0
lea rdx, [rdi + 0x18]
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r8, rdi
call fcn.140111d47
cmp dword [rbx], 2
mov rdi, qword [rbx + 8]
jne 0x140019456
mov qword [rsi + 8], rdi
mov al, 1
jmp 0x1400194d8
mov rbx, qword [rsp + 0x30]
lea r8, str.resultfile_idfile_unique_idwidthheightdurationthumbmime_typefile_sizestruct_Animationperformertitlestruct_AudioIdidfromkindusernamefirst_namelast_nameGroupinvite_linkpinned_messagepermissionsslow_mode_delaysticker_set_namecan_set_sticker_setcan_send_messagescan_send_media_messagescan_send_pollscan_send_other_messagescan_add_web_page_previewscan_change_infocan_invite_userscan_pin_messagesstruct_Permissionsstruct_Photolocationphone_numberuser_idvcardstruct_Contactfile_namestruct_Documentstruct_Filetextanimationoffsetstart_parametercurrencytotal_amountstruct_Invoicelongitudelatitudestruct_LocationUserchatmessage_iddateTextentitieslengthedit_dateauthor_signaturereply_markupvia_botemailshipping_addressstruct_OrderInfovariant_identifierdatahashsecretstruct_Credentialscredentialsstruct_Datafront_sideselfietranslationreverse_sidefilesFileunique_idsizestruct_PhotoSizeallows_multiple_answerscorrect_option_idexplanationopen_periodclose_datevoter_countstruct_Optionquestionoptionstotal_voter_countis_closedis_anonymousinvoice_payloadshipping_option_idorder_infocountry_codestatecitystreet_line1street_line2post_codestruct_Addresspointx_shifty_shiftscalestruct_MaskPositionemojiset_nametelegram_payment_charge_idprovider_payment_charge_idstruct_SuccessfulPaymentis_botlanguage_codestruct_Useraddressfoursquare_idfoursquare_typestruct_Venuestruct_Videostruct_VideoNotestruct_Voice
mov r9d, 6
mov rcx, rdi
mov rdx, rbx
call fcn.140063a63
test al, al
je 0x14001947b
xor ecx, ecx
jmp 0x1400194d3
lea r8, [0x1403b9541]
mov r9d, 0xb
mov rcx, rdi
mov rdx, rbx
call fcn.140063a63
mov cl, 1
test al, al
jne 0x1400194d3
lea r8, [0x1403b7f89]
mov r9d, 0xa
mov rcx, rdi
mov rdx, rbx
call fcn.140063a63
mov cl, 2
test al, al
jne 0x1400194d3
lea r8, str.parametersstruct_Responsestruct_Response_with_4_elementsq_r__
mov r9d, 0xa
mov rcx, rdi
mov rdx, rbx
call fcn.140063a63
mov cl, 4
sub cl, al
mov byte [rsi + 1], cl
xor eax, eax
mov byte [rsi], al
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp byte [rsp + 0x21], 0
je 0x14001953a
mov al, byte [rsp + 0x22]
jmp 0x14001941d
lea rdx, [rsp + 0x20]
mov qword [rdx], 3
jmp 0x14001952d
movzx eax, al
lea rdx, [rsp + 0x20]
cmp eax, 0x7d
jne 0x140019518
mov qword [rdx], 0x12
jmp 0x14001952d
mov qword [rdx], 0x10
jmp 0x14001952d
lea rdx, [rsp + 0x20]
mov qword [rdx], 8
mov rcx, rdi
call fcn.1402e70a0
jmp 0x1400193b0
lea rdx, [rsp + 0x20]
mov qword [rdx], 5
jmp 0x14001952d