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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x2c], edi
push dword [ebx + eax*4 + 0x38]
call fcn.00450657
mov ecx, eax
call fcn.00450791
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.0045241c
mov ecx, dword [esp + 0xc]
lea esi, [eax + 1]
shr esi, 1
dec esi
mov dword [esp + 0x30], esi
call fcn.00452443
inc eax
mov dword [esp + 0x38], esi
shr eax, 1
dec eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov al, byte [ebx + 0x18]
cmp al, 0xff
je 0x452721
and dword [esp + 0x44], 0
xor esi, esi
and dword [esp + 0x48], 0
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
and dword [esp + 0x54], 0
and dword [esp + 0x5c], 0
and dword [esp + 0x60], 0
and dword [esp + 0x64], 0
and dword [esp + 0x68], 0
and dword [esp + 0x6c], 0
and dword [esp + 0x74], 0
and dword [esp + 0x78], 0
and dword [esp + 0x7c], 0
and dword [esp + 0x80], 0
and dword [esp + 0x84], 0
and dword [esp + 0x8c], 0
and dword [esp + 0x90], 0
and dword [esp + 0x94], 0
and dword [esp + 0x98], 0
and dword [esp + 0x9c], 0
movzx eax, al
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
fild dword [esp + 0x10]
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x58], 0x3f800000
mov dword [esp + 0x70], 0x3f800000
mov dword [esp + 0xa0], 0x3f800000
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fdiv qword [0x4bfc98]
push eax
mov dword [esp + 0x14], esi
fstp dword [esp + 0x8c]
call dword [sym.imp.gdiplus.dll_GdipCreateImageAttributes]
push esi
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
push eax
push 1
push 1
push dword [esp + 0x24]
call dword [sym.imp.gdiplus.dll_GdipSetImageAttributesColorMatrix]
mov ecx, dword [esp + 0x14]
test eax, eax
cmovne ecx, eax
cmp dword [ebx + 0x74], 1
mov dword [esp + 0x14], ecx
jne 0x4526ce
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push ecx
push ecx
push dword [esp + 0x1c]
mov ecx, edi
call fcn.00452aac
jmp 0x452715
mov eax, dword [ebx + 0x10]
sub esp, 0x10
mov dword [esp + 0x28], esi
mov edi, esp
mov dword [esp + 0x2c], esi
sub esp, 0x10
mov dword [esp + 0x40], eax
lea esi, [esp + 0x38]
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x30]
movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x50]
push 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, dword [esp + 0x50]
mov ecx, edi
call fcn.00454ac6
add esp, 0x24
push dword [esp + 0x10]
call dword [sym.imp.gdiplus.dll_GdipDisposeImageAttributes]
jmp 0x452781
cmp dword [ebx + 0x74], 1
jne 0x45273c
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push ecx
push ecx
push dword [esp + 0x1c]
mov ecx, edi
call fcn.00452aac
jmp 0x452781
mov eax, dword [ebx + 0x10]
lea esi, [esp + 0x18]
sub esp, 0x10
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x14]
xor ecx, ecx
mov edi, esp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
sub esp, 0x10
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x2c]
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 + 0x50]
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 edi, dword [esp + 0x50]
mov ecx, edi
call fcn.00454ac6
add esp, 0x24
push edi
mov ecx, ebx
call fcn.004528c3
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047aabf
mov esp, ebp
pop ebp
ret 4