Function at 0x43dbc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x28
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov edx, dword [eax]
cmp dword [eax + 0x10], ecx
jle 0x43e039
push ebx
push ebp
push esi
push edi
nop
mov eax, dword [eax + 0x18]
mov edi, edx
mov ebp, dword [edi]
lea edx, [edx + eax*4]
dec ebp
mov dword [esp + 0x1c], edx
test ebp, ebp
jle 0x43e019
mov eax, dword [edi + 4]
add edi, 4
mov ebx, dword [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 8]
add edx, ecx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xc]
imul eax, edx
sub edx, dword [ebx + 0x10]
add eax, dword [ecx]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x14], eax
mov eax, edx
cdq
idiv dword [ecx + 0x18]
imul edx, dword [ecx + 0xc]
add edx, dword [ecx]
sub ebp, 1
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x18], edx
mov dword [esp + 0x2c], ebp
js 0x43df36
mov eax, dword [edi + 4]
add edi, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edi
mov eax, dword [edi]
mov dword [esp + 0x18], eax
cdq
and edx, 0xff
lea edi, [edx + eax]
mov eax, ecx
cdq
and edx, 0xff
sar edi, 8
lea ebp, [edx + eax]
sar ebp, 8
cmp edi, ebp
jne 0x43dc8d
mov eax, dword [esp + 0x18]
sub eax, ecx
imul eax, dword [esp + 0x14]
add esi, eax
mov eax, dword [esp + 0x18]
jmp 0x43df25
movzx eax, cl
mov ecx, 0x100
sub ecx, eax
imul ecx, dword [esp + 0x14]
lea eax, [esi + ecx]
cdq
and edx, 0xff
lea ecx, [edx + eax]
sar ecx, 8
mov dword [esp + 0x28], ecx
test ecx, ecx
jle 0x43dd84
mov eax, dword [ebx]
mov edx, dword [ebx + 0x14]
mov esi, dword [ebx + 4]
mov eax, dword [eax + 0x10]
imul eax, ebp
add eax, edx
mov dword [esp + 0x10], eax
mov eax, ebp
sub eax, dword [ebx + 0xc]
cdq
idiv dword [esi + 0x14]
mov eax, dword [ebx + 0x18]
imul edx, dword [esi + 0x10]
cmp ecx, 0xff
jl 0x43dcf5
movzx eax, byte [edx + eax]
mov esi, eax
shl esi, 0x10
or esi, eax
imul esi, dword [ebx + 8]
jmp 0x43dd0e
movzx ecx, byte [edx + eax]
mov esi, dword [ebx + 8]
mov eax, ecx
imul esi, dword [esp + 0x28]
shl eax, 0x10
or eax, ecx
sar esi, 8
imul esi, eax
shr esi, 8
mov ecx, 0x100
and esi, 0xff00ff
mov eax, esi
shr eax, 0x10
sub ecx, eax
mov eax, dword [esp + 0x10]
movzx edx, byte [eax + 2]
movzx ebx, byte [eax + 1]
movzx eax, byte [eax]
shl edx, 0x10
or edx, eax
imul ebx, ecx
imul edx, ecx
mov ecx, 0x100
shr ebx, 8
shr edx, 8
add ebx, esi
and edx, 0xff00ff
add edx, esi
mov eax, edx
shr eax, 8
and eax, 0xff00ff
sub ecx, eax
mov eax, ebx
shr eax, 8
or ecx, edx
mov edx, dword [esp + 0x10]
neg al
or al, bl
and ecx, 0xff00ff
mov ebx, dword [esp + 0x3c]
mov byte [edx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [edx], cl
mov byte [edx + 2], al
mov edx, dword [esp + 0x14]
test edx, edx
jle 0x43df17
inc ebp
sub edi, ebp
mov dword [esp + 0x10], edi
test edi, edi
jle 0x43df17
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
mov ecx, eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 8]
imul ecx, ebp
sub ebp, dword [ebx + 0xc]
imul eax, edx
add ecx, dword [ebx + 0x14]
sar eax, 8
mov dword [esp + 0x30], eax
cmp eax, 0xfe
jge 0x43de80
nop dword [eax + eax]
mov esi, dword [ebx + 4]
mov eax, ebp
cdq
inc ebp
idiv dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov eax, dword [ebx + 0x18]
imul esi, edx
mov edx, 0x100
movzx ebx, byte [ecx + 1]
movzx eax, byte [esi + eax]
movzx esi, byte [ecx + 2]
mov edi, eax
shl edi, 0x10
or edi, eax
shl esi, 0x10
imul edi, dword [esp + 0x30]
shr edi, 8
and edi, 0xff00ff
mov eax, edi
shr eax, 0x10
sub edx, eax
movzx eax, byte [ecx]
or esi, eax
imul ebx, edx
imul esi, edx
mov edx, 0x100
shr ebx, 8
shr esi, 8
add ebx, edi
and esi, 0xff00ff
add esi, edi
mov eax, esi
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, ebx
shr eax, 8
or edx, esi
neg al
and edx, 0xff00ff
or al, bl
mov byte [ecx], dl
mov ebx, dword [esp + 0x3c]
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, dword [esp + 0x10]
add ecx, dword [esp + 0x28]
dec eax
mov dword [esp + 0x10], eax
test eax, eax
jg 0x43ddd0
jmp 0x43df13
mov esi, dword [ebx + 4]
mov eax, ebp
cdq
mov edi, 0x100
inc ebp
idiv dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov eax, dword [ebx + 0x18]
mov ebx, 0x100
imul esi, edx
movzx edx, byte [ecx + 2]
shl edx, 0x10
movzx eax, byte [esi + eax]
mov esi, eax
sub edi, eax
shl esi, 0x10
or esi, eax
movzx eax, byte [ecx]
or edx, eax
imul edx, edi
shr edx, 8
and edx, 0xff00ff
add edx, esi
mov eax, edx
shr eax, 8
and eax, 0xff00ff
sub ebx, eax
or ebx, edx
movzx edx, byte [ecx + 1]
imul edx, edi
and ebx, 0xff00ff
mov byte [ecx], bl
shr edx, 8
add edx, esi
mov eax, edx
shr eax, 8
neg al
or al, dl
mov byte [ecx + 1], al
mov eax, ebx
mov ebx, dword [esp + 0x3c]
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, dword [esp + 0x10]
add ecx, dword [esp + 0x28]
dec eax
mov dword [esp + 0x10], eax
test eax, eax
jg 0x43de80
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
movzx esi, al
imul esi, edx
sub dword [esp + 0x2c], 1
mov ecx, eax
mov edi, dword [esp + 0x34]
jns 0x43dc43
mov eax, esi
cdq
and edx, 0xff
lea ebp, [edx + eax]
sar ebp, 8
test ebp, ebp
jle 0x43e015
mov esi, dword [ebx + 0xc]
mov eax, ecx
mov ecx, dword [ebx]
cdq
and edx, 0xff
add eax, edx
mov edx, dword [ebx + 0x14]
mov edi, dword [ecx + 0x10]
mov ecx, dword [ebx + 4]
sar eax, 8
imul edi, eax
sub eax, esi
add edi, edx
cdq
idiv dword [ecx + 0x14]
mov eax, dword [ebx + 0x18]
imul edx, dword [ecx + 0x10]
cmp ebp, 0xff
jl 0x43df94
movzx eax, byte [edx + eax]
mov esi, eax
shl esi, 0x10
or esi, eax
imul esi, dword [ebx + 8]
jmp 0x43dfab
movzx ecx, byte [edx + eax]
mov esi, dword [ebx + 8]
mov eax, ecx
imul esi, ebp
shl eax, 0x10
or eax, ecx
sar esi, 8
imul esi, eax
movzx edx, byte [edi + 2]
mov ecx, 0x100
movzx ebx, byte [edi + 1]
shr esi, 8
and esi, 0xff00ff
shl edx, 0x10
mov eax, esi
shr eax, 0x10
sub ecx, eax
movzx eax, byte [edi]
or edx, eax
imul ebx, ecx
imul edx, ecx
mov ecx, 0x100
shr ebx, 8
shr edx, 8
add ebx, esi
and edx, 0xff00ff
add edx, esi
mov eax, edx
shr eax, 8
and eax, 0xff00ff
sub ecx, eax
mov eax, ebx
shr eax, 8
or ecx, edx
neg al
and ecx, 0xff00ff
or al, bl
mov byte [edi + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [edi], cl
mov byte [edi + 2], al
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [ecx + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x24]
jl 0x43dbe0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4