Function at 0x6450a0b0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x58
mov eax, dword [ecx]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x2c], eax
test byte [0x64524028], 8
jne 0x6450a280
mov dword [ebp - 0x30], ecx
test ebx, ebx
jle 0x6450a2db
lea eax, [ebx*4]
mov dword [esp + 4], 0
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x38]
mov esi, eax
mov eax, dword [ebp - 0x34]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov edi, eax
test esi, esi
je 0x6450a2e2
test eax, eax
je 0x6450a2e2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
add ecx, 0x18
mov dword [edi], eax
mov eax, 1
cmp ebx, 1
je 0x6450a195
nop
mov edx, dword [ecx]
add ecx, 8
mov dword [esi + eax*4], edx
mov edx, dword [ecx - 4]
mov dword [edi + eax*4], edx
add eax, 1
cmp ebx, eax
jne 0x6450a180
xor edx, edx
mov eax, ebx
mov ebx, edx
mov edx, edi
mov edi, esi
mov esi, eax
jmp 0x6450a1af
add ebx, 1
cmp esi, ebx
je 0x6450a1fb
test byte [0x64524028], 8
je 0x6450a1a8
mov eax, dword [edx + ebx*4]
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x18], eax
mov eax, dword [edi + ebx*4]
mov dword [esp + 0x10], ebx
add ebx, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.Pair__d____Stream___p__Options___p_n
mov dword [esp + 8], str.AVISaveA
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
call fcn.64503a10
mov edx, dword [ebp - 0x1c]
cmp esi, ebx
jne 0x6450a1af
mov eax, dword [ebp - 0x28]
mov ebx, esi
mov esi, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ebx
mov edi, edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x10], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym.avifil32.dll_AVISaveV
sub esp, 0x18
mov ebx, eax
mov dword [esp + 8], esi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword fs:[0x18]
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
call fcn.645037c0
mov edi, dword [ebp - 0x2c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edi
mov edi, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__s__p__p__d__p__p__n
mov dword [esp + 0x20], edi
mov edi, dword [ebp - 0x28]
mov dword [esp + 8], str.AVISaveA
mov dword [esp + 0x18], edi
mov edi, dword [ebp - 0x24]
mov dword [esp + 4], 0x64524028
mov dword [esp + 0x14], edi
mov dword [esp], 3
call fcn.64503a10
mov ecx, dword [ebp - 0x30]
jmp 0x6450a0f1
mov ebx, 0x8004406a
jmp 0x6450a272
mov ebx, 0x80044067
jmp 0x6450a22b