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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x10], eax
push esi
push edi
push dword [ebx + 0x38]
call fcn.00450657
mov ecx, eax
call fcn.00450791
mov ecx, eax
mov dword [esp + 0x14], eax
xor edi, edi
call fcn.0045241c
mov ecx, dword [esp + 0x14]
mov esi, eax
shr esi, 2
call fcn.00452443
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x452c3f
cmp ecx, 1
jne 0x452c2d
mov edi, esi
jmp 0x452c3f
cmp ecx, 2
jne 0x452c37
lea edi, [esi + esi]
jmp 0x452c3f
cmp ecx, 3
jne 0x452c3f
imul edi, esi, 3
mov cl, byte [ebx + 0x18]
cmp cl, 0xff
je 0x452db1
and dword [esp + 0x7c], 0
and dword [esp + 0x80], 0
and dword [esp + 0x84], 0
and dword [esp + 0x88], 0
and dword [esp + 0x8c], 0
and dword [esp + 0x94], 0
and dword [esp + 0x98], 0
and dword [esp + 0x9c], 0
and dword [esp + 0xa0], 0
and dword [esp + 0xa4], 0
and dword [esp + 0xac], 0
and dword [esp + 0xb0], 0
and dword [esp + 0xb4], 0
and dword [esp + 0xb8], 0
and dword [esp + 0xbc], 0
and dword [esp + 0xc4], 0
and dword [esp + 0xc8], 0
and dword [esp + 0xcc], 0
and dword [esp + 0xd0], 0
and dword [esp + 0xd4], 0
movzx eax, cl
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
fild dword [esp + 0x10]
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x90], 0x3f800000
mov dword [esp + 0xa8], 0x3f800000
mov dword [esp + 0xd8], 0x3f800000
fstp qword [esp + 0x70]
fld qword [esp + 0x70]
fdiv qword [0x4bfc98]
and dword [esp + 0x1c], 0
push eax
fstp dword [esp + 0xc4]
call dword [sym.imp.gdiplus.dll_GdipCreateImageAttributes]
push 0
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x80]
push eax
push 1
push 1
push dword [esp + 0x30]
call dword [sym.imp.gdiplus.dll_GdipSetImageAttributesColorMatrix]
mov ecx, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x58], esi
cmovne ecx, eax
mov eax, dword [esp + 0x24]
push ecx
push ecx
mov dword [esp + 0x28], ecx
xor edx, edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x64], eax
push ecx
push ecx
push eax
push esi
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x68]
push edx
push edi
push eax
push dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
call fcn.004523c1
push dword [esp + 0x1c]
call dword [sym.imp.gdiplus.dll_GdipDisposeImageAttributes]
jmp 0x452ebc
cmp dword [ebx + 0x10], esi
jne 0x452df0
cmp dword [ebx + 0x14], eax
jne 0x452df0
and dword [esp + 0x38], 0
and dword [esp + 0x3c], 0
push ecx
push ecx
push 0
push ecx
push eax
push esi
push 0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push edi
push eax
push dword [esp + 0x38]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.004523c1
jmp 0x452ebc
push 0x26200a
push eax
push esi
lea ecx, [esp + 0x6c]
call fcn.004530d2
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x68]
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x34]
push eax
push esi
push ecx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push edi
push eax
push dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x58], esi
call fcn.004523c1
push 5
pop eax
mov dword [esp + 0x38], eax
lea esi, [esp + 0x28]
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x60]
mov dword [esp + 0x40], eax
sub esp, 0x10
mov dword [esp + 0x54], eax
xor ecx, ecx
mov eax, dword [ebx + 0x10]
mov edi, esp
mov dword [esp + 0x40], eax
sub esp, 0x10
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x58]
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.00454ac6
add esp, 0x24
push dword [esp + 0x48]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [esp + 0x64]
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
push esi
mov ecx, ebx
call fcn.00452edb
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047aabf
mov esp, ebp
pop ebp
ret 4