Function at 0x1401c0710
Capabilities:
Accept command line arguments
Read file on windows
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov dword [rbp - 0x51], 0
lea rcx, [rbp + 0x77]
call fcn.1402e36b0
nop
mov rbx, qword [rbp + 0x77]
mov rax, qword [rbx]
mov r15, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r14, rax
lea r12, vtable.CefStringBase_struct_CefStringTraitsUTF8_.0
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x61], 0
mov byte [rbp - 0x59], 0
mov rsi, 0xffffffffffffffff
test rax, rax
je 0x1401c07bd
mov rdi, rsi
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1401c0780
test rdi, rdi
je 0x1401c07bd
mov ecx, 0x18
call fcn.14031dc78
mov qword [rbp - 0x61], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov byte [rbp - 0x59], 1
mov r8, qword [rbp - 0x61]
mov rdx, rdi
mov rcx, r14
call sub.libcef.dll_cef_string_wide_to_utf8
nop
lea rdx, [rbp - 0x69]
mov rcx, rbx
call r15
nop
mov qword [rbp - 0x69], r12
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1401c07fa
cmp byte [rbp - 0x59], 0
je 0x1401c07ee
call sub.libcef.dll_cef_string_utf8_clear
mov edx, 0x18
mov rcx, qword [rbp - 0x61]
call fcn.14031dc44
mov qword [rbp - 0x61], 0
mov byte [rbp - 0x59], 0
xor r13d, r13d
lea rdx, [0x14049baec]
lea rcx, str.libav.conf
call fcn.140334e54
mov rdi, rax
lea r15d, [r13 + 1]
test rax, rax
je 0x1401c08ab
xor edx, edx
lea r8d, [r13 + 2]
mov rcx, rax
call fcn.140335c6c
mov rcx, rdi
call fcn.1403361c4
movsxd r14, eax
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140335c6c
test r14d, r14d
jle 0x1401c08a3
lea ecx, [r14 + 1]
movsxd rcx, ecx
call fcn.14032bef4
mov rbx, rax
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.1403224b0
mov r9, rdi
mov r8d, r15d
mov rdx, r14
mov rcx, rbx
call fcn.1403352ac
test rax, rax
je 0x1401c089b
mov byte [r14 + rbx], r13b
test rbx, rbx
je 0x1401c089b
cmp byte [rbx], r13b
je 0x1401c089b
mov rdx, rbx
lea rcx, str.STEAMVIDEOTOKEN
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov rcx, rbx
call fcn.14032bee0
mov rcx, rdi
call fcn.140334ee4
mov edx, 0x104
lea rcx, [0x1405d9770]
call fcn.1402925c0
mov byte [0x1405d9874], r13b
lea rdx, [0x1405d9878]
lea rcx, [0x1405d9770]
call fcn.140336db0
test eax, eax
je 0x1401c08f4
xorps xmm0, xmm0
movups xmmword [0x1405d9878], xmm0
movups xmmword [0x1405d9888], xmm0
movups xmmword [0x1405d9898], xmm0
jmp 0x1401c08fb
mov byte [0x1405d9874], r15b
mov rbx, qword [rbp + 0x77]
mov rax, qword [rbx]
mov r12, qword [rax + 0x58]
mov r14, qword [0x1405ba100]
lea rax, vtable.CefStringBase_struct_CefStringTraitsUTF8_.0
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], 0
mov byte [rbp - 0x59], 0
test r14, r14
je 0x1401c0970
mov rdi, rsi
nop dword [rax]
inc rdi
cmp byte [r14 + rdi], 0
jne 0x1401c0930
test rdi, rdi
je 0x1401c0970
mov ecx, 0x18
call fcn.14031dc78
mov qword [rbp - 0x61], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov byte [rbp - 0x59], 1
mov r9d, r15d
mov r8, qword [rbp - 0x61]
mov rdx, rdi
mov rcx, r14
call sub.libcef.dll_cef_string_utf8_set
nop
lea rdx, [rbp - 0x69]
mov rcx, rbx
call r12
test al, al
sete bl
lea rax, vtable.CefStringBase_struct_CefStringTraitsUTF8_.0
mov qword [rbp - 0x69], rax
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1401c09b8
cmp byte [rbp - 0x59], 0
je 0x1401c09ac
call sub.libcef.dll_cef_string_utf8_clear
mov edx, 0x18
mov rcx, qword [rbp - 0x61]
call fcn.14031dc44
mov qword [rbp - 0x61], 0
mov byte [rbp - 0x59], 0
test bl, bl
je 0x1401c09c6
call fcn.140161fd0
jmp 0x1401c0c95
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 7], rax
mov rbx, qword [rbp + 0x77]
mov rax, qword [rbx]
mov r12, qword [rax + 0x60]
mov r14, qword [0x1405ba100]
lea r13, vtable.CefStringBase_struct_CefStringTraitsUTF8_.0
mov qword [rbp - 0x69], r13
mov qword [rbp - 0x61], 0
mov byte [rbp - 0x59], 0
test r14, r14
je 0x1401c0a43
mov rdi, rsi
inc rdi
cmp byte [r14 + rdi], 0
jne 0x1401c0a03
test rdi, rdi
je 0x1401c0a43
mov ecx, 0x18
call fcn.14031dc78
mov qword [rbp - 0x61], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov byte [rbp - 0x59], 1
mov r9d, r15d
mov r8, qword [rbp - 0x61]
mov rdx, rdi
mov rcx, r14
call sub.libcef.dll_cef_string_utf8_set
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x11]
mov rcx, rbx
call r12
nop
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.140144ac0
nop
mov qword [rbp - 0x11], r13
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1401c0a91
cmp byte [rbp - 1], 0
je 0x1401c0a85
call sub.libcef.dll_cef_string_utf8_clear
mov edx, 0x18
mov rcx, qword [rbp - 9]
call fcn.14031dc44
mov qword [rbp - 9], 0
mov byte [rbp - 1], 0
mov qword [rbp - 0x69], r13
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1401c0ac3
cmp byte [rbp - 0x59], 0
je 0x1401c0ab7
call sub.libcef.dll_cef_string_utf8_clear
mov edx, 0x18
mov rcx, qword [rbp - 0x61]
call fcn.14031dc44
mov qword [rbp - 0x61], 0
mov byte [rbp - 0x59], 0
mov rbx, qword [rbp + 0x77]
mov rax, qword [rbx]
mov r14, qword [rax + 0x58]
mov rdi, qword [str.disable_winh264]
mov qword [rbp - 0x49], r13
xor r12d, r12d
mov qword [rbp - 0x41], r12
mov byte [rbp - 0x39], r12b
test rdi, rdi
je 0x1401c0b2f
nop dword [rax]
inc rsi
cmp byte [rdi + rsi], r12b
jne 0x1401c0af0
test rsi, rsi
je 0x1401c0b2f
mov ecx, 0x18
call fcn.14031dc78
mov qword [rbp - 0x41], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov byte [rbp - 0x39], 1
mov r9d, r15d
mov r8, qword [rbp - 0x41]
mov rdx, rsi
mov rcx, rdi
call sub.libcef.dll_cef_string_utf8_set
nop
mov dword [rbp - 0x51], r15d
lea rdx, [rbp - 0x49]
mov rcx, rbx
call r14
test al, al
jne 0x1401c0b69
lea rax, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rax, qword [rbp - 0x31]
cmp qword [rbp - 0x21], 8
jne 0x1401c0b69
movabs rcx, 0x72657265646e6572
cmp qword [rax], rcx
jne 0x1401c0b69
mov bl, 1
jmp 0x1401c0b6b
xor bl, bl
and r15d, 0xfffffffe
mov dword [rbp - 0x51], r15d
mov qword [rbp - 0x49], r13
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1401c0ba1
cmp byte [rbp - 0x39], 0
je 0x1401c0b99
call sub.libcef.dll_cef_string_utf8_clear
mov edx, 0x18
mov rcx, qword [rbp - 0x41]
call fcn.14031dc44
mov qword [rbp - 0x41], r12
mov byte [rbp - 0x39], 0
test bl, bl
je 0x1401c0bf8
lea rcx, str.winh264.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x1401c0bf8
lea rcx, str.mfreadwrite.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.msmpeg2vdec.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.evr.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.WinH264CreateDecoder
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401c0bf8
call rax
call fcn.140039c68
mov rbx, rax
mov qword [rbp + 0xf], rax
lea rax, [rbp + 0x7f]
mov qword [rbp + 0x17], rax
lea rax, [0x1405ba150]
mov qword [rbp + 0x7f], rax
mov rax, qword [0x1405ba158]
movsxd rcx, dword [rax + 4]
lea rax, [0x1405ba158]
add rcx, rax
mov rax, qword [rcx]
call qword [rax]
nop
mov r8, rbx
lea rdx, [rbp + 0x7f]
lea rcx, [rbp + 7]
call fcn.1402de300
mov r13d, eax
mov rcx, rbx
call fcn.140039cbb
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1401c0c85
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401c0c80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401c0cd1
call fcn.14031dc44
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], recv
mov byte [rbp - 0x31], 0
mov rax, qword [rbp + 0x77]
test rax, rax
je 0x1401c0cb3
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov eax, r13d
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14032c23c
nop
int3