Function at 0x402ba0
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 0x44358f
mov ecx, 0x447f08
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 [0x447a38]
call fcn.00414eb0
test esi, esi
je 0x402d1b
inc ebx
dec esi
and ebx, 0x800000ff
jns 0x402bf3
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [ebx + 0x449918]
mov eax, dword [ebp - 8]
movzx edx, cl
add eax, edx
and eax, 0x800000ff
jns 0x402c0f
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 8], eax
movzx eax, byte [eax + 0x449918]
mov byte [ebx + 0x449918], al
mov eax, dword [ebp - 8]
push 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [eax + 0x449918], cl
lea ecx, [ebp - 0x38]
movzx eax, byte [ebx + 0x449918]
add eax, edx
mov byte [ebp - 0x38], 0
movzx eax, al
movzx eax, byte [eax + 0x449918]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
call fcn.00414eb0
push 0x447f08
push ecx
lea ecx, [ebp - 0x38]
call fcn.00415da0
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 [0x447f1c]
movq qword [ebp - 0x10], xmm1
movups xmmword [ebp - 0x20], xmm0
cmp ecx, 0x10
jb 0x402cd0
mov eax, dword [0x447f08]
inc ecx
cmp ecx, 0x1000
jb 0x402cbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e8e
mov eax, edx
push ecx
push eax
call fcn.00417582
movups xmm0, xmmword [ebp - 0x20]
add esp, 8
movq xmm1, qword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
movq qword [0x447f18], xmm1
movups xmmword [0x447f08], xmm0
cmp edx, 0x10
jb 0x402d13
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402d09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e8e
push edx
push ecx
call fcn.00417582
add esp, 8
test esi, esi
jne 0x402be1
mov eax, dword [0x447f1c]
mov esi, 0x447f08
mov edx, dword [0x447f08]
cmp eax, 0x10
mov ebx, 0x447a28
cmovae esi, edx
cmp dword [0x447a3c], 0x10
cmovae ebx, dword [0x447a28]
sub ebx, esi
nop word [eax + eax]
cmp eax, 0x10
mov ecx, 0x447f08
mov eax, dword [0x447f18]
cmovae ecx, edx
add eax, ecx
cmp esi, eax
je 0x402e85
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.00414eb0
push edi
push ecx
lea ecx, [ebp - 0x38]
call fcn.00415da0
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 0x402e14
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x402e0a
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x402df7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e8e
mov eax, edx
push ecx
push eax
call fcn.00417582
movups xmm0, xmmword [ebp - 0x20]
add esp, 8
movq xmm1, qword [ebp - 0x10]
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm1
jmp 0x402e44
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x402e44
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402e3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e8e
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x402e74
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402e6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e8e
push edx
push ecx
call fcn.00417582
add esp, 8
mov eax, dword [0x447f1c]
inc esi
mov edx, dword [0x447f08]
jmp 0x402d50
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041ea01
int3