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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
test eax, eax
mov ebx, ecx
jne 0x553291
lea eax, [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp + 8], 0x771c4c
call fcn.00714ba1
lea ecx, [ebp - 0x14]
push 0x75de60
push ecx
call fcn.00714a95
mov eax, dword [ebp + 0x10]
cmp eax, 0x10
je 0x5532c4
cmp eax, 0x18
je 0x5532c4
cmp eax, 0x20
je 0x5532c4
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
push edx
mov dword [ebp + 8], 0x771c34
call fcn.00714ba1
lea eax, [ebp - 0x14]
push 0x75de60
push eax
call fcn.00714a95
mov ecx, dword [ebp + 0x14]
cmp ecx, 0x10
je 0x5532f7
cmp ecx, 0x18
je 0x5532f7
cmp ecx, 0x20
je 0x5532f7
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0x771c1c
push ecx
lea ecx, [ebp - 0x14]
call fcn.00714ba1
lea edx, [ebp - 0x14]
push 0x75de60
push edx
call fcn.00714a95
mov dword [ebx + 0x3c8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x3cc], ecx
push esi
mov edx, ecx
push edi
mov esi, eax
lea edi, [ebx + 0x3d4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x3cc]
mov esi, eax
mov eax, ecx
lea edi, [ebx + 0x3f4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x3c8]
cmp eax, 0x10
je 0x553371
cmp eax, 0x18
je 0x553356
mov dword [ebx + 0x3d0], 0xe
jmp 0x553396
mov ecx, dword [ebx + 0x3cc]
sub ecx, 0x20
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 0xe
mov dword [ebx + 0x3d0], ecx
jmp 0x553396
mov eax, dword [ebx + 0x3cc]
cmp eax, 0x10
jne 0x553383
mov eax, 0xa
jmp 0x553390
sub eax, 0x18
neg eax
sbb eax, eax
and eax, 2
add eax, 0xc
mov dword [ebx + 0x3d0], eax
mov eax, dword [ebx + 0x3cc]
cdq
and edx, 3
add eax, edx
xor edx, edx
mov ecx, eax
mov eax, dword [ebx + 0x3d0]
sar ecx, 2
test eax, eax
mov dword [ebp + 0x10], ecx
jl 0x5533d4
lea esi, [ebx + 8]
test ecx, ecx
jle 0x5533c6
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x3d0]
inc edx
add esi, 0x20
cmp edx, eax
jle 0x5533b9
mov eax, dword [ebx + 0x3d0]
xor edx, edx
test eax, eax
jl 0x553401
lea esi, [ebx + 0x1e8]
test ecx, ecx
jle 0x5533f3
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x3d0]
inc edx
add esi, 0x20
cmp edx, eax
jle 0x5533e6
mov eax, dword [ebx + 0x3d0]
lea edi, [ebx + 0x414]
inc eax
imul eax, ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x3c8]
cdq
and edx, 3
add eax, edx
mov esi, eax
mov eax, dword [ebp + 8]
sar esi, 2
test esi, esi
mov dword [ebp - 8], esi
jle 0x553464
mov dword [ebp + 8], esi
xor edx, edx
add edi, 4
mov dl, byte [eax]
shl edx, 0x18
mov dword [edi - 4], edx
inc eax
xor edx, edx
mov dl, byte [eax]
shl edx, 0x10
or dword [edi - 4], edx
inc eax
xor edx, edx
mov dh, byte [eax]
or dword [edi - 4], edx
inc eax
xor edx, edx
mov dl, byte [eax]
or dword [edi - 4], edx
mov edx, dword [ebp + 8]
inc eax
dec edx
mov dword [ebp + 8], edx
jne 0x553432
xor edi, edi
test esi, esi
jle 0x5534c6
lea eax, [ebx + 0x414]
mov dword [ebp + 0x14], eax
cmp edi, dword [ebp + 0xc]
jge 0x553659
mov eax, edi
cdq
idiv ecx
mov dword [ebp + 8], eax
mov eax, edi
cdq
idiv ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edx
lea edx, [edx + eax*8]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebx + edx*4 + 8], eax
mov edx, dword [ebx + 0x3d0]
mov eax, dword [ebp + 8]
sub edx, eax
mov eax, dword [ebp - 4]
inc edi
lea edx, [eax + edx*8]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebx + edx*4 + 0x1e8], eax
mov edx, dword [ebp + 0x14]
add edx, 4
cmp edi, esi
mov dword [ebp + 0x14], edx
jl 0x553473
cmp edi, dword [ebp + 0xc]
jge 0x553659
mov dword [ebp + 0x14], 0x746cf8
mov eax, dword [ebx + esi*4 + 0x410]
xor ecx, ecx
mov dword [ebp + 8], eax
mov cl, byte [ebp + 0xa]
movsx edx, byte [ecx + 0x743ad8]
mov ecx, dword [ebp + 0x14]
movsx ecx, byte [ecx]
xor edx, ecx
xor ecx, ecx
mov cl, ah
xor eax, eax
shl edx, 8
mov al, byte [ecx + 0x743ad8]
xor ecx, ecx
xor edx, eax
mov eax, dword [ebp + 8]
and eax, 0xff
shl edx, 8
mov cl, byte [eax + 0x743ad8]
xor eax, eax
mov al, byte [ebp + 0xb]
xor edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x743ad8]
mov eax, dword [ebx + 0x414]
shl edx, 8
xor edx, ecx
mov ecx, dword [ebp + 0x14]
xor eax, edx
inc ecx
cmp esi, 8
mov dword [ebx + 0x414], eax
mov dword [ebp + 0x14], ecx
je 0x553568
cmp esi, 1
jle 0x5535f0
lea eax, [ebx + 0x418]
lea ecx, [esi - 1]
mov edx, dword [eax - 4]
xor dword [eax], edx
add eax, 4
dec ecx
jne 0x553558
jmp 0x5535f0
lea eax, [ebx + 0x418]
mov ecx, 3
mov edx, dword [eax - 4]
xor dword [eax], edx
add eax, 4
dec ecx
jne 0x553573
mov eax, dword [ebx + 0x420]
xor ecx, ecx
mov dword [ebp + 8], eax
mov cl, byte [ebp + 0xb]
xor eax, eax
movsx edx, byte [ecx + 0x743ad8]
mov al, byte [ebp + 0xa]
xor ecx, ecx
shl edx, 8
mov cl, byte [eax + 0x743ad8]
xor eax, eax
mov al, byte [ebp + 9]
xor edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x743ad8]
mov eax, dword [ebp + 8]
shl edx, 8
xor edx, ecx
and eax, 0xff
xor ecx, ecx
mov cl, byte [eax + 0x743ad8]
mov eax, dword [ebx + 0x424]
shl edx, 8
xor edx, ecx
mov ecx, 3
xor eax, edx
mov dword [ebx + 0x424], eax
lea eax, [ebx + 0x428]
mov edx, dword [eax - 4]
xor dword [eax], edx
add eax, 4
dec ecx
jne 0x5535e5
test esi, esi
mov dword [ebp - 4], 0
jle 0x55364d
lea ecx, [ebx + 0x414]
cmp edi, dword [ebp + 0xc]
jge 0x553656
mov esi, dword [ebp + 0x10]
mov eax, edi
cdq
idiv esi
add ecx, 4
mov dword [ebp + 8], eax
mov eax, edi
cdq
idiv esi
mov eax, dword [ebp + 8]
mov esi, dword [ecx - 4]
lea eax, [edx + eax*8]
mov dword [ebx + eax*4 + 8], esi
mov eax, dword [ebx + 0x3d0]
mov esi, dword [ebp + 8]
sub eax, esi
mov esi, dword [ebp - 8]
lea edx, [edx + eax*8]
mov eax, dword [ecx - 4]
mov dword [ebx + edx*4 + 0x1e8], eax
mov eax, dword [ebp - 4]
inc eax
inc edi
cmp eax, esi
mov dword [ebp - 4], eax
jl 0x553601
cmp edi, dword [ebp + 0xc]
jl 0x5534d6
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebx + 0x3d0]
mov eax, 1
cmp edx, eax
mov dword [ebp + 0x14], eax
jle 0x5536d6
lea esi, [ebx + 0x208]
mov dword [ebp + 0xc], esi
test ecx, ecx
jle 0x5536bc
mov edi, ecx
mov eax, dword [esi]
xor ecx, ecx
mov dword [ebp + 8], eax
mov cl, byte [ebp + 0xb]
xor edx, edx
add esi, 4
mov dl, byte [ebp + 0xa]
mov ecx, dword [ecx*4 + 0x745cd8]
xor ecx, dword [edx*4 + 0x7460d8]
xor edx, edx
mov dl, ah
and eax, 0xff
xor ecx, dword [edx*4 + 0x7464d8]
mov edx, dword [eax*4 + 0x7468d8]
xor ecx, edx
dec edi
mov dword [esi - 4], ecx
jne 0x55367a
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebx + 0x3d0]
inc eax
add esi, 0x20
cmp eax, edx
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], esi
jl 0x553674
pop edi
mov byte [ebx + 4], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10