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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
mov eax, 0x1090
call fcn.18006c190
sub rsp, rax
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x18009c600]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov rbx, r8
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x60], rcx
and dword [rsp + 0x34], 0
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r12], rax
mov r13d, 1
mov dword [rsp + 0x34], r13d
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
je 0x180023eca
mov dword [rsp + 0x38], r13d
lea r9d, [r13 + 3]
lea r8, [rsp + 0x38]
lea edx, [r13 + 0x40]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionW]
lea rcx, section..data
mov rdx, qword [section..data]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
xor eax, eax
or r15, 0xffffffffffffffff
mov rcx, r15
lea rdx, str.Accept_Encoding:_gzip__deflate_r_nConnection:_Close_r_n
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r13
mov r8d, ecx
lea rcx, [rsp + 0x40]
call fcn.1800029d0
test rbx, rbx
jne 0x180023d5f
xor ecx, ecx
jmp 0x180023d70
xor eax, eax
mov rcx, r15
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
sub rcx, r13
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1800017d8
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.180012620
nop
mov r8d, 8
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.180012f50
nop
lea rdx, str.https:__
mov rcx, qword [rax]
call fcn.1800530bc
test eax, eax
sete dil
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x180023dd9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x180023dfa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov ecx, 0x803000
test dil, dil
cmovne eax, ecx
mov rbx, qword [rsp + 0x40]
bts eax, 0x1a
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx - 0x10]
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r13, rax
test rax, rax
jne 0x180023e5a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x180023eca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x180023eca
and dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
mov r8d, 0x1000
lea rdx, [rsp + 0x70]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
mov ecx, dword [rsp + 0x30]
mov byte [rsp + rcx + 0x70], 0
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x70]
repne scasb al, byte [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.180023f04
test esi, esi
je 0x180023eae
cmp dword [rsp + 0x30], 0
jne 0x180023e5f
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x180023eca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, r12
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.1800520e0
add rsp, 0x1090
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret