Function at 0x69068e70
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]
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 8], esi
mov eax, dword [ecx + 4]
test byte [0x6907a118], 8
mov dword [ebp - 4], edi
mov esi, dword [ecx]
mov dword [ebp - 0x10], ecx
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], eax
jne 0x69069080
test esi, esi
je 0x69069070
test edi, edi
je 0x69069070
mov dword [edi], 0
xor eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [sym.imp.gdi32.dll_GetMetaFileBitsEx]
mov dword [esp], esi
mov dword [ebp - 0x24], eax
call eax
mov edx, 1
sub esp, 0xc
test eax, eax
mov ebx, eax
jne 0x69068f00
mov ecx, dword [ebp - 0x10]
mov eax, edx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 8], eax
mov edx, 8
mov dword [esp + 4], edx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x28], eax
sub esp, 0xc
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], ebx
mov dword [esp], esi
call eax
mov edx, dword [ebp - 0x28]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x24], edx
sub esp, 0xc
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [sym.imp.gdi32.dll_SetWinMetaFileBits]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
sub esp, 0x10
mov ebx, eax
mov dword [esp + 8], edx
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 1
sub esp, 0xc
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.gdiplus.dll_GdipCreateMetafileFromEmf
sub esp, 0xc
test eax, eax
mov edx, eax
jne 0x690690d0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edi]
test ebx, ebx
je 0x690690c0
movsx ecx, word [ebx + 0xe]
pxor xmm0, xmm0
pxor xmm1, xmm1
movsx edi, word [ebx + 6]
cvtsi2ss xmm0, ecx
mov ecx, ebx
cvtsi2ss xmm1, edi
movss dword [eax + 0x2c], xmm0
movsx ebx, word [ebx + 8]
movss dword [eax + 0x30], xmm0
movsx ecx, word [ecx + 0xa]
divss xmm1, xmm0
sub ecx, edi
movss dword [eax + 0x38], xmm1
pxor xmm1, xmm1
cvtsi2ss xmm1, ebx
divss xmm1, xmm0
pxor xmm0, xmm0
cvtsi2ss xmm0, ecx
mov ecx, dword [ebp - 0x1c]
movss dword [eax + 0x40], xmm0
pxor xmm0, xmm0
movsx ecx, word [ecx + 0xc]
mov dword [eax + 0x4c], 2
sub ecx, ebx
cvtsi2ss xmm0, ecx
movss dword [eax + 0x44], xmm0
movss dword [eax + 0x3c], xmm1
mov ecx, dword [0x69082e74]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x69082e78]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x69082e7c]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x69082e80]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x69068ee7
mov dword [esp], esi
mov dword [ebp - 0x1c], edx
call dword [sym.imp.gdi32.dll_DeleteMetaFile]
mov edx, dword [ebp - 0x1c]
sub esp, 4
jmp 0x69068ee7
mov edx, 2
jmp 0x69068ee7
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x20]
mov edx, 0x6908475c
mov dword [esp + 0x1c], edi
mov ecx, str.GdipCreateMetafileFromWmf
mov ebx, 0x6907a118
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_9
jmp 0x69068eaa
mov dword [eax + 0x4c], 1
jmp 0x69069026
mov dword [esp], ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
mov edx, dword [ebp - 0x1c]
sub esp, 4
jmp 0x69068ee7