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

Disassembly:
sub esp, 0x98
push ebx
push ebp
mov ebp, dword [esp + 0xac]
xor ebx, ebx
cmp ebp, ebx
push esi
mov esi, ecx
je 0x55e1e2
cmp dword [esp + 0xb4], ebx
je 0x55e1e2
mov ecx, dword [esi + 0x1cc]
cmp ecx, ebx
je 0x55de81
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x1cc], ebx
push edi
mov byte [esi + 0x1c8], bl
mov eax, dword [esi + 0x1d4]
mov ecx, dword [eax + 4]
lea edi, [esi + 0x1d0]
push ecx
mov ecx, edi
call fcn.0051f9c0
mov eax, dword [edi + 4]
mov edx, dword [esp + 0xac]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], ebx
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov eax, dword [esp + 0xb0]
mov byte [edi + 0x19], bl
mov byte [edi + 0x18], bl
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
je 0x55dee2
mov edx, dword [ecx]
fldz
mov eax, dword [edx]
sub esp, 8
fstp qword [esp]
call eax
mov ecx, esi
call fcn.00551b60
mov edx, dword [ebp + 0x2c]
lea ecx, [esp + 0x24]
push ecx
push edx
call sub.gdiplus.dll_GdipGetMatrixElements
cmp eax, ebx
je 0x55defe
mov dword [ebp + 0x30], eax
fld dword [esp + 0x24]
fstp qword [esi + 0x78]
fld dword [esp + 0x28]
fstp qword [esi + 0x80]
fldz
fst qword [esi + 0x88]
fld dword [esp + 0x2c]
fstp qword [esi + 0x90]
fld dword [esp + 0x30]
fstp qword [esi + 0x98]
fstp qword [esi + 0xa0]
fld dword [esp + 0x34]
fstp qword [esi + 0xa8]
fld dword [esp + 0x38]
fstp qword [esi + 0xb0]
fld1
fstp qword [esi + 0xb8]
fld dword [ebp + 0x24]
call fcn.0044eb60
mov dword [esi + 0x64], eax
fld dword [ebp + 0x28]
call fcn.0044eb60
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x6c], eax
mov eax, 1
mov dword [esi + 0x70], ecx
lea ecx, [esi + 0xc0]
mov byte [esi + 0xe4], bl
mov byte [esi + 0xe5], bl
mov byte [esi + 0xe6], bl
mov byte [esi + 0xe7], bl
mov dword [esi + 0xfc], eax
mov dword [esi + 0xf8], eax
mov dword [esi + 0x104], eax
mov dword [esi + 0x100], eax
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], 0xffffff
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], eax
mov dword [esi + 0xec], eax
mov byte [esi + 0x17c], bl
mov dword [esi + 0x1a0], ebx
call fcn.0055f7d0
cmp dword [esi + 0xe0], ebx
je 0x55e034
or edi, 0xffffffff
jmp 0x55dff0
mov eax, dword [esi + 0xe0]
cmp eax, ebx
je 0x55e02c
mov edx, dword [esi + 0xdc]
mov ecx, dword [esi + 0xd8]
lea eax, [eax + edx - 1]
cmp ecx, eax
ja 0x55e010
sub eax, ecx
mov ecx, dword [esi + 0xd4]
mov ecx, dword [ecx + eax*4]
call fcn.005206a0
add dword [esi + 0xe0], edi
jne 0x55e02c
mov dword [esi + 0xdc], ebx
cmp dword [esi + 0xe0], ebx
jne 0x55dff0
cmp dword [esi + 0xc], ebx
jne 0x55e050
push 0x674438
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0x6376b4
call fcn.0044db3a
cmp dword [esi + 0x10], ebx
jne 0x55e06c
push 0x674438
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0x6376d4
call fcn.0044db3a
mov edx, dword [esi + 8]
lea ecx, [esp + 0x3c]
push ecx
push 0x6c
push edx
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
mov eax, dword [esp + 0x70]
push ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
cmp edi, ebx
je 0x55e0bf
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
call ebp
push edi
mov dword [esi + 0x20], eax
call ebp
push eax
mov ecx, esi
call fcn.0054fce0
mov ecx, dword [esi + 0x20]
push ecx
lea ecx, [esi + 0x2c]
call fcn.0054f910
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esi + 0x20], ebx
jne 0x55e0db
push 0x674438
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0x6376ec
call fcn.0044db3a
mov edi, dword [esp + 0x8c]
cmp edi, ebx
je 0x55e1bb
mov ecx, dword [esp + 0x90]
cmp ecx, ebx
je 0x55e1bb
mov ebp, dword [esp + 0x84]
mov eax, ebp
imul eax, dword [esp + 0x54]
cdq
idiv edi
mov byte [esi + 0x1ec], bl
mov edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
imul eax, dword [esp + 0x58]
cdq
idiv ecx
mov edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
imul eax, ebp
cdq
idiv edi
mov edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
imul eax, dword [esp + 0x88]
cdq
idiv ecx
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x20], ecx
mov ecx, esi
call fcn.00550150
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x14]
push edx
push esi
push 0x55da70
push eax
push ecx
call dword [sym.imp.GDI32.dll_EnumEnhMetaFile]
mov ecx, esi
call fcn.00550190
mov eax, dword [esi + 0x1a4]
cmp eax, ebx
je 0x55e1cc
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
push edx
call edi
mov eax, dword [esi + 0x24]
push eax
call edi
mov dword [esi + 0x14], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 0x10