Function at 0x507ae0
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
push ebp
xor edi, edi
push 0x48
mov ebp, dword [esp + 0x28]
push 0x53a2b0
push ebp
call fcn.00506910
add esp, 0xc
lea eax, [ebp + 0x48]
push 0x400
push 0x53a2f8
push eax
call fcn.00506910
add esp, 0xc
lea eax, [ebp + 0x448]
push 0x400
push 0x53a6f8
push eax
call fcn.00506910
add esp, 0xc
lea eax, [ebp + 0x848]
push 0x400
push 0x53aaf8
push eax
call fcn.00506910
add esp, 0xc
lea eax, [ebp + 0xc48]
push 0x400
push 0x53aef8
push eax
call fcn.00506910
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0x12
add esp, 0xc
xor ebx, ebx
mov esi, 4
shl ebx, 8
xor eax, eax
mov al, byte [ecx + edi]
or eax, ebx
mov ebx, eax
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x2c]
mov edi, edx
dec esi
jne 0x507b75
mov eax, dword [esp + 0x18]
add dword [esp + 0x18], 4
xor dword [eax], ebx
dec dword [esp + 0x1c]
jne 0x507b6e
xor eax, eax
mov edi, ebp
mov esi, 9
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
xor eax, eax
mov ax, word [0x53b2f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x507bf4
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x507bc8
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00507f50
add esp, 8
xor eax, eax
mov ax, word [0x53b2f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x507c46
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x507c1a
mov eax, dword [esp + 0x10]
add edi, 8
dec esi
mov dword [edi - 8], eax
mov ecx, dword [esp + 0x14]
mov dword [edi - 4], ecx
jne 0x507bb0
lea esi, [ebp + 0x48]
mov edi, 0x80
xor eax, eax
mov ax, word [0x53b2f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x507caa
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x507c7e
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00507f50
add esp, 8
xor eax, eax
mov ax, word [0x53b2f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x507cfc
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x507cd0
mov eax, dword [esp + 0x10]
add esi, 8
dec edi
mov dword [esi - 8], eax
mov ecx, dword [esp + 0x14]
mov dword [esi - 4], ecx
jne 0x507c66
lea edi, [ebp + 0x448]
mov esi, 0x80
xor eax, eax
mov ax, word [0x53b2f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x507d63
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x507d37
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00507f50
add esp, 8
xor eax, eax
mov ax, word [0x53b2f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x507db5
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x507d89
mov eax, dword [esp + 0x10]
add edi, 8
dec esi
mov dword [edi - 8], eax
mov ecx, dword [esp + 0x14]
mov dword [edi - 4], ecx
jne 0x507d1f
lea esi, [ebp + 0x848]
mov edi, 0x80
xor eax, eax
mov ax, word [0x53b2f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x507e1c
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x507df0
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00507f50
add esp, 8
xor eax, eax
mov ax, word [0x53b2f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x507e6e
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x507e42
mov eax, dword [esp + 0x10]
add esi, 8
dec edi
mov dword [esi - 8], eax
mov ecx, dword [esp + 0x14]
mov dword [esi - 4], ecx
jne 0x507dd8
lea edi, [ebp + 0xc48]
mov esi, 0x80
xor eax, eax
mov ax, word [0x53b2f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x507ed5
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x507ea9
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.00507f50
add esp, 8
xor eax, eax
mov ax, word [0x53b2f8]
and eax, 0xffffff00
cmp eax, 0x2300
je 0x507f27
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
add ecx, 4
mov edx, eax
shl edx, 0x10
shr eax, 0x10
or edx, eax
mov eax, edx
shl eax, 8
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor edx, eax
lea eax, [esp + 0x18]
mov dword [ecx - 4], edx
cmp ecx, eax
jb 0x507efb
mov eax, dword [esp + 0x10]
add edi, 8
dec esi
mov dword [edi - 8], eax
mov ecx, dword [esp + 0x14]
mov dword [edi - 4], ecx
jne 0x507e91
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret