joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64a92c70
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, 0x38
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x64ab50d0], 8
jne 0x64a92d58
test esi, esi
je 0x64a92d8c
test ebx, ebx
je 0x64a92d8c
mov edx, dword [ebx + 4]
mov eax, 2
cmp edx, 0x100
ja 0x64a92d46
lea eax, [edx*4 + 8]
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x1c], ecx
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 0x64a92da0
mov eax, dword [esi + 0x28]
mov dword [esp + 4], 0
add ebx, 8
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esi + 0x28], edi
mov eax, dword [ebx - 8]
sub esp, 0xc
mov dword [edi], eax
mov eax, dword [ebx - 4]
mov edx, dword [esi + 0x28]
mov dword [edx + 4], eax
mov edx, dword [esi + 0x28]
shl eax, 2
mov dword [esp + 8], eax
add edx, 8
mov dword [esp + 4], ebx
mov dword [esp], edx
call sym._memcpy
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x64abbb3e
mov dword [esp + 8], str.GdipSetImagePalette
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
test esi, esi
jne 0x64a92c9e
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, 3
jmp 0x64a92d46
Function at 0x64a95690
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov ebx, dword [ecx]
test ebx, ebx
je 0x64a95730
mov dword [esp + 8], 0x4d0
mov dword [esp + 4], 8
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 dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x64a95748
mov dword [eax], 4
test byte [0x64ab50e0], 8
jne 0x64a95700
xor eax, eax
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov eax, dword [ebx]
mov dword [esp + 0xc], 0x64abea21
mov dword [esp + 8], str.GdipCreateImageAttributes
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab50e0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x64a956e9
lea esp, [ebp - 8]
mov eax, 2
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov eax, 3
jmp 0x64a956eb
Function at 0x64a95eb0
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 + 8]
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
test byte [0x64ab50e0], 8
jne 0x64a95fe8
test esi, esi
je 0x64a95fd0
cmp ebx, 4
ja 0x64a95fd0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x64a96030
test edi, edi
je 0x64a95fd0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x64a95fd0
lea ecx, [eax*8]
mov dword [esp + 8], ecx
mov edx, dword fs:[0x18]
mov dword [ebp - 0x28], ecx
mov dword [esp + 4], 8
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x64a96070
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], edi
lea edi, [ebx + ebx]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [ebp - 0x2c], eax
call sym._memcpy
lea eax, [edi + ebx]
lea ecx, [esi + eax*4]
mov eax, dword [ecx + 0x460]
mov dword [ebp - 0x28], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
mov dword [ecx + 0x45c], eax
add edi, ebx
lea eax, [esi + edi*4]
mov dword [eax + 0x460], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x458], edx
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p__u__i__u__p__n
mov dword [esp + 8], str.GdipSetImageAttributesRemapTable
mov dword [esp + 4], 0x64ab50e0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x64a95ee5
lea edi, [ebx + ebx]
lea edx, [edi + ebx]
mov edx, dword [esi + edx*4 + 0x460]
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]
xor edx, edx
sub esp, 0xc
jmp 0x64a95fa6
mov eax, 3
jmp 0x64a95fbc
Function at 0x64a961f0
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, 0x38
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x64ab50e0], 8
jne 0x64a963d8
test esi, esi
je 0x64a963c0
cmp ebx, 4
ja 0x64a963c0
imul eax, ebx, 0xd0
lea ecx, [esi + eax + 0x48]
xor eax, eax
lea edi, [ecx + 4]
mov dword [ecx], 0
mov dword [ecx + 0xcc], 0
and edi, 0xfffffffc
sub ecx, edi
add ecx, 0xd0
shr ecx, 2
rep stosd dword es:[edi], eax
test byte [0x64ab50e0], 8
jne 0x64a96308
lea edi, [ebx + ebx]
lea eax, [edi + ebx]
lea eax, [esi + eax*4]
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
add edi, ebx
lea edi, [esi + edi*4]
mov edx, dword [edi + 0x460]
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]
mov dword [edi + 0x460], 0
mov dword [edi + 0x458], 0
sub esp, 0xc
test byte [0x64ab50e0], 8
jne 0x64a96410
lea eax, [esi + ebx*4]
mov dword [eax + 0x494], 0
mov dword [eax + 0x4a8], 0
mov dword [eax + 0x4bc], 0
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x20], 0
lea edi, [ebx + ebx]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p__u__i__08lx__08lx__n
mov dword [esp + 8], str.GdipSetImageAttributesColorKeys
mov dword [esp + 4], 0x64ab50e0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
lea eax, [edi + ebx]
lea eax, [esi + eax*4]
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
test byte [0x64ab50e0], 8
je 0x64a96281
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p__u__i__u__p__n
mov dword [esp + 8], str.GdipSetImageAttributesRemapTable
mov dword [esp + 4], 0x64ab50e0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x64a96281
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x64abeae2
mov dword [esp + 8], str.GdipResetImageAttributes
mov dword [esp + 4], 0x64ab50e0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x64a96216
mov dword [esp + 0x18], 0
fldz
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p__u__i__0.2f__n
mov dword [esp + 8], str.GdipSetImageAttributesGamma
mov dword [esp + 4], 0x64ab50e0
mov dword [esp], 3
fstp qword [esp + 0x1c]
call sym._wine_dbg_log.constprop.0_7
jmp 0x64a962d1
Function at 0x64a96590
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x70
fld dword [ecx]
mov ebx, dword [ecx + 0x18]
fst dword [ebp - 0xc]
fld dword [ecx + 4]
fst dword [ebp - 0x10]
fld dword [ecx + 8]
fstp dword [ebp - 0x14]
fld dword [ecx + 0xc]
fstp dword [ebp - 0x18]
fld dword [ecx + 0x10]
fst dword [ebp - 0x1c]
fld dword [ecx + 0x14]
fst dword [ebp - 0x20]
test byte [0x64ab50f0], 8
jne 0x64a96650
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
test ebx, ebx
je 0x64a9669e
mov dword [esp + 8], 0x18
mov dword [esp + 4], 8
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 dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x64a966b0
fld dword [ebp - 0xc]
fstp dword [eax]
fld dword [ebp - 0x10]
mov eax, dword [ebx]
fstp dword [eax + 4]
fld dword [ebp - 0x14]
mov eax, dword [ebx]
fstp dword [eax + 8]
fld dword [ebp - 0x18]
mov eax, dword [ebx]
fstp dword [eax + 0xc]
fld dword [ebp - 0x1c]
mov eax, dword [ebx]
fstp dword [eax + 0x10]
fld dword [ebp - 0x20]
mov eax, dword [ebx]
fstp dword [eax + 0x14]
xor eax, eax
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 0x1c
fstp qword [esp + 0x38]
mov dword [esp + 0x40], ebx
fstp qword [esp + 0x30]
fld dword [ebp - 0x18]
fstp qword [esp + 0x28]
fld dword [ebp - 0x14]
mov dword [esp + 0xc], str.__.2f___.2f___.2f___.2f___.2f___.2f___p__n
fstp qword [esp + 0x20]
mov dword [esp + 8], str.GdipCreateMatrix2
fstp qword [esp + 0x18]
mov dword [esp + 4], 0x64ab50f0
fstp qword [esp + 0x10]
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
test ebx, ebx
jne 0x64a965e1
lea esp, [ebp - 8]
mov eax, 2
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 0x1c
mov eax, 3
jmp 0x64a96642
Function at 0x64a968a0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x64ab50f0], 8
jne 0x64a96948
test ebx, ebx
je 0x64a96930
test esi, esi
je 0x64a96930
mov dword [esp + 8], 0x18
mov dword [esp + 4], 8
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 dword [esi], eax
sub esp, 0xc
test eax, eax
je 0x64a96980
mov edx, dword [ebx]
mov dword [eax], edx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x14], edx
xor eax, eax
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
lea esp, [ebp - 0xc]
mov eax, 2
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x64abede6
mov dword [esp + 8], str.GdipCloneMatrix
mov dword [esp + 4], 0x64ab50f0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x64a968c5
mov eax, 3
jmp 0x64a96923

Function at 0x64a96990
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov ebx, dword [ecx]
test byte [0x64ab50f0], 8
jne 0x64a96a18
test ebx, ebx
je 0x64a96a48
mov dword [esp + 8], 0x18
mov dword [esp + 4], 8
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 dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x64a96a60
fld1
fst dword [eax]
mov eax, dword [ebx]
fldz
fst dword [eax + 4]
mov eax, dword [ebx]
fst dword [eax + 8]
fxch st(1)
mov eax, dword [ebx]
fstp dword [eax + 0xc]
mov eax, dword [ebx]
fst dword [eax + 0x10]
mov eax, dword [ebx]
fstp dword [eax + 0x14]
xor eax, eax
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x64abedf0
mov dword [esp + 8], str.GdipCreateMatrix
mov dword [esp + 4], 0x64ab50f0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
test ebx, ebx
jne 0x64a969b5
lea esp, [ebp - 8]
mov eax, 2
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov eax, 3
jmp 0x64a96a06
Function at 0x64a96a70
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov ebx, dword [ecx]
test byte [0x64ab50f0], 8
jne 0x64a96ac8
test ebx, ebx
je 0x64a96af4
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 dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x64abedf0
mov dword [esp + 8], str.GdipDeleteMatrix
mov dword [esp + 4], 0x64ab50f0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
test ebx, ebx
jne 0x64a96a91
lea esp, [ebp - 8]
mov eax, 2
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x64a97350
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
mov eax, ecx
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [eax + 8]
test byte [0x64ab50f0], 8
jne 0x64a974c0
mov dword [ebp - 0x30], ecx
mov edx, 2
test edi, edi
jle 0x64a974a7
lea eax, [edi*8]
mov esi, eax
mov dword [ebp - 0x2c], esi
mov eax, dword fs:[0x18]
mov dword [esp + 8], esi
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]
mov dword [ebp - 0x24], eax
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x64a97500
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
add ebx, 4
mov edx, ebx
lea esi, [ecx + 4]
lea ecx, [ecx + eax + 4]
mov eax, esi
nop
fild dword [eax - 4]
add eax, 8
add edx, 8
fstp dword [edx - 0xc]
fild dword [eax - 8]
fstp dword [edx - 8]
cmp eax, ecx
jne 0x64a973e0
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym.gdiplus.dll_GdipTransformMatrixPoints
sub esp, 0xc
mov edx, eax
test eax, eax
jne 0x64a9747a
fnstcw word [ebp - 0x1a]
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
movzx ecx, word [ebp - 0x1a]
lea eax, [eax + edi + 4]
or ch, 0xc
mov word [ebp - 0x1e], cx
movzx ecx, word [ebp - 0x1a]
and ch, 0xf3
or ch, 4
mov word [ebp - 0x1c], cx
lea esi, [esi]
nop
fld dword [0x64abf07c]
fld dword [ebx - 4]
add ebx, 8
add esi, 8
fadd st(1)
fldcw word [ebp - 0x1c]
frndint
fldcw word [ebp - 0x1a]
fldcw word [ebp - 0x1e]
fistp dword [esi - 0xc]
fldcw word [ebp - 0x1a]
fadd dword [ebx - 8]
fldcw word [ebp - 0x1c]
frndint
fldcw word [ebp - 0x1a]
fldcw word [ebp - 0x1e]
fistp dword [esi - 8]
fldcw word [ebp - 0x1a]
cmp eax, ebx
jne 0x64a97440
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x28]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x64abedf6
mov dword [esp + 8], str.GdipTransformMatrixPointsI
mov dword [esp + 4], 0x64ab50f0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
mov ecx, dword [ebp - 0x24]
jmp 0x64a9737e
mov edx, 3
jmp 0x64a974a7
Function at 0x64a976b0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
mov eax, ecx
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x28], edi
mov edi, dword [eax + 8]
test byte [0x64ab50f0], 8
jne 0x64a97820
mov dword [ebp - 0x30], ecx
mov edx, 2
test edi, edi
jle 0x64a97807
lea eax, [edi*8]
mov esi, eax
mov dword [ebp - 0x2c], esi
mov eax, dword fs:[0x18]
mov dword [esp + 8], esi
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]
mov dword [ebp - 0x24], eax
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x64a97860
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
add ebx, 4
mov edx, ebx
lea esi, [ecx + 4]
lea ecx, [ecx + eax + 4]
mov eax, esi
nop
fild dword [eax - 4]
add eax, 8
add edx, 8
fstp dword [edx - 0xc]
fild dword [eax - 8]
fstp dword [edx - 8]
cmp eax, ecx
jne 0x64a97740
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym.gdiplus.dll_GdipVectorTransformMatrixPoints
sub esp, 0xc
mov edx, eax
test eax, eax
jne 0x64a977da
fnstcw word [ebp - 0x1a]
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
movzx ecx, word [ebp - 0x1a]
lea eax, [eax + edi + 4]
or ch, 0xc
mov word [ebp - 0x1e], cx
movzx ecx, word [ebp - 0x1a]
and ch, 0xf3
or ch, 4
mov word [ebp - 0x1c], cx
lea esi, [esi]
nop
fld dword [0x64abf07c]
fld dword [ebx - 4]
add ebx, 8
add esi, 8
fadd st(1)
fldcw word [ebp - 0x1c]
frndint
fldcw word [ebp - 0x1a]
fldcw word [ebp - 0x1e]
fistp dword [esi - 0xc]
fldcw word [ebp - 0x1a]
fadd dword [ebx - 8]
fldcw word [ebp - 0x1c]
frndint
fldcw word [ebp - 0x1a]
fldcw word [ebp - 0x1e]
fistp dword [esi - 8]
fldcw word [ebp - 0x1a]
cmp eax, ebx
jne 0x64a977a0
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x28]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x64abedf6
mov dword [esp + 8], str.GdipVectorTransformMatrixPointsI
mov dword [esp + 4], 0x64ab50f0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
mov ecx, dword [ebp - 0x24]
jmp 0x64a976de
mov edx, 3
jmp 0x64a97807
Function at 0x64a97a10
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x2c
mov edi, dword [eax + 0x64]
test edi, edi
je 0x64a97a60
mov eax, dword [eax + 0x68]
lea ecx, [esi + eax]
cmp edi, ecx
jb 0x64a97ac3
mov edi, dword [ebx + 0x60]
add edi, eax
mov eax, dword [ebp + 8]
mov dword [eax], edi
add dword [ebx + 0x68], esi
mov eax, dword [eax]
mov word [eax], dx
xor edx, edx
mov dword [eax + 4], esi
sub esi, 0xc
mov word [eax + 2], dx
mov dword [eax + 8], esi
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ecx + ecx + 4]
mov eax, 0x100
mov dword [ebp - 0x1c], edx
cmp edi, eax
mov dword [esp + 4], 8
cmovb edi, eax
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_HeapAlloc]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
mov dword [ebx + 0x60], eax
je 0x64a97b50
mov dword [eax], 0x2b464d45
mov eax, 4
lea ecx, [esi + eax]
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x68], 4
cmp edi, ecx
jae 0x64a97a32
lea eax, [ecx + ecx]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x20], ecx
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 0x64a97b50
mov eax, dword [ebx + 0x68]
mov dword [esp + 8], eax
mov edx, dword [ebx + 0x60]
mov dword [esp], edi
mov dword [esp + 4], edx
call sym._memcpy
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x60]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0x68]
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0x60], edi
sub esp, 0xc
jmp 0x64a97a35
lea esp, [ebp - 0xc]
mov eax, 3
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x64a99700
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x60]
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 [esi + 0x58]
sub esp, 0xc
mov dword [esp], eax
call sym._CloseEnhMetaFile_4
sub esp, 4
mov dword [esp], eax
call sym._DeleteEnhMetaFile_4
mov eax, dword [esi + 0x54]
sub esp, 4
test eax, eax
je 0x64a998be
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x64a9977b
test byte [0x64ab5100], 4
jne 0x64a99892
mov dword [eax + 0x14], 0
mov eax, dword [esi + 0x5c]
mov dword [eax + 0x5c], 1
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x64a9978d
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea ebx, [esi + 0xf0]
add esi, 0x2f0
lea esi, [esi]
mov eax, dword [ebx - 4]
cmp eax, 8
ja case.0x64a997ac.7
jmp dword [eax*4 + 0x64abf248]
mov eax, dword [ebx]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeleteFont
sub esp, 4
lea esi, [esi]
mov dword [ebx - 4], 0
mov dword [ebx], 0
add ebx, 8
cmp esi, ebx
jne 0x64a997a0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebx]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDisposeImageAttributes
sub esp, 4
jmp case.0x64a997ac.0
mov eax, dword [ebx]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeleteRegion
sub esp, 4
jmp case.0x64a997ac.0
mov eax, dword [ebx]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeletePath
sub esp, 4
jmp case.0x64a997ac.0
mov eax, dword [ebx]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeletePen
sub esp, 4
jmp case.0x64a997ac.0
mov eax, dword [ebx]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeleteBrush
sub esp, 4
jmp case.0x64a997ac.0
mov eax, dword [ebx]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDisposeImage
sub esp, 4
jmp case.0x64a997ac.0
test byte [0x64ab5100], 1
je 0x64a997d5
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.not_implemented_for_object_type__u._n
mov dword [esp + 8], str.metafile_free_object_table_entry
mov dword [esp + 4], 0x64ab5100
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_9
jmp 0x64a997d5
mov dword [esp + 0xc], str.metafile_closed_while_recording_n
mov dword [esp + 8], str.METAFILE_Free
mov dword [esp + 4], 0x64ab5100
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_9
mov eax, dword [esi + 0x5c]
jmp 0x64a9976a
mov eax, dword [esi + 0x50]
mov dword [esp], eax
call sym._DeleteEnhMetaFile_4
sub esp, 4
jmp 0x64a99756