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

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0x170
push ebx
mov ebx, dword [eax]
push ebp
mov ebp, dword [eax + 8]
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x184]
mov ecx, dword [eax]
push 5
push ecx
call sub.gdiplus.dll_GdipSetInterpolationMode
test eax, eax
je 0x10089e78
mov edx, dword [esp + 0x184]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x184]
mov ecx, dword [eax]
push 4
push ecx
call sub.gdiplus.dll_GdipSetPixelOffsetMode
test eax, eax
je 0x10089e97
mov edx, dword [esp + 0x184]
mov dword [edx + 4], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0
call sub.gdiplus.dll_GdipCreateImageAttributes
mov ecx, dword [esp + 0x198]
test ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
je 0x10089efb
movzx eax, cl
or eax, 0xffffff00
movzx edx, ch
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x24]
shr ecx, 0x10
movzx ecx, cl
shl eax, 8
or eax, ecx
push eax
push eax
push 1
push 0
push edx
call sub.gdiplus.dll_GdipSetImageAttributesColorKeys
test eax, eax
je 0x10089ef3
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18c]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 8]
sub eax, edx
mov edx, dword [ecx + 8]
sub edx, ebp
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x1c], edx
add edx, esi
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
sub ecx, edx
sub ecx, edi
sub ecx, esi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x18c]
mov edx, dword [ecx + 4]
lea ecx, [edx + esi]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x10]
sub ecx, edx
mov edx, dword [esp + 0x18c]
mov edx, dword [edx + 4]
sub ecx, edi
sub ecx, esi
mov dword [esp + 0x4c], ecx
lea ecx, [edx + esi]
mov dword [esp + 0x174], ecx
mov ecx, dword [esp + 0x10]
sub ecx, edx
mov edx, dword [esp + 0x10]
sub edx, edi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x18]
sub eax, ebp
sub ecx, edi
sub eax, ebx
sub ecx, esi
add edx, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xf0], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xf4], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x100], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x110], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x114], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x11c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x120], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x124], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x12c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x130], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], esi
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], esi
mov dword [esp + 0x108], ebp
mov dword [esp + 0x10c], esi
mov dword [esp + 0x118], ebx
mov dword [esp + 0x128], eax
mov dword [esp + 0x134], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x13c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x140], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x144], ecx
mov dword [esp + 0x154], ecx
mov dword [esp + 0x164], ecx
mov ecx, dword [esp + 0x190]
mov dword [esp + 0x150], edx
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x160], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 8]
sub eax, edx
mov edx, dword [ecx + 8]
sub edx, ebp
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x1c], edx
add edx, esi
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
sub ecx, edx
sub ecx, edi
sub ecx, esi
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x190]
mov edx, dword [ecx + 4]
lea ecx, [edx + esi]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esp + 0x190]
mov edx, dword [edx + 4]
sub ecx, edi
sub ecx, esi
mov dword [esp + 0x3c], ecx
lea ecx, [edx + esi]
mov dword [esp + 0x174], ecx
mov ecx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esp + 0x14]
sub edx, edi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x10]
sub eax, ebp
sub ecx, edi
sub eax, ebx
sub ecx, esi
add edx, ebx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x138], ebp
mov dword [esp + 0x148], ebx
mov dword [esp + 0x14c], edi
mov dword [esp + 0x15c], edi
mov dword [esp + 0x168], ebp
mov dword [esp + 0x16c], edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x8c], esi
lea esi, [edx + ebx]
mov dword [esp + 0x14], esi
mov dword [esp + 0x90], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x94], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 0x174]
mov dword [esp + 0x80], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0xdc], edi
mov edi, dword [esp + 0x188]
mov dword [esp + 0x88], ebx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ebp
xor esi, esi
mov eax, dword [esp + esi + 0xe8]
test eax, eax
jle 0x1008a2eb
mov eax, dword [esp + esi + 0xec]
test eax, eax
jle 0x1008a2eb
mov eax, dword [esp + esi + 0x58]
test eax, eax
jle 0x1008a2eb
mov eax, dword [esp + esi + 0x5c]
test eax, eax
jle 0x1008a2eb
mov ecx, dword [esp + 0x2c]
push 0
push 0
push ecx
mov ecx, dword [esp + esi + 0x60]
push 2
mov edx, eax
mov eax, dword [esp + esi + 0x68]
push edx
mov edx, dword [esp + esi + 0x64]
push eax
push ecx
mov ecx, dword [esp + 0x1a0]
push edx
lea eax, [esp + esi + 0x100]
push eax
push edi
call fcn.10006c10
add esi, 0x10
cmp esi, 0x90
jl 0x1008a293
mov ecx, dword [esp + 0x24]
push ecx
call sub.gdiplus.dll_GdipDisposeImageAttributes
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x170
ret