Function at 0x5bcaa0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov ecx, dword [ebp + 8]
mov bl, byte [eax + edi]
mov dl, byte [ecx + eax + 0xa0]
xor bl, dl
mov byte [eax + edi], bl
inc eax
cmp eax, 0x10
jl 0x5bcaad
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + edi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x548d38]
mov byte [eax + edi - 1], dl
jl 0x5bcac7
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x548e74]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + edi]
mov byte [ebp + eax - 0x39], dl
jl 0x5bcade
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, edi
push esi
mov dword [ebp - 0x14], 9
mov dword [eax], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x90]
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax + edi]
xor bl, dl
mov byte [eax + edi], bl
inc eax
cmp eax, 0x10
jl 0x5bcb22
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov eax, edi
lea edx, [ebp - 0x38]
lea ecx, [ebp + ebx - 0x38]
sub eax, edx
mov dword [ebp - 8], ecx
mov esi, 0xfffffffe
mov dword [ebp - 0x18], eax
jmp 0x5bcb53
mov eax, dword [ebp - 0x18]
mov al, byte [eax + ecx]
test al, al
mov byte [ebp - 0x1c], al
je 0x5bcb8e
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
and eax, 0xff
xor edx, edx
mov dl, byte [0x548a46]
mov cl, byte [eax + 0x548a38]
mov eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + 0x548b38]
mov dword [ebp - 4], eax
jmp 0x5bcb95
mov dword [ebp - 4], 0
lea edx, [esi - 1]
and edx, 3
add edx, ebx
mov al, byte [edx + edi]
test al, al
mov byte [ebp - 0x20], al
je 0x5bcbd8
mov eax, dword [ebp - 0x20]
xor ecx, ecx
and eax, 0xff
xor edx, edx
mov dl, byte [0x548a43]
mov cl, byte [eax + 0x548a38]
mov eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + 0x548b38]
mov dword [ebp + 0xc], eax
jmp 0x5bcbdf
mov dword [ebp + 0xc], 0
mov edx, esi
and edx, 3
add edx, ebx
mov al, byte [edx + edi]
test al, al
mov byte [ebp - 0x24], al
je 0x5bcc1e
mov eax, dword [ebp - 0x24]
xor ecx, ecx
and eax, 0xff
xor edx, edx
mov dl, byte [0x548a45]
mov cl, byte [eax + 0x548a38]
mov eax, ecx
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor ecx, ecx
mov cl, byte [edx + 0x548b38]
jmp 0x5bcc20
xor ecx, ecx
inc esi
mov edx, esi
and edx, 3
add edx, ebx
mov al, byte [edx + edi]
test al, al
mov byte [ebp - 0x28], al
je 0x5bcc63
mov eax, dword [ebp - 0x28]
xor edx, edx
and eax, 0xff
mov ebx, 0xff
mov dl, byte [eax + 0x548a38]
mov eax, edx
xor edx, edx
mov dl, byte [0x548a41]
add eax, edx
cdq
idiv ebx
mov ebx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + 0x548b38]
jmp 0x5bcc65
xor eax, eax
mov dl, byte [ebp + 0xc]
xor al, cl
mov cl, byte [ebp - 4]
xor al, dl
xor al, cl
mov ecx, dword [ebp - 8]
mov byte [ecx], al
lea eax, [esi + 2]
inc ecx
cmp eax, 4
mov dword [ebp - 8], ecx
jl 0x5bcb50
add ebx, 4
cmp ebx, 0x10
mov dword [ebp - 0xc], ebx
jl 0x5bcb38
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov ecx, edi
mov dword [ecx], edx
mov edx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + edi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x548d38]
mov byte [eax + edi - 1], dl
jl 0x5bccb0
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x548e74]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + edi]
mov byte [ebp + eax - 0x49], dl
jl 0x5bccc7
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
sub ecx, 0x10
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
jne 0x5bcb20
mov eax, dword [ebp + 8]
mov ecx, 0x10
sub eax, edi
pop esi
mov dl, byte [eax + edi]
mov bl, byte [edi]
xor bl, dl
mov byte [edi], bl
inc edi
dec ecx
jne 0x5bcd16
pop edi
pop ebx
mov esp, ebp
pop ebp
ret