Function at 0x463610
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ea69b
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 4], ebx
jne 0x46363e
xor al, al
jmp 0x464b12
mov edi, 1
cmp word [esi + 0x16], di
jne 0x463650
mov al, 1
jmp 0x464b12
mov ecx, esi
call sym.EXP.EXE_public:_bool___thiscall_CxImage::GrayScale_void_
push ebx
lea ecx, [esp + 0x78]
call sym.EXP.EXE_public:_void___thiscall_CxImage::constructor_unsigned_long_int_
push esi
lea ecx, [esp + 0x78]
mov dword [esp + 0x264], ebx
call sym.EXP.EXE_protected:_void___thiscall_CxImage::CopyInfo_class_CxImage_const__
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push eax
push edi
push ecx
push edx
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void____thiscall_CxImage::Create_unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int_
lea ecx, [esp + 0x74]
call sym.EXP.EXE_public:_bool___thiscall_CxImage::IsValid_void_const
test al, al
jne 0x4636bb
lea ecx, [esp + 0x74]
mov dword [esp + 0x260], 0xffffffff
mov dword [esp + 0x74], sym.EXP.EXE_const_CxImage::vftable
call sym.EXP.EXE_public:_bool___thiscall_CxImage::Destroy_void_
xor al, al
jmp 0x464b12
push ebp
push esi
lea ecx, [esp + 0x7c]
call sym.EXP.EXE_public:_bool___thiscall_CxImage::SelectionCopy_class_CxImage__
push esi
lea ecx, [esp + 0x7c]
call sym.EXP.EXE_public:_bool___thiscall_CxImage::AlphaCopy_class_CxImage__
mov eax, dword [esp + 0x26c]
dec eax
cmp eax, 6
ja case.default.0x4636e1
jmp dword [eax*4 + 0x464b2c]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x38], ebx
cmp ecx, ebx
mov dword [esp + 0x3c], 8
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 0xa
mov dword [esp + 0x48], 0xc
mov dword [esp + 0x4c], 4
mov dword [esp + 0x50], 0xe
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 3
mov dword [esp + 0x5c], 0xb
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 9
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x6c], 7
mov dword [esp + 0x70], 0xd
mov dword [esp + 0x74], 5
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 1
jle 0x464ab2
xor eax, eax
mov dword [esp + 0x28], eax
cdq
idiv ecx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x464ab2
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jle 0x46381a
mov ebp, ebx
and ebp, 3
shl ebp, 2
push ebx
push edi
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
and eax, 0xff
shl eax, 4
mov ecx, eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
and ecx, 0x8000000f
jns 0x4637d8
dec ecx
or ecx, 0xfffffff0
inc ecx
mov eax, edx
cdq
and edx, 0xf
add eax, edx
mov edx, edi
and edx, 3
add edx, ebp
sar eax, 4
cmp dword [esp + edx*4 + 0x38], ecx
jge 0x4637fa
mov al, byte [esp + eax + 0x11]
mov byte [esp + 0x1c], al
jmp 0x463802
mov cl, byte [esp + eax + 0x10]
mov byte [esp + 0x1c], cl
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x78]
push edx
push ebx
push edi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x4637a3
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x10]
inc ebx
add eax, 0x64
cmp ebx, ecx
mov dword [esp + 0x28], eax
jl 0x46377b
jmp 0x464ab2
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jle 0x464ab2
xor eax, eax
mov dword [esp + 0x14], eax
cdq
idiv ecx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x464ab2
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x463a28
mov edi, 2
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
add edi, 0xfffffffe
push ebx
push edi
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
cmp al, 0x80
mov byte [esp + 0x10], al
jbe 0x4638ac
push 1
push ebx
push edi
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov edi, dword [esp + 0x10]
and edi, 0xff
sub edi, 0xff
jmp 0x4638c6
push 0
push ebx
push edi
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov edi, dword [esp + 0x10]
and edi, 0xff
mov eax, dword [esp + 0x20]
push ebx
mov ecx, esi
lea ebp, [eax - 1]
push ebp
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov cl, al
lea eax, [edi*8]
cdq
and edx, 0x1f
and ecx, 0xff
add eax, edx
mov byte [esp + 0x10], 0xff
sar eax, 5
add ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x46390b
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
push ebx
push ebp
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov eax, dword [esp + 0x20]
push ebx
push eax
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov cl, al
lea eax, [edi*4]
cdq
and edx, 0x1f
and ecx, 0xff
add eax, edx
mov byte [esp + 0x10], 0xff
sar eax, 5
add ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x46395b
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
push edx
push ebx
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
add ebp, 0xfffffffc
mov dword [esp + 0x28], 5
mov eax, dword [esp + 0x1c]
mov ecx, 4
add eax, ebp
cmp eax, ecx
ja case.default.0x463987
jmp dword [eax*4 + 0x464b48]
mov dword [esp + 0x18], ecx
jmp case.default.0x463987
mov dword [esp + 0x18], 8
jmp case.default.0x463987
mov dword [esp + 0x18], 2
lea eax, [ebx + 1]
mov ecx, esi
push eax
push ebp
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov cl, al
mov eax, dword [esp + 0x18]
imul eax, edi
cdq
and edx, 0x1f
and ecx, 0xff
add eax, edx
mov byte [esp + 0x10], 0xff
sar eax, 5
add ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x4639e7
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
lea eax, [ebx + 1]
push edx
push eax
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov eax, dword [esp + 0x28]
inc ebp
dec eax
mov dword [esp + 0x28], eax
jne 0x463978
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0xc]
inc edi
dec edx
mov dword [esp + 0x20], edi
lea eax, [edi - 2]
mov dword [esp + 0x1c], edx
cmp eax, ecx
jl 0x463876
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
inc ebx
add eax, 0x64
cmp ebx, ecx
mov dword [esp + 0x14], eax
jl 0x463847
jmp 0x464ab2
mov ecx, dword [esi + 0x10]
xor edi, edi
cmp ecx, ebx
mov dword [esp + 0x18], edi
jle 0x464ab2
xor eax, eax
mov dword [esp + 0x2c], eax
cdq
idiv ecx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x464ab2
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x463d32
mov ebx, 2
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
jmp 0x463a94
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
lea ebp, [ebx - 2]
push edi
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
cmp al, 0x80
mov byte [esp + 0x10], al
jbe 0x463aca
push 1
push edi
push ebp
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov ebp, dword [esp + 0x10]
and ebp, 0xff
sub ebp, 0xff
jmp 0x463ae4
push 0
push edi
push ebp
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea eax, [ebx - 1]
push edi
push eax
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov dl, al
lea ecx, [ebp*8]
and edx, 0xff
mov eax, 0x30c30c31
mov dword [esp + 0x24], edx
imul ecx
mov eax, dword [esp + 0x24]
mov byte [esp + 0x10], 0xff
sar edx, 3
mov ecx, edx
add edx, eax
shr ecx, 0x1f
add ecx, edx
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x463b35
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
lea eax, [ebx - 1]
push ecx
push edi
push eax
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
push edi
push ebx
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov dl, al
lea ecx, [ebp*4]
and edx, 0xff
mov eax, 0x30c30c31
mov dword [esp + 0x24], edx
imul ecx
mov eax, dword [esp + 0x24]
mov byte [esp + 0x10], 0xff
sar edx, 3
mov ecx, edx
add edx, eax
shr ecx, 0x1f
add ecx, edx
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x463b94
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
push ecx
push edi
push ebx
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
add ebx, 0xfffffffc
mov dword [esp + 0x20], 5
mov edx, dword [esp + 0x1c]
mov ecx, 4
lea eax, [edx + ebx]
cmp eax, ecx
ja case.default.0x463bbd
jmp dword [eax*4 + 0x464b5c]
mov dword [esp + 0x14], ecx
jmp case.default.0x463bbd
mov dword [esp + 0x14], 8
jmp case.default.0x463bbd
mov dword [esp + 0x14], 2
mov eax, dword [esp + 0x18]
mov ecx, esi
inc eax
push eax
push ebx
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov edi, dword [esp + 0x14]
mov cl, al
imul edi, ebp
mov eax, 0x30c30c31
and ecx, 0xff
imul edi
sar edx, 3
mov eax, ecx
mov ecx, edx
mov byte [esp + 0x10], 0xff
shr ecx, 0x1f
add edx, eax
mov eax, 0
add ecx, edx
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x463c29
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
lea eax, [edx + 2]
dec eax
push eax
push ebx
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov eax, dword [esp + 0x20]
inc ebx
dec eax
mov dword [esp + 0x20], eax
jne 0x463bad
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], 5
add eax, 0xfffffffc
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [ecx + edx]
cmp eax, 4
ja case.default.0x463c72
jmp dword [eax*4 + 0x464b70]
mov dword [esp + 0x14], 2
jmp case.default.0x463c72
mov dword [esp + 0x14], 4
jmp case.default.0x463c72
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
lea ebx, [eax + 2]
push ebx
push ecx
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov edi, dword [esp + 0x14]
mov cl, al
imul edi, ebp
mov eax, 0x30c30c31
and ecx, 0xff
imul edi
sar edx, 3
mov eax, ecx
mov ecx, edx
mov byte [esp + 0x10], 0xff
shr ecx, 0x1f
add edx, eax
mov eax, 0
add ecx, edx
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x463ce8
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
push ecx
push ebx
push edi
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov eax, dword [esp + 0x30]
inc edi
dec eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
jne 0x463c62
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0xc]
inc eax
mov dword [esp + 0x28], eax
add eax, 0xfffffffe
dec edx
cmp eax, ecx
mov dword [esp + 0x1c], edx
jl 0x463a8c
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x10]
inc edi
add eax, 0x64
cmp edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], eax
jl 0x463a5b
jmp 0x464ab2
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], ebx
cmp ecx, ebx
jle 0x464ab2
xor eax, eax
mov edi, 2
mov dword [esp + 0x30], eax
cdq
idiv ecx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x464ab2
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x464045
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
jmp 0x463d9c
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push ebx
mov ecx, esi
lea edi, [edx - 2]
push edi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
cmp al, 0x80
mov byte [esp + 0x10], al
jbe 0x463dd6
push 1
push ebx
push edi
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov ebp, dword [esp + 0x10]
and ebp, 0xff
sub ebp, 0xff
jmp 0x463df0
push 0
push ebx
push edi
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov ebp, dword [esp + 0x10]
and ebp, 0xff
mov eax, dword [esp + 0x20]
push ebx
dec eax
mov ecx, esi
push eax
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
lea edi, [ebp*8]
mov cl, al
sub edi, ebp
mov eax, 0x2aaaaaab
imul edi
and ecx, 0xff
mov byte [esp + 0x10], 0xff
sar edx, 3
mov eax, ecx
mov ecx, edx
shr ecx, 0x1f
add edx, eax
mov eax, 0
add ecx, edx
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x463e3f
mov byte [esp + 0x10], al
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push ecx
push ebx
lea eax, [edi - 1]
mov ecx, esi
push eax
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
push ebx
push edi
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov bl, al
lea edi, [ebp + ebp*4]
mov eax, 0x2aaaaaab
and ebx, 0xff
imul edi
sar edx, 3
mov ecx, edx
add edx, ebx
shr ecx, 0x1f
add ecx, edx
mov eax, 0
sets al
dec eax
mov byte [esp + 0x10], 0xff
and eax, ecx
cmp eax, 0xff
jg 0x463e97
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
push edx
push eax
push edi
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
lea ebx, [edi - 4]
mov dword [esp + 0x2c], 5
mov ecx, dword [esp + 0x28]
lea eax, [ecx + ebx]
cmp eax, 4
ja case.default.0x463ec4
jmp dword [eax*4 + 0x464b84]
mov dword [esp + 0x14], 5
jmp case.default.0x463ec4
mov dword [esp + 0x14], 7
jmp case.default.0x463ec4
mov dword [esp + 0x14], 3
mov edx, dword [esp + 0x18]
mov ecx, esi
lea eax, [edx + 2]
dec eax
push eax
push ebx
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov edi, dword [esp + 0x14]
mov cl, al
imul edi, ebp
mov eax, 0x2aaaaaab
and ecx, 0xff
imul edi
sar edx, 3
mov eax, ecx
mov ecx, edx
mov byte [esp + 0x10], 0xff
shr ecx, 0x1f
add edx, eax
mov eax, 0
add ecx, edx
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x463f37
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
lea eax, [edx + 2]
dec eax
push eax
push ebx
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov eax, dword [esp + 0x2c]
inc ebx
dec eax
mov dword [esp + 0x2c], eax
jne 0x463eb8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], 5
add eax, 0xfffffffc
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
lea eax, [ecx + edx]
cmp eax, 4
ja case.default.0x463f80
jmp dword [eax*4 + 0x464b98]
mov dword [esp + 0x14], 3
jmp case.default.0x463f80
mov dword [esp + 0x14], 5
jmp case.default.0x463f80
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 2]
push ebx
push ecx
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov edi, dword [esp + 0x14]
mov cl, al
imul edi, ebp
mov eax, 0x2aaaaaab
and ecx, 0xff
imul edi
sar edx, 3
mov eax, ecx
mov ecx, edx
mov byte [esp + 0x10], 0xff
shr ecx, 0x1f
add edx, eax
mov eax, 0
add ecx, edx
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x463ff6
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
push ecx
push ebx
push edi
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov eax, dword [esp + 0x2c]
inc edi
dec eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], eax
jne 0x463f70
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0xc]
inc eax
mov dword [esp + 0x20], eax
add eax, 0xfffffffe
dec edx
cmp eax, ecx
mov dword [esp + 0x28], edx
jl 0x463d98
mov ebx, dword [esp + 0x18]
mov edi, 2
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x10]
inc ebx
add eax, 0x64
cmp ebx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], eax
jl 0x463d6c
jmp 0x464ab2
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], ebx
cmp ecx, ebx
jle 0x464ab2
xor eax, eax
mov dword [esp + 0x30], eax
cdq
idiv ecx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x464ab2
mov eax, dword [esi + 0xc]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x1c], ebp
jle 0x4642ef
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], 2
jmp 0x4640b4
mov ebx, dword [esp + 0x18]
push ebx
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
cmp al, 0x80
mov byte [esp + 0x10], al
jbe 0x4640e7
push 1
push ebx
push ebp
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov edi, dword [esp + 0x10]
and edi, 0xff
sub edi, 0xff
jmp 0x464101
push 0
push ebx
push ebp
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov edi, dword [esp + 0x10]
and edi, 0xff
add ebp, 2
push ebx
mov ecx, esi
lea eax, [ebp - 1]
push eax
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov cl, al
lea eax, [edi + edi*4]
cdq
and edx, 0x1f
and ecx, 0xff
add eax, edx
mov byte [esp + 0x10], 0xff
sar eax, 5
add ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x464141
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
lea eax, [ebp - 1]
push edx
push ebx
push eax
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
push ebx
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov cl, al
lea eax, [edi + edi*2]
cdq
and edx, 0x1f
and ecx, 0xff
add eax, edx
mov byte [esp + 0x10], 0xff
sar eax, 5
add ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x46418c
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
push ebx
push ebp
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
add ebp, 0xfffffffc
mov dword [esp + 0x2c], 5
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, 4
add eax, edx
cmp eax, ecx
ja case.default.0x4641bc
jmp dword [eax*4 + 0x464bac]
mov dword [esp + 0x14], ecx
jmp case.default.0x4641bc
mov dword [esp + 0x14], 5
jmp case.default.0x4641bc
mov dword [esp + 0x14], 2
mov eax, dword [esp + 0x20]
lea ebp, [ebx + 1]
push ebp
push eax
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov cl, al
mov eax, dword [esp + 0x14]
imul eax, edi
cdq
and edx, 0x1f
and ecx, 0xff
add eax, edx
mov byte [esp + 0x10], 0xff
sar eax, 5
add ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x464220
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push edx
push ebp
push eax
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
inc ecx
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
jne 0x4641a9
or ebx, 0xffffffff
cmp ebx, 0xffffffff
je 0x46425f
test ebx, ebx
je 0x464313
cmp ebx, 1
jne 0x464267
mov dword [esp + 0x14], 2
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + 2]
lea ebp, [ebx + ecx]
push eax
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov cl, al
mov eax, dword [esp + 0x14]
imul eax, edi
cdq
and edx, 0x1f
and ecx, 0xff
add eax, edx
mov byte [esp + 0x10], 0xff
sar eax, 5
add ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x4642b3
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
add eax, 2
push edx
push eax
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
inc ebx
cmp ebx, 2
jl 0x46424d
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0xc]
inc ebp
dec ecx
cmp ebp, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ecx
jl 0x4640b0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x10]
inc edx
add eax, 0x64
cmp edx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], eax
jl 0x46407a
jmp 0x464ab2
mov dword [esp + 0x14], 3
jmp 0x464267
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x14], ebx
cmp ecx, ebx
jle 0x464ab2
xor eax, eax
mov dword [esp + 0x24], eax
cdq
idiv ecx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x464ab2
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x4647cd
mov ecx, dword [esp + 0x14]
mov ebp, 2
lea ebx, [ecx + 2]
mov edx, dword [esp + 0x14]
lea eax, [ebp - 2]
push edx
push eax
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
cmp al, 0x80
mov byte [esp + 0x10], al
jbe 0x4643a4
mov eax, dword [esp + 0x14]
push 1
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov edi, dword [esp + 0x10]
and edi, 0xff
sub edi, 0xff
jmp 0x4643c5
mov ecx, dword [esp + 0x14]
push 0
lea eax, [ebp - 2]
push ecx
push eax
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov edi, dword [esp + 0x10]
and edi, 0xff
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
push ebp
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov dl, al
mov ecx, edi
and edx, 0xff
mov eax, 0x51eb851f
shl ecx, 5
mov dword [esp + 0x2c], edx
imul ecx
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x10], 0xff
sar edx, 6
mov ecx, edx
add edx, eax
shr ecx, 0x1f
add ecx, edx
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x464415
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
lea edx, [edi + edi*2]
mov eax, 0x51eb851f
shl edx, 2
imul edx
sar edx, 6
mov eax, edx
lea ecx, [ebp - 5]
shr eax, 0x1f
add edx, eax
lea eax, [ebx - 1]
push eax
mov dword [esp + 0x20], ecx
push ecx
mov ecx, esi
mov dword [esp + 0x20], edx
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov ecx, dword [esp + 0x18]
and eax, 0xff
add eax, ecx
mov byte [esp + 0x10], 0xff
mov ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x46447d
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
lea eax, [ebx - 1]
push ecx
push eax
push edx
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
lea eax, [edi + edi*2]
lea ecx, [ebp - 3]
mov dword [esp + 0x30], ecx
lea edx, [edi + eax*4]
mov eax, 0x51eb851f
shl edx, 1
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [ebx - 1]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x34], edx
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov ecx, dword [esp + 0x2c]
and eax, 0xff
add eax, ecx
mov byte [esp + 0x10], 0xff
mov ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x4644ea
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
lea eax, [ebx - 1]
push ecx
push eax
push edx
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
lea ecx, [ebx - 1]
lea eax, [ebp - 1]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x30], eax
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov dl, al
lea eax, [edi + edi*2]
and edx, 0xff
mov byte [esp + 0x10], 0xff
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 1
mov dword [esp + 0x20], edx
imul ecx
mov eax, dword [esp + 0x20]
sar edx, 6
mov ecx, edx
add edx, eax
shr ecx, 0x1f
add ecx, edx
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x464558
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
lea eax, [ebx - 1]
push ecx
push eax
push edx
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
lea ecx, [ebx - 1]
lea eax, [ebp + 1]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x28], eax
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov dl, al
mov ecx, edi
and edx, 0xff
mov eax, 0x51eb851f
shl ecx, 4
mov dword [esp + 0x34], edx
imul ecx
mov eax, dword [esp + 0x34]
mov byte [esp + 0x10], 0xff
sar edx, 6
mov ecx, edx
add edx, eax
shr ecx, 0x1f
add ecx, edx
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x4645c3
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
lea eax, [ebx - 1]
push ecx
push eax
push edx
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
lea eax, [ebp - 4]
push ebx
push eax
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov ecx, dword [esp + 0x18]
and eax, 0xff
add eax, ecx
mov byte [esp + 0x10], 0xff
mov ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x46460c
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 4]
push ebx
push eax
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
lea eax, [ebp - 2]
push ebx
push eax
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov ecx, dword [esp + 0x2c]
and eax, 0xff
add eax, ecx
mov byte [esp + 0x10], 0xff
mov ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x464651
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
lea eax, [ebp - 2]
push ecx
push ebx
push eax
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
push ebx
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov ecx, dword [esp + 0x18]
and eax, 0xff
add eax, ecx
mov byte [esp + 0x10], 0xff
mov ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x464693
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
push ebx
push ebp
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
lea edi, [edi + edi*4]
mov eax, 0x51eb851f
imul edi
mov ecx, dword [esp + 0x1c]
push ebx
sar edx, 6
mov eax, edx
push ecx
shr eax, 0x1f
add edx, eax
mov ecx, esi
mov edi, edx
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
and eax, 0xff
mov byte [esp + 0x10], 0xff
add eax, edi
mov ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x4646e8
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push edx
push ebx
push eax
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov ebp, dword [esp + 0x30]
push ebx
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov ecx, dword [esp + 0x18]
and eax, 0xff
add eax, ecx
mov byte [esp + 0x10], 0xff
mov ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x46472f
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
push ecx
push ebx
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov ebp, dword [esp + 0x28]
push ebx
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov ecx, dword [esp + 0x18]
and eax, 0xff
add eax, ecx
mov byte [esp + 0x10], 0xff
mov ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x464772
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
push ebx
push ebp
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov ebp, dword [esp + 0x20]
push ebx
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
and eax, 0xff
mov byte [esp + 0x10], 0xff
add eax, edi
mov ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x4647b1
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
push ebx
push ebp
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 2]
cmp ecx, eax
jl 0x464363
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x10]
inc edx
add eax, 0x64
cmp edx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], eax
jl 0x464335
jmp 0x464ab2
push 0x100
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [esp + 0x1c], eax
xor edi, edi
jmp 0x464809
xor ebx, ebx
mov eax, edi
mov ecx, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
and ecx, reloc.WSOCK32.dll_closesocket
jns 0x464823
dec ecx
or ecx, 0xfffffffc
inc ecx
xor edx, edx
mov ebp, 4
mov ebx, ecx
add edx, edx
xor ebx, eax
and ebx, 1
or ebx, edx
mov edx, ecx
shl ebx, 1
and edx, 1
or edx, ebx
sar eax, 1
sar ecx, 1
dec ebp
jne 0x46482a
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, 0x100
mov byte [edi + eax - 1], dl
jl 0x464807
mov ecx, dword [esi + 0x10]
xor ebp, ebp
test ecx, ecx
jle 0x4648f6
xor eax, eax
mov dword [esp + 0x24], eax
cdq
idiv ecx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x4648f6
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jle 0x4648df
mov ebx, ebp
and ebx, reloc.WSOCK32.dll_closesocket
jns 0x464894
dec ebx
or ebx, 0xfffffffc
inc ebx
shl ebx, 2
push ebp
push edi
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov ecx, edi
and eax, 0xff
and ecx, reloc.WSOCK32.dll_closesocket
jns 0x4648b4
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edx, dword [esp + 0x1c]
add ecx, edx
xor edx, edx
mov dl, byte [ecx + ebx]
cmp eax, edx
jle 0x4648c7
push 1
jmp 0x4648c9
push 0
push ebp
push edi
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x464897
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x10]
inc ebp
add eax, 0x64
cmp ebp, ecx
mov dword [esp + 0x24], eax
jl 0x464869
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x464ab2
mov ecx, dword [esi + 0x10]
xor ebp, ebp
cmp ecx, ebx
mov dword [esp + 0x18], ebp
jle 0x464ab2
xor eax, eax
mov dword [esp + 0x30], eax
cdq
idiv ecx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x464ab2
mov eax, dword [esi + 0xc]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x2c], ebx
jle 0x464a97
push ebp
push ebx
mov ecx, esi
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
cmp al, 0x80
mov byte [esp + 0x14], al
jbe 0x46497b
push 1
push ebp
push ebx
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov edi, dword [esp + 0x14]
and edi, 0xff
sub edi, 0xff
jmp 0x464995
push 0
push ebp
push ebx
lea ecx, [esp + 0x84]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov edi, dword [esp + 0x14]
and edi, 0xff
inc ebx
push ebp
push ebx
mov ecx, esi
mov dword [esp + 0x2c], ebx
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov cl, al
lea eax, [edi*8]
sub eax, edi
and ecx, 0xff
cdq
and edx, 0xf
mov byte [esp + 0x14], 0xff
add eax, edx
sar eax, 4
add ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x4649da
mov byte [esp + 0x14], al
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
or ebx, 0xffffffff
cmp ebx, 0xffffffff
je 0x464a11
test ebx, ebx
je 0x464a07
cmp ebx, 1
jne 0x464a19
mov dword [esp + 0x1c], ebx
jmp 0x464a19
mov dword [esp + 0x1c], 5
jmp 0x464a19
mov dword [esp + 0x1c], 3
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
inc eax
mov ecx, esi
lea ebp, [ebx + edx]
push eax
push ebp
call sym.EXP.EXE_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
mov cl, al
mov eax, dword [esp + 0x1c]
imul eax, edi
cdq
and edx, 0xf
and ecx, 0xff
add eax, edx
mov byte [esp + 0x14], 0xff
sar eax, 4
add ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
cmp eax, 0xff
jg 0x464a63
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc eax
push edx
push eax
push ebp
mov ecx, esi
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
inc ebx
cmp ebx, 2
jl 0x4649f3
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 0xc]
mov ebp, dword [esp + 0x18]
cmp ebx, eax
mov dword [esp + 0x2c], ebx
jl 0x464948
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x10]
inc ebp
add eax, 0x64
cmp ebp, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], eax
jl 0x464920
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x8c]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPaletteColor_unsigned_char__unsigned_char__unsigned_char__unsigned_char__unsigned_char_
push 0
push 0xff
push 0xff
push 0xff
push 1
lea ecx, [esp + 0x8c]
call sym.EXP.EXE_public:_void___thiscall_CxImage::SetPaletteColor_unsigned_char__unsigned_char__unsigned_char__unsigned_char__unsigned_char_
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call sym.EXP.EXE_public:_bool___thiscall_CxImage::Transfer_class_CxImage__
lea ecx, [esp + 0x78]
mov dword [esp + 0x264], 0xffffffff
mov dword [esp + 0x78], sym.EXP.EXE_const_CxImage::vftable
call sym.EXP.EXE_public:_bool___thiscall_CxImage::Destroy_void_
mov al, 1
pop ebp
mov ecx, dword [esp + 0x258]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x258
ret 4