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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [esp + 0x34], edi
cmp dword [edi + 4], esi
je 0x485005
cmp dword [edi + 8], esi
je 0x485005
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
push dword [ebp + 8]
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov ecx, dword [edi + 8]
mov ebx, esi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ebx
test ecx, ecx
je 0x484e18
mov ebx, dword [edi + 0x10]
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x484e0e
call fcn.00462867
mov ebx, eax
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 8]
call fcn.0046288e
mov esi, eax
movaps xmm0, xmmword [0x69f330]
movzx eax, byte [ebp + 0x24]
movups xmmword [esp + 0x38], xmm0
and dword [esp + 0x78], 0
movaps xmm0, xmmword [0x69f370]
movups xmmword [esp + 0x48], xmm0
and dword [esp + 0x7c], 0
xorps xmm0, xmm0
and dword [esp + 0x94], 0
movups xmmword [esp + 0x58], xmm0
and dword [esp + 0x14], 0
movaps xmm0, xmmword [0x69f330]
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x98], 0x3f800000
movd xmm0, eax
lea eax, [esp + 0x14]
cvtdq2ps xmm0, xmm0
push eax
divss xmm0, dword [0x69f310]
movss dword [esp + 0x84], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x88], xmm0
call dword [sym.imp.gdiplus.dll_GdipCreateImageAttributes]
push 0
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x40]
push eax
push 1
push 1
push dword [esp + 0x28]
call dword [sym.imp.gdiplus.dll_GdipSetImageAttributesColorMatrix]
mov ecx, dword [esp + 0x18]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x484fb9
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x484f0e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
sub ecx, eax
push ecx
push ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push ecx
push ecx
push edx
push dword [edi + 0x18]
lea eax, [esp + 0x38]
mov dword [esp + 0x44], ecx
push dword [edi + 0x14]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], edx
push eax
push dword [edi + 8]
call fcn.004628be
mov edi, dword [edi + 0x1c]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov ebx, esi
mov ecx, dword [ebp + 0x10]
sub ebx, edx
cmp dword [esp + 0x10], ebx
lea eax, [edi + edx]
mov dword [esp + 0x20], ecx
cmovl ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push ecx
push ecx
sub esi, dword [eax + 0x20]
mov eax, dword [ebp + 0x18]
sub esi, edi
sub eax, ecx
sub esi, edx
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x3c]
push ecx
push ecx
push eax
sub ebx, dword [esi + 0x20]
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], eax
sub ebx, edi
mov eax, dword [esi + 0x14]
push ebx
push dword [esi + 0x18]
add eax, edi
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esi + 8]
call fcn.004628be
mov edx, dword [esi + 0x20]
test edx, edx
je 0x484ff1
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
sub ecx, eax
push ecx
push ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push ecx
push edx
push dword [esi + 0x18]
sub eax, edx
mov dword [esp + 0x40], edx
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x48], ecx
push eax
push dword [esi + 8]
jmp 0x484fe8
mov eax, dword [ebp + 0xc]
push ecx
push ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push ecx
imul ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x2c]
push esi
push ebx
push 0
mov dword [esp + 0x40], ebx
push ecx
push eax
push dword [edi + 8]
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x54]
call fcn.004628be
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipDisposeImageAttributes]
push dword [esp + 0x2c]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20