Function at 0x10022cc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x35c
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 4], edi
jne 0x10022ce3
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp word [esi + 0x16], 8
jne 0x10022e80
mov ecx, esi
call sym.YunImage.fne_public:_bool___thiscall_CxImage::IsGrayScale_void_
test al, al
je 0x10022e80
mov eax, dword [esi + 0x10]
or bl, 0xff
mov dword [esp + 0x18], eax
xor cl, cl
fild dword [esp + 0x18]
cmp eax, edi
mov byte [esp + 0x1c], bl
mov byte [esp + 0x10], cl
mov dword [esp + 0x20], edi
fdivr qword [0x100958d8]
fstp qword [esp + 0x40]
jle 0x10022d99
fild dword [esp + 0x20]
fmul qword [esp + 0x40]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x10022d82
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jle 0x10022d72
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
push edi
call sym.YunImage.fne_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
cmp al, bl
jae 0x10022d60
mov bl, al
cmp al, byte [esp + 0x10]
jbe 0x10022d6a
mov byte [esp + 0x10], al
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x10022d4d
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x10022d27
test bl, bl
mov byte [esp + 0x1c], bl
jne 0x10022d95
cmp byte [esp + 0x10], 0xff
je 0x10023764
mov cl, byte [esp + 0x10]
sub cl, bl
mov byte [esp + 0x14], cl
mov ecx, dword [esp + 0x1c]
je 0x10022dfa
mov eax, dword [esp + 0x10]
and ecx, 0xff
and eax, 0xff
cmp ecx, eax
mov dword [esp + 0x18], eax
jg 0x10022e04
mov ebx, dword [esp + 0x14]
mov edi, ecx
mov edx, ecx
and ebx, 0xff
shl edi, 8
shl edx, 8
sub edi, ecx
sub edx, ecx
mov dword [esp + 0x14], edx
jmp 0x10022dde
mov edx, dword [esp + 0x14]
mov eax, edi
add edi, 0xff
sub eax, edx
cdq
idiv ebx
inc ecx
mov byte [esp + ecx + 0x67], al
mov eax, dword [esp + 0x18]
cmp ecx, eax
jle 0x10022dda
jmp 0x10022e04
and ecx, 0xff
mov byte [esp + ecx + 0x68], bl
mov eax, dword [esi + 0x10]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], ebx
jle 0x10023764
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x10023764
fild dword [esp + 0x20]
fmul qword [esp + 0x40]
fadd qword [0x100958d8]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jle 0x10022e69
push ebx
push edi
mov ecx, esi
call sym.YunImage.fne_public:_unsigned_char___thiscall_CxImage::GetPixelIndex_long_int__long_int_
and eax, 0xff
mov ecx, esi
mov dl, byte [esp + eax + 0x68]
push edx
push ebx
push edi
call sym.YunImage.fne_public:_void___thiscall_CxImage::SetPixelIndex_long_int__long_int__unsigned_char_
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x10022e45
mov eax, dword [esi + 0x10]
inc ebx
cmp ebx, eax
mov dword [esp + 0x20], ebx
jl 0x10022e15
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
dec eax
je 0x10023578
dec eax
je 0x10023247
mov eax, dword [esi + 0x28]
mov dword [esp + 0x20], 0
cmp eax, edi
mov dword [esp + 0x24], 0x406fe000
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
jne 0x100230df
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
cmp ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
jle 0x10022fd2
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x10022ee2
mov ecx, dword [esp + 0x10]
cdq
idiv ecx
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x10022fb8
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x10022f98
mov ecx, dword [esp + 0x14]
push 1
push ecx
lea edx, [esp + 0x60]
push edi
push edx
mov ecx, esi
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPixelColor_long_int__long_int__bool_
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x29]
and ecx, 0xff
and eax, 0xff
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea ebx, [ecx + edx*8]
mov edx, dword [esp + 0x2a]
and edx, 0xff
mov ecx, edx
shl ecx, 4
add ecx, edx
lea ecx, [ecx + ecx*8]
lea edx, [ebx + ecx*2]
lea ecx, [eax + eax*2]
lea eax, [eax + ecx*4]
lea eax, [eax + eax*8]
add edx, eax
sar edx, 0xa
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fcom qword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x10022f78
fst qword [esp + 0x20]
fcom qword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x10022f89
fstp qword [esp + 0x40]
jmp 0x10022f8b
fstp st(0)
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x10022f07
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
inc ecx
add eax, 0x32
cmp ecx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jl 0x10022ede
fld qword [esp + 0x40]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x40
je 0x10022fd2
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
jle 0x10023764
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x10]
add eax, 0x32
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x10023764
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x100230bc
fld qword [esp + 0x40]
fsub qword [esp + 0x20]
fdivr qword [0x10095670]
fstp qword [esp + 0x30]
push 1
push ebx
lea ecx, [esp + 0x58]
push edi
push ecx
mov ecx, esi
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPixelColor_long_int__long_int__bool_
mov eax, dword [eax]
push eax
call sym.YunImage.fne_public:_static_struct_tagRGBQUAD___cdecl_CxImage::RGBtoYUV_struct_tagRGBQUAD_
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x2e]
and edx, 0xff
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], edx
add esp, 4
fild dword [esp + 0x1c]
fsub qword [esp + 0x20]
fmul qword [esp + 0x30]
fcom qword [0x10095518]
fnstsw ax
test ah, 1
je 0x10023078
fstp st(0)
fld qword [0x10095518]
jmp 0x1002308d
fcom qword [0x10095670]
fnstsw ax
test ah, 0x41
jne 0x1002308d
fstp st(0)
fld qword [0x10095670]
call sub.MSVCRT.dll__ftol
mov byte [esp + 0x3e], al
mov eax, dword [esp + 0x3c]
push eax
call sym.YunImage.fne_public:_static_struct_tagRGBQUAD___cdecl_CxImage::YUVtoRGB_struct_tagRGBQUAD_
add esp, 4
mov ecx, esi
push 0
push eax
push ebx
push edi
call sym.YunImage.fne_public:_void___thiscall_CxImage::SetPixelColor_long_int__long_int__struct_tagRGBQUAD__bool_
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x10023024
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ebx
add ecx, 0x32
cmp ebx, eax
mov dword [esp + 0x14], ecx
jl 0x10022fe4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor edi, edi
test eax, eax
jbe 0x1002318c
lea ecx, [esp + 0x48]
push edi
push ecx
mov ecx, esi
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPaletteColor_unsigned_char_
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x29]
and ecx, 0xff
and eax, 0xff
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea ebx, [ecx + edx*8]
mov edx, dword [esp + 0x2a]
and edx, 0xff
mov ecx, edx
shl ecx, 4
add ecx, edx
lea ecx, [ecx + ecx*8]
lea edx, [ebx + ecx*2]
lea ecx, [eax + eax*2]
lea eax, [eax + ecx*4]
lea eax, [eax + eax*8]
add edx, eax
sar edx, 0xa
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fcom qword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x10023153
fst qword [esp + 0x20]
fcom qword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x10023164
fstp qword [esp + 0x40]
jmp 0x10023166
fstp st(0)
mov eax, dword [esi + 0x28]
inc edi
cmp edi, eax
jb 0x100230e9
fld qword [esp + 0x40]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x40
je 0x1002318c
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x28]
xor edi, edi
test eax, eax
jbe 0x10023764
fld qword [esp + 0x40]
fsub qword [esp + 0x20]
fdivr qword [0x10095670]
fstp qword [esp + 0x30]
lea ecx, [esp + 0x64]
push edi
push ecx
mov ecx, esi
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPaletteColor_unsigned_char_
mov eax, dword [eax]
push eax
call sym.YunImage.fne_public:_static_struct_tagRGBQUAD___cdecl_CxImage::RGBtoYUV_struct_tagRGBQUAD_
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x2e]
and edx, 0xff
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], edx
add esp, 4
fild dword [esp + 0x14]
fsub qword [esp + 0x20]
fmul qword [esp + 0x30]
fcom qword [0x10095518]
fnstsw ax
test ah, 1
je 0x100231fc
fstp st(0)
fld qword [0x10095518]
jmp 0x10023211
fcom qword [0x10095670]
fnstsw ax
test ah, 0x41
jne 0x10023211
fstp st(0)
fld qword [0x10095670]
call sub.MSVCRT.dll__ftol
mov byte [esp + 0x3e], al
mov eax, dword [esp + 0x3c]
push eax
call sym.YunImage.fne_public:_static_struct_tagRGBQUAD___cdecl_CxImage::YUVtoRGB_struct_tagRGBQUAD_
add esp, 4
mov ecx, esi
push eax
push edi
call sym.YunImage.fne_public:_void___thiscall_CxImage::SetPaletteColor_unsigned_char__struct_tagRGBQUAD_
mov eax, dword [esi + 0x28]
inc edi
cmp edi, eax
jb 0x100231ab
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x10]
or bl, 0xff
xor cl, cl
xor al, al
cmp edx, edi
mov byte [esp + 0x1c], bl
mov byte [esp + 0x30], cl
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x14], al
mov byte [esp + 0x3c], 0xff
mov byte [esp + 0x18], al
mov dword [esp + 0x10], edi
jle 0x10023341
mov edx, dword [esi + 0x148]
test edx, edx
jne 0x1002331a
mov ecx, dword [esi + 0xc]
xor edi, edi
test ecx, ecx
jle 0x10023302
mov ecx, dword [esp + 0x10]
push 1
push ecx
lea edx, [esp + 0x5c]
push edi
push edx
mov ecx, esi
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPixelColor_long_int__long_int__bool_
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov al, byte [esp + 0x2a]
cmp al, bl
jae 0x100232b4
mov byte [esp + 0x1c], al
mov dl, byte [esp + 0x28]
mov cl, byte [esp + 0x3c]
cmp dl, cl
jae 0x100232c4
mov byte [esp + 0x3c], dl
mov cl, byte [esp + 0x29]
mov bl, byte [esp + 0x20]
cmp cl, bl
jae 0x100232d4
mov byte [esp + 0x20], cl
cmp al, byte [esp + 0x30]
jbe 0x100232de
mov byte [esp + 0x30], al
cmp dl, byte [esp + 0x18]
jbe 0x100232e8
mov byte [esp + 0x18], dl
mov al, byte [esp + 0x14]
cmp cl, al
jbe 0x100232f6
mov al, cl
mov byte [esp + 0x14], al
mov ecx, dword [esi + 0xc]
mov bl, byte [esp + 0x1c]
inc edi
cmp edi, ecx
jl 0x1002328e
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, edx
mov cl, byte [esp + 0x30]
jl 0x10023277
test bl, bl
jne 0x10023341
cmp cl, 0xff
jne 0x10023341
mov dl, byte [esp + 0x20]
test dl, dl
jne 0x10023341
cmp al, cl
jne 0x10023341
mov dl, byte [esp + 0x3c]
test dl, dl
jne 0x10023341
cmp byte [esp + 0x18], cl
je 0x10023764
sub cl, bl
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x1c]
je 0x100233a7
mov edx, dword [esp + 0x30]
and ecx, 0xff
and edx, 0xff
cmp ecx, edx
mov dword [esp + 0x30], edx
jg 0x100233b1
mov ebx, dword [esp + 0x10]
mov edi, ecx
mov edx, ecx
and ebx, 0xff
shl edi, 8
shl edx, 8
sub edi, ecx
sub edx, ecx
mov dword [esp + 0x1c], edx
jmp 0x10023387
mov edx, dword [esp + 0x1c]
mov eax, edi
add edi, 0xff
sub eax, edx
cdq
idiv ebx
inc ecx
mov byte [esp + ecx + 0x67], al
mov eax, dword [esp + 0x30]
cmp ecx, eax
jle 0x10023383
mov al, byte [esp + 0x14]
jmp 0x100233b1
and ecx, 0xff
mov byte [esp + ecx + 0x68], bl
mov cl, byte [esp + 0x20]
sub al, cl
mov byte [esp + 0x10], al
je 0x1002341a
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
and ecx, 0xff
and edx, 0xff
cmp ecx, edx
mov dword [esp + 0x1c], edx
jg 0x1002342b
mov ebx, dword [esp + 0x10]
mov edi, ecx
mov edx, ecx
and ebx, 0xff
shl edi, 8
shl edx, 8
sub edi, ecx
sub edx, ecx
mov dword [esp + 0x14], edx
jmp 0x100233fb
mov edx, dword [esp + 0x14]
mov eax, edi
add edi, 0xff
sub eax, edx
cdq
idiv ebx
inc ecx
mov byte [esp + ecx + 0x267], al
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jle 0x100233f7
jmp 0x1002342b
mov edx, dword [esp + 0x20]
and edx, 0xff
mov byte [esp + edx + 0x268], cl
mov al, byte [esp + 0x18]
mov cl, byte [esp + 0x3c]
sub al, cl
mov byte [esp + 0x10], al
je 0x10023497
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
and ecx, 0xff
and eax, 0xff
cmp ecx, eax
mov dword [esp + 0x18], eax
jg 0x100234a7
mov ebx, dword [esp + 0x10]
mov edi, ecx
mov edx, ecx
and ebx, 0xff
shl edi, 8
shl edx, 8
sub edi, ecx
sub edx, ecx
mov dword [esp + 0x14], edx
jmp 0x10023478
mov edx, dword [esp + 0x14]
mov eax, edi
add edi, 0xff
sub eax, edx
cdq
idiv ebx
inc ecx
mov byte [esp + ecx + 0x167], al
mov eax, dword [esp + 0x18]
cmp ecx, eax
jle 0x10023474
jmp 0x100234a7
mov eax, dword [esp + 0x3c]
and eax, 0xff
mov byte [esp + eax + 0x168], cl
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
fild dword [esp + 0x18]
test eax, eax
fdivr qword [0x100956d0]
fstp qword [esp + 0x40]
jle 0x10023764
fild dword [esp + 0x10]
fmul qword [esp + 0x40]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x10023764
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jle 0x1002355d
push 1
push ebx
lea ecx, [esp + 0x68]
push edi
push ecx
mov ecx, esi
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPixelColor_long_int__long_int__bool_
mov edx, dword [eax]
push 0
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x2e]
and eax, 0xff
mov cl, byte [esp + eax + 0x6c]
mov byte [esp + 0x2e], cl
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2d]
and edx, 0xff
and ecx, 0xff
mov al, byte [esp + edx + 0x16c]
mov dl, byte [esp + ecx + 0x26c]
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], dl
mov eax, dword [esp + 0x2c]
push eax
push ebx
push edi
mov ecx, esi
call sym.YunImage.fne_public:_void___thiscall_CxImage::SetPixelColor_long_int__long_int__struct_tagRGBQUAD__bool_
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x100234f4
mov eax, dword [esi + 0x10]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ebx
jl 0x100234ca
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x10]
or bl, 0xff
xor al, al
cmp ecx, edi
mov byte [esp + 0x14], bl
mov byte [esp + 0x20], al
mov dword [esp + 0x10], edi
jle 0x10023639
jmp 0x10023598
xor edi, edi
cmp dword [esi + 0x148], edi
jne 0x10023629
mov ecx, dword [esi + 0xc]
xor edi, edi
test ecx, ecx
jle 0x10023615
mov ecx, dword [esp + 0x10]
push 1
push ecx
lea edx, [esp + 0x64]
push edi
push edx
mov ecx, esi
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPixelColor_long_int__long_int__bool_
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x32]
cmp al, bl
jae 0x100235d1
mov bl, al
mov cl, byte [esp + 0x30]
cmp cl, bl
jae 0x100235db
mov bl, cl
mov cl, byte [esp + 0x31]
cmp cl, bl
jae 0x100235e5
mov bl, cl
cmp al, byte [esp + 0x20]
jbe 0x100235ef
mov byte [esp + 0x20], al
mov al, byte [esp + 0x30]
mov dl, byte [esp + 0x20]
cmp al, dl
jbe 0x100235ff
mov byte [esp + 0x20], al
cmp cl, byte [esp + 0x20]
jbe 0x10023609
mov byte [esp + 0x20], cl
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x100235ad
mov al, byte [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x10]
inc ecx
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x10023596
test bl, bl
mov byte [esp + 0x14], bl
jne 0x10023639
cmp al, 0xff
je 0x10023764
mov ecx, dword [esp + 0x14]
sub al, bl
mov byte [esp + 0x18], al
je 0x1002369a
mov eax, dword [esp + 0x20]
and ecx, 0xff
and eax, 0xff
cmp ecx, eax
mov dword [esp + 0x1c], eax
jg 0x100236a4
mov ebx, dword [esp + 0x18]
mov edi, ecx
mov edx, ecx
and ebx, 0xff
shl edi, 8
shl edx, 8
sub edi, ecx
sub edx, ecx
mov dword [esp + 0x14], edx
jmp 0x1002367e
mov edx, dword [esp + 0x14]
mov eax, edi
add edi, 0xff
sub eax, edx
cdq
idiv ebx
inc ecx
mov byte [esp + ecx + 0x67], al
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jle 0x1002367a
jmp 0x100236a4
and ecx, 0xff
mov byte [esp + ecx + 0x68], bl
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
fild dword [esp + 0x18]
test eax, eax
fdivr qword [0x100956d0]
fstp qword [esp + 0x40]
jle 0x10023764
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x10023764
fild dword [esp + 0x10]
fmul qword [esp + 0x40]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jle 0x10023754
push 1
push ebx
lea edx, [esp + 0x54]
push edi
push edx
mov ecx, esi
call sym.YunImage.fne_public:_struct_tagRGBQUAD___thiscall_CxImage::GetPixelColor_long_int__long_int__bool_
mov eax, dword [eax]
push 0
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x36]
and ecx, 0xff
mov dl, byte [esp + ecx + 0x6c]
mov byte [esp + 0x36], dl
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x35]
and eax, 0xff
and edx, 0xff
mov cl, byte [esp + eax + 0x6c]
mov al, byte [esp + edx + 0x6c]
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], al
mov ecx, dword [esp + 0x34]
push ecx
push ebx
push edi
mov ecx, esi
call sym.YunImage.fne_public:_void___thiscall_CxImage::SetPixelColor_long_int__long_int__struct_tagRGBQUAD__bool_
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x100236f1
mov eax, dword [esi + 0x10]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ebx
jl 0x100236c7
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4