Function at 0x100965f4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
lea edi, [edx + edi - 0x2e71]
setb dl
add edx, edx
xor cl, bl
btc edx, edx
neg edx
xor cl, dl
jmp 0x102a903c
and edx, edx
jge 0x10106b3c
inc ecx
ror edx, 2
inc ecx
movzx ecx, si
inc ecx
movzx edx, si
inc edi
lea edx, [ebp + edx + 0x33876300]
dec esp
btc edx, esi
inc ecx
ror edx, 3
dec esp
btr edx, ebx
inc ecx
push ecx
inc ecx
xadd ebp, ecx
inc esi
xor dword [esp + ebp*2 - 0x74], edx
push edx
inc edx
dec dword [esp + ebx*2 + 0xa812e62]
dec esi
mov ecx, dword [esp + ebp*4 - 0xe0]
dec edx
imul edx, dword [esp + ebp - 0x3a]
dec eax
lea edi, [ecx*2 - 0x2e47b045]
dec ebp
arpl dx, dx
dec edx
adc edx, dword [esp + ebp*8 - 0x1d0]
inc edx
xadd byte [esp + ebp*2 - 0x70], cl
dec ecx
add ebx, edx
dec ebx
mov esi, dword [edi + ebp*2 - 0x74]
dec ecx
ror esi, cl
inc bp
mov ebp, dword [ebp + esi - 0x3a]
inc esi
sbb ebx, dword [esp + ebx*4 + 0x15025cc0]
setge byte [esp + ecx*2 - 0x1fe]
dec eax
mov dword [esp + ecx - 0xf7], 0xc22b1d35
dec ebp
lea edi, [edi + ecx*2 - 0x1f8]
adc word [esp + ecx*4 - 0x3fa], dx
mov esi, dword [esp + ecx - 0xf7]
inc si
mov dword [ecx + edi - 0xff], ebp
dec eax
mov dword [esp + ecx - 0xff], ebx
ret 8
inc esp
xor dword [esp + edx - 0x1afb18a3], ebx
push edi
dec esp
mov ecx, dword [esp + edx - 0x1afb189b]
inc esp
and eax, esi
sub dword [esp + eax - 0x4cae37b3], edx
dec eax
mov dword [esp + edx*4 - 0x6bec6284], ecx
dec ebp
arpl bx, bx
dec ecx
idiv eax
inc ebp
mov esi, esp
not byte [esp + edx - 0x353d6760]
dec ecx
add ebx, ebx
call fcn.10262659
mov edi, 0x4a85559e
movsx edx, di
dec esi
mov esp, dword [edx + edi - 0x559e]
inc ecx
mov edx, 0xf50767af
neg dl
jge 0x1026d5e4
pop eax
scasb al, byte es:[edi]
popfd
fmul qword [0xa5c4cb56]
fisttp word [ebp + 0x56]
retf
ror eax, 3
xor ebx, eax
ror dl, 0xc1
adc esi, eax
imul dx, dx
mov dword [esp + edx - 0x519b0000], ecx
dec edx
mov ax, word [edx + ebp - 0x519affff]
mov dx, word [edx + ebp - 0x519afffd]
cmovp cx, word [esp + 2]
shr cx, 0xc1
adc ebp, 2
or ecx, 0xb9b0217
xchg word [esp + 1], cx
ror dword [esp], 0x7a
not ax
xchg dword [esp], ecx
not dx
ror word [esp + ecx*2 - 0x251be3c8], 0xca
adc dword [esp + ecx - 0x128df1e4], 0x62129b9c
not cl
or ax, dx
neg word [esp + ecx - 0x128df11a]
pop edx
call fcn.101afa68
dec ecx
mov ecx, dword [edi]
mov esi, 0xe703e61d
dec ebp
mov esi, dword [edi + 8]
dec ecx
add edi, 8
movsx edi, si
inc esp
mov eax, esi
mov eax, edi
dec ecx
add ecx, esi
bswap eax
dec ecx
mov dword [edi + eax*2 - 0x3bcdfffe], ecx
movzx edx, ax
dec eax
lea ebp, [ebp + eax - 0x1de70003]
mov ecx, 0xe119513e
inc esp
mov ebx, dword [ebp + eax*2 - 0x3bcdfffe]
inc ebp
xor ebx, ecx
xor ecx, esi
cmovnp di, ax
inc ecx
push eax
inc ebp
lea ebx, [ebx + eax*2 - 0x8b86bf7]
inc ecx
mul al
mul esi
dec eax
bswap edi
inc ecx
xor ebx, 0xc99710a
inc ebp
lea ebx, [ebx + edi + 0x54d345e8]
sal dword [esp + eax - 0x4cae37b5], cl
inc eax
add dl, bh
dec eax
ror dword [esp + edx*2 - 0x35f63146], cl
inc ecx
bswap ebx
sbb dword [esp + ecx - 0x61ab722], 0x6fb993b3
inc esp
movsx esp, al
dec esp
mov dword [esp + ecx*2 - 0xc356e46], ecx
jl 0x100ba34b
mov esi, 0xeaa9ed30
movzx ecx, byte [edi]
xor cl, bl
mov edi, esi
lea edx, [esi + esi*2 + 0x6ea87f1d]
movzx eax, di
xor cl, 0x10
dec cl
sal edi, 0xeb
cmove ax, si
shr di, 0x83
rol cl, 1
add cl, 6
xor bl, cl
sar si, 0x25
add ecx, esp
mov ebx, esi
sar dx, 0x25
sar al, 0xc6
mov eax, dword [ecx + edx - 0x2ea60235]
sbb ebx, edi
not ebx
mov dword [edi + ebp - 0x4f691004], eax
bts ebx, esi
lea esp, [ebp + edx - 0x2ea60239]
xadd edx, esi
mov eax, ebx
pop ebp
pop edi
mov ecx, 0x582d233a
je 0x10213f5a
imul esi, edx
pop ebx
mul eax
btr edx, 0x15
popfd
jmp 0x1021636a
inc ecx
seto ah
dec esp
sbb esi, esi
dec ebp
lea edi, [edi + edx + 0x10]
jne 0x101f8cd8
mov ecx, 0x12890333
imul ecx, ecx
mov edx, dword [ebp]
movzx eax, cx
lea ebp, [ebp + eax - 0x3c25]
sbb ecx, ecx
shr cl, 0x84
lea eax, [ecx + ecx + 0x11aa990c]
xor edx, ebx
or eax, 0xa7b86abc
sar cx, cl
xadd eax, ecx
inc edx
neg edx
xchg cx, ax
lea edx, [edx + eax - 0x1d338d18]
btr eax, ecx
rol edx, 2
xor ebx, edx
xchg al, cl
and ax, 0xf3a8
push eax
adc esi, edx
mov di, word [edi]
pop eax
jmp fcn.1023c514
dec ebp
mov ebp, dword [edi + edx*2 + 8]
dec edx
mov edi, dword [edx + edi + 0x10]
xor esi, 0x23278200
inc ecx
sete ah
dec ecx
not ebp
movsx ecx, dl
dec eax
not edi
inc cx
bts ebx, eax
dec esp
and ebp, edi
inc ecx
mul esp
inc cx
sub esp, 0x894ec4bc
insb byte es:[edi], dx
cmp dl, byte [eax]
jbe 0x101a54b5
mov eax, 0x35328b1f
movsx ecx, ax
sub ax, ax
mov ecx, dword [edi + eax - 0x35320000]
xor ecx, ebx
inc ecx
mov edx, 0x99fff3f
rol ecx, 1
bts edx, edx
xor ecx, 0xb22cd69d
ror edx, 0x6b
jb 0x101d7818
inc ecx
not ax
sal eax, 0xa9
rol ecx, 2
lea edx, [eax + eax*4 - 0x737541cc]
cdq
xor ebx, ecx
bt edx, edx
not dl
shr eax, 0x24
adc ebp, ecx
mov cx, word [esi + eax - 0x65fffe0]
cwd
not eax
inc eax
mov ax, word [edx + esi - 0xfffd]
rol dl, 0xe3
adc dx, 0x2e36
lea esi, [esi + edx - 0x2e32]
and cx, ax
mov eax, edx
neg ax
not cx
mov ax, cx
lea ecx, [edx*4 + 0xbb37b9d]
movzx ecx, byte [edx + edi - 0x2e32]
bts edx, 0x86
jae 0x10051434
sar edi, 1
dec dword [edi]
mov edx, 0x830f86ea
mov bl, 0x9b
out 0xff, eax
fadd qword [ecx]
jecxz 0x101d7874
int1
mov esi, 0x56bcd1de
rol esi, 1
invalid
dec eax
add edx, ebx
jmp edx
pop eax
call fcn.100ce7e7
dec edx
mov eax, dword [edx + edi - 0x555a]
dec esp
lea esi, [edx + edi*4 - 0x327b87d7]
inc ecx
mov eax, 0xb0079e83
inc ebp
movzx ebx, dl
dec esp
and esp, eax
inc ecx
inc dh
dec ecx
not esp
inc esp
and edx, edi
jnp 0x100df9a1
dec ebp
mov dword [edi + edx*2 - 0xaabc], esp
inc esp
mov edx, dword [ebp + edx - 0x5566]
dec eax
lea ebp, [ebp + edx - 0x5566]
inc ecx
ror al, 0xc4
inc cx
rol esi, 0x66
inc ebp
xor edx, ecx
shl di, 0x8f
inc cx
bt esi, 0xbc
inc ecx
bswap edx
inc ebp
lea edx, [edx + edi*2 - 0x36045d64]
inc ecx
movzx esi, bx
dec ecx
shl esi, 0x3a
inc ecx
xor edx, 0x80aa9abe
inc ebp
lea edx, [edx + edi + 0x79b3d20e]
and edi, edi
inc ecx
ror edx, 1
dec esi
lea esp, [eax*4 + 0xbbe268c]
inc ecx
mov eax, esi
neg al
inc ecx
push ecx
inc esp
xor dword [esp + edi - 0x4a850000], edx
inc ecx
pop ecx
dec eax
sal edi, 0x14
jne 0x10287f4a
xor edx, 0x7297288b
dec ebp
arpl dx, dx
cdq
inc ecx
mul al
dec ecx
adc ebx, edx
inc sp
or eax, edi
inc eax
and dl, dh
jge 0x101b9762
imul edx, edx
adc cl, dl
rol cl, 1
bt edx, edx
sbb cl, 0xb4
shr edx, 5
ror cl, 1
xor cl, 0x1b
inc dx
lea edx, [edx + edx + 0x1e08683a]
add cl, 9
ror dx, 0xae
not dx
xor bl, cl
add ecx, esp
mov word [ecx + edx*2 - 0x4032621c], ax
jmp ebp