Function at 0x140071b40
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.14007f4d0
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x50e0], rbx
mov rax, qword [0x1400d5010]
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.140004150
mov rcx, rax
test rax, rax
jne 0x140071bab
mov ecx, 0x80004005
call fcn.140003ec0
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 0x140071e44
mov r14d, dword [0x1400d974c]
cmp r14d, 5
jge 0x140071e3f
lea rax, [0x1400da9b0]
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.1400053a0
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 0x140071d89
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.140004150
mov rcx, rax
test rax, rax
je 0x140071e34
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 0x140071cbc
movzx edi, cx
mov ecx, edi
call fcn.1400055d0
test rax, rax
je 0x140071cd1
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140005290
mov rbx, qword [rsp + 0x58]
jmp 0x140071cd1
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.1400273d0
mov rbx, qword [rsp + 0x58]
jmp 0x140071cd6
mov rdi, qword [rsp + 0x30]
cmp dword [rbx - 0x10], 0
jl 0x140071d64
lea rdx, str._categoryId_:__
mov rcx, rbx
call fcn.14007e078
test rax, rax
je 0x140071d64
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140071d64
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.14000ca80
nop
mov rbx, qword [rsp + 0x60]
cmp dword [rbx - 0x10], 0
jl 0x140071d46
lea rdx, [0x14009bb88]
mov rcx, rbx
call fcn.14007e078
test rax, rax
je 0x140071d46
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x140071d99
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140071d5f
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 0x140071d91
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140071d91
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
inc r14d
jmp 0x140071bef
mov r8d, eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140009b30
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000a080
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140071dd8
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 [0x1400d974c], r14d
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, r12d
jg 0x140071e14
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 0x140071e3f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140071e3f
mov ecx, 0x80004005
call fcn.140003ec0
int3
mov rcx, rdi
jmp 0x140071e46
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 0x140071e6c
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 0x140071e88
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.140076320
mov rbx, qword [rsp + 0x50e0]
add rsp, 0x5090
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret