Function at 0x907d43c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90a9e8e
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1df8
call fcn.090a4f00
mov eax, dword [0x90e460c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1df0], edi
mov esi, dword [ebx + 8]
push 0
mov dword [ebp - 0x1dec], esi
mov eax, dword [esi + 4]
add eax, 0x94
push eax
call fcn.09095b17
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x907d4c1
push 0
push 0x753
push 0xb71b
push dword [esi + 4]
call fcn.09095b17
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x1df4], esi
call fcn.0901658c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1dd4]
xor edx, edx
inc edx
mov eax, edx
add edx, 0x101
shr eax, 1
movzx eax, ax
mov word [ecx - 2], ax
mov word [ecx], ax
lea ecx, [ecx + 8]
mov word [ecx - 6], ax
cmp edx, 0x10101
jb 0x907d4db
push 0
push 0x504c4142
push 0x50524742
push 0x100
lea eax, [ebp - 0x1dd8]
mov ecx, esi
push eax
push eax
call fcn.09095b17
xor ecx, ecx
mov ax, word [ebp + ecx*8 - 0x1dd6]
mov word [ebp + ecx*2 - 0x15d0], ax
inc ecx
cmp ecx, 0x100
jb 0x907d520
lea ecx, [ebp - 0x15d0]
call fcn.0906a289
test al, al
jne 0x907d553
lea ecx, [ebp - 0x15d0]
call fcn.0906a2a9
push 2
lea ecx, [ebp - 0x15d0]
call fcn.09095b17
xor edx, edx
lea ecx, [edi + 0x204]
movzx eax, word [ebp + edx*2 - 0x15d0]
inc edx
mov word [ecx - 0x200], ax
mov word [ecx], ax
lea ecx, [ecx + 2]
mov word [ecx + 0x1fe], ax
cmp edx, 0x100
jb 0x907d568
lea eax, [ebp - 0x1dd8]
push eax
lea ecx, [ebp - 0x15d0]
call fcn.09095b17
push 0xc
lea esi, [ebp - 0x48]
pop edi
push 0x18
pop ecx
xor edx, edx
mov eax, edi
div ecx
lea ecx, [ebp - 0x1dd8]
push eax
call fcn.09095b17
add edi, 0x8000
mov word [esi], ax
lea esi, [esi + 2]
cmp edi, 0xc800c
jb 0x907d5a5
and dword [ebp - 0x1de4], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1de8], eax
movzx eax, word [eax]
lea ecx, [ebp - 0x13cc]
xor edx, edx
mov dword [ebp - 0x1de0], eax
mov dword [ebp - 0x1ddc], edx
movzx esi, word [ebp + edx*2 - 0x48]
xor edi, edi
mov edx, dword [ebp - 0x1de0]
mov ax, word [ebp + edi*2 - 0x48]
inc edi
mov word [ecx - 2], dx
mov word [ecx], si
mov word [ecx + 2], ax
add ecx, 8
cmp edi, 0x19
jb 0x907d602
mov edx, dword [ebp - 0x1ddc]
inc edx
mov dword [ebp - 0x1ddc], edx
cmp edx, 0x19
jb 0x907d5f5
mov ecx, dword [ebp - 0x1dec]
lea eax, [ebp - 0x13d0]
push 0
push 0x504c4142
push 0x50524742
push 0x271
push eax
push eax
call fcn.09095b17
mov eax, dword [ebp - 0x1df0]
lea ecx, [ebp - 0x1e08]
mov edi, dword [ebp - 0x1de4]
push 1
push 0x753
push edi
push dword [eax]
call fcn.09095b17
lea ecx, [ebp - 0x1e08]
mov byte [ebp - 4], 1
call fcn.09005b3d
lea edi, [ebp - 0x13d0]
mov dword [ebp - 0x1de0], 0x19
lea esi, [eax + 2]
mov dword [ebp - 0x1ddc], 0x19
mov eax, dword [edi]
mov edx, dword [edi + 4]
shr eax, 0x10
imul eax, eax, 0xff
movzx ecx, dx
add ecx, 0x40
shr ecx, 7
add eax, 0x4000
shr eax, 0xf
cmp ecx, 0xff
mov byte [esi - 2], al
movzx eax, cl
mov ecx, 0xff
cmova eax, ecx
shr edx, 0x10
add edx, 0x40
mov byte [esi - 1], al
shr edx, 7
cmp edx, ecx
movzx eax, dl
cmova eax, ecx
add edi, 8
mov byte [esi], al
add esi, 3
sub dword [ebp - 0x1ddc], 1
jne 0x907d69e
sub dword [ebp - 0x1de0], 1
jne 0x907d694
lea ecx, [ebp - 0x1e08]
mov byte [ebp - 4], 0
call fcn.09095b17
mov edi, dword [ebp - 0x1de4]
mov eax, dword [ebp - 0x1de8]
add edi, 0x753
mov esi, dword [ebp - 0x1dec]
push 2
pop ecx
add eax, ecx
mov dword [ebp - 0x1de4], edi
mov dword [ebp - 0x1de8], eax
cmp edi, 0xb71b
jb 0x907d5de
mov dword [ebp - 4], ecx
mov ecx, esi
call fcn.09016859
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09001fa0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4