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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov dword [esp + 0x3c], eax
movzx eax, byte [ecx]
mov dword [esp + 0x38], edx
test al, al
je 0x10005140
mov dword [esp + 0x40], esi
mov ebp, 1
mov ebx, ecx
cmp al, 0x76
jg 0x10004d2a
cmp al, 0x60
jle 0x10004cf0
lea ecx, [eax - 0x61]
mov esi, 1
shl esi, cl
movzx edx, cl
and esi, 0x2c0009
jne 0x10004d38
cmp al, 0x67
je 0x10004d20
cmp al, 0x70
jne 0x100050e8
cmp byte [ebx + 1], 0x3a
jne 0x10004d2a
lea esi, [ebx + 2]
lea eax, [esp + 0x5c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt.dll_strtol
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
cmp ebx, esi
je 0x10004d2a
cmp byte [ebx], 0
je 0x10004cd2
lea eax, [ebx + 1]
mov dword [esp + 0x5c], eax
cmp byte [ebx], 0x3a
jne 0x10004d2a
mov ebx, eax
test ebp, ebp
jne 0x10004d50
movzx eax, byte [ebx]
test al, al
jne 0x10004c55
add esp, 0x6c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
cmp al, 0x39
jg 0x10004df8
mov edi, ebx
mov ebx, dword [esp + 0x80]
cmp al, 0x2f
jle 0x10005040
test ebx, ebx
je 0x10004ce1
mov dword [ebx], edi
add esp, 0x6c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebx + 1], 0x3a
je 0x10004e40
mov ebp, 0xffffffea
jmp 0x10004ce1
cmp cl, 0x15
ja case.0x10004d41.1
jmp dword [edx*4 + 0x1008315c]
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x78]
test edi, edi
je 0x10005030
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x4c], ebp
xor edx, edx
mov ebp, edi
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ebx
jmp 0x10004d87
add edx, 1
cmp edx, ebp
jae 0x10004de8
mov eax, dword [esp + 0x30]
mov edi, dword [eax + edx*4]
mov eax, dword [esp + 0x2c]
cmp dword [edi], eax
jne 0x10004d80
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x10004d80
mov eax, dword [esp + 0x38]
mov ebx, dword [edi + 0xc]
mov esi, dword [eax + 4]
xor eax, eax
jmp 0x10004db7
add eax, 1
cmp eax, ecx
je 0x10004d80
cmp esi, dword [ebx + eax*4]
jne 0x10004db0
mov eax, dword [esp + 0x88]
test eax, eax
je 0x10004dd0
mov eax, dword [esp + 0x88]
mov dword [eax], edi
mov eax, dword [esp + 0x4c]
mov edx, ebp
add edx, 1
mov dword [esp + 0x44], eax
cmp edx, ebp
jb 0x10004d87
lea esi, [esi]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
jmp 0x10004cd6
cmp al, 0x56
jne 0x10004d2a
mov esi, 1
xor edi, edi
movzx eax, byte [ebx + 1]
test al, al
jne 0x10005000
add ebx, 1
mov ecx, dword [esp + 0x38]
xor edx, edx
mov ecx, dword [ecx + 0xc]
cmp dword [ecx], edi
cmovne ebp, edx
test esi, esi
je 0x10004cd9
mov ecx, dword [esp + 0x38]
test byte [ecx + 0x39], 4
cmovne ebp, edx
jmp 0x10004cd9
movzx eax, byte [ebx + 2]
lea edi, [ebx + 2]
cmp al, 0x23
je 0x10004f20
cmp al, 0x69
jne 0x10004e62
cmp byte [ebx + 3], 0x3a
mov eax, 2
je 0x10004f25
lea eax, [esp + 0x5c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.msvcrt.dll_strtol
mov ebx, dword [esp + 0x5c]
cmp ebx, edi
je 0x10004d2a
cmp byte [ebx], 0
je 0x10004e9d
lea edx, [ebx + 1]
mov dword [esp + 0x5c], edx
cmp byte [ebx], 0x3a
jne 0x10004d2a
mov ebx, edx
test ebp, ebp
je 0x10004cd6
cdq
test edx, edx
js 0x10004d2a
mov edi, dword [esp + 0x3c]
mov edi, dword [edi + 0x20]
cmp eax, edi
mov edi, edx
sbb edi, 0
jge 0x10004d2a
mov edi, dword [esp + 0x3c]
mov edx, dword [edi + 0x24]
mov ebp, dword [edx + eax*4]
mov edx, dword [ebp + 0x24]
test edx, edx
je 0x10005030
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x28]
mov edi, dword [eax + 4]
jmp 0x10004ef3
add esi, 1
cmp esi, edx
je 0x10005030
mov eax, dword [ecx + esi*4]
cmp edi, dword [eax + 4]
jne 0x10004ee8
mov eax, dword [esp + 0x84]
test eax, eax
je 0x10004f0f
mov eax, dword [esp + 0x84]
mov dword [eax], ebp
mov ebp, 1
jmp 0x10004cd6
mov eax, 1
add edi, eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.msvcrt.dll_strtol
mov ebx, dword [esp + 0x5c]
cmp ebx, edi
je 0x10004d2a
cmp byte [ebx], 0
je 0x10004f62
lea edx, [ebx + 1]
mov dword [esp + 0x5c], edx
cmp byte [ebx], 0x3a
jne 0x10004d2a
mov ebx, edx
test ebp, ebp
je 0x10004cd6
xor edx, edx
mov ebp, eax
mov dword [esp + 0x30], eax
sar ebp, 0x1f
cmp edx, eax
sbb edx, ebp
mov dword [esp + 0x34], ebp
jge 0x10004d2a
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x20]
test edi, edi
je 0x10004d2a
mov dword [esp + 0x44], esi
mov ebp, dword [eax + 0x24]
xor ecx, ecx
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x48], ebx
mov edi, dword [esp + 0x34]
jmp 0x10004fbf
mov eax, dword [esp + 0x2c]
add ecx, 1
cmp ecx, eax
je 0x10004d2a
mov ebx, dword [ebp + ecx*4]
mov eax, esi
mov edx, edi
xor eax, dword [ebx + 0x10]
xor edx, dword [ebx + 0x14]
or eax, edx
jne 0x10004fb0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
mov eax, ecx
xor edx, edx
mov ebx, dword [esp + 0x48]
jmp 0x10004eb5
movzx eax, byte [ebx + 1]
xor esi, esi
mov edi, 4
test al, al
je 0x10004e13
lea esi, [esi]
lea edx, [ebx + 2]
cmp al, 0x3a
jne 0x10004d2a
movzx eax, byte [ebx + 2]
mov ebx, edx
jmp 0x10004e16
xor esi, esi
mov edi, 2
jmp 0x10004e07
xor esi, esi
xor edi, edi
jmp 0x10004e07
xor ebp, ebp
jmp 0x10004cd6
cmp al, 0x23
jne 0x10004d2a
mov eax, 1
add edi, eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.msvcrt.dll_strtol
mov edx, dword [esp + 0x5c]
cmp edx, edi
je 0x10004d2a
cmp byte [edx], 0
jne 0x10004d2a
test ebp, ebp
je 0x10004ce1
mov edi, dword [esp + 0x38]
cmp dword [edi + 8], eax
sete al
movzx eax, al
mov ebp, eax
jmp 0x10004ce1
xor eax, eax
mov dword [esp + 0x14], 0x21c
mov dword [esp + 4], eax
mov dword [esp], eax
mov dword [esp + 0x10], str.src_libavformat_avformat.c
mov dword [esp + 0xc], 0x1008313b
mov dword [esp + 8], 0x1008313d
call sub.avutil_59.dll_av_log
call sub.msvcrt.dll_abort
lea esi, cs:[esi]
xor esi, esi
mov edi, 1
jmp 0x10004e07
xor esi, esi
mov edi, 3
jmp 0x10004e07
mov esi, dword [esp + 0x40]
mov edi, ebx
cmp al, 0x69
je 0x1000514a
cmp al, 0x6d
je 0x10005165
cmp al, 0x75
jne 0x10004d2a
cmp byte [edi + 1], 0
jne 0x10004d2a
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
test edx, edx
je 0x10005246
cmp edx, 1
je 0x1000520c
cmp edx, 0xffffffff
je 0x1000515e
test ebp, ebp
je 0x10004ce1
mov edx, dword [eax + 4]
xor eax, eax
test edx, edx
setne al
mov ebp, eax
jmp 0x10004ce1
mov ebp, 1
jmp 0x10004ce1
cmp byte [edi + 1], 0x3a
jne 0x10004d2a
mov eax, 2
jmp 0x1000504d
xor ebp, ebp
jmp 0x10004ce1
cmp byte [edi + 1], 0x3a
jne 0x10004d2a
test ebp, ebp
je 0x10005205
add edi, 2
mov dword [esp + 4], 0x3a
mov dword [esp], edi
call sub.msvcrt.dll_strchr
mov ebx, eax
test eax, eax
je 0x10005259
sub eax, edi
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.avutil_59.dll_av_strndup
mov dword [esp + 0x5c], eax
test eax, eax
je 0x10005266
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [eax + 0x48]
mov dword [esp], eax
call sub.avutil_59.dll_av_dict_get
test eax, eax
je 0x100051f9
mov esi, ebp
test ebx, ebx
je 0x100051f9
add ebx, 1
mov dword [esp + 4], ebx
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
sete al
movzx eax, al
mov esi, eax
lea eax, [esp + 0x5c]
mov dword [esp], eax
call sub.avutil_59.dll_av_freep
and ebp, esi
jmp 0x10004ce1
mov edi, dword [eax + 0x88]
xor edx, edx
test edi, edi
je 0x10005220
mov esi, dword [eax + 0x74]
test esi, esi
setne dl
cmp dword [eax + 0x1c], 0xffffffff
je 0x1000515e
test ebp, ebp
je 0x10004ce1
mov eax, dword [eax + 4]
test eax, eax
setne al
movzx eax, al
and eax, edx
mov ebp, eax
jmp 0x10004ce1
mov ebx, dword [eax + 0x38]
xor edx, edx
test ebx, ebx
je 0x10005220
mov ecx, dword [eax + 0x3c]
test ecx, ecx
setne dl
jmp 0x10005220
mov dword [esp], edi
call sub.avutil_59.dll_av_strdup
jmp 0x100051a2
mov ebp, 0xfffffff4
jmp 0x10004ce1