Function at 0x140074820
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.1400820a0
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x50e0], rbx
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rbp + 0x4f80], rax
mov qword [rsp + 0x40], rdx
mov r13, rcx
mov qword [rsp + 0x50], rcx
xor r12d, r12d
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x14007488b
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Youtube_Category
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
mov qword [rsp + 0x30], rax
or esi, 0xffffffff
test rax, rax
je 0x140074b24
mov r14d, dword [0x1400da7ec]
cmp r14d, 5
jge 0x140074b1f
lea rax, [0x1400dba68]
movsxd r9, r14d
mov r9, qword [rax + r9*8]
mov r8, qword [r13]
lea rdx, str.https:__www.googleapis.com_youtube_v3_videos_partsnippetid_skey_s
lea rcx, [rsp + 0x70]
call fcn.1400054e0
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
je 0x140074a69
mov dword [rsp + 0x68], r12d
lea r9, [rsp + 0x68]
mov r8d, 0x5000
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
call fcn.140004250
mov rcx, rax
test rax, rax
je 0x140074b14
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
lea rcx, [rbp - 0x80]
lea rax, [rbp - 0x80]
test rax, 0xffffffffffff0000
jne 0x14007499c
movzx edi, cx
mov ecx, edi
call fcn.140005710
test rax, rax
je 0x1400749b1
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400053d0
mov rbx, qword [rsp + 0x58]
jmp 0x1400749b1
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14002a9c0
mov rbx, qword [rsp + 0x58]
jmp 0x1400749b6
mov rdi, qword [rsp + 0x30]
cmp dword [rbx - 0x10], 0
jl 0x140074a44
lea rdx, str._categoryId_:__
mov rcx, rbx
call fcn.140080c48
test rax, rax
je 0x140074a44
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140074a44
xor ecx, ecx
mov qword [rsp + 0x60], rcx
lea r8d, [rax + 0xf]
lea r9d, [rcx + 3]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call fcn.14000d240
nop
mov rbx, qword [rsp + 0x60]
cmp dword [rbx - 0x10], 0
jl 0x140074a26
lea rdx, [0x14009e3e8]
mov rcx, rbx
call fcn.140080c48
test rax, rax
je 0x140074a26
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x140074a79
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140074a3f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x58]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140074a71
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140074a71
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
inc r14d
jmp 0x1400748cf
mov r8d, eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140009b60
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000a0b0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140074ab8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov r12d, 1
mov dword [0x1400da7ec], r14d
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, r12d
jg 0x140074af4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140074b1f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140074b1f
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rcx, rdi
jmp 0x140074b26
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140074b4c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r13]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140074b68
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r12d
mov rcx, qword [rbp + 0x4f80]
xor rcx, rsp
call fcn.140078ef0
mov rbx, qword [rsp + 0x50e0]
add rsp, 0x5090
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret