Function at 0x6906a3a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
cmp dword [esp + 0x8c], 3
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ebp
jne 0x6906a428
movzx eax, byte [0x6907a118]
mov ebx, dword [esp + 0x80]
and al, 1
cmp dword [ebx + 0x4c], 3
je 0x6906a8f0
test al, al
jne 0x6906a430
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x6906a462
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 8]
cmp eax, 1
je 0x6906a580
test byte [0x6907a118], 1
jne 0x6906a550
mov edx, 6
mov ebx, dword [esp + 0x6c]
mov eax, edx
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
add esp, 0x7c
ret
mov edx, 2
jmp 0x6906a40b
mov eax, str.semi_stub_n
mov edx, str.METAFILE_DrawImagePointsRect
mov dword [esp + 0xc], eax
mov ecx, 0x6907a118
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_9
mov eax, dword [esp + 0xa4]
test eax, eax
jne 0x6906a3e6
mov eax, 0xffffffff
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x4c]
sub eax, 4
cmp eax, 1
ja 0x6906a6b8
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x54]
mov eax, dword [esp + 0x80]
call sym._METAFILE_AddImageObject.part.0
mov edx, eax
test edx, edx
jne 0x6906a40b
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x4c]
sub eax, 4
cmp eax, 1
ja 0x6906a6b8
mov eax, dword [esp + 0xa4]
lea esi, [esp + 0x5c]
test eax, eax
je 0x6906a6bc
mov eax, dword [esp + 0x80]
mov edx, 0x4008
mov ecx, 0x24
mov dword [esp], esi
call sym._METAFILE_AllocateRecord
test eax, eax
mov edx, eax
jne 0x6906a40b
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0xa4]
mov edi, dword [eax + 0x84]
lea eax, [edi + 1]
and edi, 0x3f
mov dword [ecx + 0x84], eax
mov eax, dword [esp + 0x5c]
mov edx, edi
or edx, 0x800
mov word [eax + 2], dx
mov edx, dword [ebx]
mov dword [eax + 0xc], 0xdbc01002
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], edx
mov edx, dword [ebx + 4]
mov dword [eax + 0x18], edx
mov edx, dword [ebx + 8]
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], edx
jmp 0x6906a6c1
mov edx, str.imageAttributes_not_supported__image_type__d__n
mov ecx, str.METAFILE_DrawImagePointsRect
mov dword [esp + 0x10], eax
mov ebx, 0x6907a118
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_9
jmp 0x6906a406
mov eax, dword [esp + 0x84]
lea esi, [esp + 0x5c]
xor ebx, ebx
mov edi, dword [eax + 0x38]
mov ebp, dword [eax + 0x3c]
mov eax, 0x26200a
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov dword [esp], edi
call sym.gdiplus.dll_GdipCreateBitmapFromScan0
sub esp, 0x18
test eax, eax
mov edx, eax
jne 0x6906a40b
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipGetImageGraphicsContext
sub esp, 8
test eax, eax
jne 0x6906a930
xor eax, eax
xor edx, edx
mov dword [esp + 0x34], eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], eax
mov eax, 2
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDrawImageRectRectI
sub esp, 0x38
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeleteGraphics
sub esp, 4
mov edx, dword [esp + 0x4c]
test edx, edx
jne 0x6906a934
mov eax, dword [esp + 0x80]
mov edi, 0xffffffff
mov dword [esp + 0x54], edi
mov edx, dword [esp + 0x5c]
mov eax, dword [eax + 0x4c]
sub eax, 4
cmp eax, 1
ja 0x6906a950
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x54]
call sym._METAFILE_AddImageObject.part.0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDisposeImage
sub esp, 4
mov edx, dword [esp + 0x4c]
jmp 0x6906a49a
lea esi, [esp + 0x5c]
mov edi, 0xffffffff
mov eax, dword [esp + 0x80]
mov edx, 0x401b
mov ecx, 0x40
mov dword [esp], esi
call sym._METAFILE_AllocateRecord
test eax, eax
mov edx, eax
jne 0x6906a40b
mov dword [esp + 0x4c], eax
mov esi, dword [esp + 0x5c]
mov ebp, 0x18
mov eax, dword [esp + 0x54]
mov dword [esi + 0xc], edi
mov word [esi + 2], ax
mov eax, dword [esp + 0x80]
mov dword [esi + 0x10], 2
mov eax, dword [eax + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x80]
movss xmm0, dword [eax + 0x2c]
mov eax, dword [esp + 0xa0]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x90]
mov dword [esp + 4], eax
movss dword [esp], xmm0
call sym._units_to_pixels
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x8c]
fstp dword [esi + 0x14]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x80]
movss xmm0, dword [eax + 0x30]
mov eax, dword [esp + 0xa0]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x94]
mov dword [esp + 4], eax
movss dword [esp], xmm0
call sym._units_to_pixels
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x8c]
fstp dword [esi + 0x18]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x80]
movss xmm0, dword [eax + 0x2c]
mov eax, dword [esp + 0xa0]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x98]
mov dword [esp + 4], eax
movss dword [esp], xmm0
call sym._units_to_pixels
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x8c]
fstp dword [esi + 0x1c]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x80]
movss xmm0, dword [eax + 0x30]
mov eax, dword [esp + 0xa0]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x9c]
mov dword [esp + 4], eax
movss dword [esp], xmm0
call sym._units_to_pixels
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x4c]
lea ecx, [eax + 0x28]
test al, 1
fstp dword [esi + 0x20]
mov esi, dword [esp + 0x88]
mov dword [eax + 0x24], 3
jne 0x6906a98b
test cl, 2
jne 0x6906a976
mov ebx, dword [esp + 0x80]
mov edi, ebp
xor eax, eax
mov dword [esp + 0x4c], edx
and edi, 0xfffffffc
mov edx, dword [esi + eax]
mov dword [ecx + eax], edx
add eax, 4
cmp eax, edi
jb 0x6906a85b
add ecx, eax
add esi, eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x80], ebx
xor eax, eax
test ebp, 2
je 0x6906a88c
movzx eax, word [esi]
mov word [ecx], ax
mov eax, 2
and ebp, 1
je 0x6906a898
movzx ebx, byte [esi + eax]
mov byte [ecx + eax], bl
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x68]
cmp eax, 4
jbe 0x6906a40b
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x80]
mov ecx, dword [ecx + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x58]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GdiComment]
sub esp, 0xc
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x68], 4
jmp 0x6906a40b
test al, al
je 0x6906a406
mov ebx, str.MetafileTypeEmf_metafiles_not_supported_n
mov esi, str.METAFILE_DrawImagePointsRect
mov dword [esp + 0xc], ebx
mov edi, 0x6907a118
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_9
mov edx, 6
jmp 0x6906a40b
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDisposeImage
sub esp, 4
mov edx, dword [esp + 0x4c]
jmp 0x6906a40b
mov dword [esp], edx
call sym.gdiplus.dll_GdipDisposeImage
sub esp, 4
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x4c]
sub eax, 4
cmp eax, 1
jbe 0x6906a4cb
jmp 0x6906a6bc
movzx eax, word [esi]
add ecx, 2
add esi, 2
sub ebp, 2
mov word [ecx - 2], ax
jmp 0x6906a849
movzx ebx, byte [esi]
lea ecx, [eax + 0x29]
inc esi
mov ebp, 0x17
mov byte [eax + 0x28], bl
jmp 0x6906a840