Function at 0x14006dc00
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x30], 1
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov ebx, edi
mov qword [rsp + 0x78], rbx
mov r14d, send
mov qword [rbp - 0x80], r14
mov byte [rsp + 0x68], bl
test rax, rax
je 0x14006ded4
mov rdx, rsi
cmp qword [rsi + 0x18], r14
jbe 0x14006dc99
mov rdx, qword [rsi]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x14006decc
nop dword [rax]
lea r9, [rsp + 0x30]
mov r8d, 0x7d0
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rsp + 0x30]
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x14006dd17
lea rax, [rbx + rdi]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp r14, 0xf
cmova rax, qword [rsp + 0x68]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14006dd2d
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.1400aee00
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x30], 0
je 0x14006dd53
mov r14, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
jmp 0x14006dcc0
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x1400d9d90]
movdqu xmmword [rbp - 0x48], xmm1
mov eax, 0xa0d
mov word [rbp - 0x58], ax
mov byte [rbp - 0x56], 0
movups xmmword [rbp - 0x78], xmm0
movdqu xmmword [rbp - 0x68], xmm1
mov eax, 0x6e7c
mov word [rbp - 0x78], ax
mov byte [rbp - 0x76], 0
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14006f450
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x78]
mov r8, rax
mov rdx, r12
call fcn.14006e080
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14006de03
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ddfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ddfd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14006de42
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006de3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006de3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14006de82
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006de7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006de7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14006deb8
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14006deb3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006dec5
mov rcx, r8
call fcn.1400b7700
mov qword [rsi + 0x10], 0
jmp 0x14006e034
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x1400d9d90]
movdqu xmmword [rbp - 0x68], xmm1
mov eax, 0xa0d
mov word [rbp - 0x78], ax
mov byte [rbp - 0x76], 0
movups xmmword [rbp - 0x58], xmm0
movdqu xmmword [rbp - 0x48], xmm1
mov eax, 0x6e7c
mov word [rbp - 0x58], ax
mov byte [rbp - 0x56], 0
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14006f450
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x58]
mov r8, rax
mov rdx, r12
call fcn.14006e080
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14006df7b
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006df75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006df75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14006dfba
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006dfb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006dfb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14006dffa
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006dff4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006dff4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7700
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14006e030
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14006e02b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006e06c
mov rcx, r8
call fcn.1400b7700
mov qword [rsi + 0x10], rdi
mov rax, r12
mov byte [rsi], 0
mov qword [rsi + 0x18], send
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400b7380
mov rbx, qword [rsp + 0x900]
add rsp, 0x8b0
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