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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7a0]
sub rsp, 0x8a0
xor edi, edi
lea rcx, [0x1801809b0]
mov r15, rdx
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, edi
xorps xmm0, xmm0
mov qword [rbp - 0x80], rbx
mov esi, 0xf
mov qword [rbp - 0x78], rsi
mov r12, rax
movups xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x70], bl
test rax, rax
je 0x1801d8632
cmp qword [r15 + 0x18], 0x10
mov rdx, r15
jb 0x1801d8327
mov rdx, qword [r15]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x1801d8632
nop dword [rax + rax]
lea r9, [rbp + 0x7f0]
mov r8d, 0x7d0
lea rdx, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp + 0x7f0]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x1801d83aa
lea rax, [rbx + rdi]
cmp rsi, 0x10
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 0x30]
lea rax, [rsp + 0x70]
mov r8d, edi
cmovae rax, qword [rsp + 0x70]
add rbx, rax
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1801d83c0
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1801dce40
xor edx, edx
lea rcx, [rbp - 0x30]
mov r8d, 0x7d0
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp + 0x7f0], 0
je 0x1801d83e7
mov rsi, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
jmp 0x1801d8350
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp qword [rbp - 0x78], 0x10
lea r13, [rsp + 0x70]
mov r12, qword [rsp + 0x70]
xorps xmm0, xmm0
mov r14d, 0x6e7c
mov edi, 2
movups xmmword [rbp - 0x50], xmm0
mov esi, 0xf
mov word [rbp - 0x50], r14w
mov r14, qword [rbp - 0x80]
movabs rbx, 0x7fffffffffffffff
movups xmmword [rsp + 0x30], xmm0
mov eax, 0xa0d
mov qword [rsp + 0x40], rdi
cmovae r13, r12
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x30], ax
mov byte [rsp + 0x32], 0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x4e], 0
movups xmmword [rsp + 0x50], xmm0
cmp r14, rbx
ja 0x1801d8815
cmp r14, 0x10
jae 0x1801d848a
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rsi
movups xmm0, xmmword [r13]
movups xmmword [rsp + 0x50], xmm0
jmp 0x1801d84cb
mov rax, r14
or rax, rsi
cmp rax, rbx
ja 0x1801d84a4
mov ecx, 0x16
mov rbx, rax
cmp rax, rcx
cmovb rbx, rcx
lea rdx, [rbx + 1]
call fcn.1801887d0
lea r8, [r14 + 1]
mov qword [rsp + 0x50], rax
mov rdx, r13
mov qword [rsp + 0x60], r14
mov rcx, rax
mov qword [rsp + 0x68], rbx
call sub.VCRUNTIME140.dll_memcpy
xor r14d, r14d
mov ebx, r14d
nop dword [rax]
nop word [rax + rax]
cmp qword [rsp + 0x68], 0x10
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
lea r9, [rbp - 0x50]
cmovae rcx, qword [rsp + 0x50]
mov r8, rbx
mov qword [rsp + 0x20], 2
call fcn.1801dcc20
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1801d854a
cmp rsi, 0x10
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
mov r8d, 2
cmovae r9, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.1801db150
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rbx, rdi
jmp 0x1801d84e0
mov rbx, qword [rbp + 0x7e0]
movups xmm1, xmmword [rsp + 0x60]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
movups xmm0, xmmword [rsp + 0x50]
mov byte [rsp + 0x50], r14b
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
cmp rsi, 0x10
jb 0x1801d85b1
mov rcx, qword [rsp + 0x30]
lea rdx, [rsi + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d85ac
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801d85ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18028b230
mov rax, qword [rbp - 0x78]
cmp rax, 0x10
jb 0x1801d85e9
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1801d85e1
mov r12, qword [r12 - 8]
add rdx, 0x27
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d862b
mov rcx, r12
call fcn.18028b230
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1801d861f
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x1801d861a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801d862b
mov rcx, r8
call fcn.18028b230
mov qword [r15 + 0x10], r14
mov byte [r15], r14b
jmp 0x1801d87e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
mov qword [rsp + 0x48], rsi
movups xmmword [rsp + 0x30], xmm0
mov eax, 0xa0d
mov r12d, 2
movups xmm0, xmmword [rsp + 0x70]
mov word [rsp + 0x30], ax
mov rdx, rsi
mov rax, rdi
mov qword [rsp + 0x40], r12
movups xmmword [rbp - 0x70], xmm0
mov r13, rsi
mov byte [rsp + 0x32], bl
mov r14d, 0x6e7c
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
mov rcx, rdi
nop dword [rax]
nop dword [rax + rax]
cmp rdx, 0x10
lea rsi, [rbp - 0x70]
cmovae rsi, qword [rbp - 0x70]
cmp rax, 2
jb 0x1801d86f9
add rax, 0xfffffffffffffffe
cmp rcx, rax
ja 0x1801d86f9
lea rdi, [rsi + rax]
add rcx, rsi
lea r8, [rdi + 1]
mov edx, 0x7c
sub r8, rcx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1801d86f9
nop dword [rax]
cmp word [rbx], r14w
je 0x1801d875c
inc rbx
lea r8, [rdi + 1]
sub r8, rbx
mov rcx, rbx
mov edx, 0x7c
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1801d86d0
movups xmm1, xmmword [rbp - 0x60]
mov rbx, qword [rbp + 0x7e0]
xor edi, edi
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 0xf
movups xmm0, xmmword [rbp - 0x70]
mov byte [rbp - 0x70], dil
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
cmp r13, 0x10
jb 0x1801d87ab
mov rcx, qword [rsp + 0x30]
lea rdx, [r13 + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d87a6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801d87a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x1801d86f9
cmp r13, 0x10
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, 2
cmovae r9, qword [rsp + 0x30]
lea rcx, [rbp - 0x70]
mov rdx, rbx
call fcn.1801db150
mov r12, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov rdx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x60]
lea rcx, [rbx + r12]
jmp 0x1801d8690
call fcn.18028b230
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1801d87e1
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x1801d87dc
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801d880e
mov rcx, r8
call fcn.18028b230
mov qword [r15 + 0x10], rdi
mov byte [r15], dil
mov rax, rbx
mov qword [r15 + 0x18], 0xf
mov rbx, qword [rsp + 0x8e8]
add rsp, 0x8a0
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
call fcn.180188110
int3