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

Disassembly:
jmp 0x14001bcb0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x17e8
call fcn.140011221
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x46e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1808]
mov rax, qword [0x140036040]
xor rax, rbp
mov qword [rbp + 0x17a8], rax
mov dword [rbp + 0x1774], 1
lea rcx, [0x14003e117]
call fcn.140011b90
nop
lea rdx, str._INFO__Downloading_AES_key_from:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400115eb
mov rdx, qword [rbp + 0x17d8]
mov rcx, rax
call fcn.1400116ae
lea rdx, [0x140011596]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov edx, 0x20
mov rcx, qword [rbp + 0x17d0]
call fcn.1400110af
mov rcx, qword [rbp + 0x17d0]
call fcn.1400117fd
nop
mov eax, dword [rbp + 0x1774]
or eax, 1
mov dword [rbp + 0x1774], eax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Key_Downloader
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14001be12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1784], eax
lea rdx, str._ERROR__Failed_to_open_internet_handle._Error_code:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400115eb
mov ecx, dword [rbp + 0x1784]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140011596]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov dword [rbp + 0x1774], 0
mov eax, dword [rbp + 0x1774]
and eax, 1
test eax, eax
je 0x14001be06
and dword [rbp + 0x1774], 0xfffffffe
mov rcx, qword [rbp + 0x17d0]
call fcn.140011384
nop
mov rax, qword [rbp + 0x17d0]
jmp 0x14001c092
mov rcx, qword [rbp + 0x17d8]
call fcn.1400113cf
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14001bed4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1784], eax
lea rdx, str._ERROR__Failed_to_open_URL._Error_code:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400115eb
mov ecx, dword [rbp + 0x1784]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140011596]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov dword [rbp + 0x1774], 0
mov eax, dword [rbp + 0x1774]
and eax, 1
test eax, eax
je 0x14001bec8
and dword [rbp + 0x1774], 0xfffffffe
mov rcx, qword [rbp + 0x17d0]
call fcn.140011384
nop
mov rax, qword [rbp + 0x17d0]
jmp 0x14001c092
lea r9, [rbp + 0x10a4]
mov r8d, 0x1000
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14001bfb8
cmp dword [rbp + 0x10a4], 0
jbe 0x14001bfb8
lea rax, [rbp + 0x16c8]
mov qword [rbp + 0x16f8], rax
mov eax, dword [rbp + 0x10a4]
lea rax, [rbp + rax + 0x90]
mov qword [rbp + 0x1788], rax
lea rdx, [rbp + 0x1718]
mov rcx, qword [rbp + 0x17d0]
call fcn.140011bc7
mov qword [rbp + 0x1790], rax
mov rax, qword [rbp + 0x1790]
mov qword [rbp + 0x1798], rax
mov rdx, qword [rbp + 0x1798]
mov rcx, qword [rbp + 0x16f8]
call fcn.14001150f
mov qword [rbp + 0x17a0], rax
mov rax, qword [rbp + 0x1788]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x90]
mov r8, qword [rbp + 0x17a0]
lea rdx, [rbp + 0x1748]
mov rcx, qword [rbp + 0x17d0]
call fcn.140011956
lea rcx, [rbp + 0x1748]
call fcn.140011951
nop
lea rcx, [rbp + 0x1718]
call fcn.140011951
nop
jmp 0x14001bed4
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 0x17d0]
call fcn.1400116c2
movzx eax, al
test eax, eax
je 0x14001c007
lea rdx, str._ERROR__Failed_to_download_key_or_key_is_empty.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400115eb
lea rdx, [0x140011596]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
jmp 0x14001c060
mov rcx, qword [rbp + 0x17d0]
call fcn.1400114ce
mov qword [rbp + 0x1788], rax
lea rdx, str._INFO__Key_downloaded_successfully._Size:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400115eb
mov rcx, qword [rbp + 0x1788]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, str._bytes.
mov rcx, rax
call fcn.1400115eb
lea rdx, [0x140011596]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov dword [rbp + 0x1774], 0
mov eax, dword [rbp + 0x1774]
and eax, 1
test eax, eax
je 0x14001c08b
and dword [rbp + 0x1774], 0xfffffffe
mov rcx, qword [rbp + 0x17d0]
call fcn.140011384
nop
mov rax, qword [rbp + 0x17d0]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002e320]
call fcn.1400119a6
mov rax, rdi
mov rcx, qword [rbp + 0x17a8]
xor rcx, rbp
call fcn.14001158c
lea rsp, [rbp + 0x17b8]
pop rdi
pop rbp
ret