Function at 0x140088740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rdx
movzx edx, byte [r8]
mov rbp, rcx
mov rbx, r8
lea eax, [rdx - 0x30]
cmp al, 9
jbe 0x140088790
lea eax, [rdx - 0x56]
cmp al, 0x20
ja 0x1400887b0
movabs rcx, 0x160004801
bt rcx, rax
jae case.default.0x14008878a
lea rdx, [0x1403daab0]
movzx eax, al
movsxd rax, dword [rdx + rax*4]
add rdx, rax
jmp rdx
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call sub.msvcrt.dll_strtol
cmp dword [rdi], eax
sete al
movzx eax, al
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp dl, 0x23
je 0x1400889b0
cmp dl, 0x69
je 0x1400889f0
cmp dl, 0x6d
je 0x140088a01
cmp dl, 0x75
je 0x140088a92
test dl, dl
mov eax, 1
je 0x1400887a5
jmp 0x140088954
mov edx, 3
mov rax, qword [rdi + 0xd0]
xor r12d, r12d
mov esi, dword [rax]
cmp edx, esi
mov eax, esi
je 0x14008882c
cmp eax, 0xffffffff
je 0x140088810
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rdi + 8]
cmp dword [rax + 0xc], edx
jne 0x1400887fe
test r12d, r12d
mov esi, edx
je 0x14008882c
test byte [rdi + 0x39], 4
mov r12d, 1
jne 0x1400887fe
cmp byte [rbx + 1], 0x3a
mov eax, 1
jne 0x1400887a5
lea rcx, [rbx + 2]
xor r8d, r8d
xor edx, edx
call sub.msvcrt.dll_strtol
mov r8d, dword [rbp + 0x2c]
test r8d, r8d
je 0x1400887fe
xor edx, edx
test r12d, r12d
mov r9, qword [rbp + 0x30]
je 0x14008898b
jmp 0x140088875
mov rcx, qword [rcx + 8]
cmp dword [rcx + 0xc], esi
je 0x140088888
add rdx, 1
cmp r8d, edx
jbe 0x1400887fe
mov rcx, qword [r9 + rdx*8]
mov r10d, edx
mov r11, qword [rcx + 0xd0]
cmp dword [r11], esi
jne 0x140088863
test byte [rdi + 0x39], 4
jne 0x14008886c
test eax, eax
lea ecx, [rax - 1]
je 0x140088ae0
mov eax, ecx
jmp 0x14008886c
mov edx, 4
jmp 0x1400887e7
mov edx, 2
jmp 0x1400887e7
mov rax, qword [rdi + 0xd0]
xor edx, edx
xor esi, esi
mov r12d, 1
mov eax, dword [rax]
test eax, eax
jne 0x1400887f9
jmp 0x140088820
mov edx, 1
jmp 0x1400887e7
mov rax, qword [rdi + 0xd0]
xor r12d, r12d
mov eax, dword [rax]
test eax, eax
je 0x1400889e0
xor edx, edx
jmp 0x1400887f9
mov dword [rsp + 0x28], 0x13dc
lea rax, str.libavformat_utils.c
lea r9, [0x1403da511]
lea r8, [0x1403d93ae]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.14036cf30
call sub.msvcrt.dll_abort
cmp dl, 0x70
jne 0x1400887b0
cmp byte [r8 + 1], 0x3a
je 0x140088b94
lea r8, str.Invalid_stream_specifier:__s._n
mov r9, rbx
mov edx, 0x10
mov rcx, rbp
call fcn.14036cf30
mov eax, 0xffffffea
jmp 0x1400887a5
mov rcx, qword [rcx + 8]
cmp dword [rcx + 0xc], esi
je 0x14008899e
add rdx, 1
cmp r8d, edx
jbe 0x1400887fe
mov rcx, qword [r9 + rdx*8]
mov r10d, edx
mov r11, qword [rcx + 0xd0]
cmp dword [r11], esi
jne 0x140088975
test eax, eax
lea ecx, [rax - 1]
je 0x140088ae0
mov eax, ecx
jmp 0x14008897e
mov eax, 1
add rbx, rax
lea rdx, [rsp + 0x38]
xor r8d, r8d
mov rcx, rbx
call sub.msvcrt.dll_strtol
mov rdx, qword [rsp + 0x38]
cmp byte [rdx], 0
jne 0x140088954
cmp dword [rdi + 4], eax
sete al
movzx eax, al
jmp 0x1400887a5
xor esi, esi
jmp 0x14008882c
cmp byte [rbx + 1], 0x3a
mov eax, 2
jne 0x140088954
jmp 0x1400889b5
cmp byte [rbx + 1], 0x3a
jne 0x140088954
add rbx, 2
mov edx, 0x3a
mov rcx, rbx
call sub.msvcrt.dll_strchr
test rax, rax
mov rsi, rax
je 0x140088c4e
mov rdx, rax
mov rcx, rbx
sub rdx, rbx
call fcn.14036dde0
mov rdx, rax
test rdx, rdx
mov qword [rsp + 0x38], rdx
mov eax, 0xfffffff4
je 0x1400887a5
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
xor r8d, r8d
call fcn.140353e40
test rax, rax
je 0x140088c92
test rsi, rsi
je 0x140088c99
mov rcx, qword [rax + 8]
lea rdx, [rsi + 1]
xor ebx, ebx
call sub.msvcrt.dll_strcmp
test eax, eax
sete bl
lea rcx, [rsp + 0x38]
call fcn.14036dc30
mov eax, ebx
jmp 0x1400887a5
mov rdx, qword [rdi + 0xd0]
mov rcx, qword [rdi + 8]
mov eax, dword [rdx]
test eax, eax
je 0x140088b52
cmp eax, 1
je 0x140088aed
cmp eax, 0xffffffff
je 0x1400887fe
mov r8d, dword [rdx + 4]
mov eax, 1
test r8d, r8d
jne 0x1400887a5
mov edx, dword [rcx + 0x18]
test edx, edx
jne 0x1400887a5
jmp 0x1400887fe
xor eax, eax
cmp dword [rdi], r10d
sete al
jmp 0x1400887a5
mov eax, dword [rdx + 0x74]
test eax, eax
je 0x140088b01
mov eax, dword [rdx + 0x70]
mov r8d, 1
test eax, eax
jne 0x140088b21
mov r10d, dword [rcx + 0x190]
xor r8d, r8d
test r10d, r10d
je 0x140088b21
mov r12d, dword [rcx + 0x194]
xor r8d, r8d
test r12d, r12d
setne r8b
cmp dword [rdx + 0x1c], 0xffffffff
je 0x140088c3a
mov ebx, dword [rdx + 4]
test ebx, ebx
jne 0x140088b3f
mov r11d, dword [rcx + 0x18]
test r11d, r11d
je 0x1400887fe
test r8d, r8d
mov eax, 1
jne 0x1400887a5
jmp 0x1400887fe
mov ebp, dword [rdx + 0x38]
test ebp, ebp
je 0x140088b66
mov edi, dword [rdx + 0x3c]
mov r8d, 1
test edi, edi
jne 0x140088b7e
mov r9d, dword [rcx + 0x74]
xor r8d, r8d
test r9d, r9d
je 0x140088b7e
mov esi, dword [rcx + 0x78]
xor r8d, r8d
test esi, esi
setne r8b
cmp dword [rdx + 0x1c], 0xffffffff
jne 0x140088b2b
cmp dword [rcx + 0x88], 0xffffffff
jne 0x140088b2b
xor eax, eax
jmp 0x140088800
lea rdx, [rsp + 0x30]
lea rcx, [r8 + 2]
xor r8d, r8d
call sub.msvcrt.dll_strtol
mov edx, dword [rbp + 0x484]
test edx, edx
je 0x1400887fe
mov r10, qword [rbp + 0x488]
sub edx, 1
lea r11, [r10 + rdx*8 + 8]
mov r8, r10
jmp 0x140088bdd
add r8, 8
cmp r8, r11
je 0x1400887fe
mov rdx, qword [r8]
mov rsi, r8
sub rsi, r10
cmp eax, dword [rdx]
jne 0x140088bd0
mov rdx, qword [rsp + 0x30]
lea rcx, [rdx + 1]
mov qword [rsp + 0x30], rcx
cmp byte [rdx], 0x3a
je 0x140088ca3
mov rdx, qword [r8]
mov ebx, dword [rdx + 0x18]
test ebx, ebx
je 0x140088bd0
mov r9, qword [rdx + 0x10]
mov ecx, dword [rdi]
cmp dword [r9], ecx
je 0x140088c30
sub ebx, 1
lea rdx, [r9 + 4]
lea r9, [r9 + rbx*4 + 4]
cmp rdx, r9
je 0x140088bd0
add rdx, 4
cmp dword [rdx - 4], ecx
jne 0x140088c22
mov eax, 1
jmp 0x1400887a5
cmp dword [rcx + 0x198], 0xffffffff
jne 0x140088b2b
xor eax, eax
jmp 0x140088800
mov rcx, rbx
call fcn.14036dd60
mov rdx, rax
jmp 0x140088a39
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
xor r8d, r8d
call fcn.140353e40
test rax, rax
je 0x140088c92
test r12, r12
je 0x140088c99
mov rcx, qword [rax + 8]
lea rdx, [r12 + 1]
mov ebx, 1
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x140088a81
xor ebx, ebx
jmp 0x140088a81
mov ebx, 1
jmp 0x140088a81
movzx eax, byte [rdx + 1]
lea r9d, [rax - 0x61]
cmp r9b, 0x15
jbe 0x140088cef
xor r8d, r8d
xor edx, edx
call sub.msvcrt.dll_strtol
test eax, eax
js 0x1400887fe
mov rdx, qword [rbp + 0x488]
mov rdx, qword [rdx + rsi]
cmp dword [rdx + 0x18], eax
jbe 0x1400887fe
mov rdx, qword [rdx + 0x10]
cdqe
mov eax, dword [rdx + rax*4]
cmp dword [rdi], eax
je 0x140088c30
xor eax, eax
jmp 0x140088800
mov r10d, 0x240009
bt r10, r9
jae 0x140088d79
lea rax, [rdx + 2]
mov qword [rsp + 0x30], rax
movzx eax, byte [rdx + 1]
cmp al, 0x64
je 0x140088ef9
jle 0x140088ed5
cmp al, 0x73
je 0x140088eef
xor ebx, ebx
cmp al, 0x76
jne 0x140088ee2
lea rcx, [rdx + 3]
mov qword [rsp + 0x30], rcx
cmp byte [rdx + 2], 0x3a
je 0x140088dd3
mov rax, qword [r8]
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x1400887fe
mov rdx, qword [rax + 0x10]
mov r8d, dword [rdi]
cmp r8d, dword [rdx]
je 0x140088db2
sub ecx, 1
lea rax, [rdx + 4]
lea rdx, [rdx + rcx*4 + 4]
jmp 0x140088d6d
add rax, 4
cmp dword [rax - 4], r8d
je 0x140088db2
cmp rax, rdx
jne 0x140088d63
xor eax, eax
jmp 0x140088800
cmp al, 0x6d
jne 0x140088cb1
lea rax, [rdx + 2]
mov qword [rsp + 0x30], rax
cmp byte [rdx + 2], 0x3a
je 0x140088e5b
lea r8, str.Invalid_stream_specifier_syntax__missing_:_sign_after_:m._n
mov edx, 0x10
mov rcx, rbp
call fcn.14036cf30
mov eax, 0xffffffea
jmp 0x1400887a5
mov rax, qword [rdi + 0xd0]
cmp ebx, dword [rax]
je 0x140088c30
mov rax, qword [rdi + 8]
cmp dword [rax + 0xc], ebx
sete al
movzx eax, al
jmp 0x1400887a5
xor r8d, r8d
xor edx, edx
call sub.msvcrt.dll_strtol
mov rdx, qword [rbp + 0x488]
xor r8d, r8d
mov r9, qword [rdx + rsi]
xor edx, edx
mov r10d, dword [r9 + 0x18]
jmp 0x140088e00
mov rcx, qword [rcx + 8]
cmp ebx, dword [rcx + 0xc]
je 0x140088e29
add rdx, 1
cmp r10d, edx
jbe 0x1400887fe
mov rcx, qword [r9 + 0x10]
movsxd rcx, dword [rcx + rdx*4]
cmp ecx, dword [rdi]
je 0x140088e2f
mov r11, qword [rbp + 0x30]
mov rcx, qword [r11 + rcx*8]
mov r11, qword [rcx + 0xd0]
cmp ebx, dword [r11]
jne 0x140088df3
add r8d, 1
jmp 0x140088dfc
cmp r8d, eax
jne 0x1400887fe
mov rax, qword [rdi + 0xd0]
cmp ebx, dword [rax]
je 0x140088c30
mov rax, qword [rdi + 8]
cmp ebx, dword [rax + 0xc]
je 0x140088c30
xor eax, eax
jmp 0x140088800
lea rbx, [rdx + 3]
mov edx, 0x3a
mov rcx, rbx
mov qword [rsp + 0x30], rbx
call sub.msvcrt.dll_strchr
test rax, rax
mov r12, rax
je 0x140088f03
mov rdx, rax
mov rcx, rbx
sub rdx, rbx
call fcn.14036dde0
mov rdx, rax
test rdx, rdx
mov qword [rsp + 0x38], rdx
mov eax, 0xfffffff4
je 0x1400887a5
mov rax, qword [rbp + 0x488]
mov rcx, qword [rax + rsi]
xor eax, eax
mov r8d, dword [rcx + 0x18]
jmp 0x140088ec9
mov r9, qword [rcx + 0x10]
mov r9d, dword [r9 + rax*4]
add rax, 1
cmp dword [rdi], r9d
je 0x140088c5e
cmp r8d, eax
ja 0x140088eb4
xor ebx, ebx
jmp 0x140088a81
cmp al, 0x61
mov ebx, 1
je 0x140088d28
mov dword [rsp + 0x28], 0x1413
jmp 0x140088918
mov ebx, 3
jmp 0x140088d28
mov ebx, 2
jmp 0x140088d28
mov rcx, rbx
call fcn.14036dd60
mov rdx, rax
jmp 0x140088e8e