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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x788]
sub rsp, 0x888
mov rsi, rdx
mov rdi, rcx
mov dword [rbp + 0x7e0], 1
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov ebx, r13d
mov qword [rsp + 0x60], rbx
mov r14d, 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x50], bl
test rax, rax
je 0x140048472
mov rdx, rsi
cmp qword [rsi + 0x18], r14
jbe 0x14004814c
mov rdx, qword [rsi]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x140048472
lea r9, [rbp + 0x7e0]
mov r8d, 0x7d0
lea rdx, [rbp - 0x50]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp + 0x7e0]
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x1400481cc
lea rax, [rbx + rdi]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp r14, 0xf
cmova rax, qword [rsp + 0x50]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x50]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1400481e2
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.14004e8d0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp + 0x7e0], 0
je 0x14004820b
mov r14, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
jmp 0x140048171
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [reloc.OLEAUT32.dll_SysReAllocString]
movdqu xmmword [rbp - 0x60], xmm1
mov eax, 0xa0d
mov word [rbp - 0x70], ax
mov byte [rbp - 0x6e], 0
movups xmmword [rsp + 0x70], xmm0
movdqu xmmword [rbp - 0x80], xmm1
mov eax, 0x6e7c
mov word [rsp + 0x70], ax
mov byte [rsp + 0x72], 0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
lea r15, [rsp + 0x50]
mov r14, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
cmp r13, 0xf
cmova r15, r14
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rsp + 0x60]
cmp rdi, rbx
ja 0x1400485c6
cmp rdi, 0xf
ja 0x1400482b7
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x30], xmm0
jmp 0x14004834d
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x1400482ef
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140050370
mov rcx, rax
test rax, rax
je 0x140048323
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14004832f
mov rbx, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14004830b
xor eax, eax
jmp 0x14004832f
cmp rcx, 0x1000
jb 0x14004832a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400485cc
jmp 0x1400482d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050370
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
lea r8, [rdi + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
mov rbx, qword [rbp + 0x7d0]
mov rcx, rbx
call fcn.140047f10
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400483ab
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400483a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400483a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400500b8
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400483ea
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400483e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400483e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400500b8
nop
cmp r13, 0xf
jbe 0x140048425
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14004841c
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004841c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400500b8
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14004845b
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140048456
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004846b
mov rcx, r8
call fcn.1400500b8
mov qword [rsi + 0x10], 0
mov rax, rbx
jmp 0x1400485a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [reloc.OLEAUT32.dll_SysReAllocString]
movdqu xmmword [rbp - 0x80], xmm1
mov eax, 0xa0d
mov word [rsp + 0x70], ax
mov byte [rsp + 0x72], 0
movups xmmword [rbp - 0x70], xmm0
movdqu xmmword [rbp - 0x60], xmm1
mov eax, 0x6e7c
mov word [rbp - 0x70], ax
mov byte [rbp - 0x6e], 0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0xf
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140047f10
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140048523
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004851d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004851d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400500b8
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140048563
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004855d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004855d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400500b8
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140048599
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140048594
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400485bf
mov rcx, r8
call fcn.1400500b8
mov qword [rsi + 0x10], r13
mov rax, rdi
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
add rsp, 0x888
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14003ff80
nop
call fcn.14003fee0
int3