Function at 0x18001d290
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 [0x1801cc8c0]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x38], rcx
mov qword [rbp - 0x60], rdx
mov dword [rbp - 0x58], 1
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov edi, esi
mov qword [rbp - 0x40], rsi
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], r15
mov byte [rbp - 0x50], sil
test rax, rax
je 0x18001d583
mov rdx, r14
cmp qword [r14 + 0x18], r15
jbe 0x18001d32a
mov rdx, qword [r14]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
je 0x18001d583
movzx ebx, byte [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
lea r9, [rbp - 0x58]
mov r8d, 0x7d0
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rbp - 0x58]
mov rax, r15
sub rax, rdi
cmp rsi, rax
ja 0x18001d3b2
lea rax, [rdi + rsi]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
cmp r15, 0xf
cmova rax, qword [rbp - 0x50]
add rdi, rax
mov r8d, esi
lea rdx, [rbp - 0x30]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x18001d3cb
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x30]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.18000cf60
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x58], 0
je 0x18001d3ef
mov r15, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x40]
jmp 0x18001d360
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 2
lea rdx, [0x180166744]
lea rcx, [rsp + 0x60]
call fcn.18001b3e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 2
lea rdx, [0x180166748]
lea rcx, [rsp + 0x40]
call fcn.18001b3e0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.18000b700
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, r13
call fcn.180030f20
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18001d4b9
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d4b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001d4b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e93bc
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18001d4fa
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d4f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001d4f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e93bc
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x18001d539
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d533
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001d533
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e93bc
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x18001d56f
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x18001d56a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001d57c
mov rcx, r8
call fcn.1800e93bc
mov qword [r14 + 0x10], 0
jmp 0x18001d6fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 2
lea rdx, [0x180166744]
lea rcx, [rsp + 0x40]
call fcn.18001b3e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 2
lea rdx, [0x180166748]
lea rcx, [rsp + 0x60]
call fcn.18001b3e0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.18000b700
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, r13
call fcn.180030f20
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18001d642
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d63c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001d63c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e93bc
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18001d683
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d67d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001d67d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e93bc
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x18001d6c2
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d6bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001d6bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e93bc
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x18001d6f8
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x18001d6f3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001d735
mov rcx, r8
call fcn.1800e93bc
mov qword [r14 + 0x10], rsi
mov rax, r13
mov byte [r14], 0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1800e9aa0
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]
int3