Function at 0x43bab0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
mov eax, ecx
xor ecx, ecx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov edx, dword [eax]
cmp dword [eax + 0x10], ecx
jle 0x43bcdf
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov eax, dword [eax + 0x18]
mov esi, edx
mov ebx, dword [esi]
lea edx, [edx + eax*4]
dec ebx
mov dword [esp + 0x10], edx
test ebx, ebx
jle 0x43bcbf
mov eax, dword [esi + 4]
add esi, 4
mov dword [esp + 0x2c], eax
xor edi, edi
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
add edx, ecx
mov ecx, dword [ebp]
mov eax, dword [ecx + 0xc]
imul eax, edx
sub edx, dword [ebp + 0x10]
add eax, dword [ecx]
mov ecx, dword [ebp + 4]
mov dword [ebp + 0x14], eax
mov eax, edx
cdq
idiv dword [ecx + 0x18]
imul edx, dword [ecx + 0xc]
add edx, dword [ecx]
sub ebx, 1
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0x18], edx
mov dword [esp + 0x20], ebx
js 0x43bc5d
mov eax, dword [esi + 4]
add esi, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], esi
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
cdq
and edx, 0xff
lea esi, [edx + eax]
mov eax, ecx
cdq
and edx, 0xff
sar esi, 8
lea ebx, [edx + eax]
sar ebx, 8
cmp esi, ebx
jne 0x43bb7a
mov edx, dword [esp + 0x1c]
mov eax, edx
sub eax, ecx
imul eax, dword [esp + 0x2c]
add edi, eax
jmp 0x43bc4c
movzx eax, cl
mov ecx, 0x100
sub ecx, eax
imul ecx, dword [esp + 0x2c]
lea eax, [edi + ecx]
cdq
and edx, 0xff
lea ecx, [edx + eax]
sar ecx, 8
test ecx, ecx
jle 0x43bbda
mov eax, dword [ebp]
mov edi, dword [eax + 0x10]
mov eax, dword [ebp + 0x14]
imul edi, ebx
add edi, eax
mov eax, dword [ebp + 8]
cmp ecx, 0xff
jge 0x43bbbc
imul eax, ecx
sar eax, 8
inc eax
mov ecx, 0x100
imul edx, eax, 0xff
movzx eax, byte [edi]
shr edx, 8
sub ecx, edx
imul ecx, eax
sar ecx, 8
add cl, dl
mov byte [edi], cl
mov edi, dword [esp + 0x2c]
test edi, edi
jle 0x43bc40
inc ebx
sub esi, ebx
test esi, esi
jle 0x43bc40
mov eax, dword [ebp]
mov ecx, dword [ebp + 8]
imul ecx, edi
mov edx, dword [eax + 0x10]
mov eax, edx
imul eax, ebx
sar ecx, 8
add eax, dword [ebp + 0x14]
cmp ecx, 0xfe
jge 0x43bc36
inc ecx
mov edi, 0x100
imul ebx, ecx, 0xff
shr ebx, 8
sub edi, ebx
nop dword [eax]
movzx ecx, byte [eax]
dec esi
imul ecx, edi
sar ecx, 8
add cl, bl
mov byte [eax], cl
add eax, edx
test esi, esi
jg 0x43bc20
jmp 0x43bc40
mov byte [eax], 0xff
dec esi
add eax, edx
test esi, esi
jg 0x43bc36
mov edx, dword [esp + 0x1c]
movzx edi, dl
imul edi, dword [esp + 0x2c]
sub dword [esp + 0x20], 1
mov ecx, edx
mov esi, dword [esp + 0x24]
jns 0x43bb32
mov eax, edi
cdq
and edx, 0xff
lea edi, [edx + eax]
sar edi, 8
test edi, edi
jle 0x43bcbb
mov eax, ecx
mov ecx, dword [ebp]
cdq
and edx, 0xff
add eax, edx
mov esi, dword [ecx + 0x10]
mov ecx, dword [ebp + 0x14]
sar eax, 8
imul esi, eax
mov eax, dword [ebp + 8]
add esi, ecx
mov ecx, 0x100
cmp edi, 0xff
jge 0x43bca2
imul eax, edi
sar eax, 8
inc eax
imul edx, eax, 0xff
movzx eax, byte [esi]
shr edx, 8
sub ecx, edx
imul ecx, eax
sar ecx, 8
add cl, dl
mov byte [esi], cl
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [ecx + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x18]
jl 0x43bad2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4