Function at 0x402e60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x34]
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x20]
push eax
call fcn.004169c0
movaps xmm1, xmmword [0x435480]
mov ecx, 8
mov edx, 0x43c2f8
lea eax, [ecx - 8]
movd xmm0, eax
lea edx, [edx + 0x40]
pshufd xmm0, xmm0, 0
lea eax, [ecx - 4]
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, eax
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movd xmm0, ecx
add ecx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
movd xmm0, eax
lea eax, [ecx - 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x20], xmm0
cmp eax, 0x100
jl 0x402ec3
mov edi, dword [ebp - 0x34]
xor esi, esi
mov dword [ebp - 0x18], 0
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
mov eax, esi
cmovae ecx, edi
cdq
idiv dword [ebp - 0x14]
lea eax, [edx + ecx]
mov ecx, dword [esi*4 + 0x43c2e8]
movsx edx, byte [eax]
add edx, ecx
add edx, dword [ebp - 0x18]
and edx, 0x800000ff
jns 0x402f62
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [edx*4 + 0x43c2e8]
mov dword [esi*4 + 0x43c2e8], eax
inc esi
mov dword [ebp - 0x18], edx
mov dword [edx*4 + 0x43c2e8], ecx
cmp esi, 0x100
jl 0x402f30
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x402fb6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x402fac
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40316c
push ecx
push edi
call fcn.00418744
add esp, 8
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004169c0
xor ecx, ecx
mov byte [ebp - 4], 2
xor edi, edi
xor esi, esi
cmp dword [ebp - 0x1c], ecx
jle 0x40305e
inc edi
and edi, 0x800000ff
jns 0x402fe6
dec edi
or edi, 0xffffff00
inc edi
mov edx, dword [edi*4 + 0x43c2e8]
add ecx, edx
and ecx, 0x800000ff
jns 0x402fff
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, dword [ecx*4 + 0x43c2e8]
cmp dword [ebp - 0x20], 0x10
mov dword [edi*4 + 0x43c2e8], eax
mov dword [ecx*4 + 0x43c2e8], edx
mov eax, dword [edi*4 + 0x43c2e8]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
add eax, edx
and eax, 0x800000ff
jns 0x403039
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [eax*4 + 0x43c2e8]
xor al, byte [ecx + esi]
mov ecx, dword [ebp - 0x14]
mov byte [esi + 0x43c1e0], al
inc esi
cmp esi, dword [ebp - 0x1c]
jl 0x402fd5
cmp esi, 0x100
jae 0x403171
mov byte [esi + 0x43c1e0], 0
mov ecx, 0x43c1e0
mov esi, dword [ebp - 0x38]
lea edx, [ecx + 1]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403081
sub ecx, edx
push ecx
push 0x43c1e0
mov ecx, esi
call fcn.00416e80
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x4030cb
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4030c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403176
push edx
push ecx
call fcn.00418744
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 0x10
jb 0x40310d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403103
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403176
push edx
push ecx
call fcn.00418744
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40314f
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403145
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403176
push edx
push ecx
call fcn.00418744
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004180d2
mov esp, ebp
pop ebp
ret
call fcn.0041cdac
call fcn.004183e9
call fcn.0041cdac
int3