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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, edx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [0x1018fc64]
xor edx, ebp
mov dword [esp + 0x78], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx + 0x1c]
mov edi, dword [ecx + eax*4]
mov edx, dword [esi + 0x1c]
mov eax, edx
or eax, ebx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0xc], edi
je 0x10037bc3
lea eax, [esp + 0x30]
push eax
mov edi, edx
mov ebx, ecx
call sym.ffmpeg.dll_av_init_packet
mov ecx, ebx
mov ebx, dword [ebp + 0xc]
mov edx, edi
add esp, 4
jmp 0x10037c08
mov eax, dword [edi + 0xe8]
test byte [eax + 0xb0], 1
je 0x10037c08
sub esp, 0x18
movdqa xmm0, xmmword [0x1012c670]
movdqu xmmword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov edx, edi
call fcn.10037ef0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add esp, 0x18
test ebx, ebx
setne byte [esp + 3]
test edx, edx
jg 0x10037c25
mov dword [esp + 4], 0
cmp dword [ebp + 0xc], 0
je 0x10037e86
mov dword [esp + 4], 0
nop dword [eax]
mov dword [esp + 0x10], edx
mov ebx, ecx
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 0x2b8]
mov dword [esp + 8], edi
push dword [esi + 0x3c]
push dword [esi + 0x38]
mov dword [esp + 0x30], ecx
push ecx
mov dword [esp + 0x38], edx
push edx
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [esp + 0x28]
push ebx
lea edx, [esp + 0x6c]
push edx
lea edx, [esp + 0x6c]
push edx
mov ecx, dword [esp + 0x30]
push dword [ecx + 0xc]
push dword [eax + 0xe8]
call fcn.10020b70
add esp, 0x30
movdqa xmm0, xmmword [0x1012c670]
movdqu xmmword [esi + 8], xmm0
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x38], 0xffffffff
lea ecx, [ebx + eax]
test ebx, ebx
cmove ecx, ebx
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x10037e69
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 8], ecx
mov eax, dword [esi]
test eax, eax
je 0x10037cde
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esi + 0x18]
je 0x10037cf8
lea eax, [esp + 0x30]
push eax
call fcn.1000ab80
add esp, 4
test eax, eax
mov ebx, dword [esp + 0xc]
jns 0x10037d11
jmp 0x10037eb9
push eax
call fcn.10068390
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov ebx, dword [esp + 0xc]
je 0x10037ebf
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10037d31
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x5c], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov edi, dword [ebx + 0xe8]
xor eax, eax
test byte [edi + 0xb0], 1
mov ecx, 0
je 0x10037d4d
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [ebx + 0xb0]
cmp dword [eax], 1
jne 0x10037d9b
mov eax, dword [ebx + 0x2b8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x158]
test eax, eax
jle 0x10037d9b
mov ecx, dword [edi + 0x130]
mov edx, ecx
sar edx, 0x1f
push 2
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push eax
push 1
push edx
push ecx
call fcn.10070540
add esp, 0x1c
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], eax
mov eax, dword [ebx]
mov dword [esp + 0x50], eax
movups xmm0, xmmword [edi + 0x28]
movups xmmword [esp + 0x38], xmm0
movq xmm0, qword [edi + 0x120]
movq qword [esp + 0x68], xmm0
mov ecx, dword [esi + 0x24]
mov eax, ecx
and eax, 4
or eax, dword [esp + 0x54]
mov dword [esp + 0x54], eax
cmp dword [ebx + 0xe4], 5
jne 0x10037ddc
movq xmm0, qword [edi + 8]
movq qword [esp + 0x68], xmm0
mov edx, dword [edi + 0xe0]
cmp edx, 1
je 0x10037e07
cmp edx, 0xffffffff
jne 0x10037e0e
mov edx, dword [edi + 0x20]
cmp edx, 1
jne 0x10037dfe
or eax, 1
mov dword [esp + 0x54], eax
mov edx, dword [edi + 0x20]
test cl, 1
je 0x10037e0e
test edx, edx
jne 0x10037e0e
or eax, 1
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov edx, dword [esp + 0xc]
push dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x30]
push dword [esp + 0x38]
lea eax, [esp + 0x40]
push eax
push edi
call fcn.10037ef0
add esp, 0x18
mov eax, dword [ebx + 0x50c]
lea ecx, [eax + 0x24]
add eax, 0x20
push 0
push 0
lea edx, [esp + 0x38]
push edx
push ecx
push eax
call fcn.1000ac00
add esp, 0x14
mov dword [esp + 4], eax
test eax, eax
js 0x10037eaa
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
sub edx, eax
test ebx, ebx
setne al
test edx, edx
jg 0x10037c30
and al, byte [esp + 3]
jne 0x10037c30
cmp dword [ebp + 0xc], 0
je 0x10037ec7
mov ebx, dword [esp + 0xc]
push dword [ebx + 0xe8]
call fcn.10020db0
add esp, 4
mov dword [ebx + 0xe8], 0
jmp 0x10037ec7
lea eax, [esp + 0x30]
push eax
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
jmp 0x10037ec7
mov dword [esp + 4], eax
jmp 0x10037ec7
mov dword [esp + 4], 0xfffffff4
push esi
call sym.ffmpeg.dll_av_packet_unref
add esp, 4
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.10102288
mov eax, dword [esp + 4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret