joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64a7aeb0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ecx, str.GlobalColorTableFlag
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov eax, edx
mov edx, 0x64abdcb4
sub esp, 0x42c
mov dword [ebp - 0x41c], 0
call sym._get_bool_property
test eax, eax
je 0x64a7b030
lea eax, [ebp - 0x424]
mov dword [esp], 0x236
mov dword [esp + 4], eax
call sym._WICCreateImagingFactory_Proxy_8
sub esp, 8
test eax, eax
jne 0x64a7b030
mov eax, dword [ebp - 0x424]
lea ecx, [ebp - 0x420]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 8
test eax, eax
jne 0x64a7af78
mov eax, dword [ebx]
mov edx, dword [ebp - 0x420]
mov dword [esp], ebx
mov dword [esp + 4], edx
call dword [eax + 0x1c]
sub esp, 8
test eax, eax
jne 0x64a7af67
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x41c]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
lea ecx, [ebp - 0x418]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x100
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 0x10
mov eax, dword [ebp - 0x420]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x424]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x41c]
sub esp, 4
test eax, eax
je 0x64a7b030
lea eax, [eax + eax*2 + 0x10]
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x64a7b030
mov dword [edi], 0x5102
mov esi, dword [ebp - 0x41c]
lea edx, [edi + 0x10]
mov eax, 1
mov word [edi + 8], ax
lea ecx, [ebp - 0x418]
lea eax, [esi + esi*2]
mov dword [edi + 0xc], edx
mov dword [edi + 4], eax
xor eax, eax
test esi, esi
je 0x64a7b032
lea esi, [esi]
nop
movzx esi, word [ecx + eax*4 + 2]
add edx, 3
mov ebx, esi
mov byte [edx - 3], bl
mov ebx, dword [ecx + eax*4]
mov byte [edx - 2], bh
movzx ebx, byte [ecx + eax*4]
add eax, 1
mov byte [edx - 1], bl
cmp eax, dword [ebp - 0x41c]
jb 0x64a7aff8
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x64a7b300
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
mov ebx, eax
lea eax, [ebp - 0x2c]
sub esp, 0x4c
mov dword [esp + 4], eax
mov dword [esp], 0x236
call sym._WICCreateImagingFactory_Proxy_8
sub esp, 8
test eax, eax
jne 0x64a7b4d0
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
xor esi, esi
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 8
test eax, eax
jne 0x64a7b45d
test ebx, ebx
je 0x64a7b4c0
mov eax, dword [ebx]
mov edx, dword [ebp - 0x28]
mov dword [esp], ebx
mov dword [esp + 4], edx
call dword [eax + 0x18]
sub esp, 8
test eax, eax
je 0x64a7b393
test edi, edi
je 0x64a7b393
test byte [0x64ab50d0], 8
jne 0x64a7b490
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx]
test eax, eax
jne 0x64a7b4cb
lea eax, [ebp - 0x1c]
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [ecx + 0x20]
mov edx, dword [ebp - 0x1c]
sub esp, 8
lea edx, [edx*4 + 8]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
mov eax, dword [ebp - 0x28]
sub esp, 0xc
lea ecx, [esi + 4]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
lea ecx, [esi + 8]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x24]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
sub esp, 0x10
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x24]
sub esp, 8
cmp eax, 9
jbe 0x64a7b478
sub eax, 0xa
cmp eax, 2
setbe al
movzx eax, al
add eax, eax
mov dword [esi], eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x30]
mov eax, dword [ebp - 0x20]
sub esp, 8
test eax, eax
je 0x64a7b44f
or dword [esi], 1
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 8]
sub esp, 4
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 2
seta al
movzx eax, al
shl eax, 2
jmp 0x64a7b42e
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.using_predefined_palette__x_n
mov dword [esp + 8], str.get_palette
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x64a7b379
test edi, edi
jne 0x64a7b36c
mov edx, dword [ebp - 0x28]
xor esi, esi
jmp 0x64a7b452
lea esp, [ebp - 0xc]
xor esi, esi
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x64a7be40
Capabilities:
Get process heap flags

Disassembly:
test eax, eax
je 0x64a7bfd0
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x2c
mov eax, dword [eax + 8]
cmp eax, 1
je 0x64a7bf00
cmp eax, 2
je 0x64a7be80
test byte [0x64ab50d0], 4
jne 0x64a7bfa0
lea esp, [ebp - 0xc]
mov eax, 4
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call sym._METAFILE_Free
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx]
test eax, eax
je 0x64a7be9f
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x64a7bed0
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x2c]
mov edi, eax
mov eax, dword [ebx + 4]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [ebx + 4], 0
sub esp, 4
mov dword [esp], edi
call sym._hresult_to_status
mov edx, dword [ebx + 0x28]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x48]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x5c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x50]
sub esp, 0xc
mov dword [esp], eax
call sym._DeleteDC_4
mov eax, dword [ebx + 0x4c]
sub esp, 4
mov dword [esp], eax
call sym._DeleteObject_4
mov eax, dword [ebx + 0x68]
sub esp, 4
test eax, eax
je 0x64a7bf75
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov edx, dword [ebx + 0x70]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
jmp 0x64a7be8e
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.invalid_image:__p_n
mov dword [esp + 8], str.free_image_data
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.1_5
jmp 0x64a7be71
mov eax, 2
ret
Function at 0x64a7c350
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
lea edx, [ebp - 0x28]
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x5c
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [eax + 0xc]
sub esp, 8
test eax, eax
js 0x64a7c37c
mov eax, dword [edi]
cmp dword [ebp - 0x28], eax
je 0x64a7c390
lea esp, [ebp - 0xc]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 4]
cmp dword [ebp - 0x24], eax
jne 0x64a7c37c
mov eax, dword [edi + 8]
cmp dword [ebp - 0x20], eax
jne 0x64a7c37c
mov eax, dword [edi + 0xc]
cmp dword [ebp - 0x1c], eax
jne 0x64a7c37c
mov eax, 0x1f
cmp word [esi], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x48], ax
je 0x64a7c4f7
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x64a7c3f8
sub eax, esi
add eax, 2
mov dword [esp], eax
call sym._CoTaskMemAlloc_4
mov dword [ebp - 0x40], eax
sub esp, 4
test eax, eax
je 0x64a7c37c
xor edx, edx
nop
movzx ecx, word [esi + edx]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x64a7c420
mov eax, dword [ebx]
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x48]
mov dword [esp + 4], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp], ebx
call dword [eax + 0x1c]
sub esp, 0x10
test eax, eax
je 0x64a7c480
xor ebx, ebx
mov dword [esp], edi
call sym._PropVariantClear_4
sub esp, 4
mov dword [esp], esi
call sym._PropVariantClear_4
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, esi
call sym._propvariant_size
test eax, eax
je 0x64a7c455
lea ecx, [eax + 0x10]
mov eax, dword fs:[0x18]
mov dword [ebp - 0x50], eax
mov dword [esp + 8], ecx
mov dword [ebp - 0x4c], ecx
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
mov edx, eax
mov eax, esi
mov dword [esp], 0
mov ecx, dword [ebp - 0x4c]
call sym._propvariant_to_item
test eax, eax
je 0x64a7c457
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x64a7c455
mov eax, 2
jmp 0x64a7c406
Function at 0x64a89e70
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, 0x28
mov ebx, dword [ecx]
test byte [0x64ab50d0], 8
jne 0x64a89f10
test ebx, ebx
je 0x64a89f80
mov esi, dword [ebx]
mov eax, esi
call sym._free_image_data
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
je 0x64a89ee0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esi + 8], 0xffffffff
mov eax, dword fs:[0x18]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
jmp 0x64a89eae
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x64abbb86
mov dword [esp + 8], str.GdipDeleteCachedBitmap
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
test ebx, ebx
je 0x64a89f80
mov esi, dword [ebx]
test byte [0x64ab50d0], 8
je 0x64a89e9d
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x64abbb86
mov dword [esp + 8], str.GdipDisposeImage
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x64a89e9d
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x64a8a060
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, 0x28
mov ebx, dword [ecx]
test byte [0x64ab50d0], 8
jne 0x64a8a168
test ebx, ebx
je 0x64a8a198
mov eax, dword [ebx + 8]
cmp eax, 1
je 0x64a8a1b0
cmp eax, 2
je 0x64a8a0c0
test byte [0x64ab50d0], 4
jne 0x64a8a250
lea esp, [ebp - 0x10]
mov eax, 4
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp], ebx
call sym._METAFILE_Free
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx]
test eax, eax
je 0x64a8a0df
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x64a8a110
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x2c]
mov edi, eax
mov eax, dword [ebx + 4]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [ebx + 4], 0
sub esp, 4
mov dword [esp], edi
call sym._hresult_to_status
mov eax, dword [ebx + 0x28]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov dword [ebx + 8], 0xffffffff
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x64abbb86
mov dword [esp + 8], str.GdipDisposeImage
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
test ebx, ebx
jne 0x64a8a08b
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
mov eax, dword [ebx + 0x48]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x5c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x50]
sub esp, 0xc
mov dword [esp], eax
call sym._DeleteDC_4
mov eax, dword [ebx + 0x4c]
sub esp, 4
mov dword [esp], eax
call sym._DeleteObject_4
mov eax, dword [ebx + 0x68]
sub esp, 4
test eax, eax
je 0x64a8a225
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov edx, dword [ebx + 0x70]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
jmp 0x64a8a0ce
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.invalid_image:__p_n
mov dword [esp + 8], str.free_image_data
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.1_5
jmp 0x64a8a0a9
Function at 0x64a8b2d0
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, 0x28
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov edi, dword [ecx + 8]
test byte [0x64ab50d0], 8
jne 0x64a8b380
test ebx, ebx
sete al
test edi, edi
sete dl
or al, dl
jne 0x64a8b368
test esi, esi
je 0x64a8b368
mov dword [esp + 8], 4
mov dword [esp + 4], 8
mov ebx, dword fs:[0x18]
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [edi], eax
sub esp, 0xc
test eax, eax
je 0x64a8b3f0
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.gdiplus.dll_GdipCloneImage
sub esp, 8
mov esi, eax
test eax, eax
jne 0x64a8b3b8
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
lea esp, [ebp - 0x10]
mov esi, 2
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._p__p__p_n
mov dword [esp + 8], str.GdipCreateCachedBitmap
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x64a8b2f9
mov eax, dword [edi]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, esi
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
lea esp, [ebp - 0x10]
mov esi, 3
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
Function at 0x64a8c400
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov edx, 0x64abdff4
mov ebp, esp
push ebx
lea ecx, [ebp - 0x10]
sub esp, 0x24
mov eax, dword [ebp + 8]
call sym._initialize_decoder_wic
mov ebx, eax
test eax, eax
jne 0x64a8c471
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
test eax, eax
js 0x64a8c480
mov eax, dword [ebp + 0xc]
mov dword [esp], sym._gif_metadata_reader
xor edx, edx
cmp dword [ebp - 0xc], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
seta dl
xor ecx, ecx
call sym._decode_frame_wic
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test ebx, ebx
jne 0x64a8c471
cmp dword [ebp - 0xc], 1
ja 0x64a8c498
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp], eax
call sym._hresult_to_status
mov ebx, eax
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov ecx, dword [ebp + 0xc]
mov eax, dword fs:[0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
sub esp, 0xc
mov eax, dword [eax]
mov dword [eax + 0x28], 0
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x64a8c4e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0x1c]
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [esp + 4], edx
xor edx, edx
mov dword [esp], 0
mov ecx, dword [ebp + 0xc]
call sym._decode_frame_wic
mov edx, eax
test eax, eax
je 0x64a8c520
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebx + 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x34], ecx
mov edi, dword [ebx + 0xc]
mov dword [eax + 0xc], edi
mov edi, dword [ebx + 0x10]
mov dword [eax + 0x10], edi
mov edi, dword [ebx + 0x14]
mov dword [eax + 0x14], edi
mov esi, dword [ebx + 0x18]
mov dword [eax + 0x18], esi
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov eax, ebx
mov dword [ebx + 4], 0
call sym._free_image_data
mov ecx, dword [ebx + 8]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 1
je 0x64a8c5b8
cmp ecx, 2
jne 0x64a8c576
mov ecx, 0xbb
mov edi, ebx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x2c], edx
mov dword [eax + 8], 0xffffffff
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
mov ecx, 0x1d
mov edi, ebx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x64a8c576
Function at 0x64a8e3c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
cmp dword [eax + 8], 1
je 0x64a8e3e0
mov eax, 1
pop ebp
ret
mov dword [ebp + 8], ecx
mov ecx, 0x64abe004
pop ebp
jmp sym._encode_image_wic.part.0

Function at 0x64a8e3f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
cmp dword [eax + 8], 1
je 0x64a8e410
mov eax, 1
pop ebp
ret
mov dword [ebp + 8], ecx
mov ecx, 0x64abdff4
pop ebp
jmp sym._encode_image_wic.part.0

Function at 0x64a8e420
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
cmp dword [eax + 8], 1
je 0x64a8e440
mov eax, 1
pop ebp
ret
mov dword [ebp + 8], ecx
mov ecx, 0x64abe014
pop ebp
jmp sym._encode_image_wic.part.0

Function at 0x64a8e450
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
cmp dword [eax + 8], 1
je 0x64a8e470
mov eax, 1
pop ebp
ret
mov dword [ebp + 8], ecx
mov ecx, 0x64abe044
pop ebp
jmp sym._encode_image_wic.part.0

Function at 0x64a8e480
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
cmp dword [eax + 8], 1
je 0x64a8e4a0
mov eax, 1
pop ebp
ret
mov dword [ebp + 8], ecx
mov ecx, 0x64abe034
pop ebp
jmp sym._encode_image_wic.part.0
Function at 0x64a8ef90
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
mov eax, dword [eax + 0x70]
test eax, eax
je 0x64a8f0f0
lea eax, [ebp - 0x1c]
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
call sym.gdiplus.dll_GdipGetPropertySize
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
lea edx, [ecx + edx + 0x10]
mov dword [esp + 4], 8
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x64a8f0df
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x70]
mov dword [esp], esi
shl eax, 4
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym._memcpy
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebp - 0x20]
shl eax, 4
sub edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
shl eax, 4
lea ecx, [esi + eax + 0x10]
add eax, dword [ebx + 0x70]
mov dword [esp + 8], edx
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym._memcpy
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 1]
mov dword [ebp - 0x2c], eax
shl ecx, 4
lea edx, [esi + ecx]
test eax, eax
je 0x64a8f06d
mov eax, esi
lea ecx, [esi + ecx - 0x10]
lea esi, [esi]
lea esi, [esi]
mov dword [eax + 0xc], edx
add edx, dword [eax + 4]
add eax, 0x10
cmp eax, ecx
jne 0x64a8f060
mov eax, dword [ebp - 0x2c]
mov edx, dword [edi]
shl eax, 4
mov dword [esi + eax], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, word [edi + 8]
shl eax, 4
lea edx, [esi + eax]
mov word [edx + 8], cx
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x20]
lea eax, [eax + ecx + 0x10]
add eax, esi
mov dword [edx + 0xc], eax
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym._memcpy
mov edx, dword [ebx + 0x70]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
add dword [ebx + 0x6c], 1
mov dword [ebx + 0x70], esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
add eax, 0x10
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x64a8f0df
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
jmp 0x64a8f06d