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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
test eax, eax
je 0x10013e0a
mov ebx, dword [eax + 0x68]
lea edi, [eax + 0x68]
mov esi, ecx
mov eax, dword [ebp - 0x24]
cmp edi, ebx
jne 0x10013c8a
jmp 0x10013dea
mov ebx, dword [ebx]
cmp ebx, edi
je 0x10013dea
cmp dword [ebx + 8], esi
jne 0x10013c80
cmp dword [ebx + 0xc], eax
jne 0x10013c80
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipCloneRegion
mov dword [ebp - 0x1c], eax
sub esp, 8
test eax, eax
je 0x10013cc0
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x34]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x44], eax
mov eax, dword [ebx + 0x38]
mov dword [edx + 0x48], eax
mov eax, dword [ebx + 0x3c]
mov dword [edx + 0x4c], eax
mov eax, dword [ebx + 0x40]
mov dword [edx + 0x50], eax
mov eax, dword [ebx + 0x44]
mov dword [edx + 0x54], eax
mov eax, dword [ebx + 0x48]
mov dword [edx + 0x58], eax
mov eax, dword [edx + 0x60]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeleteRegion
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
sub esp, 4
mov dword [ecx + 0x60], eax
mov eax, dword [ebx + 8]
sub eax, 1
mov dword [ecx + 0x70], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 0x18]
mov dword [ecx + 0x24], eax
mov eax, dword [ebx + 0x1c]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [ecx + 0x30], eax
movss xmm0, dword [ebx + 0x24]
movss dword [ecx + 0x38], xmm0
mov eax, dword [ebx + 0x28]
mov dword [ecx + 0x34], eax
mov eax, dword [ebx + 0x30]
mov dword [ecx + 0x64], eax
mov eax, dword [ebx + 0x2c]
mov dword [ecx + 0x28], eax
mov eax, dword [ebx + 0x50]
mov dword [ecx + 0x74], eax
mov eax, dword [ebx + 0x54]
mov ebx, dword [ecx + 0x68]
mov dword [ecx + 0x78], eax
mov ecx, dword [ebx]
cmp ebx, edi
je 0x10013e20
mov dword [ebp - 0x18], edi
mov edi, ecx
mov dword [ebp - 0x14], esi
mov esi, ecx
jmp 0x10013d99
mov dword [esi + 4], eax
mov edx, dword [ebx]
mov dword [eax], edx
mov eax, dword [ebx + 0x4c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeleteRegion
sub esp, 4
mov dword [esp], ebx
mov ebx, edi
call dword [sym.imp.ucrtbase.dll_free]
mov esi, dword [esi]
cmp edi, dword [ebp - 0x18]
je 0x10013e00
mov edi, esi
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x14]
cmp dword [ebx + 8], edx
jne 0x10013d70
mov ecx, esi
mov esi, dword [ebp - 0x14]
mov dword [ecx + 4], eax
mov edx, dword [ebx]
mov dword [eax], edx
mov eax, dword [ebx + 0x4c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDeleteRegion
sub esp, 4
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10013dea
cmp dword [edi + 0x18], 2
jne 0x10013dea
mov edx, dword [ebp - 0x24]
mov dword [esp + 4], esi
mov dword [esp], eax
test edx, edx
jne 0x10013e16
call sym._METAFILE_EndContainer
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, esi
mov eax, dword [edi + 4]
mov esi, dword [ebp - 0x14]
jmp 0x10013da9
mov dword [ebp - 0x1c], 2
jmp 0x10013cb0
call sym._METAFILE_RestoreGraphics
jmp 0x10013cb0
mov eax, dword [edi + 4]
jmp 0x10013da9