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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x581d10]
xor eax, esp
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x10], eax
push esi
push edi
push dword [ebx + 0x3c]
call fcn.004611b7
mov ecx, eax
call fcn.00461300
mov ecx, eax
mov dword [esp + 0x14], eax
xor edi, edi
call fcn.0046366c
mov ecx, dword [esp + 0x14]
mov esi, eax
shr esi, 2
call fcn.00463693
mov ecx, dword [ebx + 0x40]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x462f59
cmp ecx, 1
jne 0x462f47
mov edi, esi
jmp 0x462f59
cmp ecx, 2
jne 0x462f51
lea edi, [esi + esi]
jmp 0x462f59
cmp ecx, 3
jne 0x462f59
imul edi, esi, 3
mov cl, byte [ebx + 0x1c]
cmp cl, 0xff
je 0x4630c3
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
and dword [esp + 0xa4], 0
and dword [esp + 0xa8], 0
and dword [esp + 0xac], 0
and dword [esp + 0xb0], 0
and dword [esp + 0xb4], 0
and dword [esp + 0xbc], 0
and dword [esp + 0xc0], 0
and dword [esp + 0xc4], 0
and dword [esp + 0xc8], 0
and dword [esp + 0xcc], 0
movzx eax, cl
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
fild dword [esp + 0xc]
mov dword [esp + 0x70], 0x3f800000
mov dword [esp + 0x88], 0x3f800000
mov dword [esp + 0xa0], 0x3f800000
mov dword [esp + 0xd0], 0x3f800000
fstp qword [esp + 0x58]
fld qword [esp + 0x58]
fdiv qword [0x55f468]
and dword [esp + 0xc], 0
push eax
fstp dword [esp + 0xbc]
call dword [sym.imp.gdiplus.dll_GdipCreateImageAttributes]
push 0
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x78]
push eax
push 1
push 1
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipSetImageAttributesColorMatrix]
mov ecx, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x50], esi
cmovne ecx, eax
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x10], ecx
push edx
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], eax
push ecx
push 2
push eax
push esi
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x60]
push edx
push edi
push eax
push dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
call fcn.0046360e
push dword [esp + 0xc]
call dword [sym.imp.gdiplus.dll_GdipDisposeImageAttributes]
jmp 0x4631c4
cmp dword [ebx + 0x14], esi
jne 0x463105
cmp dword [ebx + 0x18], eax
jne 0x463105
and dword [esp + 0x30], 0
and dword [esp + 0x34], 0
push 0
push 0
push 0
push 2
push eax
push esi
push 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
push edi
push eax
push dword [esp + 0x38]
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.0046360e
jmp 0x4631c4
push 0x26200a
push eax
push esi
lea ecx, [esp + 0x6c]
call fcn.004635d5
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x44]
call fcn.0046356b
mov eax, dword [esp + 0x1c]
xor ecx, ecx
push ecx
push ecx
push ecx
push 2
push eax
push esi
push ecx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push edi
push eax
push dword [esp + 0x38]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x50], esi
call fcn.0046360e
and dword [esp + 0x20], 0
lea esi, [esp + 0x20]
and dword [esp + 0x24], 0
push 5
pop eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x14]
push 0
sub esp, 0x10
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x18]
mov edi, esp
mov dword [esp + 0x40], eax
sub esp, 0x10
lea eax, [esp + 0x84]
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 + 0x54]
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 esi, dword [esp + 0x40]
push esi
call fcn.0046639f
add esp, 0x2c
push dword [esp + 0x40]
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.004631e3
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 4