Function at 0x14004fc90
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 - 0x7a8]
sub rsp, 0x8a8
mov r14, rdx
mov r15, rcx
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
mov qword [rbp - 0x70], rdi
mov ebx, edi
mov qword [rbp - 0x60], rbx
mov esi, 0xf
mov qword [rbp - 0x58], rsi
mov byte [rbp - 0x70], bl
test rax, rax
je 0x1400500c4
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14004fd06
mov rdx, qword [r14]
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 r12, rax
test rax, rax
je 0x1400500c4
nop word [rax + rax]
lea r9, [rbp + 0x800]
mov r8d, 0x7d0
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp + 0x800]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x14004fd88
lea rax, [rdi + rbx]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x70]
cmp rsi, 0x10
cmovae rax, qword [rbp - 0x70]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14004fd9d
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400040f0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp + 0x800], 0
je 0x14004fdc4
mov rsi, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x60]
jmp 0x14004fd30
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor esi, esi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], sil
lea r8d, [rsi + 2]
lea rdx, [0x140057eac]
lea rcx, [rsp + 0x50]
call fcn.140003f70
nop
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], sil
lea r8d, [rsi + 2]
lea rdx, [0x1400cb97c]
lea rcx, [rsp + 0x70]
call fcn.140003f70
nop
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea rdi, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdi, qword [rbp - 0x70]
mov r13, qword [rbp - 0x60]
cmp r13, 0x10
jae 0x14004fe66
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x30], xmm0
lea ebx, [rsi + 0xf]
jmp 0x14004fee0
mov rbx, r13
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14004febd
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400502f2
mov rcx, rax
call fcn.1400539b0
mov rcx, rax
test rax, rax
je 0x14004feb6
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14004fecc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14004fec9
call fcn.1400539b0
jmp 0x14004fecc
mov rax, rsi
mov qword [rsp + 0x30], rax
lea r8, [r13 + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x30]
mov qword [rbp + 0x808], rax
mov rdi, rsi
mov rsi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x60]
mov r14, qword [rbp - 0x80]
mov r15, qword [rbp - 0x78]
nop dword [rax + rax]
lea r9, [rsp + 0x70]
cmp r15, 0x10
cmovae r9, rsi
lea rcx, [rsp + 0x30]
cmp rbx, 0x10
cmovae rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], r14
mov r8, rdi
mov rdx, r13
call fcn.140052fb0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14004ff7f
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
mov qword [rsp + 0x20], r12
mov r8, r14
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140051ad0
mov r12, qword [rsp + 0x60]
add rdi, r12
mov rbx, qword [rsp + 0x48]
mov r13, qword [rsp + 0x40]
jmp 0x14004ff10
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x40], xmm0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], bl
mov rax, qword [rbp - 0x78]
cmp rax, 0x10
mov r14, qword [rbp + 0x7f8]
mov r15, qword [rbp + 0x7f0]
jb 0x14004fff2
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004ffe9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ffe9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400539ec
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140050032
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005002d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005002d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400539ec
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [r15 + 0x10], xmm1
mov rax, qword [rbp - 0x58]
cmp rax, 0x10
jb 0x140050083
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005007d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005007d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400539ec
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400502c4
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400502bf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1400502bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov r8d, 2
lea rdx, [0x140057eac]
lea rcx, [rsp + 0x50]
call fcn.140003f70
nop
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov r8d, 2
lea rdx, [0x1400cb97c]
lea rcx, [rsp + 0x70]
call fcn.140003f70
nop
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x30], xmm0
mov rdx, rdi
mov qword [rsp + 0x40], rdx
mov eax, 0xf
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x800], rcx
mov rbx, rdi
mov r13, qword [rbp - 0x78]
mov r12, qword [rbp - 0x80]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x60]
nop word [rax + rax]
lea r9, [rsp + 0x70]
cmp r13, 0x10
cmovae r9, rsi
lea rcx, [rsp + 0x30]
cmp rax, 0x10
cmovae rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], r12
mov r8, rbx
call fcn.140052fb0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400501dc
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdi
mov r8, r12
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140051ad0
mov rdi, qword [rsp + 0x60]
add rbx, rdi
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
jmp 0x140050170
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x50], xmm0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], bl
cmp r13, 0x10
jb 0x14005023d
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140050234
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050234
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400539ec
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14005027d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050278
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050278
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400539ec
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [r15 + 0x10], xmm1
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400502c4
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400502bf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400502eb
mov rcx, r8
call fcn.1400539ec
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], 0xf
mov rax, r15
mov byte [r14], 0
add rsp, 0x8a8
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.1400038b0
nop
int3