Function at 0x402260
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426368
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x43600c]
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.00413830
movaps xmm1, xmmword [0x432370]
mov ecx, 8
mov edx, 0x4382f8
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 0x4022c3
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 + 0x4382e8]
movsx edx, byte [eax]
add edx, ecx
add edx, dword [ebp - 0x18]
and edx, 0x800000ff
jns 0x402362
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [edx*4 + 0x4382e8]
mov dword [esi*4 + 0x4382e8], eax
inc esi
mov dword [ebp - 0x18], edx
mov dword [edx*4 + 0x4382e8], ecx
cmp esi, 0x100
jl 0x402330
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x4023b6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4023ac
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40256c
push ecx
push edi
call fcn.00415407
add esp, 8
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.00413830
xor ecx, ecx
mov byte [ebp - 4], 2
xor edi, edi
xor esi, esi
cmp dword [ebp - 0x1c], ecx
jle 0x40245e
inc edi
and edi, 0x800000ff
jns 0x4023e6
dec edi
or edi, 0xffffff00
inc edi
mov edx, dword [edi*4 + 0x4382e8]
add ecx, edx
and ecx, 0x800000ff
jns 0x4023ff
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, dword [ecx*4 + 0x4382e8]
cmp dword [ebp - 0x20], 0x10
mov dword [edi*4 + 0x4382e8], eax
mov dword [ecx*4 + 0x4382e8], edx
mov eax, dword [edi*4 + 0x4382e8]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
add eax, edx
and eax, 0x800000ff
jns 0x402439
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [eax*4 + 0x4382e8]
xor al, byte [ecx + esi]
mov ecx, dword [ebp - 0x14]
mov byte [esi + 0x4381e0], al
inc esi
cmp esi, dword [ebp - 0x1c]
jl 0x4023d5
cmp esi, 0x100
jae 0x402571
mov byte [esi + 0x4381e0], 0
mov ecx, 0x4381e0
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 0x402481
sub ecx, edx
push ecx
push 0x4381e0
mov ecx, esi
call fcn.00413b90
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x4024cb
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4024c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402576
push edx
push ecx
call fcn.00415407
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 0x40250d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402503
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402576
push edx
push ecx
call fcn.00415407
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 0x40254f
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402545
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402576
push edx
push ecx
call fcn.00415407
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.00414d92
mov esp, ebp
pop ebp
ret
call fcn.00419a6c
call fcn.004150ac
call fcn.00419a6c
int3