Function at 0x140050c20
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x20], xmm6
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov rbx, rcx
pxor xmm6, xmm6
movdqu xmmword [rcx], xmm6
lea rcx, str.mfplat.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx], rax
test rax, rax
je 0x140050c79
lea rdx, str.MFStartup
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140050c79
mov qword [rbx + 8], rax
movdqu xmmword [rbx + 0x10], xmm6
lea rcx, str.mfplat.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140050cad
lea rdx, str.MFShutdown
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140050cad
mov qword [rbx + 0x18], rax
movdqu xmmword [rbx + 0x20], xmm6
lea rcx, str.mfplat.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x140050ce1
lea rdx, str.MFCreateAttributes
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140050ce1
mov qword [rbx + 0x28], rax
movdqu xmmword [rbx + 0x30], xmm6
lea rcx, str.mf.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x140050d15
lea rdx, str.MFEnumDeviceSources
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140050d15
mov qword [rbx + 0x38], rax
movdqu xmmword [rbx + 0x40], xmm6
lea rcx, str.mf.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x40], rax
test rax, rax
je 0x140050d49
lea rdx, str.MFCreateDeviceSource
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140050d49
mov qword [rbx + 0x48], rax
movdqu xmmword [rbx + 0x50], xmm6
lea rcx, str.mfreadwrite.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x50], rax
test rax, rax
je 0x140050d7d
lea rdx, str.MFCreateSourceReaderFromMediaSource
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140050d7d
mov qword [rbx + 0x58], rax
movdqu xmmword [rbx + 0x60], xmm6
lea rcx, str.mfplat.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x60], rax
test rax, rax
je 0x140050db1
lea rdx, str.MFCreateMediaType
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140050db1
mov qword [rbx + 0x68], rax
mov byte [rbx + 0x70], 0
movq xmm0, qword [rbx + 8]
movq xmm1, qword [rbx + 0x18]
punpcklqdq xmm1, xmm0
movq xmm0, qword [rbx + 0x38]
movq xmm2, qword [rbx + 0x28]
punpcklqdq xmm2, xmm0
pcmpeqd xmm2, xmm6
pshufd xmm0, xmm2, 0xb1
pand xmm0, xmm2
pcmpeqd xmm1, xmm6
pshufd xmm2, xmm1, 0xb1
pand xmm2, xmm1
packssdw xmm2, xmm0
movmskps eax, xmm2
test eax, eax
jne 0x140050ff3
cmp qword [rbx + 0x48], 0
je 0x140050ff3
cmp qword [rbx + 0x58], 0
je 0x140050ff3
cmp qword [rbx + 0x68], 0
je 0x140050ff3
mov qword [rbp + 0x10], 0
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401072d0]
lea r9, [0x14010a948]
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140050e55
mov byte [rbx + 0x70], 1
jmp 0x140050fdc
mov byte [rbx + 0x70], 0
cmp dword [0x14014a578], 0
jg 0x140050fdc
mov dword [rbp + 7], 0
mov qword [rbp], 0
lea r8, str.0x_08X
mov rsi, rbp
mov edx, 0xb
mov rcx, rsi
mov r9d, eax
call fcn.140004c10
mov qword [rbp - 0x20], 0
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rsi, rax
cmp rax, 0xf
jbe 0x140050f28
lea rax, [rbx + 0x10]
lea rcx, [rbx + 0x20]
lea rdx, [rbx + 0x30]
lea r8, [rbx + 0x40]
lea r9, [rbx + 0x50]
lea r10, [rbx + 0x60]
test rsi, rsi
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x30], r10
js 0x140051006
mov rax, rsi
or rax, 0xf
cmp rax, 0x17
mov ebx, 0x16
cmovae rbx, rax
cmp rbx, 0xfff
jb 0x140050f46
lea rcx, [rbx + 0x28]
call fcn.1400fa374
mov rdi, rax
add rdi, 0x27
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140050f52
mov qword [rbp - 0x10], rsi
lea rcx, [rbp - 0x20]
mov rdx, rbp
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rsi - 0x20], 0
mov rdi, qword [rbp - 0x20]
jmp 0x140050f74
lea rcx, [rbx + 1]
call fcn.1400fa374
mov rdi, rax
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rbx
mov rdx, rbp
mov rcx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
mov qword [rbp - 0x20], rdi
mov rbx, qword [rbp - 0x28]
cmp qword [rbp - 8], 0x10
lea rax, [rbp - 0x20]
cmovae rax, rdi
mov qword [rsp + 0x20], rax
lea rdx, str.C:_buildbot_src_android_emu_33_release_external_qemu_android_android_emu_android_camera_camera_capture_windows.cpp
lea r9, [0x14010a958]
xor ecx, ecx
mov r8d, 0x13d
call fcn.1400385d0
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x140050fdc
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140050fd7
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14005100b
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1400fa3b8
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140050ff3
mov qword [rbp + 0x10], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, rbx
movaps xmm6, xmmword [rbp + 0x20]
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.1400067d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3