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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7a8]
sub rsp, 0x880
xor esi, esi
mov rdi, rdx
mov r13, rcx
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea rcx, str.Mozilla_5.0
xor r8d, r8d
lea edx, [rsi + 1]
call qword [sym.imp.WININET.dll_InternetOpenA]
lea r12d, [rsi + 0xf]
xorps xmm0, xmm0
mov qword [rsp + 0x48], r12
mov ebx, esi
mov qword [rsp + 0x40], rbx
mov r15, rax
mov r14d, r12d
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x30], sil
test rax, rax
je 0x18003a34a
mov rdx, rdi
cmp qword [rdi + 0x18], r12
jbe 0x18003a124
mov rdx, qword [rdi]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
je 0x18003a344
lea r9, [rbp + 0x7c0]
mov r8d, 0x7d0
lea rdx, [rbp - 0x50]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rbp + 0x7c0]
mov rax, r14
sub rax, rbx
cmp rsi, rax
ja 0x18003a1a3
lea rax, [rsi + rbx]
cmp r14, 0xf
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x50]
lea rax, [rsp + 0x30]
mov r8d, esi
cmova rax, qword [rsp + 0x30]
add rbx, rax
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x18003a1b9
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.180002870
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x7d0
call sub.VCRUNTIME140.dll_memset
xor esi, esi
cmp dword [rbp + 0x7c0], esi
je 0x18003a1e3
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
jmp 0x18003a148
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movdqa xmm1, xmmword [0x1801842d0]
lea rdx, [rsp + 0x30]
xorps xmm0, xmm0
lea rcx, [rbp - 0x70]
mov eax, 0xa0d
movups xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x70], ax
mov eax, 0x6e7c
movups xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x50], ax
movdqu xmmword [rbp - 0x80], xmm1
mov byte [rsp + 0x72], sil
movdqu xmmword [rsp + 0x60], xmm1
mov byte [rsp + 0x52], sil
call fcn.180002484
mov rdx, rax
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
mov rcx, r13
call fcn.180039e5c
mov rdx, qword [rsp + 0x68]
mov r14d, 0xf
mov ebx, 0x1000
cmp rdx, r14
jbe 0x18003a295
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x18003a290
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003a2c3
call fcn.18008ee04
mov rdx, qword [rbp - 0x78]
cmp rdx, r14
jbe 0x18003a2cf
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x18003a2ca
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003a2ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008ee04
mov rdx, qword [rsp + 0x48]
cmp rdx, r14
jbe 0x18003a303
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x18003a2fe
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003a33d
call fcn.18008ee04
mov rdx, qword [rdi + 0x18]
cmp rdx, r14
jbe 0x18003a334
mov rcx, qword [rdi]
inc rdx
cmp rdx, rbx
jb 0x18003a32f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18003a33d
mov rcx, r8
call fcn.18008ee04
mov qword [rdi + 0x18], r14
jmp 0x18003a490
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r12d, 0xf
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movdqa xmm1, xmmword [0x1801842d0]
lea rdx, [rsp + 0x30]
xorps xmm0, xmm0
lea rcx, [rbp - 0x70]
mov eax, 0xa0d
movups xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x50], ax
mov eax, 0x6e7c
movups xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x70], ax
movdqu xmmword [rsp + 0x60], xmm1
mov byte [rsp + 0x52], sil
movdqu xmmword [rbp - 0x80], xmm1
mov byte [rsp + 0x72], sil
call fcn.180002484
mov rdx, rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
mov rcx, r13
call fcn.180039e5c
mov rdx, qword [rbp - 0x78]
mov ebx, 0x1000
cmp rdx, r12
jbe 0x18003a3ec
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x18003a3e7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003a41b
call fcn.18008ee04
mov rdx, qword [rsp + 0x68]
cmp rdx, r12
jbe 0x18003a427
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x18003a422
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003a422
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008ee04
mov rdx, qword [rsp + 0x48]
cmp rdx, r12
jbe 0x18003a45b
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x18003a456
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003a4bb
call fcn.18008ee04
mov rdx, qword [rdi + 0x18]
cmp rdx, r12
jbe 0x18003a48c
mov rcx, qword [rdi]
inc rdx
cmp rdx, rbx
jb 0x18003a487
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18003a4bb
mov rcx, r8
call fcn.18008ee04
mov qword [rdi + 0x18], r12
mov byte [rdi], sil
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x30]
mov rax, r13
mov qword [rdi + 0x10], rsi
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3