Function at 0x64a7c650
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, edx
mov edx, 0x64abdcc4
push ebx
mov eax, esi
sub esp, 0x5c
mov dword [ebp - 0x34], ecx
mov ecx, 0x64abb9c0
call sym._get_gif_frame_property
mov ecx, 0x64abb9ca
mov edx, 0x64abdcc4
mov dword [ebp - 0x3c], eax
mov eax, esi
call sym._get_gif_frame_property
lea edx, [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov dword [esp + 8], edx
lea edx, [ebp - 0x24]
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0xc]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x64a7c7fa
lea eax, [ebp - 0x1c]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], 0x64abe8d4
call sym._WICConvertBitmapSource_12
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x64a7c7fa
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x20]
mov dword [esp + 4], 8
mov esi, dword fs:[0x18]
shl eax, 2
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x30], eax
sub esp, 0xc
test eax, eax
je 0x64a7c8d5
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], ebx
mov dword [esp + 4], 0
imul eax, ecx
shl ecx, 2
mov dword [esp + 8], ecx
shl eax, 2
mov dword [esp + 0xc], eax
call dword [edx + 0x1c]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test ebx, ebx
js 0x64a7c8af
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x64a7c7d3
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x64a7c804
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], ebx
nop
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edi + 0x3c]
jae 0x64a7c7d0
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x64a7c7c0
mov eax, dword [ebp - 0x3c]
xor ebx, ebx
lea esi, [esi]
cmp eax, dword [edi + 0x38]
jae 0x64a7c7c0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
imul edx, dword [edi + 0x58]
imul ecx, esi
lea edx, [edx + eax*4]
add edx, dword [edi + 0x54]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x30]
add ecx, ebx
mov ecx, dword [edx + ecx*4]
mov edx, ecx
shr edx, 0x18
jne 0x64a7c880
add ebx, 1
add eax, 1
cmp ebx, esi
jb 0x64a7c788
add dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x2c], 1
cmp eax, dword [ebp - 0x20]
jb 0x64a7c770
mov ebx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x30]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], ebx
nop
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edi + 0x3c]
jae 0x64a7c874
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
xor edx, edx
test ecx, ecx
jne 0x64a7c85f
jmp 0x64a7c864
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
imul ebx, dword [edi + 0x58]
imul ecx, esi
mov esi, dword [ebp - 0x30]
add ecx, edx
add edx, 1
mov esi, dword [esi + ecx*4]
lea ecx, [eax*4]
add ecx, dword [edi + 0x54]
add eax, 1
mov dword [ecx + ebx], esi
mov ecx, dword [ebp - 0x24]
cmp edx, ecx
jae 0x64a7c864
cmp eax, dword [edi + 0x38]
jb 0x64a7c830
add dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x34]
add dword [ebp - 0x2c], 1
cmp eax, dword [ebp - 0x20]
jb 0x64a7c810
mov ebx, dword [ebp - 0x38]
jmp 0x64a7c7d3
mov esi, dword [ebp - 0x34]
add ebx, 1
add eax, 1
mov dword [esi], ecx
mov esi, dword [ebp - 0x24]
cmp ebx, esi
jb 0x64a7c788
add dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x2c], 1
cmp eax, dword [ebp - 0x20]
jb 0x64a7c770
jmp 0x64a7c7d0
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x64a7c7fa
mov ebx, 0x8007000e
jmp 0x64a7c7fa