Function at 0x1400115aa
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
jmp 0x14001a2a0
push rbp
push rdi
sub rsp, 0x3e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x8e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002a040]
xor rax, rbp
mov qword [rbp + 0x3a8], rax
lea rcx, [0x1400310f5]
call fcn.140011834
lea rax, str.https:__the.earth.li_sgtatham_putty_latest_w64_putty.exe
mov qword [rbp + 8], rax
lea rax, str.putty.exe
mov qword [rbp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Download_Example
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14001a34b
lea rdx, str.Error_al_inicializar_WinINet
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
lea rdx, [0x140011050]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x14001a5ae
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14001a3b2
lea rdx, str.Error_al_abrir_la_URL
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
lea rdx, [0x140011050]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x14001a5ae
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x14001a41d
lea rdx, str.Fall_VirtualAlloc
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
lea rdx, [0x140011050]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x14001a5ae
mov edx, 0x108
lea rcx, [rbp + 0xd0]
call fcn.140011343
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0xd0]
call fcn.140011334
nop
mov rax, qword [rbp + 0xd0]
movsxd rax, dword [rax + 4]
lea rax, [rbp + rax + 0xd0]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x14001a4e3
lea rdx, str.No_se_puede_abrir_el_archivo_para_escribir
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011104
lea rdx, [0x140011050]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rbp + 0x374], 1
lea rcx, [rbp + 0xd0]
call fcn.14001121c
mov eax, dword [rbp + 0x374]
jmp 0x14001a5ae
lea r9, [rbp + 0xa4]
mov r8d, 0x1000
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14001a52d
cmp dword [rbp + 0xa4], 0
jbe 0x14001a52d
mov eax, dword [rbp + 0xa4]
mov r8d, eax
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001a4e3
lea rcx, [rbp + 0xd0]
call fcn.140011442
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, str.Descarga_completada:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011104
mov rdx, qword [rbp + 0x28]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
lea rdx, [0x140011050]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov dword [rbp + 0x394], 0
lea rcx, [rbp + 0xd0]
call fcn.14001121c
mov eax, dword [rbp + 0x394]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140024f60]
call fcn.1400116d6
mov rax, rdi
mov rcx, qword [rbp + 0x3a8]
xor rcx, rbp
call fcn.1400113f2
lea rsp, [rbp + 0x3b8]
pop rdi
pop rbp
ret