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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4f90]
mov eax, 0x5090
call fcn.140093df0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x50e0], rbx
mov rax, qword [0x1400f5010]
xor rax, rsp
mov qword [rbp + 0x4f80], rax
mov qword [rsp + 0x48], rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x58], rcx
xor r13d, r13d
call fcn.140003970
mov rcx, rax
test rax, rax
je 0x140086659
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Youtube_Category
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
mov qword [rsp + 0x30], rax
lea r15d, [r13 - 1]
test rax, rax
je 0x1400865db
mov r12d, dword [0x1400f9b5c]
cmp r12d, 5
jge 0x140086452
lea r14, [0x1400fada8]
nop
movsxd r9, r12d
mov r9, qword [r14 + r9*8]
mov r8, qword [rbx]
lea rdx, str.https:__www.googleapis.com_youtube_v3_videos_partsnippetid_skey_s
lea rcx, [rsp + 0x78]
call fcn.140005270
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
je 0x14008643d
mov dword [rsp + 0x70], r13d
lea r9, [rsp + 0x70]
mov r8d, 0x5000
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
call fcn.140003970
test rax, rax
je 0x14008664e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400050d0
test al, al
jne 0x140086376
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140037cf0
nop
mov rbx, qword [rsp + 0x60]
cmp dword [rbx - 0x10], 0
jl 0x140086412
lea rdx, str._categoryId_:__
mov rcx, rbx
call fcn.140091080
test rax, rax
je 0x140086412
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140086412
mov qword [rsp + 0x68], r13
lea r8d, [rax + 0xf]
mov r9d, 3
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.14000d730
nop
mov rbx, qword [rsp + 0x68]
cmp dword [rbx - 0x10], 0
jl 0x1400863f3
lea rdx, [0x1400b8d2c]
mov rcx, rbx
call fcn.140091080
mov rsi, rax
test rax, rax
je 0x1400863ee
sub rsi, rbx
sar rsi, 1
test esi, esi
jns 0x140086467
mov rsi, qword [rsp + 0x30]
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008640d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140086436
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x38]
jmp 0x140086445
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
inc r12d
cmp r12d, 5
jl 0x1400862d0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, qword [rsp + 0x38]
jmp 0x1400865e4
lea r14, [rbx - 0x18]
cmp esi, dword [rbx - 0x10]
jl 0x140086483
mov rcx, r14
call fcn.1400051f0
lea rdi, [rax + 0x18]
mov qword [rsp + 0x40], rdi
jmp 0x1400864f5
mov rcx, qword [r14]
test rcx, rcx
je 0x140086499
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x1400864aa
call fcn.140003970
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140086664
mov rax, qword [rcx]
mov r8d, 2
mov edx, esi
call qword [rax]
test rax, rax
je 0x14008666f
lea rdi, [rax + 0x18]
mov qword [rsp + 0x40], rdi
cmp esi, dword [rdi - 0xc]
jg 0x140086675
mov dword [rdi - 0x10], esi
movsxd rdx, esi
mov word [rdi + rdx*2], r13w
mov r9d, esi
mov r8, rbx
mov rcx, rdi
call fcn.140003530
nop
lea rbx, [rdi - 0x18]
cmp rbx, r14
je 0x140086550
cmp dword [r14 + 0x10], 0
jl 0x14008653e
mov rax, qword [r14]
cmp qword [rbx], rax
jne 0x14008653e
mov rcx, rbx
call fcn.1400051f0
mov rdi, rax
mov ecx, r15d
lock xadd dword [r14 + 0x10], ecx
sub ecx, 1
jg 0x140086533
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x68], rax
jmp 0x140086550
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140003400
nop
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x140086569
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
mov r13d, 1
mov dword [0x1400f9b5c], r12d
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, r13d
jg 0x1400865a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140086452
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, qword [rsp + 0x38]
jmp 0x1400865e4
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140086604
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbx]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x140086621
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r13d
mov rcx, qword [rbp + 0x4f80]
xor rcx, rsp
call fcn.14008ade0
mov rbx, qword [rsp + 0x50e0]
add rsp, 0x5090
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003700
nop
mov ecx, 0x80004005
call fcn.140003700
nop
mov ecx, 0x80004005
call fcn.140003700
int3
call fcn.140003520
int3
mov ecx, 0x80070057
call fcn.140003700
int3