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

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 0x43d8c8
push ebx
push edi
nop
mov eax, dword [eax + 0x18]
mov ebx, ecx
lea ecx, [ecx + eax*4]
mov eax, dword [ebx]
dec eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x43d8ac
mov eax, dword [ebp - 0x20]
add ebx, 4
mov dword [ebp - 0x24], ebx
xor edi, edi
mov edx, dword [eax + 8]
mov ebx, dword [ebx]
add edx, esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
imul eax, edx
sub edx, dword [esi + 0x10]
add eax, dword [ecx]
mov ecx, dword [esi + 4]
mov dword [esi + 0x14], eax
mov eax, edx
cdq
idiv dword [ecx + 0x18]
imul edx, dword [ecx + 0xc]
add edx, dword [ecx]
sub dword [ebp - 0x14], 1
mov dword [esi + 0x18], edx
js 0x43d795
nop dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
add ecx, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ecx]
mov dword [ebp - 0x30], eax
cdq
and edx, 0xff
lea ebx, [edx + eax]
mov eax, dword [ebp - 0xc]
cdq
and edx, 0xff
sar ebx, 8
mov dword [ebp - 8], ebx
lea ecx, [edx + eax]
sar ecx, 8
cmp ebx, ecx
jne 0x43d4cb
mov ebx, dword [ebp - 0x30]
mov eax, ebx
sub eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x10]
add edi, eax
jmp 0x43d788
mov eax, dword [ebp - 0xc]
mov edx, 0x100
movzx eax, al
sub edx, eax
imul edx, dword [ebp - 0x10]
lea eax, [edi + edx]
cdq
and edx, 0xff
add edx, eax
sar edx, 8
test edx, edx
jle 0x43d5f6
mov eax, dword [esi]
mov ebx, dword [esi + 8]
mov edi, dword [eax + 0x10]
mov eax, ecx
sub eax, dword [esi + 0xc]
imul edi, ecx
add edi, dword [esi + 0x14]
mov dword [ebp - 0xc], edi
mov edi, dword [esi + 4]
cmp edx, 0xff
jge 0x43d51a
imul ebx, edx
sar ebx, 8
cdq
idiv dword [edi + 0x14]
imul edx, dword [edi + 0x10]
mov edi, dword [ebp - 0xc]
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 - 0x2c], eax
shr eax, 0x10
sub esi, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
mov dword [ebp - 0x18], eax
movzx eax, byte [edx]
mov edx, dword [ebp - 0x18]
or edx, eax
mov eax, edi
and eax, 0xff00ff
imul edx, ebx
mov ebx, dword [ebp - 0x2c]
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 - 0x18], 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 - 0x18]
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 - 0xc]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 8]
xor esi, edx
mov dword [eax], esi
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
test edx, edx
jle 0x43d77c
inc ecx
sub ebx, ecx
mov dword [ebp - 8], ebx
test ebx, ebx
jle 0x43d77c
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
mov edi, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 8]
imul edi, ecx
sub ecx, dword [esi + 0xc]
imul eax, edx
add edi, dword [esi + 0x14]
mov dword [ebp - 0x28], edi
sar eax, 8
mov dword [ebp - 0xc], eax
cmp eax, 0xfe
jge 0x43d733
nop dword [eax]
mov esi, dword [esi + 4]
mov eax, ecx
cdq
inc ecx
mov edi, dword [edi]
idiv dword [esi + 0x14]
mov esi, dword [esi + 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
xor esi, eax
mov eax, edi
shr eax, 8
and esi, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub edx, eax
mov eax, dword [ebp - 8]
shl edx, 8
dec eax
or edx, edi
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0x28]
xor esi, edx
mov dword [edi], esi
add edi, dword [ebp - 0x2c]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], edi
test eax, eax
jg 0x43d640
jmp 0x43d779
mov esi, dword [esi + 4]
mov eax, ecx
cdq
dec ebx
inc ecx
idiv dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov eax, dword [ebp + 8]
imul esi, edx
add esi, dword [eax + 0x18]
mov ax, word [esi]
movzx edx, byte [esi + 2]
mov esi, dword [ebp + 8]
or edx, 0xffffff00
shl edx, 8
mov word [ebp - 4], ax
movzx eax, byte [ebp - 3]
or edx, eax
movzx eax, byte [ebp - 4]
shl edx, 8
or edx, eax
mov dword [edi], edx
add edi, dword [ebp - 0x2c]
test ebx, ebx
jg 0x43d733
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp + 8]
movzx edi, bl
imul edi, edx
sub dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ebx
jns 0x43d480
mov eax, edi
cdq
and edx, 0xff
lea ecx, [edx + eax]
sar ecx, 8
test ecx, ecx
jle 0x43d8ac
mov edi, dword [esi + 8]
mov eax, ebx
cdq
and edx, 0xff
add edx, eax
mov eax, dword [esi]
sar edx, 8
mov ebx, dword [eax + 0x10]
imul ebx, edx
sub edx, dword [esi + 0xc]
mov eax, edx
cdq
add ebx, dword [esi + 0x14]
mov dword [ebp - 0x30], ebx
cmp ecx, 0xff
jge 0x43d7df
imul edi, ecx
sar edi, 8
mov ecx, dword [esi + 4]
idiv dword [ecx + 0x14]
imul edx, dword [ecx + 0x10]
mov ecx, 0x100
add edx, dword [esi + 0x18]
mov esi, dword [ebx]
movzx eax, byte [edx + 1]
movzx ebx, byte [edx + 2]
or eax, 0xff0000
imul eax, edi
shl ebx, 0x10
shr eax, 8
and eax, 0xff00ff
mov dword [ebp - 0x2c], eax
shr eax, 0x10
sub ecx, eax
movzx eax, byte [edx]
or ebx, eax
mov edx, 0x100
mov eax, esi
imul ebx, edi
mov edi, dword [ebp - 0x2c]
and eax, 0xff00ff
imul eax, ecx
shr esi, 8
and esi, 0xff00ff
imul esi, ecx
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00ff
add ebx, eax
shr esi, 8
mov ecx, ebx
and esi, 0xff00ff
shr ecx, 8
add edi, esi
and ecx, 0xff00ff
mov eax, edi
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, edi
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, edi
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl edi, 8
sub ecx, eax
mov eax, dword [ebp - 0x30]
shl ecx, 8
or ecx, edi
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 0x43d420
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4