Function at 0x42ecf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, ecx
push esi
xor esi, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax]
cmp dword [eax + 0x10], esi
jle 0x42f36a
push ebx
push edi
nop
mov eax, dword [eax + 0x18]
mov edi, ecx
lea ecx, [ecx + eax*4]
mov eax, dword [edi]
dec eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x42f34e
mov eax, dword [edi + 4]
add edi, 4
mov dword [ebp - 0xc], eax
xor ebx, ebx
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 8]
add edx, esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
imul eax, edx
sub edx, dword [esi + 0x10]
add eax, dword [ecx]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
imul edx, dword [eax + 0xc]
add edx, dword [eax]
sub dword [ebp - 0x14], 1
mov dword [esi + 0x18], edx
js 0x42f17e
mov eax, dword [edi + 4]
add edi, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x30], edi
mov eax, dword [edi]
mov dword [ebp - 0x2c], eax
cdq
and edx, 0xff
lea ecx, [edx + eax]
mov eax, dword [ebp - 0xc]
cdq
and edx, 0xff
sar ecx, 8
lea edi, [edx + eax]
sar edi, 8
mov dword [ebp - 0x10], edi
cmp ecx, edi
jne 0x42edad
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
sub eax, dword [ebp - 0xc]
imul eax, dword [ebp - 8]
add ebx, eax
jmp 0x42f16c
mov eax, dword [ebp - 0xc]
mov edx, 0x100
movzx eax, al
sub edx, eax
imul edx, dword [ebp - 8]
lea eax, [ebx + edx]
cdq
and edx, 0xff
add edx, eax
sar edx, 8
test edx, edx
jle 0x42efb4
mov eax, dword [esi]
mov ebx, dword [eax + 0x10]
mov eax, dword [esi + 4]
imul ebx, edi
sub edi, dword [esi + 0xc]
add ebx, dword [esi + 0x14]
mov dword [ebp - 0x18], ebx
cmp edx, 0xff
jl 0x42eed1
mov edx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [esi + 8]
imul edx, edi
mov edi, 0x100
mov ebx, dword [ebx]
add edx, dword [eax + 0x18]
movzx eax, byte [edx + 1]
or eax, 0xff0000
imul eax, esi
shr eax, 8
and eax, 0xff00ff
mov dword [ebp - 0x28], eax
shr eax, 0x10
sub edi, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
mov dword [ebp - 0xc], eax
movzx eax, byte [edx]
mov edx, dword [ebp - 0xc]
or edx, eax
mov eax, ebx
and eax, 0xff00ff
imul edx, esi
imul eax, edi
mov esi, 0x100
shr ebx, 8
and ebx, 0xff00ff
imul ebx, edi
mov edi, dword [ebp - 0x28]
shr eax, 8
and eax, 0xff00ff
shr edx, 8
and edx, 0xff00ff
add edx, eax
shr ebx, 8
and ebx, 0xff00ff
mov dword [ebp - 0xc], edx
add edi, ebx
shr edx, 8
mov eax, edi
and edx, 0xff00ff
shr eax, 8
and eax, 0xff00ff
sub esi, eax
mov eax, edi
shl eax, 8
shl esi, 8
or esi, eax
mov eax, 0x100
sub eax, edx
mov edx, 0x100
or eax, dword [ebp - 0xc]
xor esi, eax
mov eax, edi
shr eax, 8
and esi, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub edx, eax
shl edx, 8
or edx, edi
mov edi, dword [ebp - 0x18]
xor esi, edx
mov dword [edi], esi
jmp 0x42efae
mov ebx, dword [esi + 8]
imul ebx, edx
mov edx, dword [eax + 0x10]
imul edx, edi
mov edi, dword [ebp - 0x18]
sar ebx, 8
add edx, dword [esi + 0x18]
mov esi, 0x100
mov edi, dword [edi]
movzx eax, byte [edx + 1]
or eax, 0xff0000
imul eax, ebx
shr eax, 8
and eax, 0xff00ff
mov dword [ebp - 0x28], eax
shr eax, 0x10
sub esi, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
mov dword [ebp - 0xc], eax
movzx eax, byte [edx]
mov edx, dword [ebp - 0xc]
or edx, eax
mov eax, edi
and eax, 0xff00ff
imul edx, ebx
mov ebx, dword [ebp - 0x28]
imul eax, esi
shr edi, 8
and edi, 0xff00ff
imul edi, esi
mov esi, 0x100
shr edx, 8
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
add edx, eax
shr edi, 8
and edi, 0xff00ff
mov dword [ebp - 0xc], edx
add ebx, edi
shr edx, 8
mov eax, ebx
and edx, 0xff00ff
shr eax, 8
and eax, 0xff00ff
sub esi, eax
mov eax, ebx
shl eax, 8
shl esi, 8
or esi, eax
mov eax, 0x100
sub eax, edx
mov edx, 0x100
or eax, dword [ebp - 0xc]
xor esi, eax
mov eax, ebx
shr eax, 8
and esi, 0xff00ff
and eax, 0xff00ff
shl ebx, 8
sub edx, eax
mov eax, dword [ebp - 0x18]
shl edx, 8
or edx, ebx
xor esi, edx
mov dword [eax], esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 8], 0
jle 0x42f15f
inc edi
sub ecx, edi
test ecx, ecx
jle 0x42f15f
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov edx, dword [eax + 0x10]
mov ebx, edx
mov eax, dword [esi + 8]
imul eax, dword [ebp - 8]
imul ebx, edi
sub edi, dword [esi + 0xc]
mov dword [ebp - 0x28], edx
sar eax, 8
add ebx, dword [esi + 0x14]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], eax
cmp eax, 0xfe
jge 0x42f0ef
nop word [eax + eax]
mov eax, dword [esi + 4]
mov edx, edi
inc edi
dec ecx
mov dword [ebp - 0x10], edi
mov edi, dword [ebx]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp + 8]
imul esi, edx
mov edx, 0x100
add esi, dword [eax + 0x18]
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
or eax, 0xff0000
imul eax, dword [ebp - 0xc]
shl ebx, 0x10
shr eax, 8
and eax, 0xff00ff
mov dword [ebp - 0x18], eax
shr eax, 0x10
sub edx, eax
movzx eax, byte [esi]
or ebx, eax
mov esi, 0x100
imul ebx, dword [ebp - 0xc]
mov eax, edi
and eax, 0xff00ff
shr edi, 8
imul eax, edx
and edi, 0xff00ff
imul edi, edx
shr ebx, 8
and ebx, 0xff00ff
shr eax, 8
and eax, 0xff00ff
shr edi, 8
add ebx, eax
and edi, 0xff00ff
add dword [ebp - 0x18], edi
mov edx, ebx
mov edi, dword [ebp - 0x18]
mov eax, edi
shr eax, 8
and eax, 0xff00ff
shr edx, 8
sub esi, eax
and edx, 0xff00ff
shl esi, 8
mov eax, edi
shl eax, 8
or esi, eax
mov eax, 0x100
sub eax, edx
mov edx, 0x100
or eax, ebx
mov ebx, dword [ebp - 0x24]
xor esi, eax
mov eax, edi
shr eax, 8
and esi, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub edx, eax
shl edx, 8
or edx, edi
mov edi, dword [ebp - 0x10]
xor esi, edx
mov dword [ebx], esi
add ebx, dword [ebp - 0x28]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], ebx
test ecx, ecx
jg 0x42f000
jmp 0x42f15f
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
mov esi, dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], esi
imul esi, edi
mov edi, dword [ebp - 0x24]
add esi, dword [eax + 0x18]
cmp edx, edi
jne 0x42f130
mov eax, dword [ebp - 0x18]
cmp dword [eax + 8], 1
jne 0x42f130
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 1
jne 0x42f130
imul edi, ecx
push edi
push esi
push ebx
call fcn.004ac3c0
add esp, 0xc
jmp 0x42f15f
mov ax, word [esi]
dec ecx
movzx edx, byte [esi + 2]
add esi, edi
or edx, 0xffffff00
mov word [ebp - 4], ax
movzx eax, byte [ebp - 3]
shl edx, 8
or edx, eax
movzx eax, byte [ebp - 4]
shl edx, 8
or edx, eax
mov dword [ebx], edx
add ebx, dword [ebp - 0x28]
test ecx, ecx
jg 0x42f130
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp + 8]
movzx ebx, cl
imul ebx, dword [ebp - 8]
sub dword [ebp - 0x14], 1
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0xc], ecx
jns 0x42ed65
jmp 0x42f181
mov ecx, dword [ebp - 0xc]
mov eax, ebx
cdq
and edx, 0xff
lea edi, [edx + eax]
sar edi, 8
mov dword [ebp - 0x30], edi
test edi, edi
jle 0x42f34e
mov eax, ecx
mov ecx, dword [esi]
cdq
and edx, 0xff
add eax, edx
mov ebx, dword [ecx + 0x10]
mov ecx, dword [esi + 4]
sar eax, 8
imul ebx, eax
sub eax, dword [esi + 0xc]
mov ecx, dword [ecx + 0x10]
imul ecx, eax
add ebx, dword [esi + 0x14]
mov dword [ebp - 0x2c], ebx
add ecx, dword [esi + 0x18]
movzx eax, byte [ecx + 1]
or eax, 0xff0000
cmp edi, 0xff
jl 0x42f28d
mov edx, dword [esi + 8]
mov esi, 0x100
mov edi, dword [ebx]
movzx ebx, byte [ecx + 2]
imul eax, edx
shl ebx, 0x10
shr eax, 8
and eax, 0xff00ff
mov dword [ebp - 0x30], eax
shr eax, 0x10
sub esi, eax
movzx eax, byte [ecx]
or ebx, eax
mov eax, edi
and eax, 0xff00ff
shr edi, 8
imul eax, esi
and edi, 0xff00ff
imul ebx, edx
mov edx, 0x100
imul edi, esi
mov esi, dword [ebp - 0x30]
shr eax, 8
and eax, 0xff00ff
shr ebx, 8
shr edi, 8
and ebx, 0xff00ff
add ebx, eax
and edi, 0xff00ff
add esi, edi
mov ecx, ebx
mov eax, esi
shr ecx, 8
shr eax, 8
and ecx, 0xff00ff
and eax, 0xff00ff
sub edx, eax
mov eax, esi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, ebx
xor edx, eax
mov eax, esi
shr eax, 8
and eax, 0xff00ff
shl esi, 8
sub ecx, eax
shl ecx, 8
or ecx, esi
jmp 0x42f341
mov edi, dword [esi + 8]
mov edx, 0x100
imul edi, dword [ebp - 0x30]
mov esi, dword [ebx]
movzx ebx, byte [ecx + 2]
shl ebx, 0x10
sar edi, 8
imul eax, edi
shr eax, 8
and eax, 0xff00ff
mov dword [ebp - 0x30], eax
shr eax, 0x10
sub edx, eax
movzx eax, byte [ecx]
or ebx, eax
mov eax, esi
and eax, 0xff00ff
shr esi, 8
imul eax, edx
and esi, 0xff00ff
imul esi, edx
mov edx, 0x100
imul ebx, edi
mov edi, dword [ebp - 0x30]
shr eax, 8
and eax, 0xff00ff
shr esi, 8
shr ebx, 8
and esi, 0xff00ff
add edi, esi
and ebx, 0xff00ff
add ebx, eax
mov eax, edi
shr eax, 8
mov ecx, ebx
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
mov eax, edi
shl edx, 8
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, ebx
xor edx, eax
mov eax, edi
shr eax, 8
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
shl ecx, 8
or ecx, edi
mov eax, dword [ebp - 0x2c]
and edx, 0xff00ff
xor edx, ecx
mov dword [eax], edx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov esi, eax
cmp eax, dword [ecx + 0x10]
mov eax, ecx
mov ecx, dword [ebp - 0x34]
jl 0x42ed10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4