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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x940
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x34]
movzx r8d, byte [rsp + 0x35]
movzx edx, byte [rsp + 0x36]
lea rcx, [rsp + 0x120]
call fcn.18008b830
mov rcx, rax
call fcn.18008e790
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x80]
call fcn.180003b50
nop
cmp qword [rsp + 0x40], 0
je 0x18008e48d
mov rcx, qword [rsp + 0x960]
call fcn.180005fa0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18008e48d
lea r9, [rsp + 0x38]
mov r8d, 0x7d0
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rsp + 0x38]
mov r8d, eax
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x80]
call fcn.180005be0
mov r8d, 0x7d0
xor edx, edx
lea rcx, [rsp + 0x170]
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x38], 0
jne 0x18008e325
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x1801ec680]
lea rcx, [rsp + 0xc0]
call fcn.1800038b0
nop
lea rdx, [0x1801ec684]
lea rcx, [rsp + 0xa0]
call fcn.1800038b0
nop
lea rax, [rsp + 0x130]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call fcn.180003810
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x958]
mov rcx, qword [rsp + 0x950]
call fcn.18008e600
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xa0]
call fcn.180004230
nop
lea rcx, [rsp + 0xc0]
call fcn.180004230
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x18008e465
and dword [rsp + 0x30], 0xfffffffe
mov rcx, qword [rsp + 0x958]
call fcn.180004230
nop
lea rcx, [rsp + 0x80]
call fcn.180004230
nop
mov rcx, qword [rsp + 0x960]
call fcn.180004230
mov rax, qword [rsp + 0x958]
jmp 0x18008e58f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x1801ec688]
lea rcx, [rsp + 0x100]
call fcn.1800038b0
nop
lea rdx, [0x1801ec68c]
lea rcx, [rsp + 0xe0]
call fcn.1800038b0
nop
lea rax, [rsp + 0x150]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call fcn.180003810
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xe0]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x958]
mov rcx, qword [rsp + 0x950]
call fcn.18008e600
nop
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xe0]
call fcn.180004230
nop
lea rcx, [rsp + 0x100]
call fcn.180004230
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x18008e56c
and dword [rsp + 0x30], 0xfffffffd
mov rcx, qword [rsp + 0x958]
call fcn.180004230
nop
lea rcx, [rsp + 0x80]
call fcn.180004230
nop
mov rcx, qword [rsp + 0x960]
call fcn.180004230
mov rax, qword [rsp + 0x958]
add rsp, 0x940
pop rdi
ret