Function at 0x7f9f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x48
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], 0x1e
mov ecx, dword [ebp + eax*4 - 0x20]
mov dword [ebp - 0x44], edx
mov edx, dword [ebp + eax*4 - 0x1c]
mov eax, dword [ebx + 0x4ffc]
mov dword [ebp - 0x50], ecx
cmp edx, eax
cmovle eax, edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
cmp dword [ebp - 0x40], ecx
mov dword [eax], 0
jle 0x7fa0c6
mov eax, dword [ebp - 0x44]
test eax, eax
jle 0x7fa0b6
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x48], 0
shl eax, 2
add edx, eax
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
add edx, eax
mov dword [ebp - 0x38], edx
mov edx, dword [ebp + 0x14]
lea edx, [edx + eax + 0x100]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx]
test edx, edx
je 0x7fa090
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
cmp eax, 1
je 0x7fa0e0
jae 0x7fa0d0
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp - 0x30]
add edi, dword [ebp - 0x54]
mov dword [ebp - 0x4c], 0
mov ebx, dword [eax]
mov ecx, dword [edi]
lea edx, [ebx + ebx]
shr ebx, 7
mov eax, ecx
mov esi, ecx
shr eax, 5
xor eax, ebx
mov ebx, edx
xor ebx, 0x1d
shr esi, 3
test al, 1
cmovne edx, ebx
lea eax, [edx + edx]
shr ecx, 4
shr edx, 7
xor ecx, edx
mov edx, eax
xor edx, 0x1d
and ecx, 1
cmovne eax, edx
lea edx, [eax + eax]
shr eax, 7
xor esi, eax
mov eax, edx
xor eax, 0x1d
and esi, 1
cmovne edx, eax
sub edi, 0xffffff80
add dword [ebp - 0x4c], 1
movzx ebx, dl
cmp dword [ebp - 0x4c], 3
jne 0x7fa034
mov edx, dword [ebp + 0x18]
mov dword [edx], ebx
add dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x44]
sub dword [ebp - 0x3c], 0xffffff80
sub dword [ebp - 0x38], 0xffffff80
add dword [ebp - 0x34], 0x180
add dword [ebp - 0x30], 0x180
cmp dword [ebp - 0x48], eax
jne 0x7fa001
add dword [ebp - 0x50], 1
mov edx, dword [ebp - 0x40]
cmp dword [ebp - 0x50], edx
jne 0x7f9fc3
add esp, 0x48
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 2
je 0x7fa194
cmp eax, 3
jne 0x7fa090
nop
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax - 0x100]
mov eax, dword [ebp + 0x18]
mov esi, ebx
mov edx, dword [eax]
mov eax, ebx
shr eax, 5
shr esi, 3
lea ecx, [edx + edx]
shr edx, 7
xor eax, edx
mov edx, ecx
xor edx, 0x1d
test al, 1
cmovne ecx, edx
lea eax, [ecx + ecx]
shr ebx, 4
mov edx, eax
shr ecx, 7
xor edx, 0x1d
xor ebx, ecx
and ebx, 1
cmovne eax, edx
lea edx, [eax + eax]
shr eax, 7
xor esi, eax
mov eax, edx
and esi, 1
je 0x7fa132
xor eax, 0x1d
mov edx, dword [ebp - 0x34]
movzx ebx, al
mov ecx, dword [edx]
lea edx, [ebx + ebx]
shr ebx, 7
mov esi, edx
xor ebx, 1
xor esi, 0x1d
mov eax, ecx
mov edi, ecx
shr eax, 5
xor eax, 1
and eax, 1
shr edi, 3
cmp al, bl
cmovne edx, esi
lea eax, [edx + edx]
shr ecx, 4
shr edx, 7
xor ecx, edx
mov edx, eax
xor edx, 0x1d
and ecx, 1
cmovne eax, edx
lea edx, [eax + eax]
shr eax, 7
xor edi, eax
mov eax, edx
and edi, 1
je 0x7fa185
xor eax, 0x1d
mov edx, dword [ebp + 0x18]
and eax, 0xff
mov dword [edx], eax
jmp 0x7fa090
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax - 0x100]
mov eax, dword [ebp + 0x18]
mov esi, ebx
mov edx, dword [eax]
mov eax, ebx
shr eax, 5
shr esi, 3
lea ecx, [edx + edx]
shr edx, 7
xor eax, edx
mov edx, ecx
xor edx, 0x1d
test al, 1
cmovne ecx, edx
lea eax, [ecx + ecx]
shr ebx, 4
mov edx, eax
shr ecx, 7
xor edx, 0x1d
xor ebx, ecx
and ebx, 1
cmovne eax, edx
lea edx, [eax + eax]
shr eax, 7
xor esi, eax
mov eax, edx
and esi, 1
je 0x7fa185
jmp 0x7fa182