Function at 0x47a6a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x20]
sub esp, 0x2c
mov dword [esp], 0
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
sub esp, 4
mov esi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], str.winetest
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x4ada38
mov dword [esp + 4], 4
mov dword [esp], eax
call sub.gdiplus.dll_GdipRecordMetafile
sub esp, 0x18
mov edi, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb17
xor eax, eax
test edi, edi
sete al
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4acc08
mov dword [esp], eax
call fcn.00471350
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_DeleteDC]
lea eax, [ebp - 0x1c]
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.gdiplus.dll_GdipGetImageGraphicsContext
sub esp, 8
mov esi, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb1b
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4acc08
call fcn.00471350
lea eax, [ebp - 0x10]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.gdiplus.dll_GdipCreatePath
sub esp, 8
mov esi, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb1e
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4acc08
call fcn.00471350
fld dword [0x4afc0c]
fst dword [esp + 0x10]
fstp dword [esp + 0xc]
fld dword [0x4afbbc]
fst dword [esp + 8]
fstp dword [esp + 4]
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.gdiplus.dll_GdipAddPathLine
sub esp, 0x14
mov esi, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb20
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4acc08
call fcn.00471350
fld dword [0x4afc0c]
fst dword [esp + 0x10]
fld dword [0x4afbbc]
fstp dword [esp + 0xc]
fst dword [esp + 8]
fstp dword [esp + 4]
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.gdiplus.dll_GdipAddPathLine
sub esp, 0x14
mov esi, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb22
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4acc08
call fcn.00471350
lea eax, [ebp - 0x18]
mov dword [esp], 0xffaabbcc
mov dword [esp + 4], eax
call sub.gdiplus.dll_GdipCreateSolidFill
sub esp, 8
mov esi, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb25
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4acc08
call fcn.00471350
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.gdiplus.dll_GdipFillPath
sub esp, 0xc
mov esi, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb28
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4acc08
call fcn.00471350
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.gdiplus.dll_GdipDeleteBrush
sub esp, 4
mov esi, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb2b
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4acc08
call fcn.00471350
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.gdiplus.dll_GdipDeletePath
sub esp, 4
mov esi, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb2d
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4acc08
call fcn.00471350
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.gdiplus.dll_GdipDeleteGraphics
sub esp, 4
mov esi, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb30
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4acc08
call fcn.00471350
mov edx, str.fill_path.emf
mov eax, ebx
call fcn.00473260
lea eax, [ebp - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.gdiplus.dll_GdipGetHemfFromMetafile
sub esp, 8
mov esi, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb34
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4acc08
call fcn.00471350
mov eax, dword [ebp - 0x14]
mov ecx, str.fill_path
mov edx, 0x4ae780
call fcn.00471370
mov dword [esp + 4], str.winetest.emf
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_CopyEnhMetaFileW]
mov esi, dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
sub esp, 8
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x20]
sub esp, 4
mov dword [esp], eax
call sub.gdiplus.dll_GdipDisposeImage
sub esp, 4
mov esi, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb3e
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4acc08
mov dword [esp], eax
call fcn.00471350
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], str.winetest.emf
call sub.gdiplus.dll_GdipCreateMetafileFromWmfFile
sub esp, 0xc
mov esi, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb42
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4acc08
call fcn.00471350
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.gdiplus.dll_GdipDisposeImage
xor edx, edx
mov ecx, eax
sub esp, 4
mov eax, 0xb45
call fcn.00471450
mov dword [esp], str.winetest.emf
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], str.winetest.emf
call sub.gdiplus.dll_GdipCreateMetafileFromWmfFile
sub esp, 0xc
mov ebx, eax
call fcn.0049bde0
mov dword [eax], 0x4acab6
mov dword [eax + 4], 0xb4a
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x4acc08
mov dword [esp], eax
call fcn.00471350
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret