Function at 0x64aa0200
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force 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, 0x38
mov edi, dword [ecx + 4]
mov esi, dword [ecx]
mov ebx, dword [eax + 0xc]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x1c], edi
test byte [0x64ab5100], 8
jne 0x64aa03f8
mov dword [ebp - 0x20], ecx
test esi, esi
je 0x64aa03e0
test ebx, ebx
je 0x64aa03e0
mov dword [ebx], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call sym._GetMetaFileBitsEx_12
mov edx, 1
sub esp, 0xc
mov edi, eax
test eax, eax
jne 0x64aa0280
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x28], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], esi
call sym._GetMetaFileBitsEx_12
sub esp, 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x24]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._SetWinMetaFileBits_16
mov edi, eax
mov eax, dword [ebp - 0x24]
sub esp, 0x10
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], edi
call sym.gdiplus.dll_GdipCreateMetafileFromEmf
sub esp, 0xc
mov edx, eax
test eax, eax
jne 0x64aa0450
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx]
test ecx, ecx
je 0x64aa0440
fild word [ecx + 0xe]
fstp dword [eax + 0x2c]
fild word [ecx + 0xe]
mov eax, dword [ebx]
fstp dword [eax + 0x30]
fild word [ecx + 6]
fild word [ecx + 0xe]
mov eax, dword [ebx]
fdivp st(1)
fstp dword [eax + 0x38]
fild word [ecx + 8]
fild word [ecx + 0xe]
mov eax, dword [ebx]
fdivp st(1)
fstp dword [eax + 0x3c]
movsx eax, word [ecx + 6]
movsx edi, word [ecx + 0xa]
sub edi, eax
mov eax, dword [ebx]
mov dword [ebp - 0x20], edi
fild dword [ebp - 0x20]
fstp dword [eax + 0x40]
movsx eax, word [ecx + 0xc]
movsx ecx, word [ecx + 8]
mov edi, dword [ebx]
sub eax, ecx
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp dword [edi + 0x44]
mov eax, dword [ebx]
mov dword [eax + 0x4c], 2
mov eax, dword [ebx]
mov ecx, dword [0x64abdeb4]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x64abdeb8]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x64abdebc]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x64abdec0]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x64aa0270
mov dword [ebp - 0x1c], edx
mov dword [esp], esi
call sym._DeleteMetaFile_4
mov edx, dword [ebp - 0x1c]
sub esp, 4
jmp 0x64aa0270
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 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov dword [ebp - 0x20], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p___d___p___p__n
mov dword [esp + 8], str.GdipCreateMetafileFromWmf
mov dword [esp + 4], 0x64ab5100
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_9
mov ecx, dword [ebp - 0x20]
jmp 0x64aa0231
mov dword [eax + 0x4c], 1
jmp 0x64aa038f
mov dword [ebp - 0x1c], eax
mov dword [esp], edi
call sym._DeleteEnhMetaFile_4
mov edx, dword [ebp - 0x1c]
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10