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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x950
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
mov rax, qword [0x1802242b8]
xor rax, rsp
mov qword [rsp + 0x920], rax
mov r12, rdx
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0x60], rcx
mov qword [r11 - 0x878], rdx
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x108], xmm0
mov edi, ebx
mov qword [r11 - 0x860], rbx
mov r15d, reloc.WS2_32.dll_ntohs
mov r14d, r15d
mov qword [r11 - 0x858], r15
mov byte [rsp + 0x108], bl
lea rcx, [r11 - 0x8f0]
call fcn.18000de40
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.1800f0550
nop
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
test rax, rax
je 0x1800fa1a8
lea rdx, [rsp + 0x130]
cmp qword [rsp + 0x148], 0x10
cmovae rdx, qword [rsp + 0x130]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x1800fa1d0
movzx ebx, byte [rsp + 0x30]
lea r9, [rsp + 0x128]
mov r8d, 0x7d0
lea rdx, [rsp + 0x150]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rsp + 0x128]
mov rax, r14
sub rax, rdi
cmp rsi, rax
ja 0x1800f9d3f
lea rax, [rsi + rdi]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x108]
cmp r14, 0x10
cmovae rax, qword [rsp + 0x108]
add rdi, rax
mov r8d, esi
lea rdx, [rsp + 0x150]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x1800f9d60
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x150]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rsp + 0x108]
call fcn.180026760
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x128], 0
je 0x1800f9d94
mov r14, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x118]
jmp 0x1800f9cd1
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 + 0x68], xmm0
mov edi, 2
mov qword [rsp + 0x78], rdi
mov edx, reloc.WS2_32.dll_ntohs
mov esi, edx
mov qword [rsp + 0x80], rdx
mov eax, 0xa0d
mov word [rsp + 0x68], ax
mov byte [rsp + 0x6a], 0
movups xmmword [rsp + 0x88], xmm0
mov r15d, edi
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], rdx
mov eax, 0x6e7c
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea r13, [rsp + 0x108]
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x120]
mov qword [rsp + 0xb0], rcx
cmp rcx, 0x10
cmovae r13, rax
movabs rbx, 0x7fffffffffffffff
mov r14, qword [rsp + 0x118]
cmp r14, rbx
ja 0x1800fa1f9
mov qword [rsp + 0x58], rdx
cmp r14, 0x10
jae 0x1800f9e7b
mov qword [rsp + 0x50], r14
movups xmm0, xmmword [r13]
movups xmmword [rsp + 0x40], xmm0
jmp 0x1800f9ec7
mov rax, r14
or rax, 0xf
cmp rax, rbx
ja 0x1800f9e96
mov rbx, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rbx, rcx
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x40]
call fcn.18000eec0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rbx
lea r8, [r14 + 1]
mov rdx, r13
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, reloc.WS2_32.dll_ntohs
lea r13, [rsp + 0x40]
mov qword [rsp + 0xc0], r13
xor ebx, ebx
mov r14, qword [rsp + 0x88]
nop
lea r9, [rsp + 0x88]
cmp rdx, 0x10
cmovae r9, r14
mov rcx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x1800f9efe
mov rcx, qword [r13]
mov qword [rsp + 0x20], r15
mov r8, rbx
mov rdx, qword [r13 + 0x10]
call fcn.18000fab0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800f9f51
lea r9, [rsp + 0x68]
cmp rsi, 0x10
cmovae r9, qword [rsp + 0x68]
mov qword [rsp + 0x20], rdi
mov r8, r15
mov rdx, rax
mov rcx, r13
call fcn.180100380
mov rdi, qword [rsp + 0x78]
add rbx, rdi
mov rsi, qword [rsp + 0x80]
mov edx, reloc.WS2_32.dll_ntohs
jmp 0x1800f9ee0
movups xmm6, xmmword [r13]
movups xmm7, xmmword [r13 + 0x10]
xor edi, edi
mov qword [rsp + 0x50], rdi
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x58], r15
mov byte [r13], dil
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x1800f9fa8
mov rcx, qword [r13]
inc rdx
cmp rdx, 0x1000
jb 0x1800f9fa3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800f9feb
mov rcx, r8
call fcn.180153a5c
mov qword [r13 + 0x10], rdi
mov qword [r13 + 0x18], r15
mov byte [r13], dil
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0x10
jb 0x1800f9ff7
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800f9ff2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800f9ff2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180153a5c
movups xmmword [rsp + 0x108], xmm6
movups xmmword [rsp + 0x118], xmm7
cmp rsi, 0x10
jb 0x1800fa043
lea rdx, [rsi + 1]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800fa03e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800fa03e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180153a5c
mov rbx, qword [rsp + 0xb8]
movups xmmword [rbx], xmm6
movups xmmword [rbx + 0x10], xmm7
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x120], r15
mov byte [rsp + 0x108], 0
mov rdx, qword [rsp + 0x148]
cmp rdx, 0x10
jb 0x1800fa0b0
inc rdx
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800fa0ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800fa0ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180153a5c
movdqa xmm0, xmmword [0x180162c70]
movdqu xmmword [rsp + 0x140], xmm0
mov byte [rsp + 0x130], 0
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x120], r15
mov byte [rsp + 0x108], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x1800fa11d
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x1800fa118
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800fa1a1
mov rcx, r8
call fcn.180153a5c
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], r15
mov byte [r12], 0
mov rax, rbx
jmp 0x1800fa16a
mov rcx, qword [rsp + 0x920]
xor rcx, rsp
call fcn.180153af0
lea r11, [rsp + 0x950]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.Failed_to_open_internet_connection.
lea rcx, [rsp + 0xd0]
call fcn.180007a30
lea rdx, [0x1802020c0]
lea rcx, [rsp + 0xd0]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Failed_to_open_URL.
lea rcx, [rsp + 0xe8]
call fcn.180007a30
lea rdx, [0x1802020c0]
lea rcx, [rsp + 0xe8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.180007a10
int3