Function at 0x1400615e0
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 - 0x4f80]
mov eax, 0x5080
call fcn.14006ee90
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x50d0], rbx
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rbp + 0x4f70], rax
mov r13, rdx
mov r14, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x140061905
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov r9, qword [0x1400bfae0]
mov r8, qword [r14]
lea rdx, str.https:__www.googleapis.com_youtube_v3_videos_partsnippetid_skey_s
lea rcx, [rsp + 0x60]
call fcn.140004c30
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Youtube_Category
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r12, rax
or edi, 0xffffffff
test rax, rax
je 0x140061896
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
je 0x140061896
mov dword [rsp + 0x58], esi
lea r9, [rsp + 0x58]
mov r8d, 0x5000
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x140061910
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140004a90
test al, al
jne 0x140061720
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140020350
nop
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0x10], 0
jl 0x140061868
lea rdx, str._categoryId_:__
mov rcx, rbx
call fcn.14006c5dc
test rax, rax
je 0x140061868
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140061868
xor ecx, ecx
mov qword [rsp + 0x48], rcx
lea r8d, [rax + 0xf]
lea r9d, [rcx + 3]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.14000bb90
nop
mov rbx, qword [rsp + 0x48]
cmp dword [rbx - 0x10], 0
jl 0x14006184a
lea rdx, [0x1400890b8]
mov rcx, rbx
call fcn.14006c5dc
test rax, rax
je 0x14006184a
sub rax, rbx
sar rax, 1
test eax, eax
js 0x14006184a
mov r8d, eax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.1400087e0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140061815
cmp dword [rbx + 0x10], 0
jl 0x140061806
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140061806
call fcn.140004bb0
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400617fb
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x48], rax
jmp 0x140061815
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x48]
call fcn.140002f50
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140061833
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [r13], eax
mov esi, 1
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140061863
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006189f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14006189f
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400618be
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400618d9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, esi
mov rcx, qword [rbp + 0x4f70]
xor rcx, rsp
call fcn.140065bd0
mov rbx, qword [rsp + 0x50d0]
add rsp, 0x5080
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003270
nop
mov ecx, 0x80004005
call fcn.140003270
int3