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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1019aec3
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x30], ebx
mov eax, dword [ebx]
mov edx, dword [eax + 8]
call edx
mov edi, dword [ebp + 8]
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov ecx, esi
call fcn.10062a30
test al, al
jne 0x1007ae6f
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov ecx, 0x10221598
call fcn.10062a30
test al, al
jne 0x1007ae6f
push str.warp:_only_eim_RGBByteImage_or_eim_ByteImage_allowed_as_first_argument
lea eax, [esp + 0x38]
call fcn.100595b0
add esp, 4
push 0x102051a0
lea eax, [esp + 0x38]
push eax
call fcn.1017d044
lea esi, [esp + 0x34]
mov dword [esp + 0x34], vtable.ert_TmplPtr_class_eim_Image_.0
mov dword [esp + 0x38], 0
call fcn.10005e40
mov dword [esp + 0x34], vtable.eim_ImagePtr.0
lea esi, [ebx - 0x1c]
mov eax, esi
neg eax
sbb eax, eax
mov dword [esp + 0xe8], 0
mov edx, dword [edi]
and eax, ebx
cmp edi, eax
mov eax, dword [edx + 8]
mov dword [esp + 0x98], esi
mov ecx, edi
je 0x1007aecf
call eax
mov ecx, 0x10221598
call fcn.10062a30
test al, al
je 0x1007aee8
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov edx, eax
lea eax, [esp + 0x34]
call fcn.1007c5f0
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push edi
call eax
mov edi, dword [esp + 0x38]
test edi, edi
je 0x1007aef5
add edi, 0xffffffe4
jmp 0x1007aef7
xor edi, edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebx]
mov edx, dword [edx + 0x54]
push eax
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebp + 0xc]
lea ebx, [esp + 0xa0]
call fcn.1002d160
mov byte [esp + 0xe8], 1
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + 0x3c]
lea ebx, [edi + 0x1c]
mov ecx, ebx
call edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
mov ecx, ebx
call edx
cmp dword [esp + 0x2c], 0
je 0x1007b663
test eax, eax
je 0x1007b663
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ecx - 0x18]
add eax, 0xffffffff
mov dword [esp + 0x9c], eax
imul eax, dword [esp + 0x2c]
lea edx, [edi + eax*2]
add edx, eax
mov eax, dword [ecx]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x4c], edi
lea ebx, [ebx + ebx*2]
mov dword [esp + 0x44], 0
call edx
test eax, eax
jle 0x1007b650
fild dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
fstp dword [esp + 0x40]
fld dword [esp + 0xb4]
fld dword [esp + 0x40]
mov dword [esp + 0x40], 0
fld st(0)
fmulp st(2)
fld dword [esp + 0xcc]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x54]
fmul dword [esp + 0xbc]
fadd dword [esp + 0xd0]
fstp dword [esp + 0x48]
call edx
test eax, eax
jle 0x1007b636
jmp 0x1007aff0
fld dword [esp + 0x54]
fsub qword [0x101e98e8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fistp dword [esp + 0x3c]
fld dword [esp + 0x48]
fsub qword [0x101e98e8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fistp dword [esp + 0x50]
fld dword [esp + 0x54]
mov eax, dword [esp + 0x50]
test eax, eax
fld st(0)
fisub dword [esp + 0x3c]
fstp dword [esp + 0x14]
fld dword [esp + 0x48]
fld st(0)
fisub dword [esp + 0x50]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fld st(0)
fld1
fld st(0)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x10]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0xb0]
faddp st(4)
fxch st(3)
fstp dword [esp + 0x54]
fld dword [esp + 0xb8]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x48]
jge 0x1007b18f
mov eax, dword [esp + 0x3c]
fstp st(1)
test eax, eax
jge 0x1007b0a7
movzx ecx, byte [edi]
fstp st(0)
mov eax, esi
mov byte [eax], cl
mov dl, byte [edi + 1]
mov byte [eax + 1], dl
movzx ecx, byte [edi + 2]
mov byte [eax + 2], cl
jmp 0x1007b619
mov edx, dword [esp + 0x2c]
add edx, 0xffffffff
cmp eax, edx
jl 0x1007b0d1
movzx ecx, byte [ebx + edi - 3]
fstp st(0)
mov eax, esi
mov byte [eax], cl
mov dl, byte [ebx + edi - 2]
mov byte [eax + 1], dl
movzx ecx, byte [ebx + edi - 1]
mov byte [eax + 2], cl
jmp 0x1007b619
lea edx, [edi + eax*2]
mov cl, byte [eax + edx]
add eax, edx
mov dl, byte [eax + 3]
movzx ecx, cl
mov dword [esp + 0x10], ecx
movzx edx, dl
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul dword [esp + 0x28]
fild dword [esp + 0x10]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fistp dword [esp + 0x90]
movzx ecx, byte [esp + 0x90]
mov byte [esi], cl
mov cl, byte [eax + 1]
mov dl, byte [eax + 4]
movzx ecx, cl
mov dword [esp + 0x10], ecx
movzx edx, dl
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul dword [esp + 0x28]
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fistp dword [esp + 0x88]
movzx ecx, byte [esp + 0x88]
mov byte [esi + 1], cl
mov cl, byte [eax + 2]
mov al, byte [eax + 5]
movzx edx, cl
mov dword [esp + 0x10], edx
movzx eax, al
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [esp + 0x28]
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fistp dword [esp + 0x5c]
movzx ecx, byte [esp + 0x5c]
jmp 0x1007b616
cmp eax, dword [esp + 0x9c]
jl 0x1007b2af
mov eax, dword [esp + 0x3c]
fstp st(1)
test eax, eax
jge 0x1007b1c5
mov ecx, dword [esp + 0x58]
fstp st(0)
movzx edx, byte [ecx]
mov eax, esi
mov byte [eax], dl
movzx edx, byte [ecx + 1]
mov byte [eax + 1], dl
mov cl, byte [ecx + 2]
mov byte [eax + 2], cl
jmp 0x1007b619
mov edx, dword [esp + 0x2c]
add edx, 0xffffffff
cmp eax, edx
jl 0x1007b1f3
mov ecx, dword [esp + 0x58]
fstp st(0)
movzx edx, byte [ebx + ecx - 3]
mov eax, esi
mov byte [eax], dl
movzx edx, byte [ebx + ecx - 2]
mov byte [eax + 1], dl
mov cl, byte [ebx + ecx - 1]
mov byte [eax + 2], cl
jmp 0x1007b619
mov edx, dword [esp + 0x58]
lea ecx, [edx + eax*2]
mov dl, byte [eax + ecx + 3]
add eax, ecx
mov cl, byte [eax]
movzx ecx, cl
mov dword [esp + 0x10], ecx
movzx edx, dl
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul dword [esp + 0x28]
fild dword [esp + 0x10]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fistp dword [esp + 0x7c]
movzx ecx, byte [esp + 0x7c]
mov byte [esi], cl
mov cl, byte [eax + 1]
mov dl, byte [eax + 4]
movzx ecx, cl
mov dword [esp + 0x10], ecx
movzx edx, dl
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul dword [esp + 0x28]
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fistp dword [esp + 0x64]
movzx ecx, byte [esp + 0x64]
mov byte [esi + 1], cl
mov cl, byte [eax + 2]
mov al, byte [eax + 5]
movzx edx, cl
mov dword [esp + 0x10], edx
movzx eax, al
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [esp + 0x28]
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fistp dword [esp + 0x84]
movzx ecx, byte [esp + 0x84]
jmp 0x1007b616
imul eax, dword [esp + 0x2c]
lea ecx, [edi + eax*2]
add ecx, eax
mov eax, dword [esp + 0x3c]
test eax, eax
lea edi, [ebx + ecx]
jge 0x1007b382
mov al, byte [ecx]
fstp st(0)
mov dl, byte [edi]
movzx eax, al
mov dword [esp + 0x14], eax
movzx edx, dl
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul dword [esp + 0x24]
fild dword [esp + 0x14]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x6c]
movzx eax, byte [esp + 0x6c]
mov byte [esi], al
mov al, byte [ecx + 1]
mov dl, byte [edi + 1]
movzx eax, al
mov dword [esp + 0x14], eax
movzx edx, dl
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul dword [esp + 0x24]
fild dword [esp + 0x14]
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x94]
movzx eax, byte [esp + 0x94]
mov byte [esi + 1], al
mov cl, byte [ecx + 2]
mov al, byte [edi + 2]
movzx ecx, cl
mov dword [esp + 0x14], ecx
movzx edx, al
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul dword [esp + 0x24]
fild dword [esp + 0x14]
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fistp dword [esp + 0x74]
movzx eax, byte [esp + 0x74]
mov edi, dword [esp + 0x4c]
mov byte [esi + 2], al
jmp 0x1007b619
mov edx, dword [esp + 0x2c]
add edx, 0xffffffff
cmp eax, edx
jl 0x1007b459
mov al, byte [ebx + ecx - 3]
fstp st(0)
mov dl, byte [ebx + edi - 3]
movzx eax, al
mov dword [esp + 0x14], eax
movzx edx, dl
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul dword [esp + 0x24]
fild dword [esp + 0x14]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x78]
movzx eax, byte [esp + 0x78]
mov byte [esi], al
mov al, byte [ebx + ecx - 2]
mov dl, byte [ebx + edi - 2]
movzx eax, al
mov dword [esp + 0x14], eax
movzx edx, dl
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul dword [esp + 0x24]
fild dword [esp + 0x14]
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x80]
movzx eax, byte [esp + 0x80]
mov byte [esi + 1], al
mov cl, byte [ebx + ecx - 1]
mov al, byte [ebx + edi - 1]
movzx ecx, cl
mov dword [esp + 0x14], ecx
movzx edx, al
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul dword [esp + 0x24]
fild dword [esp + 0x14]
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fistp dword [esp + 0x8c]
movzx eax, byte [esp + 0x8c]
mov edi, dword [esp + 0x4c]
mov byte [esi + 2], al
jmp 0x1007b619
lea eax, [eax + eax*2]
movzx edx, byte [ecx + eax]
mov byte [esp + 0x1a], dl
movzx edx, byte [ecx + eax + 3]
mov byte [esp + 0x1b], dl
movzx edx, byte [esp + 0x1a]
mov dword [esp + 0x20], edx
movzx edx, byte [esp + 0x1b]
fild dword [esp + 0x20]
fld dword [esp + 0x28]
mov dword [esp + 0x20], edx
movzx edx, byte [edi + eax]
fld st(0)
fmulp st(2)
fild dword [esp + 0x20]
mov byte [esp + 0x1b], dl
movzx edx, byte [edi + eax + 3]
fmul st(3)
mov byte [esp + 0x1a], dl
movzx edx, byte [esp + 0x1b]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
mov dword [esp + 0x20], edx
movzx edx, byte [esp + 0x1a]
fild dword [esp + 0x20]
mov dword [esp + 0x20], edx
fmulp st(1)
fild dword [esp + 0x20]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fmul dword [esp + 0x24]
fld dword [esp + 0x20]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fistp dword [esp + 0x60]
movzx edx, byte [esp + 0x60]
mov byte [esi], dl
movzx edx, byte [ecx + eax + 1]
mov byte [esp + 0x1b], dl
movzx edx, byte [ecx + eax + 4]
mov byte [esp + 0x1a], dl
movzx edx, byte [esp + 0x1b]
mov dword [esp + 0x1c], edx
movzx edx, byte [esp + 0x1a]
fild dword [esp + 0x1c]
fld dword [esp + 0x28]
fld st(0)
mov dword [esp + 0x1c], edx
movzx edx, byte [edi + eax + 1]
fmulp st(2)
fild dword [esp + 0x1c]
fld dword [esp + 0x14]
fld st(0)
mov byte [esp + 0x1b], dl
movzx edx, byte [edi + eax + 4]
fmulp st(2)
fxch st(3)
faddp st(1)
mov byte [esp + 0x1a], dl
movzx edx, byte [esp + 0x1b]
fstp dword [esp + 0x20]
mov dword [esp + 0x1c], edx
movzx edx, byte [esp + 0x1a]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fmulp st(1)
fild dword [esp + 0x1c]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul dword [esp + 0x24]
fld dword [esp + 0x1c]
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fistp dword [esp + 0x68]
movzx edx, byte [esp + 0x68]
mov byte [esi + 1], dl
mov dl, byte [ecx + eax + 2]
mov cl, byte [ecx + eax + 5]
movzx edx, dl
mov dword [esp + 0x1c], edx
movzx ecx, cl
fild dword [esp + 0x1c]
fld dword [esp + 0x28]
fld st(0)
mov dword [esp + 0x1c], ecx
mov cl, byte [edi + eax + 2]
fmulp st(2)
fild dword [esp + 0x1c]
mov al, byte [edi + eax + 5]
fld dword [esp + 0x14]
movzx edx, cl
fld st(0)
fmulp st(2)
fxch st(3)
mov dword [esp + 0x1c], edx
movzx eax, al
faddp st(1)
fstp dword [esp + 0x20]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
fmulp st(1)
fild dword [esp + 0x1c]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul dword [esp + 0x24]
fld dword [esp + 0x1c]
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fistp dword [esp + 0x70]
movzx ecx, byte [esp + 0x70]
mov edi, dword [esp + 0x4c]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
add dword [esp + 0x40], 1
add esi, 3
call eax
cmp dword [esp + 0x40], eax
jl 0x1007aff0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
add dword [esp + 0x44], 1
call eax
cmp dword [esp + 0x44], eax
jl 0x1007af90
mov eax, dword [esp + 0x98]
neg eax
sbb eax, eax
and eax, dword [esp + 0x30]
mov esi, eax
jmp 0x1007b68a
mov edi, dword [esp + 0x30]
push ecx
mov eax, esp
mov byte [eax], 0
mov byte [eax + 1], 0
mov byte [eax + 2], 0
lea eax, [edi - 0x1c]
mov dword [esp + 0x9c], esp
call fcn.1007ac10
neg esi
sbb esi, esi
and esi, edi
lea ecx, [esp + 0xd4]
call fcn.10050d00
or ecx, 0xffffffff
mov dword [esp + 0xe8], ecx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1007b6ca
mov edx, dword [eax + 4]
mov edx, dword [edx + 4]
add dword [edx + eax + 8], ecx
lea edx, [edx + eax + 4]
jne 0x1007b6ca
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, esi
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10