Function at 0x14006bc70
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 - 0x7e0]
sub rsp, 0x8e0
mov rax, qword [0x14010f040]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov rdi, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x70], rdx
mov dword [rsp + 0x30], 1
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov ebx, r12d
mov qword [rbp - 0x38], rbx
mov r13d, recv
mov esi, r13d
mov qword [rbp - 0x30], r13
mov byte [rbp - 0x48], bl
test rax, rax
je 0x14006bfcf
mov rdx, rdi
cmp qword [rdi + 0x18], r13
jbe 0x14006bd14
mov rdx, qword [rdi]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x14006bfc7
nop dword [rax]
lea r9, [rsp + 0x30]
mov r8d, 0x7d0
lea rdx, [rbp]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rsp + 0x30]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x14006bd94
lea rax, [rbx + rdi]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp rsi, 0xf
cmova rax, qword [rbp - 0x48]
add rbx, rax
mov r8d, edi
lea rdx, [rbp]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14006bda9
mov qword [rsp + 0x20], rdi
lea r9, [rbp]
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.1400bb380
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x30], 0
je 0x14006bdce
mov rsi, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x38]
jmp 0x14006bd40
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x50], r13
mov eax, 0xa0d
mov word [rbp - 0x68], ax
mov byte [rbp - 0x66], 0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 2
mov eax, recv
mov qword [rbp - 0x10], rax
mov eax, 0x6e7c
mov word [rbp - 0x28], ax
mov byte [rbp - 0x26], 0
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x50]
call fcn.14006d370
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rcx, r12
movzx r15d, byte [rbp - 0x27]
movzx r12d, byte [rbp - 0x28]
nop word [rax + rax]
mov rax, qword [rdi + 0x10]
mov r14, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14006be61
mov r14, qword [rdi]
cmp rax, 2
jb 0x14006becb
add rax, 0xfffffffffffffffe
cmp rcx, rax
ja 0x14006becb
lea rsi, [r14 + rax]
add rcx, r14
lea r8, [rsi + 1]
sub r8, rcx
mov edx, 0x7c
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14006becb
cmp byte [rbx], r12b
jne 0x14006be9f
cmp byte [rbx + 1], r15b
jne 0x14006be9f
xor eax, eax
jmp 0x14006bea4
sbb eax, eax
or eax, 1
test eax, eax
je 0x14006bf3c
inc rbx
lea r8, [rsi + 1]
sub r8, rbx
mov edx, 0x7c
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x14006be90
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x40]
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rax
mov r14d, recv
mov qword [rdi + 0x18], r14
mov byte [rdi], al
mov rcx, rdi
call fcn.1400798f0
nop
cmp r13, r14
jbe 0x14006bf82
lea rdx, [r13 + 1]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006bf7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006bf7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x14006becb
lea r9, [rbp - 0x68]
cmp r13, 0xf
cmova r9, qword [rbp - 0x68]
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r8d, 2
mov rdx, rbx
mov rcx, rdi
call fcn.1400b6160
mov rcx, qword [rbp - 0x58]
add rcx, rbx
mov r13, qword [rbp - 0x50]
jmp 0x14006be50
call fcn.1400cc760
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14006c1b2
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c1ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c1ac
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, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x50], r13
mov eax, 0xa0d
mov word [rbp - 0x68], ax
mov byte [rbp - 0x66], 0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 2
mov eax, recv
mov qword [rbp - 0x10], rax
mov eax, 0x6e7c
mov word [rbp - 0x28], ax
mov byte [rbp - 0x26], 0
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x70]
call fcn.14006d370
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rdx, r12
movzx r15d, byte [rbp - 0x27]
movzx r12d, byte [rbp - 0x28]
nop dword [rax]
mov rcx, qword [rdi + 0x10]
mov r14, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14006c051
mov r14, qword [rdi]
cmp rcx, 2
jb 0x14006c0bc
add rcx, 0xfffffffffffffffe
cmp rdx, rcx
ja 0x14006c0bc
lea rsi, [rcx + r14]
lea rcx, [r14 + rdx]
lea r8, [rsi + 1]
sub r8, rcx
mov edx, 0x7c
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14006c0bc
cmp byte [rbx], r12b
jne 0x14006c090
cmp byte [rbx + 1], r15b
jne 0x14006c090
xor eax, eax
jmp 0x14006c095
sbb eax, eax
or eax, 1
test eax, eax
je 0x14006c12d
inc rbx
lea r8, [rsi + 1]
sub r8, rbx
mov edx, 0x7c
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x14006c081
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x40]
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rax
mov r14d, recv
mov qword [rdi + 0x18], r14
mov byte [rdi], al
mov rcx, rdi
call fcn.1400798f0
nop
cmp r13, r14
jbe 0x14006c173
lea rdx, [r13 + 1]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c16d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c16d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x14006c0bc
lea r9, [rbp - 0x68]
cmp r13, 0xf
cmova r9, qword [rbp - 0x68]
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r8d, 2
mov rdx, rbx
mov rcx, rdi
call fcn.1400b6160
mov rdx, qword [rbp - 0x58]
add rdx, rbx
mov r13, qword [rbp - 0x50]
jmp 0x14006c040
call fcn.1400cc760
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14006c1b2
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c1ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c1ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc760
nop
mov rcx, qword [rsp + 0x48]
call fcn.1400798f0
mov rax, rbx
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1400cc3e0
mov rbx, qword [rsp + 0x930]
add rsp, 0x8e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret