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

Disassembly:
sub esp, 0x424
mov ecx, dword [esp + 0x428]
push ebx
xor eax, eax
cmp byte [ecx + 0x22], al
push ebp
push esi
push edi
setne al
push 0x400
lea edx, [esp + 0x38]
push 0
push edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], eax
call fcn.00463710
mov esi, dword [esp + 0x44c]
xor edi, edi
xor ebx, ebx
add esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
test esi, esi
jle 0x428fbd
jmp 0x428e94
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x43c]
cmp ebx, edx
jge 0x428fbd
mov eax, esi
sub eax, edi
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x428f93
mov eax, edx
sub eax, ebx
add eax, 0xfffffff9
mov dword [esp + 0x28], eax
mov eax, edi
imul eax, edx
mov dword [esp + 0x1c], eax
jmp 0x428ed8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x28]
jge 0x428f93
add eax, ecx
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x438]
mov edx, dword [ecx + 0x197c]
mov ecx, dword [esp + 0x30]
lea eax, [edx + eax*4]
movzx edi, byte [ecx + eax]
movzx ebx, byte [ecx + eax + 1]
movzx ebp, byte [ecx + eax + 2]
add ecx, eax
mov eax, 7
add ecx, 6
add dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
lea esp, [esp]
movzx esi, byte [ecx - 2]
mov eax, esi
sub eax, edi
cdq
xor eax, edx
sub eax, edx
inc dword [esp + eax*4 + 0x34]
lea eax, [esp + eax*4 + 0x34]
mov edi, esi
movzx esi, byte [ecx - 1]
mov eax, esi
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
inc dword [esp + eax*4 + 0x34]
lea eax, [esp + eax*4 + 0x34]
mov ebx, esi
movzx esi, byte [ecx]
mov eax, esi
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
inc dword [esp + eax*4 + 0x34]
lea eax, [esp + eax*4 + 0x34]
add ecx, 4
sub dword [esp + 0x24], 1
mov ebp, esi
jne 0x428f20
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x43c]
add dword [esp + 0x1c], edx
mov esi, dword [esp + 0x440]
inc eax
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
jl 0x428ed0
cmp edx, esi
jle 0x428fa5
add dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
jmp 0x428fb1
add dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x14]
cmp edi, esi
jl 0x428e90
mov ebx, dword [esp + 0x34]
mov eax, ebx
shl eax, 5
add eax, ebx
cdq
idiv dword [esp + 0x18]
cmp eax, 0x5f
jl 0x428fe1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x424
ret 0xc
xor edi, edi
mov eax, 1
jmp 0x428ff0
mov ecx, dword [esp + eax*4 + 0x34]
mov edx, ecx
imul edx, eax
imul edx, eax
add edi, edx
test ecx, ecx
je 0x428fd2
mov edx, dword [esp + eax*4 + 0x30]
add edx, edx
cmp ecx, edx
jg 0x428fd2
inc eax
cmp eax, 8
jl 0x428ff0
mov ecx, pe_nt_image_headers32
sub ecx, eax
xor edx, edx
xor esi, esi
cmp ecx, 2
jl 0x42904a
lea ecx, [eax + 1]
mov ebp, dword [esp + eax*4 + 0x34]
imul ebp, eax
imul ebp, eax
add edx, ebp
mov ebp, dword [esp + eax*4 + 0x38]
imul ebp, ecx
imul ebp, ecx
add eax, 2
add esi, ebp
add ecx, 2
cmp eax, 0xff
jl 0x429025
cmp eax, 0x100
jge 0x42905d
mov ecx, dword [esp + eax*4 + 0x34]
imul ecx, eax
imul ecx, eax
add edi, ecx
mov ecx, dword [esp + 0x18]
lea eax, [esi + edx]
add eax, edi
lea edx, [ecx + ecx*2]
pop edi
mov ecx, edx
pop esi
sub ecx, ebx
xor edx, edx
pop ebp
div ecx
pop ebx
add esp, 0x424
ret 0xc