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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x88], rax
cmp ecx, 4
jge 0x1400015e7
xor eax, eax
jmp 0x1400018c9
mov rsi, qword [rdx + 8]
mov r12, qword [rdx + 0x10]
mov rdi, qword [rdx + 0x18]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140001600
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rsp + 0x68]
call section..text
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x80], 0xf
cmova rax, qword [rsp + 0x68]
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp word [rdi], 0x73
jne 0x140001884
cmp word [rdi + 2], r14w
jne 0x140001884
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r14w
jne 0x140001680
inc ebx
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rsp + 0x48]
call section..text
nop
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rbx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rbx, qword [rsp + 0x48]
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x140018498]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
test rax, rax
je 0x14000182c
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x84000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbp, rax
test rax, rax
je 0x140001823
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov edx, 8
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
mov rcx, rbp
test rax, rax
je 0x14000181d
mov esi, r14d
lea r9, [rsp + 0x40]
mov r8d, 0x400
mov rdx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400017cf
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1400017cf
add esi, eax
lea ebx, [rsi + 0x400]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r9d, ebx
mov r8, rdi
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x140001806
mov rdi, rax
mov edx, esi
add rdx, rax
lea r9, [rsp + 0x40]
mov r8d, 0x400
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001780
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rdi, rdi
je 0x14000182c
mov rcx, rdi
call fcn.140001a00
mov r8d, esi
mov rdx, rdi
mov rcx, r12
call fcn.140001330
mov rcx, rdi
call fcn.140001910
jmp 0x140001832
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r14d, 0xffffffff
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14000186f
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000186a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400018fb
call fcn.1400024fc
movdqa xmm0, xmmword [0x1400184b0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
jmp 0x14000188a
mov r14d, 0xffffffff
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x1400018c6
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400018f5
call fcn.1400024fc
mov eax, r14d
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140002610
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140008124
nop
call fcn.140008124
nop
int3