Function at 0x140005d80
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 [0x140011040]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rsi, rdx
mov r12, rcx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], 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 [rbp - 0x58], xmm0
mov ebx, edi
mov qword [rbp - 0x48], rbx
mov r14d, 0xf
mov qword [rbp - 0x40], r14
mov byte [rbp - 0x58], bl
test rax, rax
je 0x14000612e
mov rdx, rsi
cmp qword [rsi + 0x18], r14
jbe 0x140005e13
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 0x14000612e
nop word [rax + rax]
lea r9, [rbp - 0x60]
mov r8d, 0x7d0
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp - 0x60]
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x140005e92
lea rax, [rdi + rbx]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x58]
cmp r14, 0xf
cmova rax, qword [rbp - 0x58]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140005ea7
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.14000a0a0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x60], 0
je 0x140005ecb
mov r14, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x48]
jmp 0x140005e40
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 [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x14000da30]
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
movups xmmword [rsp + 0x30], xmm0
xor edx, edx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rdx
lea r15, [rbp - 0x58]
mov r14, qword [rbp - 0x58]
mov r13, qword [rbp - 0x40]
cmp r13, 0xf
cmova r15, r14
movabs rbx, 0x7fffffffffffffff
mov rdi, qword [rbp - 0x48]
cmp rdi, rbx
ja 0x1400062af
cmp rdi, 0xf
ja 0x140005f79
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x30], xmm0
jmp 0x140006010
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x140005fb1
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14000ab90
mov rcx, rax
test rax, rax
je 0x140005fdc
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140005ff2
mov rbx, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140005fe3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400062b5
jmp 0x140005f93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140005fef
call fcn.14000ab90
jmp 0x140005ff2
mov rax, rdx
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, [rsp + 0x70]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.140005c10
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140006069
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006063
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006063
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000aedc
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400060a9
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400060a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400060a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000aedc
nop
cmp r13, 0xf
jbe 0x1400060e4
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400060db
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400060db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14000aedc
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14000611a
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140006115
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006127
mov rcx, r8
call fcn.14000aedc
mov qword [rsi + 0x10], 0
jmp 0x140006270
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]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x14000da30]
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 rax, [rsp + 0x30]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.140005c10
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400061f5
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400061ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400061ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000aedc
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140006236
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006230
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006230
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000aedc
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14000626c
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140006267
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400062a8
mov rcx, r8
call fcn.14000aedc
mov qword [rsi + 0x10], rdi
mov rax, r12
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.14000ab70
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]
nop
call fcn.140001540
nop
call fcn.1400014a0
int3