Function at 0x140075760
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.140082ff0
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x50e0], rbx
mov rax, qword [0x1400d8010]
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 0x1400757cb
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 0x140075a64
mov r14d, dword [0x1400dc834]
cmp r14d, 5
jge 0x140075a5f
lea rax, [0x1400ddab0]
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 0x1400759a9
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 0x140075a54
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 0x1400758dc
movzx edi, cx
mov ecx, edi
call fcn.140005710
test rax, rax
je 0x1400758f1
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400053d0
mov rbx, qword [rsp + 0x58]
jmp 0x1400758f1
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14002b410
mov rbx, qword [rsp + 0x58]
jmp 0x1400758f6
mov rdi, qword [rsp + 0x30]
cmp dword [rbx - 0x10], 0
jl 0x140075984
lea rdx, str._categoryId_:__
mov rcx, rbx
call fcn.140081b98
test rax, rax
je 0x140075984
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140075984
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.14000d2c0
nop
mov rbx, qword [rsp + 0x60]
cmp dword [rbx - 0x10], 0
jl 0x140075966
lea rdx, [0x14009f74c]
mov rcx, rbx
call fcn.140081b98
test rax, rax
je 0x140075966
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x1400759b9
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007597f
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 0x1400759b1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400759b1
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
inc r14d
jmp 0x14007580f
mov r8d, eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140009be0
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000a130
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400759f8
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 [0x1400dc834], r14d
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, r12d
jg 0x140075a34
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 0x140075a5f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140075a5f
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rcx, rdi
jmp 0x140075a66
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 0x140075a8c
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 0x140075aa8
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.140079e30
mov rbx, qword [rsp + 0x50e0]
add rsp, 0x5090
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret