Function at 0x14000b1d0
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 + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x60e160
call fcn.140012600
sub rsp, rax
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x40]
call fcn.14000a5cc
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140008988
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.14000a168
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x98]
call fcn.140009b58
lea rdx, [0x1400181c0]
lea rcx, [rsp + 0xe0]
call fcn.14000499c
nop
lea rcx, [rsp + 0x100]
call fcn.14000eb24
nop
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x100]
call fcn.140010a4c
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
xor r8d, r8d
lea rdx, str.Themes
mov rcx, qword [rsp + 0xa8]
call fcn.14000f45c
cmp rax, 0xffffffffffffffff
je 0x14000b2e2
mov dword [rsp + 0x48], 1
jmp 0x14000b2ea
mov dword [rsp + 0x48], 0
mov al, byte [rsp + 0x48]
mov byte [rsp + 0x41], al
lea rcx, [rsp + 0x170]
call fcn.140004c38
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x14000b676
xor r8d, r8d
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x140]
call fcn.140005c3c
nop
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x120]
call fcn.14000a374
nop
lea rcx, [rsp + 0x140]
call fcn.140009f30
lea rcx, [rsp + 0x120]
call fcn.14000f0c0
movzx eax, al
test eax, eax
je 0x14000b4ba
lea rdx, [rsp + 0xe0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005d14
lea rdx, str._exists_in_the_current_directory.
mov rcx, rax
call fcn.140005d5c
mov qword [rsp + 0xb0], rax
lea rdx, [0x1400085ec]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.MSVCP140.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 [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x24
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x1b0]
call fcn.140005c84
nop
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rcx, rax
call fcn.14000a240
mov qword [rsp + 0x60], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
mov rcx, qword [rsp + 0x60]
call fcn.1400125e8
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60e178]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.140012338
mov byte [rsp + 0x42], 1
lea rcx, [rsp + 0x1b0]
call fcn.14000ac68
nop
lea rcx, [rsp + 0x120]
call fcn.140009f30
nop
lea rcx, [rsp + 0x100]
call fcn.140009f30
nop
lea rcx, [rsp + 0xe0]
call fcn.140004c38
mov al, byte [rsp + 0x42]
jmp 0x14000b79e
lea rdx, [rsp + 0xe0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005d14
lea rdx, str._does_not_exist_in_the_current_directory.
mov rcx, rax
call fcn.140005d5c
mov qword [rsp + 0xc8], rax
lea rdx, [0x1400085ec]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.MSVCP140.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 qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60e170]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rsp + 0x50], rax
lea rdx, [0x14001822c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005d5c
mov rdx, qword [rsp + 0x60e170]
mov rcx, rax
call fcn.140005d5c
mov qword [rsp + 0xd0], rax
lea rdx, [0x1400085ec]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.MSVCP140.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]
cmp qword [rsp + 0x50], 0
je 0x14000b669
lea rax, [rsp + 0x2c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x306f42
rep stosb byte [rdi], al
lea r9, [rsp + 0x78]
mov r8d, 0x306f42
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000b669
mov r8d, 0x306f42
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x60e178]
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, str.example.txt
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x7c]
mov r8d, 0x306f42
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x43], 1
lea rcx, [rsp + 0x120]
call fcn.140009f30
nop
lea rcx, [rsp + 0x100]
call fcn.140009f30
nop
lea rcx, [rsp + 0xe0]
call fcn.140004c38
mov al, byte [rsp + 0x43]
jmp 0x14000b79e
lea rcx, [rsp + 0x120]
call fcn.140009f30
lea rdx, [0x140018250]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005d5c
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60e170]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rsp + 0x50], rax
lea rdx, [0x140018264]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005d5c
mov rdx, qword [rsp + 0x60e170]
mov rcx, rax
call fcn.140005d5c
mov qword [rsp + 0xd8], rax
lea rdx, [0x1400085ec]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.MSVCP140.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]
cmp qword [rsp + 0x50], 0
je 0x14000b77a
lea rax, [rsp + 0x307210]
mov rdi, rax
xor eax, eax
mov ecx, 0x306f42
rep stosb byte [rdi], al
lea r9, [rsp + 0x80]
mov r8d, 0x306f42
lea rdx, [rsp + 0x307210]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000b77a
mov r8d, 0x306f42
lea rdx, [rsp + 0x307210]
mov rcx, qword [rsp + 0x60e178]
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + 0x44], 1
lea rcx, [rsp + 0x100]
call fcn.140009f30
nop
lea rcx, [rsp + 0xe0]
call fcn.140004c38
mov al, byte [rsp + 0x44]
jmp 0x14000b79e
mov byte [rsp + 0x45], 0
lea rcx, [rsp + 0x100]
call fcn.140009f30
nop
lea rcx, [rsp + 0xe0]
call fcn.140004c38
mov al, byte [rsp + 0x45]
add rsp, 0x60e160
pop rdi
ret