Function at 0x14009f270
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.1400ad030
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x50e0], rbx
mov rax, qword [0x14011f010]
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.140004540
mov rcx, rax
test rax, rax
je 0x14009f6b9
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 0x14009f63b
mov r12d, dword [0x140125da0]
cmp r12d, 5
jge 0x14009f4b2
lea r14, [0x140127218]
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.140006190
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 0x14009f49d
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.140004540
test rax, rax
je 0x14009f6ae
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.140003d00
test al, al
jne 0x14009f3d6
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400436f0
nop
mov rbx, qword [rsp + 0x60]
cmp dword [rbx - 0x10], 0
jl 0x14009f472
lea rdx, str._categoryId_:__
mov rcx, rbx
call fcn.1400aa2c0
test rax, rax
je 0x14009f472
sub rax, rbx
sar rax, 1
test eax, eax
js 0x14009f472
mov qword [rsp + 0x68], r13
lea r8d, [rax + 0xf]
mov r9d, 3
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.14000f210
nop
mov rbx, qword [rsp + 0x68]
cmp dword [rbx - 0x10], 0
jl 0x14009f453
lea rdx, [0x1400d81d0]
mov rcx, rbx
call fcn.1400aa2c0
mov rsi, rax
test rax, rax
je 0x14009f44e
sub rsi, rbx
sar rsi, 1
test esi, esi
jns 0x14009f4c7
mov rsi, qword [rsp + 0x30]
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14009f46d
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 0x14009f496
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x38]
jmp 0x14009f4a5
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
inc r12d
cmp r12d, 5
jl 0x14009f330
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, qword [rsp + 0x38]
jmp 0x14009f644
lea r14, [rbx - 0x18]
cmp esi, dword [rbx - 0x10]
jl 0x14009f4e3
mov rcx, r14
call fcn.140006110
lea rdi, [rax + 0x18]
mov qword [rsp + 0x40], rdi
jmp 0x14009f555
mov rcx, qword [r14]
test rcx, rcx
je 0x14009f4f9
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14009f50a
call fcn.140004540
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x14009f6c4
mov rax, qword [rcx]
mov r8d, 2
mov edx, esi
call qword [rax]
test rax, rax
je 0x14009f6cf
lea rdi, [rax + 0x18]
mov qword [rsp + 0x40], rdi
cmp esi, dword [rdi - 0xc]
jg 0x14009f6d5
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.140003ef0
nop
lea rbx, [rdi - 0x18]
cmp rbx, r14
je 0x14009f5b0
cmp dword [r14 + 0x10], 0
jl 0x14009f59e
mov rax, qword [r14]
cmp qword [rbx], rax
jne 0x14009f59e
mov rcx, rbx
call fcn.140006110
mov rdi, rax
mov ecx, r15d
lock xadd dword [r14 + 0x10], ecx
sub ecx, 1
jg 0x14009f593
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 0x14009f5b0
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140003f80
nop
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14009f5c9
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 [0x140125da0], r12d
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, r13d
jg 0x14009f606
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 0x14009f4b2
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 0x14009f644
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 0x14009f664
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 0x14009f681
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.1400a4020
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.140004670
nop
mov ecx, 0x80004005
call fcn.140004670
nop
mov ecx, 0x80004005
call fcn.140004670
int3
call fcn.140003ee0
int3
mov ecx, 0x80070057
call fcn.140004670
int3