Function at 0x51b4b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov al, 1
push esi
push edi
xor ecx, ecx
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
mov bl, al
and edx, 0xff
mov byte [ecx + 0x7aec08], al
mov byte [edx + 0x7aaae0], cl
mov dl, al
and dl, 0x80
neg dl
sbb dl, dl
and edx, 0x1b
shl bl, 1
xor dl, bl
xor al, dl
inc ecx
cmp ecx, 0x100
mov byte [esp + 0x10], al
jb 0x51b4bf
mov al, 1
mov byte [0x7aaae1], 0
mov byte [esp + 0x10], al
mov ecx, 0x7aabe0
mov edx, dword [esp + 0x10]
and edx, 0xff
mov dword [ecx], edx
mov dl, al
and dl, 0x80
neg dl
sbb dl, dl
add ecx, 4
and edx, 0x1b
shl al, 1
xor al, dl
cmp ecx, 0x7aac08
mov byte [esp + 0x10], al
jl 0x51b508
xor eax, eax
mov dword [esp + 0x14], eax
test eax, eax
je 0x51b550
xor ecx, ecx
mov edx, 0x7aed07
mov cl, byte [eax + 0x7aaae0]
sub edx, ecx
mov dl, byte [edx]
jmp 0x51b552
xor dl, dl
mov al, dl
mov cl, dl
shr al, 6
shl cl, 2
or al, cl
mov cl, dl
mov bl, dl
shr cl, 7
shl bl, 1
or cl, bl
xor al, cl
mov cl, al
mov bl, al
shr cl, 6
shl bl, 2
or cl, bl
xor cl, al
mov eax, dword [esp + 0x14]
xor cl, dl
xor cl, 0x63
mov byte [esp + 0x10], cl
mov byte [eax + 0x7aed08], cl
mov edx, dword [esp + 0x10]
and edx, 0xff
mov byte [edx + 0x7aee08], al
inc eax
cmp eax, 0x100
mov dword [esp + 0x14], eax
jb 0x51b539
xor esi, esi
mov bl, byte [esi + 0x7aed08]
push 8
mov byte [esp + 0x14], bl
mov ebp, dword [esp + 0x14]
mov edi, ebp
and edi, 0xff
push edi
mov dword [esi*4 + 0x7aac08], edi
call fcn.0051b770
push 0x10
push edi
mov dword [esi*4 + 0x7ab008], eax
call fcn.0051b770
push 0x18
push edi
mov dword [esi*4 + 0x7ab408], eax
call fcn.0051b770
add esp, 0x18
mov dword [esi*4 + 0x7ab808], eax
test bl, bl
je 0x51b61f
push ebp
push 2
call fcn.0051b790
add esp, 8
and eax, 0xff
mov ebx, eax
push ebp
push 3
call fcn.0051b790
add esp, 8
and eax, 0xff
jmp 0x51b623
xor ebx, ebx
xor eax, eax
shl eax, 8
or eax, edi
push 8
shl eax, 8
or eax, edi
shl eax, 8
or eax, ebx
mov edi, eax
push edi
mov dword [esi*4 + 0x7abc08], edi
call fcn.0051b770
push 0x10
push edi
mov dword [esi*4 + 0x7ac008], eax
call fcn.0051b770
push 0x18
push edi
mov dword [esi*4 + 0x7ac408], eax
call fcn.0051b770
mov bl, byte [esi + 0x7aee08]
push 8
mov byte [esp + 0x2c], bl
mov dword [esi*4 + 0x7ac808], eax
mov ebp, dword [esp + 0x2c]
mov edi, ebp
and edi, 0xff
push edi
mov dword [esi*4 + 0x7acc08], edi
call fcn.0051b770
push 0x10
push edi
mov dword [esi*4 + 0x7ad008], eax
call fcn.0051b770
push 0x18
push edi
mov dword [esi*4 + 0x7ad408], eax
call fcn.0051b770
add esp, 0x30
mov dword [esi*4 + 0x7ad808], eax
test bl, bl
je 0x51b707
push ebp
push 0xe
call fcn.0051b790
add esp, 8
and eax, 0xff
mov dword [esp + 0x14], eax
push ebp
push 9
call fcn.0051b790
add esp, 8
and eax, 0xff
mov ebx, eax
push ebp
push 0xd
call fcn.0051b790
add esp, 8
and eax, 0xff
mov edi, eax
push ebp
push 0xb
call fcn.0051b790
mov ecx, dword [esp + 0x1c]
add esp, 8
and eax, 0xff
jmp 0x51b70f
xor ecx, ecx
xor ebx, ebx
xor edi, edi
xor eax, eax
shl eax, 8
or eax, edi
push 8
shl eax, 8
or eax, ebx
shl eax, 8
or eax, ecx
mov edi, eax
push edi
mov dword [esi*4 + 0x7adc08], edi
call fcn.0051b770
push 0x10
push edi
mov dword [esi*4 + 0x7ae008], eax
call fcn.0051b770
push 0x18
push edi
mov dword [esi*4 + 0x7ae408], eax
call fcn.0051b770
add esp, 0x18
mov dword [esi*4 + 0x7ae808], eax
inc esi
cmp esi, 0x100
jl 0x51b5aa
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret