Function at 0x402e60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.00414370
movaps xmm1, xmmword [0x42f430]
mov ecx, 8
mov edx, 0x4332d8
nop dword [eax]
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 0x402ea0
mov eax, dword [ebp - 0x28]
push ebx
push edi
xor ebx, ebx
xor edi, edi
push esi
nop word [eax + eax]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov esi, dword [edi*4 + 0x4332c8]
cmovae ecx, eax
mov eax, edi
cdq
idiv dword [ebp - 8]
movsx eax, byte [edx + ecx]
add eax, esi
add ebx, eax
and ebx, 0x800000ff
jns 0x402f3f
dec ebx
or ebx, 0xffffff00
inc ebx
mov eax, dword [ebx*4 + 0x4332c8]
mov dword [edi*4 + 0x4332c8], eax
inc edi
mov eax, dword [ebp - 0x28]
mov dword [ebx*4 + 0x4332c8], esi
cmp edi, 0x100
jl 0x402f10
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x402f96
mov ecx, dword [ebp - 0x28]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403132
push edx
push ecx
call fcn.00415dee
add esp, 8
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00414370
mov edi, dword [ebp - 0x28]
xor ecx, ecx
xor ebx, ebx
xor esi, esi
cmp dword [ebp - 0xc], ecx
jle 0x40303c
inc ebx
and ebx, 0x800000ff
jns 0x402fc5
dec ebx
or ebx, 0xffffff00
inc ebx
mov edx, dword [ebx*4 + 0x4332c8]
add ecx, edx
and ecx, 0x800000ff
jns 0x402fde
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, dword [ecx*4 + 0x4332c8]
cmp dword [ebp - 0x14], 0x10
mov dword [ebx*4 + 0x4332c8], eax
mov dword [ecx*4 + 0x4332c8], edx
mov eax, dword [ebx*4 + 0x4332c8]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x28]
cmovae ecx, edi
add eax, edx
and eax, 0x800000ff
jns 0x403017
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [eax*4 + 0x4332c8]
xor al, byte [ecx + esi]
mov ecx, dword [ebp - 8]
mov byte [esi + 0x4331c0], al
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x402fb4
cmp esi, 0x100
jae 0x40312d
mov ebx, dword [ebp - 0x10]
mov ecx, 0x4331c0
mov byte [esi + 0x4331c0], 0
pop esi
mov dword [ebx + 0x10], 0
lea edx, [ecx + 1]
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403060
sub ecx, edx
push ecx
push 0x4331c0
mov ecx, ebx
call fcn.00414830
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4030a9
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40309f
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403132
push ecx
push edi
call fcn.00415dee
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4030d9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4030cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403132
push edx
push ecx
call fcn.00415dee
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 0x40311b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403111
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403132
push edx
push ecx
call fcn.00415dee
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.0041577c
mov esp, ebp
pop ebp
ret
call fcn.00415a93
call fcn.0041923c
int3