Function at 0x463520
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62f8bd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00409430
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], esi
mov edx, dword [edi + 0x18]
test dl, 1
je 0x463576
lea edi, [esi + 2]
jmp 0x463709
xor ebx, ebx
test dl, 2
jne 0x4635af
mov ecx, dword [ebp + 8]
call fcn.004640b0
xor edx, edx
div dword [edi + 0x10]
mov eax, dword [edi + 0x14]
lea ebx, [eax + edx*4]
mov eax, dword [ebx]
test eax, eax
je 0x4635ac
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
nop dword [eax]
cmp word [eax + 4], cx
je 0x4635d5
mov eax, dword [eax]
test eax, eax
jne 0x4635a0
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 8]
cmp dword [edi + 0xc], eax
jb 0x4636be
mov ebx, 2
lea ecx, [eax + eax]
cmp eax, ebx
cmovb ecx, ebx
cmp ecx, dword [edi + 0xc]
jae 0x4635df
lea edi, [ebx + 1]
jmp 0x463709
mov edi, 1
jmp 0x463709
mov eax, dword [edi]
push edx
push edi
push ecx
mov ecx, edi
call dword [eax + 8]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x4636d8
mov al, byte [esi + 0x18]
not al
test al, 1
je 0x4636d8
cmp dword [edi + 0x14], 0
je 0x46369a
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x18], 0
jbe 0x46369a
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov eax, dword [edi + 0x14]
mov ebx, dword [ecx + eax]
test ebx, ebx
je 0x463678
mov eax, dword [ebx]
lea edx, [ebx + 4]
dec dword [edi + 0xc]
mov dword [ebp - 0x28], eax
xor eax, eax
lea esi, [eax + 2]
movzx ecx, byte [edx]
lea edx, [edx + 1]
ror eax, 0x19
xor eax, ecx
sub esi, 1
jne 0x463642
mov esi, dword [ebp - 0x24]
xor edx, edx
div dword [esi + 0x10]
mov eax, dword [esi + 0x14]
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx], ebx
mov ebx, eax
inc dword [esi + 0xc]
test eax, eax
jne 0x463632
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [edi + 0x14]
add ecx, 4
mov dword [ebp - 0x1c], ecx
mov dword [edx + eax], 0
add edx, 4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
cmp eax, dword [edi + 0x10]
jb 0x463628
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0xc]
mov ecx, dword [ebp + 8]
call fcn.004640b0
xor edx, edx
div dword [edi + 0x10]
mov eax, dword [edi + 0x14]
lea ebx, [eax + edx*4]
push ecx
lea ecx, [edi + 4]
push ecx
mov ecx, dword [ecx]
call fcn.004639c0
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x4636df
lea edi, [eax + 2]
jmp 0x463709
mov esi, dword [ebp - 0x14]
mov edi, ebx
jmp 0x463709
mov eax, dword [ebp + 8]
movzx eax, word [eax]
mov word [esi + 4], ax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
mov word [esi + 6], ax
xor esi, esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebx], eax
inc dword [edi + 0xc]
xor edi, edi
mov dword [ebp - 0x14], esi
test esi, esi
je 0x46371b
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.004624e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc