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

Disassembly:
sub esp, 8
mov eax, dword [0x43812c]
push ebx
push ebp
push esi
push edi
push eax
call fcn.00409e80
mov ecx, dword [0x438128]
mov ebx, eax
push ecx
mov dword [esp + 0x1c], ebx
call fcn.00409e80
mov edi, eax
mov eax, dword [0x438130]
add esp, 8
xor ebp, ebp
xor ecx, ecx
test eax, eax
jbe 0x404924
mov eax, edi
sub eax, ebx
mov dword [esp + 0x10], eax
jmp 0x404904
mov eax, dword [esp + 0x10]
lea esi, [ecx + ebx]
mov byte [eax + esi], cl
mov eax, ecx
cdq
idiv dword [esp + 0x28]
mov eax, dword [esp + 0x24]
inc ecx
mov dl, byte [edx + eax]
mov byte [esi], dl
mov eax, dword [0x438130]
cmp ecx, eax
jb 0x404900
mov eax, dword [0x438134]
xor ebx, ebx
test eax, eax
jbe 0x404971
mov eax, dword [esp + 0x14]
mov esi, edi
sub eax, edi
mov dword [esp + 0x28], eax
jmp 0x404941
mov eax, dword [esp + 0x28]
mov cl, byte [esi]
xor edx, edx
mov dl, byte [eax + esi]
mov eax, ecx
and eax, 0xff
add ebp, edx
add eax, ebp
xor edx, edx
div dword [0x438138]
inc ebx
inc esi
mov ebp, edx
mov al, byte [edi + ebp]
mov byte [edi + ebp], cl
mov byte [esi - 1], al
mov eax, dword [0x438134]
cmp ebx, eax
jb 0x40493d
mov ecx, dword [esp + 0x20]
xor ebp, ebp
test ecx, ecx
jle 0x405220
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
sub edx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
lea eax, [ebx + 1]
xor edx, edx
div dword [0x43813c]
push 0
push 0
push 0x122f
push 0
mov ebx, edx
xor edx, edx
mov cl, byte [ebx + edi]
mov eax, ecx
and eax, 0xff
add eax, ebp
div dword [0x438140]
mov ebp, edx
mov al, byte [edi + ebp]
mov byte [edi + ebp], cl
mov byte [ebx + edi], al
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
push 0
push 0
push 0x122f
push 0
call esi
xor eax, eax
xor ecx, ecx
mov al, byte [edi + ebp]
mov cl, byte [ebx + edi]
add eax, ecx
xor edx, edx
div dword [0x438144]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov dl, byte [edx + edi]
xor dl, byte [ecx + eax]
inc eax
mov dword [esp + 0x28], eax
mov byte [eax - 1], dl
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x40499b
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret