Function at 0x402430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, ecx
xor eax, eax
push eax
push 0x43b4fb
mov ecx, 0x43ff08
mov dword [ebp - 8], eax
mov dword [edi + 0x10], 0
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov esi, dword [0x43fa38]
call fcn.00414b30
test esi, esi
je 0x4025ab
inc ebx
dec esi
and ebx, 0x800000ff
jns 0x402483
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [ebx + 0x441548]
mov eax, dword [ebp - 8]
movzx edx, cl
add eax, edx
and eax, 0x800000ff
jns 0x40249f
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 8], eax
movzx eax, byte [eax + 0x441548]
mov byte [ebx + 0x441548], al
mov eax, dword [ebp - 8]
push 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [eax + 0x441548], cl
lea ecx, [ebp - 0x38]
movzx eax, byte [ebx + 0x441548]
add eax, edx
mov byte [ebp - 0x38], 0
movzx eax, al
movzx eax, byte [eax + 0x441548]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
call fcn.00414b30
push 0x43ff08
push ecx
lea ecx, [ebp - 0x38]
call fcn.004153c0
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [0x43ff1c]
movq qword [ebp - 0x10], xmm1
movups xmmword [ebp - 0x20], xmm0
cmp ecx, 0x10
jb 0x402560
mov eax, dword [0x43ff08]
inc ecx
cmp ecx, 0x1000
jb 0x40254d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40271e
mov eax, edx
push ecx
push eax
call fcn.00415fcc
movups xmm0, xmmword [ebp - 0x20]
add esp, 8
movq xmm1, qword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
movq qword [0x43ff18], xmm1
movups xmmword [0x43ff08], xmm0
cmp edx, 0x10
jb 0x4025a3
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402599
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40271e
push edx
push ecx
call fcn.00415fcc
add esp, 8
test esi, esi
jne 0x402471
mov eax, dword [0x43ff1c]
mov esi, 0x43ff08
mov edx, dword [0x43ff08]
cmp eax, 0x10
mov ebx, 0x43fa28
cmovae esi, edx
cmp dword [0x43fa3c], 0x10
cmovae ebx, dword [0x43fa28]
sub ebx, esi
nop word [eax + eax]
cmp eax, 0x10
mov ecx, 0x43ff08
mov eax, dword [0x43ff18]
cmovae ecx, edx
add eax, ecx
cmp esi, eax
je 0x402715
mov al, byte [ebx + esi]
lea ecx, [ebp - 0x38]
xor al, byte [esi]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.00414b30
push edi
push ecx
lea ecx, [ebp - 0x38]
call fcn.004153c0
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x50]
movq qword [ebp - 0x10], xmm1
movq qword [ebp - 0x40], xmm1
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x50], xmm0
cmp edi, eax
je 0x4026a4
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x40269a
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x402687
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40271e
mov eax, edx
push ecx
push eax
call fcn.00415fcc
movups xmm0, xmmword [ebp - 0x20]
add esp, 8
movq xmm1, qword [ebp - 0x10]
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm1
jmp 0x4026d4
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x4026d4
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4026ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40271e
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x402704
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4026fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40271e
push edx
push ecx
call fcn.00415fcc
add esp, 8
mov eax, dword [0x43ff1c]
inc esi
mov edx, dword [0x43ff08]
jmp 0x4025e0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041bb2d
int3