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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rsi, rdx
mov r13, rcx
mov dword [rbp + 0x7d0], 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 r12, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov ebx, edi
mov qword [rsp + 0x40], rbx
mov r14d, 0xf
mov qword [rsp + 0x48], r14
mov byte [rsp + 0x30], bl
test rax, rax
je 0x14004da5a
mov rdx, rsi
cmp qword [rsi + 0x18], r14
jbe 0x14004d816
mov rdx, qword [rsi]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x14004da5a
nop word [rax + rax]
lea r9, [rbp + 0x7d0]
mov r8d, 0x7d0
lea rdx, [rbp - 0x50]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp + 0x7d0]
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x14004d89b
lea rax, [rbx + rdi]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp r14, 0xf
cmova rax, qword [rsp + 0x30]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x50]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14004d8b1
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140051690
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp + 0x7d0], 0
je 0x14004d8da
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
jmp 0x14004d840
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 [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1400cbdd0]
movdqu xmmword [rbp - 0x80], xmm1
mov eax, 0xa0d
mov word [rsp + 0x70], ax
mov byte [rsp + 0x72], 0
movups xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
mov eax, 0x6e7c
mov word [rsp + 0x50], ax
mov byte [rsp + 0x52], 0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14004fd40
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, r13
call fcn.14004d5e0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004d98f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d989
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d989
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059f90
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14004d9cf
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d9c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d9c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059f90
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14004da10
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004da0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004da0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059f90
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14004da46
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14004da41
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004da53
mov rcx, r8
call fcn.140059f90
mov qword [rsi + 0x10], 0
jmp 0x14004dbc1
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 + 0x50], xmm0
movdqa xmm1, xmmword [0x1400cbdd0]
movdqu xmmword [rsp + 0x60], xmm1
mov eax, 0xa0d
mov word [rsp + 0x50], ax
mov byte [rsp + 0x52], 0
movups xmmword [rsp + 0x70], xmm0
movdqu xmmword [rbp - 0x80], xmm1
mov eax, 0x6e7c
mov word [rsp + 0x70], ax
mov byte [rsp + 0x72], 0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14004fd40
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
mov rdx, rax
mov rcx, r13
call fcn.14004d5e0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14004db05
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004daff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004daff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059f90
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004db46
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004db40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004db40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059f90
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14004db87
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004db81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004db81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059f90
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14004dbbd
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14004dbb8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004dbea
mov rcx, r8
call fcn.140059f90
mov qword [rsi + 0x10], rdi
mov rax, r13
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov rbx, qword [rsp + 0x8c0]
add rsp, 0x880
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