Function at 0x140001b00
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
call fcn.140001290
xor r14d, r14d
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], r14b
lea r8d, [r14 + 0xa]
lea rdx, str.readme.txt
lea rcx, [rbp - 0x58]
call fcn.1400033c0
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
lea r8d, [r14 + 1]
lea rcx, [rbp - 0x30]
call fcn.140003040
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x34], edx
mov rax, qword [rbp - 0x30]
movsxd rax, dword [rax + 4]
mov ebx, dword [rbp + rax - 0x20]
lea rcx, [rbp - 0x30]
call fcn.140001430
test ebx, ebx
jne 0x140001bdb
lea rcx, [rbp - 0x58]
call fcn.140001500
jmp 0x140002082
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, 0x100
lea r8, [rbp - 0x30]
mov edx, 0x65
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x140001c4d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140001c20
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x68]
call fcn.140003240
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbp - 0x68], xmm1
jmp 0x140001c72
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r14w
xor r8d, r8d
lea rdx, [0x140005544]
lea rcx, [rbp - 0x78]
call fcn.140003240
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov rax, qword [rbp - 0x68]
lea rdi, [rdx + rax*2]
lea rbx, [rbp - 0x78]
cmovae rbx, qword [rbp - 0x78]
mov rcx, r14
mov qword [rsp + 0x50], rcx
mov r9d, 0xf
mov qword [rsp + 0x58], r9
mov byte [rsp + 0x40], cl
mov rdx, rdi
sub rdx, rbx
sar rdx, 1
cmp rdx, 0x10
jb 0x140001cce
lea rcx, [rsp + 0x40]
call fcn.140003810
mov rcx, r14
mov qword [rsp + 0x50], rcx
mov r9, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rbp - 0x38], rax
cmp rbx, rdi
je 0x140001d2b
nop dword [rax]
movzx edx, byte [rbx]
cmp rcx, r9
jae 0x140001d0a
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp r9, 0x10
cmovae rax, qword [rsp + 0x40]
mov byte [rax + rcx], dl
mov byte [rax + rcx + 1], 0
jmp 0x140001d18
movzx r9d, dl
lea rcx, [rsp + 0x40]
call fcn.140003620
add rbx, 2
mov r9, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rbx, rdi
jne 0x140001ce0
test rcx, rcx
je 0x140001fa4
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov r8d, 4
cmp rcx, r8
cmovb r8, rcx
lea rdx, [rsp + 0x40]
cmp r9, 0x10
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.1400033c0
lea rdx, [rsp + 0x68]
mov r8, qword [rsp + 0x68]
mov r9, qword [rbp - 0x80]
cmp r9, 0x10
cmovae rdx, r8
cmp qword [rsp + 0x78], 4
jne 0x140001dc6
mov rcx, r14
lea r10, str.http
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140001db9
cmp rcx, 4
jne 0x140001da0
mov eax, r14d
jmp 0x140001dbe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140001dc6
mov bl, 1
jmp 0x140001dc8
xor bl, bl
cmp r9, 0x10
jb 0x140001e02
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x140001dfa
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001dfa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140003a20
call fcn.140001290
test bl, bl
je 0x140001f98
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov r8d, 0xa
lea rdx, str.readme.txt
lea rcx, [rsp + 0x68]
call fcn.1400033c0
nop
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.Download
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
je 0x140001f4c
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x140001f43
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
mov rcx, rbx
cmp rax, 0xffffffffffffffff
je 0x140001f3d
lea r9, [rsp + 0x60]
mov r8d, 0x400
lea rdx, [rbp - 0x30]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001f31
mov r8d, dword [rsp + 0x60]
test r8d, r8d
je 0x140001f31
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x38]
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x60]
mov r8d, 0x400
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001ef5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rsp + 0x68]
call fcn.140001500
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140001fdb
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003a20
jmp 0x140001fdb
lea rcx, [rsp + 0x40]
call fcn.140001500
jmp 0x140001fdb
mov edi, 1
nop dword [rax]
call fcn.140001290
mov ebx, 1
nop word [rax + rax]
call fcn.140001290
cmp ebx, edi
jae 0x140001fce
call fcn.140001290
inc ebx
cmp ebx, edi
jle 0x140001fc0
inc edi
cmp edi, 9
jle 0x140001fb0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000201b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002016
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002016
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003a20
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140002071
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000206c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000206c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003a20
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r14w
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400020c0
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003a20
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.1400039c0
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret