Function at 0x428af0
Capabilities:
Encode data using xor
Encrypt data using aes
Encrypt data using rc4 ksa
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
push edi
mov edi, 0x10
mov dword [esi + 0x3cc], edi
mov dword [esi + 0x3c8], edi
mov eax, dword [0x5e04ac]
mov dword [esi + 0x3d4], eax
mov ecx, dword [0x5e04b0]
mov dword [esi + 0x3d8], ecx
mov edx, dword [0x5e04b4]
mov dword [esi + 0x3dc], edx
mov eax, dword [0x5e04b8]
mov dword [esi + 0x3e0], eax
mov ecx, dword [esi + 0x3cc]
push ecx
lea edx, [esi + 0x3f4]
push 0x5e04ac
push edx
call fcn.0057f520
mov eax, dword [esi + 0x3c8]
add esp, 0xc
cmp eax, edi
je 0x428b7d
cmp eax, 0x18
je 0x428b6b
mov dword [esi + 0x3d0], 0xe
jmp 0x428ba2
xor eax, eax
cmp dword [esi + 0x3cc], 0x20
sete al
lea eax, [eax + eax + 0xc]
jmp 0x428b9c
mov eax, dword [esi + 0x3cc]
cmp eax, edi
jne 0x428b8e
mov eax, 0xa
jmp 0x428b9c
xor ecx, ecx
cmp eax, 0x18
setne cl
lea ecx, [ecx + ecx + 0xc]
mov eax, ecx
mov dword [esi + 0x3d0], eax
mov eax, dword [esi + 0x3cc]
cdq
and edx, 3
add eax, edx
mov ebp, eax
sar ebp, 2
xor edx, edx
cmp dword [esi + 0x3d0], edx
mov dword [esp + 0xc], ebp
jl 0x428bdc
lea ebx, [esi + 8]
test ebp, ebp
jle 0x428bd0
mov ecx, ebp
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
inc edx
add ebx, 0x20
cmp edx, dword [esi + 0x3d0]
jle 0x428bc4
xor edx, edx
cmp dword [esi + 0x3d0], edx
jl 0x428c08
lea ebx, [esi + 0x1e8]
lea esp, [esp]
test ebp, ebp
jle 0x428bfc
mov ecx, ebp
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
inc edx
add ebx, 0x20
cmp edx, dword [esi + 0x3d0]
jle 0x428bf0
mov eax, dword [esi + 0x3d0]
inc eax
imul eax, ebp
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x3c8]
cdq
and edx, 3
add eax, edx
mov edi, eax
mov eax, dword [esp + 0x20]
sar edi, 2
lea ecx, [esi + 0x414]
test edi, edi
jle 0x428c63
mov edx, edi
movzx ebx, byte [eax]
shl ebx, 0x18
mov dword [ecx], ebx
movzx ebx, byte [eax + 1]
inc eax
shl ebx, 0x10
or dword [ecx], ebx
movzx ebx, byte [eax + 1]
inc eax
shl ebx, 8
or dword [ecx], ebx
movzx ebx, byte [eax + 1]
or dword [ecx], ebx
inc eax
inc eax
add ecx, 4
sub edx, 1
jne 0x428c37
xor ebx, ebx
mov dword [esp + 0x20], ebx
test edi, edi
jle 0x428cb7
lea ecx, [esi + 0x414]
mov dword [esp + 0x20], ecx
cmp ebx, dword [esp + 0x10]
jge 0x428cb3
mov eax, ebx
cdq
idiv ebp
mov ecx, dword [ecx]
inc ebx
lea ebp, [edx + eax*8]
mov dword [esi + ebp*4 + 8], ecx
mov ecx, dword [esi + 0x3d0]
mov ebp, dword [esp + 0xc]
sub ecx, eax
lea edx, [edx + ecx*8]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
add ecx, 4
cmp ebx, edi
mov dword [esi + edx*4 + 0x1e8], eax
mov dword [esp + 0x20], ecx
jl 0x428c77
mov dword [esp + 0x20], ebx
cmp ebx, dword [esp + 0x10]
jge 0x428e54
mov dword [esp + 0x14], 0x5da9d0
lea esp, [esp]
mov eax, dword [esi + edi*4 + 0x410]
mov ecx, eax
sar ecx, 0x10
and ecx, 0xff
movsx edx, byte [ecx + str.cw]
mov ecx, dword [esp + 0x14]
movsx ecx, byte [ecx]
xor edx, ecx
inc dword [esp + 0x14]
mov ecx, eax
sar ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
shl edx, 8
xor edx, ecx
mov ecx, eax
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
sar eax, 0x18
shl edx, 8
and eax, 0xff
movzx eax, byte [eax + str.cw]
xor edx, ecx
shl edx, 8
xor edx, eax
xor dword [esi + 0x414], edx
cmp edi, 8
je 0x428d64
cmp edi, 1
jle 0x428df2
lea eax, [esi + 0x418]
lea ecx, [edi - 1]
mov edx, dword [eax - 4]
xor dword [eax], edx
add eax, 4
sub ecx, 1
jne 0x428d52
jmp 0x428df2
lea eax, [esi + 0x418]
mov ecx, 3
nop
mov edx, dword [eax - 4]
xor dword [eax], edx
add eax, 4
sub ecx, 1
jne 0x428d70
mov eax, dword [esi + 0x420]
mov ecx, eax
sar ecx, 0x18
and ecx, 0xff
movsx edx, byte [ecx + str.cw]
mov ecx, eax
sar ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
shl edx, 8
xor edx, ecx
mov ecx, eax
sar ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
shl edx, 8
and eax, 0xff
movzx eax, byte [eax + str.cw]
xor edx, ecx
shl edx, 8
xor edx, eax
xor dword [esi + 0x424], edx
lea eax, [esi + 0x428]
mov ecx, 3
mov edx, dword [eax - 4]
xor dword [eax], edx
add eax, 4
sub ecx, 1
jne 0x428de5
mov dword [esp + 0x18], 0
test edi, edi
jle 0x428e4a
lea ecx, [esi + 0x414]
cmp ebx, dword [esp + 0x10]
jge 0x428e54
mov eax, ebx
cdq
idiv ebp
mov ebp, dword [ecx]
add ecx, 4
lea ebx, [edx + eax*8]
mov dword [esi + ebx*4 + 8], ebp
mov ebx, dword [esi + 0x3d0]
mov ebp, dword [esp + 0xc]
sub ebx, eax
lea eax, [edx + ebx*8]
mov edx, dword [ecx - 4]
mov ebx, dword [esp + 0x20]
mov dword [esi + eax*4 + 0x1e8], edx
mov eax, dword [esp + 0x18]
inc eax
inc ebx
cmp eax, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
jl 0x428e04
cmp ebx, dword [esp + 0x10]
jl 0x428cd0
mov eax, 1
cmp dword [esi + 0x3d0], eax
mov dword [esp + 0x20], eax
jle 0x428ef8
lea ecx, [esi + 0x208]
mov dword [esp + 0x18], ecx
test ebp, ebp
jle 0x428ecf
mov edx, ebp
lea esp, [esp]
mov eax, dword [ecx]
mov edi, eax
sar edi, 0x18
and edi, 0xff
mov edi, dword [edi*4 + 0x5d99d0]
mov ebx, eax
sar ebx, 0x10
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5d9dd0]
mov ebx, eax
sar ebx, 8
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5da1d0]
and eax, 0xff
xor edi, dword [eax*4 + 0x5da5d0]
add ecx, 4
sub edx, 1
mov dword [ecx - 4], edi
jne 0x428e80
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
inc eax
add ecx, 0x20
cmp eax, dword [esi + 0x3d0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
jl 0x428e73
pop edi
pop ebp
mov byte [esi + 4], 1
pop ebx
add esp, 0x10
ret 4
pop edi
pop ebp
mov byte [esi + 4], al
pop ebx
add esp, 0x10
ret 4