Function at 0x140019404
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.140002b50
cmp byte [r14], 0
je 0x14001943d
mov rax, qword [rsp + 0x40]
mov qword [rsi + 8], rax
mov byte [rsi], 1
jmp 0x140019558
cmp byte [rsp + 0x39], 0
je 0x140019578
mov al, byte [rsp + 0x3a]
movzx ecx, al
cmp ecx, 0x2c
je 0x140019463
cmp ecx, 0x7d
jne 0x14001948d
mov word [rsi], 0x500
jmp 0x140019558
cmp byte [rbx + 8], 0
jne 0x140019497
inc qword [rdi + 0x28]
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rdi
call fcn.140002b50
cmp byte [rbx], 0
je 0x140019586
mov rax, qword [rsp + 0x28]
jmp 0x140019431
cmp byte [rbx + 8], 0
je 0x14001959f
mov byte [rbx + 8], 0
cmp al, 0x22
jne 0x140019562
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.140110b56
cmp dword [rbx], 2
mov rdi, qword [rbx + 8]
jne 0x1400194d4
mov qword [rsi + 8], rdi
mov al, 1
jmp 0x140019556
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_sidefilesunique_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.14006436c
test al, al
je 0x1400194f9
xor ecx, ecx
jmp 0x140019551
lea r8, [0x1403afdf9]
mov r9d, listen
mov rcx, rdi
mov rdx, rbx
call fcn.14006436c
mov cl, 1
test al, al
jne 0x140019551
lea r8, [0x1403ae899]
mov r9d, 0xa
mov rcx, rdi
mov rdx, rbx
call fcn.14006436c
mov cl, 2
test al, al
jne 0x140019551
lea r8, str.parametersstruct_Responsestruct_Response_with_4_elements
mov r9d, 0xa
mov rcx, rdi
mov rdx, rbx
call fcn.14006436c
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
movzx eax, al
lea rdx, [rsp + 0x20]
cmp eax, 0x7d
jne 0x140019596
mov qword [rdx], reloc.WS2_32.dll_select
jmp 0x1400195ab
lea rdx, [rsp + 0x20]
mov qword [rdx], 3
jmp 0x1400195ab
cmp byte [rsp + 0x21], 0
je 0x1400195b8
mov al, byte [rsp + 0x22]
jmp 0x14001949b
mov qword [rdx], reloc.WS2_32.dll_recv
jmp 0x1400195ab
lea rdx, [rsp + 0x20]
mov qword [rdx], 8
mov rcx, rdi
call fcn.1402e2afc
jmp 0x140019431
lea rdx, [rsp + 0x20]
mov qword [rdx], 5
jmp 0x1400195ab