Function at 0x42e280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
mov ecx, dword [eax]
cmp dword [eax + 0x10], edi
jle 0x42e80f
push ebx
push esi
nop
mov eax, dword [eax + 0x18]
mov esi, ecx
lea ecx, [ecx + eax*4]
mov eax, dword [esi]
dec eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x42e7f3
mov eax, dword [esi + 4]
add esi, 4
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
mov edx, dword [eax + 8]
add edx, edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
imul eax, edx
sub edx, dword [edi + 0x10]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x14], eax
mov eax, dword [edi + 4]
imul edx, dword [eax + 0xc]
add edx, dword [eax]
sub dword [ebp - 0x14], 1
mov dword [edi + 0x18], edx
js 0x42e6be
nop dword [eax + eax]
mov eax, dword [esi + 4]
add esi, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], esi
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
cdq
and edx, 0xff
lea esi, [edx + eax]
mov eax, ecx
cdq
and edx, 0xff
sar esi, 8
mov dword [ebp - 4], esi
lea ebx, [edx + eax]
sar ebx, 8
mov dword [ebp - 8], ebx
cmp esi, ebx
jne 0x42e34c
mov edx, dword [ebp - 0x24]
mov eax, edx
mov ebx, dword [ebp - 0x10]
sub eax, ecx
imul eax, dword [ebp - 0xc]
add ebx, eax
jmp 0x42e6ac
movzx eax, cl
mov ecx, 0x100
sub ecx, eax
imul ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
mov eax, ecx
cdq
and edx, 0xff
lea ecx, [edx + eax]
sar ecx, 8
test ecx, ecx
jle 0x42e467
mov eax, dword [edi]
mov esi, dword [edi + 8]
mov edx, dword [eax + 0x10]
mov eax, dword [edi + 4]
imul edx, ebx
sub ebx, dword [edi + 0xc]
add edx, dword [edi + 0x14]
mov dword [ebp - 0x10], edx
mov edx, dword [edx]
cmp ecx, 0xff
jge 0x42e39b
imul esi, ecx
sar esi, 8
mov ecx, dword [eax + 0x10]
mov eax, dword [edi + 0x18]
imul ecx, ebx
mov edi, dword [ecx + eax]
mov ebx, edi
shr ebx, 8
mov ecx, 0x100
and ebx, 0xff00ff
and edi, 0xff00ff
imul ebx, esi
imul edi, esi
mov esi, dword [ebp - 4]
shr ebx, 8
and ebx, 0xff00ff
shr edi, 8
mov eax, ebx
and edi, 0xff00ff
shr eax, 0x10
sub ecx, eax
mov eax, edx
and eax, 0xff00ff
shr edx, 8
imul eax, ecx
and edx, 0xff00ff
imul edx, ecx
shr eax, 8
and eax, 0xff00ff
shr edx, 8
add edi, eax
and edx, 0xff00ff
add ebx, edx
mov ecx, edi
mov eax, ebx
shr ecx, 8
shr eax, 8
mov edx, 0x100
and eax, 0xff00ff
and ecx, 0xff00ff
sub edx, eax
mov eax, ebx
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, edi
mov edi, dword [ebp + 8]
xor edx, eax
mov eax, ebx
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl ebx, 8
sub ecx, eax
mov eax, dword [ebp - 0x10]
shl ecx, 8
or ecx, ebx
mov ebx, dword [ebp - 8]
xor edx, ecx
mov dword [eax], edx
mov edx, dword [ebp - 0xc]
test edx, edx
jle 0x42e69f
inc ebx
sub esi, ebx
mov dword [ebp - 4], esi
test esi, esi
jle 0x42e69f
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x28], eax
imul ecx, edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
imul eax, ebx
sub ebx, dword [edi + 0xc]
sar ecx, 8
mov dword [ebp - 0x20], ecx
add eax, dword [edi + 0x14]
cmp ecx, 0xfe
jge 0x42e59e
nop dword [eax]
mov ecx, dword [edi + 4]
mov esi, ebx
inc ebx
mov dword [ebp - 8], ebx
mov edx, dword [ecx + 0x10]
mov ecx, dword [edi + 0x18]
imul edx, esi
mov esi, dword [edx + ecx]
mov ebx, esi
shr ebx, 8
mov edx, 0x100
and ebx, 0xff00ff
and esi, 0xff00ff
imul ebx, dword [ebp - 0x20]
imul esi, dword [ebp - 0x20]
shr ebx, 8
and ebx, 0xff00ff
shr esi, 8
mov ecx, ebx
and esi, 0xff00ff
shr ecx, 0x10
sub edx, ecx
mov ecx, dword [eax]
mov edi, ecx
shr ecx, 8
and ecx, 0xff00ff
and edi, 0xff00ff
imul ecx, edx
imul edi, edx
shr ecx, 8
and ecx, 0xff00ff
shr edi, 8
add ebx, ecx
and edi, 0xff00ff
add edi, esi
mov ecx, ebx
shr ecx, 8
mov esi, 0x100
and ecx, 0xff00ff
mov edx, edi
sub esi, ecx
shr edx, 8
shl esi, 8
mov ecx, ebx
shl ecx, 8
and edx, 0xff00ff
or esi, ecx
mov ecx, 0x100
sub ecx, edx
mov edx, 0x100
or ecx, edi
mov edi, dword [ebp + 8]
xor esi, ecx
mov ecx, ebx
shr ecx, 8
and esi, 0xff00ff
and ecx, 0xff00ff
shl ebx, 8
sub edx, ecx
mov ecx, dword [ebp - 4]
shl edx, 8
dec ecx
or edx, ebx
mov dword [ebp - 4], ecx
mov ebx, dword [ebp - 8]
xor esi, edx
mov dword [eax], esi
add eax, dword [ebp - 0x10]
test ecx, ecx
jg 0x42e4b0
jmp 0x42e69f
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0x10]
mov edx, ecx
imul edx, ebx
mov dword [ebp - 0x2c], ecx
add edx, dword [edi + 0x18]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x10], ecx
jne 0x42e5e0
mov edi, dword [edi + 4]
cmp dword [edi + 8], 1
jne 0x42e5e0
mov edi, dword [ebp - 0x28]
cmp dword [edi + 8], 1
jne 0x42e5e0
imul ecx, esi
push ecx
push edx
push eax
call fcn.004ac3c0
add esp, 0xc
jmp 0x42e69f
mov esi, dword [edx]
mov ebx, esi
shr ebx, 8
mov edx, 0x100
and ebx, 0xff00ff
and esi, 0xff00ff
mov ecx, ebx
shr ecx, 0x10
sub edx, ecx
mov ecx, dword [eax]
mov edi, ecx
shr ecx, 8
and ecx, 0xff00ff
and edi, 0xff00ff
imul ecx, edx
imul edi, edx
shr ecx, 8
and ecx, 0xff00ff
shr edi, 8
add ebx, ecx
and edi, 0xff00ff
add edi, esi
mov ecx, ebx
shr ecx, 8
mov esi, 0x100
and ecx, 0xff00ff
mov edx, edi
sub esi, ecx
shr edx, 8
shl esi, 8
and edx, 0xff00ff
mov ecx, ebx
shl ecx, 8
or esi, ecx
mov ecx, 0x100
sub ecx, edx
mov edx, 0x100
or ecx, edi
xor esi, ecx
mov ecx, ebx
shr ecx, 8
and esi, 0xff00ff
and ecx, 0xff00ff
shl ebx, 8
sub edx, ecx
mov ecx, dword [ebp - 4]
shl edx, 8
dec ecx
or edx, ebx
mov dword [ebp - 4], ecx
xor esi, edx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x2c]
mov dword [eax], esi
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
test ecx, ecx
jg 0x42e5e0
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp + 8]
movzx ebx, dl
imul ebx, dword [ebp - 0xc]
sub dword [ebp - 0x14], 1
mov ecx, edx
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x10], ebx
jns 0x42e300
mov eax, ebx
cdq
and edx, 0xff
lea ebx, [edx + eax]
sar ebx, 8
test ebx, ebx
jle 0x42e7f3
mov eax, ecx
mov esi, dword [edi + 8]
mov ecx, dword [edi]
cdq
and edx, 0xff
add edx, eax
mov eax, dword [ecx + 0x10]
mov ecx, 0x100
sar edx, 8
imul eax, edx
sub edx, dword [edi + 0xc]
add eax, dword [edi + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 4]
imul edx, dword [eax + 0x10]
mov eax, dword [edi + 0x18]
mov edi, dword [edx + eax]
cmp ebx, 0xff
jl 0x42e736
mov edx, dword [ebp - 0x14]
mov ebx, edi
shr ebx, 8
and ebx, 0xff00ff
imul ebx, esi
mov edx, dword [edx]
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub ecx, eax
jmp 0x42e75f
imul esi, ebx
mov ebx, edi
shr ebx, 8
and ebx, 0xff00ff
sar esi, 8
imul ebx, esi
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, edx
and edi, 0xff00ff
and eax, 0xff00ff
shr edx, 8
imul eax, ecx
and edx, 0xff00ff
imul edx, ecx
imul edi, esi
shr eax, 8
and eax, 0xff00ff
shr edx, 8
and edx, 0xff00ff
shr edi, 8
add ebx, edx
and edi, 0xff00ff
add edi, eax
mov edx, 0x100
mov eax, ebx
mov ecx, edi
shr eax, 8
and eax, 0xff00ff
shr ecx, 8
sub edx, eax
and ecx, 0xff00ff
mov eax, ebx
shl edx, 8
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, edi
xor edx, eax
mov eax, ebx
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl ebx, 8
sub ecx, eax
mov eax, dword [ebp - 0x14]
shl ecx, 8
or ecx, ebx
xor edx, ecx
mov dword [eax], edx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov edi, eax
cmp eax, dword [ecx + 0x10]
mov eax, ecx
mov ecx, dword [ebp - 0x34]
jl 0x42e2a0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4