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

Disassembly:
sub esp, 0x5c
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x68]
mov dword [esp + 0x58], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x54], edi
test eax, eax
jle 0x6906b4d8
mov eax, dword [ebp + 0x4c]
lea edx, [eax - 4]
cmp edx, 1
ja 0x6906b4b0
mov dword [esp], esi
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call sym.gdiplus.dll_GdipGetFontStyle
sub esp, 8
test eax, eax
mov ebx, eax
jne 0x6906b4be
mov eax, dword [esi]
cmp word [eax], 0
je 0x6906b710
mov ecx, eax
lea esi, [esi]
lea esi, [esi]
nop
add ecx, 2
cmp word [ecx], 0
jne 0x6906b2a0
sub ecx, eax
mov dword [esp + 0x28], ecx
mov edi, ecx
sar edi, 1
lea eax, [edi + 1]
and eax, 0xfffffffe
lea ecx, [eax + eax + 0x24]
lea eax, [esp + 0x38]
mov edx, 0x4008
mov dword [esp], eax
mov eax, ebp
call sym._METAFILE_AllocateRecord
test eax, eax
mov ebx, eax
jne 0x6906b4be
mov eax, dword [ebp + 0x84]
mov ecx, dword [esp + 0x28]
movss xmm0, dword [esi + 0xdc]
lea edx, [eax + 1]
and eax, 0x3f
mov dword [ebp + 0x84], edx
mov edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
or edx, 0x600
cmp ecx, 8
mov word [eax + 2], dx
mov edx, dword [esi + 0xe0]
movss dword [eax + 0x10], xmm0
mov esi, dword [esi]
mov dword [eax + 0xc], 0xdbc01002
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x20], edi
lea edi, [eax + 0x24]
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], edx
jae 0x6906b530
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x74]
mov esi, dword [eax]
test esi, esi
je 0x6906b364
mov eax, 0xffffffff
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x4c]
sub eax, 4
cmp eax, 1
jbe 0x6906b5c0
mov edx, dword [esp + 0x80]
test edx, edx
je 0x6906b4e0
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call sym.gdiplus.dll_GdipIsMatrixIdentity
sub esp, 8
test eax, eax
mov ebx, eax
jne 0x6906b4be
mov eax, dword [esp + 0x68]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x3c]
add ecx, ecx
test eax, eax
jne 0x6906b4e0
mov eax, 1
add ecx, 0x34
mov dword [esp + 0x28], eax
add ecx, 3
mov edx, 0x4036
lea eax, [esp + 0x3c]
and ecx, 0xfffffffc
mov dword [esp], eax
mov eax, ebp
call sym._METAFILE_AllocateRecord
test eax, eax
mov ebx, eax
jne 0x6906b4be
mov edx, dword [esp + 0x3c]
test esi, esi
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x2c]
mov dword [edx + 0x10], edi
mov edi, dword [esp + 0x28]
mov word [edx + 2], ax
mov dword [edx + 0x14], edi
mov edi, dword [esp + 0x68]
mov dword [edx + 0x18], edi
jne 0x6906b570
or eax, 0xffff8000
mov word [edx + 2], ax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x68]
lea edi, [edx + 0x1c]
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x64]
add eax, eax
cmp eax, 8
mov ecx, eax
jae 0x6906b580
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x2c]
add edx, eax
test byte [esp + 0x7c], 4
je 0x6906b5e0
mov eax, dword [0x69088078]
test eax, eax
jne 0x6906b467
test byte [0x6907a118], 1
mov edi, 1
mov dword [0x69088078], edi
jne 0x6906b6b0
mov eax, dword [esp + 0x78]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [edx], esi
mov dword [edx + 4], edi
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x6906b600
mov eax, dword [ebp + 0x68]
cmp eax, 4
jbe 0x6906b4be
mov edx, dword [ebp + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x58]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GdiComment]
mov dword [ebp + 0x68], 4
sub esp, 0xc
jmp 0x6906b4be
test byte [0x6907a118], 1
mov ebx, 6
jne 0x6906b500
mov eax, ebx
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
add esp, 0x5c
ret
mov ebx, 2
jmp 0x6906b4be
mov eax, dword [esp + 0x68]
lea eax, [eax + eax*4]
lea ecx, [eax + eax + 0x1c]
xor eax, eax
mov dword [esp + 0x28], eax
jmp 0x6906b3b8
mov esi, str.metafile_type_not_supported:__i_n
mov edi, str.METAFILE_DrawDriverString
mov dword [esp + 0x10], eax
mov ebp, 0x6907a118
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_9
jmp 0x6906b4be
test edi, 1
jne 0x6906b740
test edi, 2
jne 0x6906b728
test edi, 4
je 0x6906b340
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
jmp 0x6906b340
mov eax, dword [esp + 0x38]
mov dword [edx + 0xc], eax
jmp 0x6906b417
test edi, 1
jne 0x6906b765
test edi, 2
jne 0x6906b750
test edi, 4
je 0x6906b433
mov edx, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], edx
jmp 0x6906b433
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x38]
mov eax, ebp
call sym._METAFILE_AddBrushObject.part.0
test eax, eax
mov ebx, eax
je 0x6906b364
jmp 0x6906b4be
mov eax, dword [esp + 0x68]
mov edi, edx
mov esi, dword [esp + 0x78]
lea ecx, [eax*8]
cmp ecx, 8
jae 0x6906b670
rep movsb byte es:[edi], byte [esi]
jmp 0x6906b475
mov eax, dword [esp + 0x68]
test dl, 1
mov esi, 0x18
lea ecx, [edx + eax*8]
mov eax, dword [esp + 0x80]
jne 0x6906b6f9
test cl, 2
jne 0x6906b6e4
mov dword [esp + 0x28], ebx
mov edi, esi
xor edx, edx
and edi, 0xfffffffc
mov ebx, dword [eax + edx]
mov dword [ecx + edx], ebx
add edx, 4
cmp edx, edi
jb 0x6906b630
add ecx, edx
add eax, edx
mov ebx, dword [esp + 0x28]
xor edx, edx
test esi, 2
je 0x6906b65a
movzx edx, word [eax]
mov word [ecx], dx
mov edx, 2
and esi, 1
je 0x6906b481
movzx eax, byte [eax + edx]
mov byte [ecx + edx], al
jmp 0x6906b481
test dl, 1
jne 0x6906b78c
test edi, 2
jne 0x6906b777
test edi, 4
je 0x6906b5f6
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
rep movsb byte es:[edi], byte [esi]
jmp 0x6906b475
mov dword [esp + 0x2c], edx
mov ecx, str.METAFILE_DrawDriverString
mov edx, str.serializing_RealizedAdvance_flag_and_single_GlyphPos_with_padding_n
mov dword [esp + 0xc], edx
mov esi, 0x6907a118
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_9
mov edx, dword [esp + 0x2c]
jmp 0x6906b467
movzx edx, word [eax]
add ecx, 2
add eax, 2
sub esi, 2
mov word [ecx - 2], dx
jmp 0x6906b625
movzx edx, byte [eax]
inc ecx
inc eax
mov esi, 0x17
mov byte [ecx - 1], dl
jmp 0x6906b61c
xor ebx, ebx
mov ecx, 0x24
mov dword [esp + 0x28], ebx
xor edi, edi
jmp 0x6906b2bd
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x6906b548
movzx ebx, byte [esi]
lea edi, [eax + 0x25]
inc esi
dec ecx
mov byte [eax + 0x24], bl
jmp 0x6906b53c
movzx edx, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], dx
jmp 0x6906b598
movzx ecx, byte [esi]
lea edi, [edx + 0x1d]
inc esi
mov byte [edx + 0x1c], cl
lea ecx, [eax - 1]
jmp 0x6906b58c
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x6906b685
movzx eax, byte [esi]
lea edi, [edx + 1]
inc esi
dec ecx
mov byte [edx], al
jmp 0x6906b679