joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64a52cf0
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, 0x98
mov esi, dword [ecx]
test byte [0x64ab5078], 8
jne 0x64a52dd0
test esi, esi
je 0x64a52e00
mov dword [esp], 0x64ab5060
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [0x64ac2020]
sub esp, 4
test ecx, ecx
jne 0x64a52da9
mov dword [esp], 0
call sym._CreateCompatibleDC_4
xor edx, edx
mov byte [ebp - 0x5d], 1
mov word [ebp - 0x58], dx
sub esp, 4
lea edx, [ebp - 0x84]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x84], 0x64ac201c
mov dword [ebp - 0x80], 1
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x74]
mov dword [esp + 0x10], 0
mov dword [esp + 8], sym._add_font_proc_16
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._EnumFontFamiliesExW_20
sub esp, 0x14
mov ebx, eax
test eax, eax
je 0x64a52e18
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sym._DeleteDC_4
sub esp, 4
mov dword [esp], 0x64ab5060
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov dword [esi], 0x64ac201c
xor eax, eax
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x64ab865c
mov dword [esp + 8], str.GdipNewInstalledFontCollection
mov dword [esp + 4], 0x64ab5078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
test esi, esi
jne 0x64a52d1e
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 [0x64ac2020]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword fs:[0x18]
test eax, eax
jle 0x64a52e5d
nop
mov eax, dword [0x64ac201c]
mov eax, dword [eax + ebx*4]
mov dword [esp + 4], 0
add ebx, 1
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
cmp ebx, dword [0x64ac2020]
jl 0x64a52e30
mov edx, dword [0x64ac201c]
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
mov eax, dword [ebp - 0x78]
mov dword [0x64ac201c], 0
mov dword [0x64ac2024], 0
sub esp, 0xc
mov dword [esp], eax
call sym._DeleteDC_4
sub esp, 4
mov dword [esp], 0x64ab5060
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x7c]
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x64a53590
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
lea esi, [ebp - 0xf0]
push ebx
push ecx
sub esp, 0x158
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [ebp - 0x144], edx
mov dword [esp], eax
call sym._CreateFontIndirectW_4
sub esp, 4
mov edi, eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._SelectObject_8
mov dword [ebp - 0xf0], 0xd8
sub esp, 8
mov dword [ebp - 0x140], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0xd8
mov dword [esp], ebx
call sym._GetOutlineTextMetricsW_12
lea edx, [ebp - 0x130]
sub esp, 0xc
mov dword [ebp - 0x13c], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0x20
mov dword [esp], ebx
call sym._GetTextFaceW_12
mov ecx, dword [ebp - 0x140]
sub esp, 0xc
mov dword [esp + 4], ecx
mov dword [esp], ebx
call sym._SelectObject_8
sub esp, 8
mov dword [esp], edi
call sym._DeleteObject_4
mov eax, dword [ebp - 0x13c]
sub esp, 4
test eax, eax
je 0x64a53730
mov dword [esp + 8], 0xe4
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 edx, dword [ebp - 0x144]
sub esp, 0xc
mov dword [edx], eax
test eax, eax
je 0x64a53780
mov dword [eax + 0xe0], 0
mov eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0xe0]
mov ecx, dword [edx]
mov dword [ebp - 0x13c], eax
fild dword [ebp - 0x13c]
mov dword [ebp - 0x13c], edx
fstp dword [ecx + 0xdc]
mov eax, dword [edx]
mov ecx, 0x36
lea edi, [eax + 4]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x130]
mov dword [esp], eax
call sym.gdiplus.dll_GdipCreateFontFamilyFromName
mov edx, dword [ebp - 0x13c]
sub esp, 0xc
test eax, eax
mov esi, eax
jne 0x64a53710
test byte [0x64ab5078], 8
jne 0x64a53740
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword [edx]
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]
sub esp, 0xc
mov esi, 0x10
jmp 0x64a536f8
mov eax, dword [edx]
mov dword [esp + 0xc], 0x64ab870d
mov dword [esp + 8], str.GdipCreateFontFromLogfontW
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab5078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
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, 3
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc

Function at 0x64a543e0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push ecx
sub esp, 0x14
mov edx, dword [ecx]
mov dword [esp + 4], 8
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_HeapAlloc]
mov ecx, dword [ebp - 4]
sub esp, 0xc
leave
lea esp, [ecx - 4]
ret 4
Function at 0x64a54430
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push ecx
sub esp, 0x14
mov edx, dword [ecx]
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 ecx, dword [ebp - 4]
sub esp, 0xc
leave
lea esp, [ecx - 4]
ret 4

Function at 0x64a54db0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x64a54e88
mov esi, dword [ebx + 4]
mov ecx, eax
sub ecx, esi
cmp ecx, edx
jl 0x64a54de8
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, eax
mov ecx, eax
sub ecx, esi
cmp ecx, edx
jl 0x64a54de8
mov edx, dword [ebx + 8]
mov dword [ebx + 0x14], eax
shl eax, 3
test edx, edx
je 0x64a54f20
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
sub esp, 0x10
mov dword [ebx + 8], eax
test eax, eax
je 0x64a54f10
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x14]
test eax, eax
je 0x64a54f50
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
sub esp, 0x10
test eax, eax
mov dword [ebx + 0xc], eax
setne al
lea esp, [ebp - 0xc]
pop ebx
movzx eax, al
pop esi
pop edi
pop ebp
ret
lea eax, [edx + edx]
shl edx, 4
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 0x14], eax
mov esi, dword fs:[0x18]
mov dword [esp + 8], edx
mov dword [esp + 4], 8
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebx + 8], eax
sub esp, 0xc
test eax, eax
je 0x64a54f10
mov eax, dword [ebx + 0x14]
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebx + 0xc], eax
sub esp, 0xc
test eax, eax
jne 0x64a54dd5
mov eax, dword [ebx + 8]
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
lea esi, [esi]
nop
xor eax, eax
jmp 0x64a54dda
mov dword [esp + 8], eax
mov dword [esp + 4], 0
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
jmp 0x64a54e2c
mov dword [esp + 8], edx
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_HeapAlloc]
sub esp, 0xc
jmp 0x64a54e6e
Function at 0x64a55040
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
cmp eax, 0x10000001
je 0x64a550e0
jbe 0x64a55070
sub eax, 0x10000002
cmp eax, 1
ja 0x64a55077
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x10000000
je 0x64a55065
mov eax, dword [ebx + 4]
mov edi, dword fs:[0x18]
mov dword [esp], eax
call sym._delete_element
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sym._delete_element
mov eax, dword [ebx + 4]
mov dword [esp + 4], 0
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 8]
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
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeletePath
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x64a556b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, eax
mov edi, dword fs:[0x18]
sub esp, 0x2c
mov dword [ebp - 0x1c], edx
mov dword [esp + 8], 0x58
mov dword [esp + 4], 8
mov eax, dword [edi + 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 0x64a557b0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x70]
add ecx, 1
mov dword [eax + 8], ecx
mov eax, dword [ebx]
mov dword [eax + 0xc], esi
mov ecx, dword [edx + 0x1c]
mov eax, dword [ebx]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 0x20]
mov eax, dword [ebx]
mov dword [eax + 0x14], ecx
mov ecx, dword [edx + 0x24]
mov eax, dword [ebx]
mov dword [eax + 0x18], ecx
mov ecx, dword [edx + 0x2c]
mov eax, dword [ebx]
mov dword [eax + 0x1c], ecx
mov ecx, dword [edx + 0x30]
mov eax, dword [ebx]
mov dword [eax + 0x20], ecx
fld dword [edx + 0x38]
mov eax, dword [ebx]
fstp dword [eax + 0x24]
mov ecx, dword [edx + 0x34]
mov eax, dword [ebx]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x64]
mov eax, dword [ebx]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x28]
mov eax, dword [ebx]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebx]
mov ecx, dword [edx + 0x74]
mov dword [eax + 0x50], ecx
mov eax, dword [ebx]
mov ecx, dword [edx + 0x78]
mov dword [eax + 0x54], ecx
mov eax, dword [ebx]
mov ecx, dword [edx + 0x44]
mov dword [eax + 0x34], ecx
mov ecx, dword [edx + 0x48]
mov dword [eax + 0x38], ecx
mov ecx, dword [edx + 0x4c]
mov dword [eax + 0x3c], ecx
mov ecx, dword [edx + 0x50]
mov dword [eax + 0x40], ecx
mov ecx, dword [edx + 0x54]
mov dword [eax + 0x44], ecx
mov ecx, dword [edx + 0x58]
mov dword [eax + 0x48], ecx
mov eax, dword [ebx]
add eax, 0x4c
mov dword [esp + 4], eax
mov eax, dword [edx + 0x60]
mov dword [esp], eax
call sym.gdiplus.dll_GdipCloneRegion
sub esp, 8
mov esi, eax
test eax, eax
jne 0x64a557c0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov esi, 3
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebx], 0
mov eax, esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x64a599e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, dword fs:[0x18]
sub esp, 0x3c
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 8], 0xb4
mov dword [esp + 4], 8
mov eax, dword [edi + 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 0x64a59b90
fldz
add eax, 0x44
mov dword [esp + 0x10], 0x3f800000
fst dword [esp + 0x18]
fst dword [esp + 0x14]
mov dword [esp + 4], 0x3f800000
mov dword [esp], eax
fst dword [esp + 0xc]
fstp dword [esp + 8]
call sym.gdiplus.dll_GdipSetMatrixElements
sub esp, 0x1c
fldz
fst dword [esp + 0x18]
fst dword [esp + 0x14]
fst dword [esp + 0xc]
fstp dword [esp + 8]
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov eax, dword [ebx]
add eax, 0x84
mov dword [esp], eax
call sym.gdiplus.dll_GdipSetMatrixElements
mov eax, dword [ebx]
sub esp, 0x1c
add eax, 0x60
mov dword [esp], eax
call sym.gdiplus.dll_GdipCreateRegion
sub esp, 4
mov edx, eax
test eax, eax
jne 0x64a59ba0
mov eax, dword [ebx]
mov dword [eax], 0
mov eax, dword [ebx]
mov dword [eax + 4], 0
mov eax, dword [ebx]
mov dword [eax + 8], 0
mov eax, dword [ebx]
mov dword [eax + 0x14], esi
mov eax, dword [ebx]
mov ecx, dword [esi + 8]
mov dword [eax + 0x18], ecx
mov eax, dword [ebx]
mov dword [eax + 0x1c], 0
mov eax, dword [ebx]
mov dword [eax + 0x20], 0
mov eax, dword [ebx]
mov dword [eax + 0x24], 3
mov eax, dword [ebx]
mov dword [eax + 0x28], 0
mov eax, dword [ebx]
mov dword [eax + 0x2c], 0
mov eax, dword [ebx]
mov dword [eax + 0x34], 1
mov eax, dword [ebx]
mov dword [eax + 0x38], 0x3f800000
fld dword [esi + 0x2c]
mov eax, dword [ebx]
fstp dword [eax + 0x3c]
fld dword [esi + 0x30]
mov eax, dword [ebx]
fstp dword [eax + 0x40]
mov eax, dword [ebx]
mov dword [eax + 0x5c], 0
mov eax, dword [ebx]
mov dword [eax + 0x64], 4
mov eax, dword [ebx]
lea ecx, [eax + 0x68]
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x68], ecx
mov eax, dword [ebx]
mov dword [eax + 0x70], 0
test byte [0x64ab50b0], 8
jne 0x64a59b50
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edx
mov dword [esp + 0xc], 0x64ab9188
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.graphics_from_image
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
mov edx, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
mov eax, edx
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov edx, 3
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
Function at 0x64a59f30
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 edi, dword [ecx]
test byte [0x64ab50b0], 8
jne 0x64a5a090
test edi, edi
je 0x64a5a0c0
mov edx, dword [edi + 0x5c]
mov eax, 4
test edx, edx
jne 0x64a5a058
mov eax, dword [edi + 0x14]
test eax, eax
je 0x64a59f7c
cmp dword [edi + 0x18], 2
je 0x64a5a0d8
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x64a59f9b
mov dword [esp], eax
call sym._DeleteDC_4
mov dword [edi + 0xb0], 0
sub esp, 4
mov eax, dword [edi + 8]
test eax, eax
jne 0x64a5a070
mov ebx, dword [edi + 0x68]
lea edx, [edi + 0x68]
mov ecx, dword fs:[0x18]
mov esi, dword [ebx]
cmp ebx, edx
je 0x64a5a00c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
mov edi, ebx
mov ebx, esi
mov esi, ecx
lea esi, [esi]
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov edx, dword [edi]
mov dword [eax], edx
mov eax, dword [edi + 0x4c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeleteRegion
sub esp, 4
mov dword [esp + 8], edi
mov edi, ebx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebx]
sub esp, 0xc
cmp edi, eax
jne 0x64a59fc8
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x60]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeleteRegion
mov eax, dword [edi + 0x9c]
sub esp, 4
mov dword [esp], eax
call sym._DeleteObject_4
mov dword [edi + 0x5c], 1
sub esp, 4
mov dword [esp + 8], edi
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 - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
mov eax, dword [edi]
mov dword [esp + 4], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call sym._ReleaseDC_8
sub esp, 8
jmp 0x64a59fa6
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x64ab919e
mov dword [esp + 8], str.GdipDeleteGraphics
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
test edi, edi
jne 0x64a59f5b
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp], eax
call sym._METAFILE_GraphicsDeleted
test eax, eax
jne 0x64a5a058
mov eax, dword [edi + 0xb0]
test eax, eax
jne 0x64a59f86
jmp 0x64a59f9b
Function at 0x64a5d850
Capabilities:
Access peb ldr_data
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, 0x48
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
test byte [0x64ab50b0], 8
jne 0x64a5d960
test esi, esi
je 0x64a5d994
test edi, edi
je 0x64a5d994
mov eax, dword [esi + 0x5c]
mov ebx, 4
test eax, eax
jne 0x64a5d8ad
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x60]
mov dword [esp], eax
call sym.gdiplus.dll_GdipCloneRegion
sub esp, 8
mov ebx, eax
test eax, eax
je 0x64a5d8c0
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
lea ebx, [ebp - 0x30]
mov dword [esp + 8], 2
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0
mov dword [esp], esi
call sym._get_graphics_transform
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sym.gdiplus.dll_GdipTransformRegion
sub esp, 8
mov ebx, eax
test eax, eax
jne 0x64a5d9b0
lea eax, [edi + 4]
mov dword [esp], eax
call sym._delete_element
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [edi + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [edi + 0x14], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
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_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x64ab9094
mov dword [esp + 8], str.GdipGetClip
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
test esi, esi
jne 0x64a5d87e
lea esp, [ebp - 0x10]
mov ebx, 2
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeleteRegion
sub esp, 4
jmp 0x64a5d8ad
Function at 0x64a678e0
Capabilities:
Access peb ldr_data
Get kernel32 base address
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]
fld dword [ecx + 0x10]
mov edi, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x24], eax
test byte [0x64ab50b0], 8
jne 0x64a67a00
fstp dword [ebp - 0x28]
test edi, edi
je 0x64a67a53
test ebx, ebx
je 0x64a67a53
xor edx, edx
cmp ebx, 1
je 0x64a679f0
lea edx, [ebx*8]
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x2c], edx
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 esi, eax
test eax, eax
je 0x64a67a70
test ebx, ebx
fld dword [ebp - 0x28]
jle 0x64a6799e
mov edx, dword [ebp - 0x2c]
lea eax, [edi + 4]
lea ecx, [esi + 4]
lea edx, [edi + edx + 4]
lea esi, [esi]
fild dword [eax - 4]
add eax, 8
add ecx, 8
fstp dword [ecx - 0xc]
fild dword [eax - 8]
fstp dword [ecx - 8]
cmp eax, edx
jne 0x64a67988
mov eax, dword [ebp - 0x24]
fstp dword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipFillClosedCurve2
sub esp, 0x18
mov dword [ebp - 0x1c], eax
mov dword [esp + 8], esi
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]
mov edx, dword [ebp - 0x1c]
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 0x18
fst qword [esp + 0x20]
mov dword [esp + 0x28], eax
fstp dword [ebp - 0x28]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p___p___p___d___.2f___d__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipFillClosedCurve2I
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
fld dword [ebp - 0x28]
fstp dword [ebp - 0x28]
test edi, edi
jne 0x64a67926
lea esp, [ebp - 0x10]
mov edx, 2
pop ecx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
mov edx, 3
jmp 0x64a679f0