Function at 0x18019fd60
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf80]
mov eax, 0x1080
call fcn.180343850
sub rsp, rax
mov rax, qword [0x180acd980]
xor rax, rsp
mov qword [rbp + 0xf70], rax
mov r15, rdx
mov r13, rcx
mov qword [rsp + 0x40], rdx
xor ebx, ebx
add rcx, 0xc8
cmp qword [rcx + 0x18], 0xf
jbe 0x18019fdb4
mov rcx, qword [rcx]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x18019fe4a
mov rax, qword [r13 + 0xc0]
mov qword [r15], rax
xorps xmm0, xmm0
movups xmmword [r15 + 8], xmm0
mov qword [r15 + 0x18], rbx
mov qword [r15 + 0x20], rbx
mov ecx, 0x20
call fcn.1803427a0
mov qword [r15 + 8], rax
mov qword [r15 + 0x18], 0x1b
mov qword [r15 + 0x20], 0x1f
movups xmm0, xmmword [str.Failed_to_open_the_internet]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x18041b848]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x18041b850]
mov word [rax + 0x18], cx
movzx ecx, byte [0x18041b852]
mov byte [rax + 0x1a], cl
mov byte [rax + 0x1b], bl
mov dword [r15 + 0x28], ebx
mov qword [r15 + 0x30], r13
jmp 0x1801a0090
lea r8, [r13 + 0x48]
cmp qword [r8 + 0x18], 0xf
jbe 0x18019fe58
mov r8, qword [r8]
lea rdx, [r13 + 8]
cmp qword [rdx + 0x18], 0xf
jbe 0x18019fe66
mov rdx, qword [rdx]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x80000000
mov r9d, dword [r13 + 0x58]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
jne 0x18019ff15
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [r13 + 0xc0]
mov qword [r15], rax
xorps xmm0, xmm0
movups xmmword [r15 + 8], xmm0
mov qword [r15 + 0x18], rbx
mov qword [r15 + 0x20], rbx
mov ecx, 0x20
call fcn.1803427a0
mov rdx, rax
mov qword [r15 + 8], rax
mov qword [r15 + 0x18], 0x1f
mov qword [r15 + 0x20], 0x1f
movups xmm0, xmmword [str.Failed_to_connect_to_the_server]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x18041b868]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x18041b870]
mov dword [rax + 0x18], ecx
movzx eax, word [0x18041b874]
mov word [rdx + 0x1c], ax
movzx eax, byte [0x18041b876]
mov byte [rdx + 0x1e], al
mov byte [rdx + 0x1f], bl
mov dword [r15 + 0x28], ebx
mov qword [r15 + 0x30], r13
jmp 0x1801a0090
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov rdi, rbx
mov qword [rsp + 0x60], rbx
mov r14d, 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x50], bl
lea r9, [rsp + 0x34]
mov r8d, 0x1000
lea rdx, [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18019fff8
movzx ebx, byte [rsp + 0x30]
nop word [rax + rax]
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x18019fff1
mov esi, eax
mov rax, r14
sub rax, rdi
cmp rsi, rax
ja 0x18019ffaa
lea rax, [rsi + rdi]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp r14, 0xf
cmova rax, qword [rsp + 0x50]
add rdi, rax
mov r8d, esi
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180381630
mov byte [rdi + rsi], 0
jmp 0x18019ffc5
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x70]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.18002a880
lea r9, [rsp + 0x34]
mov r8d, 0x1000
lea rdx, [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18019fff1
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
jmp 0x18019ff60
mov rsi, qword [rsp + 0x40]
xor ebx, ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], 4
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x38]
mov edx, 0x20000013
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [r13 + 0xc0]
mov qword [r15], rax
lea rcx, [r15 + 8]
lea rdx, [rsp + 0x50]
call fcn.18000e6d0
mov eax, dword [rsp + 0x38]
mov dword [r15 + 0x28], eax
mov qword [r15 + 0x30], r13
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1801a0090
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801a008b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801a00bd
call fcn.180342c24
mov rax, r15
mov rcx, qword [rbp + 0xf70]
xor rcx, rsp
call fcn.180342780
mov rbx, qword [rsp + 0x10d0]
add rsp, 0x1080
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180350d84
int3