Function at 0x14008d370
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.14009af40
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x50e0], rbx
mov rax, qword [0x1400ff010]
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.140003db0
mov rcx, rax
test rax, rax
je 0x14008d7b9
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 0x14008d73b
mov r12d, dword [0x140103fd0]
cmp r12d, 5
jge 0x14008d5b2
lea r14, [0x1401051f8]
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.140005720
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 0x14008d59d
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.140003db0
test rax, rax
je 0x14008d7ae
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.140005580
test al, al
jne 0x14008d4d6
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.14003bad0
nop
mov rbx, qword [rsp + 0x60]
cmp dword [rbx - 0x10], 0
jl 0x14008d572
lea rdx, str._categoryId_:__
mov rcx, rbx
call fcn.1400981d0
test rax, rax
je 0x14008d572
sub rax, rbx
sar rax, 1
test eax, eax
js 0x14008d572
mov qword [rsp + 0x68], r13
lea r8d, [rax + 0xf]
mov r9d, 3
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.14000ddd0
nop
mov rbx, qword [rsp + 0x68]
cmp dword [rbx - 0x10], 0
jl 0x14008d553
lea rdx, [0x1400c1708]
mov rcx, rbx
call fcn.1400981d0
mov rsi, rax
test rax, rax
je 0x14008d54e
sub rsi, rbx
sar rsi, 1
test esi, esi
jns 0x14008d5c7
mov rsi, qword [rsp + 0x30]
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008d56d
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 0x14008d596
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x38]
jmp 0x14008d5a5
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
inc r12d
cmp r12d, 5
jl 0x14008d430
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, qword [rsp + 0x38]
jmp 0x14008d744
lea r14, [rbx - 0x18]
cmp esi, dword [rbx - 0x10]
jl 0x14008d5e3
mov rcx, r14
call fcn.1400056a0
lea rdi, [rax + 0x18]
mov qword [rsp + 0x40], rdi
jmp 0x14008d655
mov rcx, qword [r14]
test rcx, rcx
je 0x14008d5f9
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14008d60a
call fcn.140003db0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x14008d7c4
mov rax, qword [rcx]
mov r8d, 2
mov edx, esi
call qword [rax]
test rax, rax
je 0x14008d7cf
lea rdi, [rax + 0x18]
mov qword [rsp + 0x40], rdi
cmp esi, dword [rdi - 0xc]
jg 0x14008d7d5
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.140003970
nop
lea rbx, [rdi - 0x18]
cmp rbx, r14
je 0x14008d6b0
cmp dword [r14 + 0x10], 0
jl 0x14008d69e
mov rax, qword [r14]
cmp qword [rbx], rax
jne 0x14008d69e
mov rcx, rbx
call fcn.1400056a0
mov rdi, rax
mov ecx, r15d
lock xadd dword [r14 + 0x10], ecx
sub ecx, 1
jg 0x14008d693
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 0x14008d6b0
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140003840
nop
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14008d6c9
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 [0x140103fd0], r12d
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, r13d
jg 0x14008d706
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 0x14008d5b2
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 0x14008d744
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 0x14008d764
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 0x14008d781
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.140091f30
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.140003b40
nop
mov ecx, 0x80004005
call fcn.140003b40
nop
mov ecx, 0x80004005
call fcn.140003b40
int3
call fcn.140003960
int3
mov ecx, 0x80070057
call fcn.140003b40
int3