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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
push edi
call sym.ffmpeg.dll_av_init_packet
add esp, 4
lea eax, [esi + 0x180]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x10044af3
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x30]
call dword [section..00cfg]
push edi
push esi
call ecx
add esp, 8
test eax, eax
js 0x10044a7b
push edi
call fcn.1003b450
add esp, 4
test eax, eax
js 0x10044b4e
test byte [edi + 0x24], 2
jne 0x10044b5e
mov esi, dword [edi + 0x20]
mov eax, dword [ebp + 8]
cmp esi, dword [eax + 0x18]
jae 0x10044f3d
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
lea ecx, [edx - 0x80000000]
or ecx, eax
je 0x10044b7c
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x18], esi
mov ebx, dword [ecx + esi*4]
mov ecx, dword [ebx + 0x14c]
mov esi, 0x80000000
xor ecx, esi
mov dword [ebp - 0x10], ebx
or ecx, dword [ebx + 0x148]
jne 0x10044975
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 0xb8]
cmp ebx, 0x3e
jg 0x10044975
mov ecx, edx
mov esi, 0x80000000
xor ecx, esi
or ecx, eax
jne 0x10044cc6
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx + 0x150]
test esi, esi
jne 0x10044b87
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx + 0x150]
test esi, esi
jne 0x10044bfe
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb4]
mov ecx, dword [eax]
cmp ecx, 3
ja case.default.0x100449bf
jmp dword [ecx*4 + 0x102c6748]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x74]
test ecx, ecx
jne 0x10044cb0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xd8], 0
jne 0x10044c75
cmp dword [ebp - 0x28], 0
jne 0x10044aae
xor ebx, ebx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x108], 0
jle 0x10044aa4
jmp 0x10044aae
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x70]
jmp 0x100449cc
mov eax, dword [ebx + 0x38]
xor eax, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x3c]
xor ecx, dword [ebp - 0x24]
or ecx, eax
je 0x10044a61
cmp dword [ebx + 0x10], 0
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
je 0x10044a55
xor eax, eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ebx + 0xc]
mov edx, dword [edx + eax*4]
mov ecx, dword [ecx + edx*4]
mov dword [ecx + 0x148], esi
mov dword [ecx + 0x14c], edi
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x150], edx
inc eax
cmp eax, dword [ebx + 0x10]
jb 0x10044a2b
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], edi
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x40], eax
push dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
call fcn.10042f30
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x10044a0d
jmp 0x10044f5d
mov ebx, eax
push edi
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
cmp ebx, 0xb0bbbaae
mov eax, dword [ebp - 0x1c]
je 0x100448c9
cmp dword [ebp - 0x28], 0
je 0x10044aa4
cmp ebx, 0xfffffff5
jne 0x10044ee3
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
mov esi, edi
push edi
push dword [ebp - 0x1c]
call fcn.1003b4d0
add esp, 0x10
test eax, eax
js 0x10044b49
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x184]
mov edx, dword [eax + 0x24]
add eax, 8
add dword [ecx + 0x198], edx
mov edx, dword [ebp - 0x10]
push eax
call fcn.10175550
add esp, 4
mov edi, esi
mov eax, dword [ebp - 0x1c]
jmp 0x100448c9
mov esi, edi
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x28]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x198]
mov edx, ecx
sar edx, 0x1f
cmp ecx, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ecx + eax*4]
sbb edx, dword [ebx + 0x54]
jge 0x10044ecf
cmp dword [edi + 0x108], 0
mov edi, esi
jg 0x100448d6
push edi
push dword [ebp - 0x1c]
call fcn.1003b650
add esp, 8
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp + 8]
sub dword [ecx + 0x198], eax
xor ebx, ebx
jmp 0x10044aa4
mov ebx, eax
push esi
jmp 0x10044b51
mov ebx, eax
push edi
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
jmp 0x10044aa4
mov eax, dword [ebp + 8]
test byte [eax + 0x49], 1
je 0x1004490f
push edi
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x100448c9
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
jmp 0x10044932
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xb8]
mov dword [ebp - 0x14], ecx
cmp ecx, 0x3f
jg 0x10044bf6
mov edi, edx
mov ebx, 0x80000000
xor edi, ebx
or edi, eax
je 0x10044bf6
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x148]
mov edi, dword [edi + 0x14c]
mov dword [ebp - 0x18], edi
mov ebx, 0x80000000
xor edi, ebx
or edi, ecx
je 0x10044bf6
mov ebx, ecx
cmp esi, 1
jne 0x10044de2
cmp eax, ebx
mov edi, edx
sbb edi, dword [ebp - 0x18]
jge 0x10044de2
xor esi, esi
inc esi
xor edi, edi
mov ecx, dword [ebp - 0x14]
shld edi, esi, cl
xor ebx, ebx
shl esi, cl
test cl, 0x20
cmovne edi, esi
cmovne esi, ebx
add eax, esi
adc edx, edi
mov edi, dword [ebp + 0xc]
jmp 0x1004498c
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xb8]
mov dword [ebp - 0x14], ecx
cmp ecx, 0x3f
jg 0x10044c6d
mov edi, edx
mov ebx, 0x80000000
xor edi, ebx
or edi, eax
je 0x10044c6d
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x148]
mov edi, dword [edi + 0x14c]
mov dword [ebp - 0x18], edi
mov ebx, 0x80000000
xor edi, ebx
or edi, ecx
je 0x10044c6d
mov ebx, ecx
cmp esi, 1
jne 0x10044e16
cmp eax, ebx
mov edi, edx
sbb edi, dword [ebp - 0x18]
jge 0x10044e16
xor esi, esi
inc esi
xor edi, edi
mov ecx, dword [ebp - 0x14]
shld edi, esi, cl
xor ebx, ebx
shl esi, cl
test cl, 0x20
cmovne edi, esi
cmovne esi, ebx
add eax, esi
adc edx, edi
mov edi, dword [ebp + 0xc]
jmp 0x100449a9
call fcn.1019b8d0
mov ecx, dword [ebp - 0x10]
push dword [ecx + 0x10]
push dword [ecx + 0xc]
push 0xf4240
push 1
push edx
push eax
call sym.ffmpeg.dll_av_rescale_q
add esp, 0x18
mov dword [edi + 0xc], edx
mov dword [edi + 8], eax
mov dword [edi + 0x14], edx
mov dword [edi + 0x10], eax
jmp 0x100449e4
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x78]
jmp 0x100449cc
mov dword [eax + 4], ecx
jmp case.default.0x100449bf
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x13c]
jmp 0x100449cc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xf0], 0
je 0x10044975
xor edi, edi
inc edi
xor esi, esi
mov ecx, ebx
shld esi, edi, cl
shl edi, cl
xor ecx, ecx
test bl, 0x20
cmovne esi, edi
mov dword [ebp - 0x24], esi
cmovne edi, ecx
mov ecx, edi
add ecx, 0xffffffff
mov dword [ebp - 0x14], ecx
mov ecx, esi
adc ecx, 0xffffffff
and ecx, edx
mov dword [ebp - 0x20], ecx
and dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov ecx, eax
sar ecx, 0x1f
mov edx, dword [edx + 0x10]
mov esi, edx
sar esi, 0x1f
push ecx
push eax
push esi
push edx
xor eax, eax
push eax
push 0x3c
call fcn.1005f540
add esp, 0x18
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x20]
sbb ecx, edx
mov dword [ebp - 0x2c], ecx
add bl, 0xfd
xor edx, edx
dec edx
mov esi, edx
mov ecx, ebx
shl esi, cl
test bl, 0x20
cmovne edx, esi
mov eax, 0
cmovne esi, eax
add esi, edi
mov eax, dword [ebp - 0x24]
adc edx, eax
mov ebx, dword [ebp - 0x14]
cmp ebx, esi
mov esi, dword [ebp - 0x20]
mov ecx, esi
sbb ecx, edx
setl cl
sub edi, dword [ebp - 0x34]
sbb eax, dword [ebp - 0x38]
cmp ebx, edi
sbb esi, eax
setl al
or al, cl
movzx eax, al
dec eax
or eax, 1
mov dword [ebp - 0x14], eax
push dword [ebp - 0x18]
xor eax, eax
push eax
push dword [ebp + 8]
call fcn.10042f30
add esp, 0xc
mov ebx, eax
test eax, eax
je 0x10044e4a
mov esi, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, 0x80000000
xor ecx, edx
mov dword [ebp - 0x20], esi
or ecx, esi
jne 0x10044ec4
push dword [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.10042f30
add esp, 0xc
test eax, eax
jne 0x10044da3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
jmp 0x10044a0d
cmp esi, 0xffffffff
jne 0x10044bf6
cmp eax, ebx
mov esi, edx
sbb esi, dword [ebp - 0x18]
jl 0x10044bf6
xor esi, esi
dec esi
mov edi, esi
mov ecx, dword [ebp - 0x14]
shl edi, cl
xor ebx, ebx
test cl, 0x20
cmovne esi, edi
cmove ebx, edi
add eax, ebx
adc edx, esi
jmp 0x10044bf6
cmp esi, 0xffffffff
jne 0x10044c6d
cmp eax, ebx
mov esi, edx
sbb esi, dword [ebp - 0x18]
jl 0x10044c6d
xor esi, esi
dec esi
mov edi, esi
mov ecx, dword [ebp - 0x14]
shl edi, cl
xor ebx, ebx
test cl, 0x20
cmovne esi, edi
cmove ebx, edi
add eax, ebx
adc edx, esi
jmp 0x10044c6d
mov esi, dword [ebp + 8]
push esi
call fcn.10172c80
add esp, 4
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 0x148]
mov edx, dword [eax + 0x14c]
mov esi, edx
mov edi, 0x80000000
xor esi, edi
or esi, ecx
jne 0x10044f42
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x18], 0
je 0x10044f5d
xor esi, esi
mov eax, dword [ebx + 0x1c]
mov edi, dword [eax + esi*4]
push esi
push 0
push ebx
call fcn.10042f30
add esp, 0xc
test eax, eax
jne 0x10044eb9
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x148], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x14c], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x150], eax
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x10044e88
jmp 0x10044f5d
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x14], eax
jmp 0x10044a0d
mov ecx, dword [ebp + 8]
mov edx, edi
push 0
call fcn.10175550
add esp, 4
jmp 0x10044b1b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
mov eax, dword [ebp - 0x1c]
je 0x100448c9
xor esi, esi
mov ebx, edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + esi*4]
cmp dword [edi + 0x2bc], 0
jne 0x10044f25
cmp dword [edi + 0x108], 0
jg 0x10044f25
inc esi
mov eax, dword [ebp + 8]
cmp esi, dword [eax + 0x18]
mov edi, ebx
mov eax, dword [ebp - 0x1c]
jb 0x10044ef5
jmp 0x100448c9
mov ecx, dword [ebp + 8]
mov edx, edi
push 0
call fcn.10175550
add esp, 4
cmp dword [edi + 0x108], 0
jle 0x10044f12
call fcn.1014029d
mov esi, dword [ebp - 0x10]
mov dword [esi + 0x148], ecx
mov dword [esi + 0x14c], edx
mov eax, dword [eax + 0x150]
mov dword [esi + 0x150], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x150], 0xffffffff
mov edi, dword [ebp + 0xc]
jne 0x10044975
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2d4]
cmp eax, 0x7ffdffff
jg 0x10044fa0
mov esi, dword [ebp - 0x10]
mov edx, dword [esi + 0x2d0]
mov ecx, esi
push eax
call fcn.101754a0
add esp, 4
mov dword [esi + 0x2d4], edx
mov dword [esi + 0x2d0], eax
mov esi, 0x7ffe0000
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, esi
jge 0x10044fc6
mov edi, dword [ebp - 0x10]
mov edx, dword [edi + 0x18]
mov ecx, edi
push eax
call fcn.101754a0
add esp, 4
mov dword [edi + 0x1c], edx
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2dc]
cmp eax, esi
mov edi, dword [ebp + 0xc]
jge 0x10044975
mov esi, dword [ebp - 0x10]
mov edx, dword [esi + 0x2d8]
mov ecx, esi
push eax
call fcn.101754a0
add esp, 4
mov dword [esi + 0x2dc], edx
mov dword [esi + 0x2d8], eax
jmp 0x10044975