Function at 0x43df60
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov ecx, dword [eax]
cmp dword [eax + 0x10], edi
jle 0x43e480
push ebx
push esi
nop
mov eax, dword [eax + 0x18]
mov ebx, ecx
lea ecx, [ecx + eax*4]
mov eax, dword [ebx]
dec eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x43e464
mov eax, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x1c], ebx
xor esi, esi
mov edx, dword [eax + 8]
mov ebx, dword [ebx]
add edx, edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ebx
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
imul eax, edx
sub edx, dword [edi + 0x10]
add eax, dword [ecx]
mov ecx, dword [edi + 4]
mov dword [edi + 0x14], eax
mov eax, edx
cdq
idiv dword [ecx + 0x18]
imul edx, dword [ecx + 0xc]
add edx, dword [ecx]
sub dword [ebp - 0x10], 1
mov dword [edi + 0x18], edx
js 0x43e355
nop dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 4]
add ecx, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
cdq
and edx, 0xff
lea ebx, [edx + eax]
mov eax, dword [ebp - 8]
cdq
and edx, 0xff
sar ebx, 8
mov dword [ebp - 4], ebx
lea ecx, [edx + eax]
sar ecx, 8
cmp ebx, ecx
jne 0x43e02b
mov ebx, dword [ebp - 0x24]
mov eax, ebx
sub eax, dword [ebp - 8]
imul eax, dword [ebp - 0xc]
add esi, eax
jmp 0x43e348
mov eax, dword [ebp - 8]
mov edx, 0x100
movzx eax, al
sub edx, eax
imul edx, dword [ebp - 0xc]
lea eax, [esi + edx]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x43e14c
mov eax, dword [edi]
mov esi, dword [edi + 4]
mov eax, dword [eax + 0x10]
imul eax, ecx
add eax, dword [edi + 0x14]
mov dword [ebp - 8], eax
mov eax, ecx
sub eax, dword [edi + 0xc]
cdq
idiv dword [esi + 0x14]
mov eax, dword [edi + 0x18]
imul edx, dword [esi + 0x10]
mov dl, byte [edx + eax]
mov eax, dword [ebp - 0x20]
cmp eax, 0xff
jl 0x43e094
movzx eax, dl
mov ebx, eax
shl ebx, 0x10
or ebx, eax
imul ebx, dword [edi + 8]
jmp 0x43e0aa
mov ebx, dword [edi + 8]
imul ebx, eax
movzx edx, dl
mov eax, edx
shl eax, 0x10
or eax, edx
sar ebx, 8
imul ebx, eax
shr ebx, 8
mov edx, 0x100
and ebx, 0xff00ff
mov esi, 0x100
mov eax, ebx
shr eax, 0x10
sub edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edi, eax
shr eax, 8
and edi, 0xff00ff
and eax, 0xff00ff
imul edi, edx
imul eax, edx
shr edi, 8
shr eax, 8
and edi, 0xff00ff
and eax, 0xff00ff
add edi, ebx
add ebx, eax
mov edx, edi
mov eax, ebx
shr edx, 8
shr eax, 8
and edx, 0xff00ff
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, edi
mov edi, dword [ebp + 8]
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 - 8]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 4]
xor esi, edx
mov dword [eax], esi
mov edx, dword [ebp - 0xc]
test edx, edx
jle 0x43e33c
inc ecx
sub ebx, ecx
mov dword [ebp - 4], ebx
test ebx, ebx
jle 0x43e33c
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], eax
imul eax, ecx
sub ecx, dword [edi + 0xc]
add eax, dword [edi + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [edi + 8]
imul eax, edx
sar eax, 8
mov dword [ebp - 0x28], eax
cmp eax, 0xfe
jge 0x43e270
mov esi, dword [edi + 4]
mov eax, ecx
cdq
inc ecx
idiv dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov eax, dword [edi + 0x18]
imul esi, edx
mov edx, 0x100
movzx eax, byte [esi + eax]
mov esi, 0x100
mov ebx, eax
shl ebx, 0x10
or ebx, eax
imul ebx, dword [ebp - 0x28]
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edi, eax
shr eax, 8
and edi, 0xff00ff
and eax, 0xff00ff
imul edi, edx
imul eax, edx
shr edi, 8
shr eax, 8
and edi, 0xff00ff
and eax, 0xff00ff
add edi, ebx
add ebx, eax
mov edx, edi
mov eax, ebx
shr edx, 8
shr eax, 8
and edx, 0xff00ff
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, edi
mov edi, dword [ebp + 8]
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 - 8]
shl edx, 8
or edx, ebx
xor esi, edx
mov dword [eax], esi
add eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
test eax, eax
jg 0x43e190
jmp 0x43e339
mov esi, dword [edi + 4]
mov eax, ecx
cdq
inc ecx
idiv dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov eax, dword [edi + 0x18]
imul esi, edx
mov edx, 0x100
movzx eax, byte [esi + eax]
mov esi, 0x100
mov ebx, eax
shl ebx, 0x10
or ebx, eax
mov eax, ebx
shr eax, 0x10
sub edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edi, eax
shr eax, 8
and edi, 0xff00ff
and eax, 0xff00ff
imul edi, edx
imul eax, edx
shr edi, 8
shr eax, 8
and edi, 0xff00ff
and eax, 0xff00ff
add edi, ebx
add ebx, eax
mov edx, edi
mov eax, ebx
shr edx, 8
shr eax, 8
and edx, 0xff00ff
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, edi
mov edi, dword [ebp + 8]
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 - 8]
shl edx, 8
or edx, ebx
xor esi, edx
mov dword [eax], esi
add eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
test eax, eax
jg 0x43e270
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp + 8]
movzx esi, bl
imul esi, edx
sub dword [ebp - 0x10], 1
mov dword [ebp - 8], ebx
jns 0x43dfe0
mov eax, esi
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [ebp - 0x28], eax
test eax, eax
jle 0x43e464
mov ecx, dword [edi]
mov eax, ebx
mov esi, dword [edi + 4]
cdq
and edx, 0xff
mov ebx, dword [ecx + 0x10]
add eax, edx
sar eax, 8
imul ebx, eax
sub eax, dword [edi + 0xc]
cdq
idiv dword [esi + 0x14]
mov eax, dword [edi + 0x18]
imul edx, dword [esi + 0x10]
add ebx, dword [edi + 0x14]
mov cl, byte [edx + eax]
mov eax, dword [ebp - 0x28]
cmp eax, 0xff
jl 0x43e3b8
movzx eax, cl
mov edi, eax
shl edi, 0x10
or edi, eax
mov eax, dword [ebp + 8]
imul edi, dword [eax + 8]
jmp 0x43e3ce
mov edi, dword [edi + 8]
imul edi, eax
movzx ecx, cl
mov eax, ecx
shl eax, 0x10
or eax, ecx
sar edi, 8
imul edi, eax
shr edi, 8
mov ecx, 0x100
and edi, 0xff00ff
mov edx, 0x100
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, 0xff00ff
and esi, 0xff00ff
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, 0xff00ff
shr esi, 8
and esi, 0xff00ff
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
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, esi
xor edx, eax
mov eax, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
shl ecx, 8
or ecx, edi
xor edx, ecx
mov dword [ebx], edx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov edi, eax
cmp eax, dword [ecx + 0x10]
mov eax, ecx
mov ecx, dword [ebp - 0x2c]
jl 0x43df80
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4