Function at 0x12c7dd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov byte [ebp - 3], 0x30
xor ecx, ecx
mov byte [ebp - 2], 0x7e
mov byte [ebp - 1], 0
mov al, byte [ebp - 3]
nop word [eax + eax]
mov al, byte [ebp + ecx - 3]
movsx eax, al
sub eax, 0xb
mov byte [ebp + ecx - 3], al
inc ecx
cmp ecx, 2
jb 0x12c7df4
push ebx
push esi
push edi
push 0x12be734
lea eax, [ebp - 3]
push eax
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6c8]
call eax
mov cl, byte [ebp - 0xd4]
lea eax, [ebp - 0xd4]
add esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov esi, eax
mov dword [ebp - 0x10], esi
test cl, cl
je 0x12c7e72
lea edx, [ebp - 0xc]
nop dword [eax + eax]
cmp cl, 0x20
jne 0x12c7e67
mov byte [eax], 0
inc eax
cmp byte [eax], 0x20
je 0x12c7e59
mov dword [edx], eax
add edx, 4
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x12c7e54
mov esi, dword [ebp - 0x10]
mov bl, byte [esi]
xor edi, edi
mov dword [ebp - 0x84], 0x12be740
xor ecx, ecx
mov dword [ebp - 0x80], 0x12be744
mov dword [ebp - 0x7c], 0x12be748
mov dword [ebp - 0x78], 0x12be74c
mov dword [ebp - 0x74], 0x12be750
mov dword [ebp - 0x70], 0x12be754
mov dword [ebp - 0x6c], 0x12be758
mov dword [ebp - 0x68], 0x12be75c
mov dword [ebp - 0x64], 0x12be760
mov dword [ebp - 0x60], 0x12be764
mov dword [ebp - 0x5c], 0x12be768
mov dword [ebp - 0x58], 0x12be76c
nop dword [eax + eax]
mov edx, dword [ebp + ecx*4 - 0x84]
cmp bl, byte [edx]
jne 0x12c7eef
mov al, byte [esi + 1]
cmp al, byte [edx + 1]
jne 0x12c7eef
mov al, byte [esi + 2]
cmp al, byte [edx + 2]
je 0x12c7ef7
inc ecx
cmp ecx, 0xc
jb 0x12c7ed4
jmp 0x12c7efa
lea edi, [ecx + 1]
mov dword [ebp - 0x54], 0xe9f8
mov eax, 0xe9b9
mov word [ebp - 0x50], ax
mov edx, 0xe9d8
mov eax, 0xe988
mov ecx, 0xe98a
mov word [ebp - 0x4e], ax
mov ebx, 0xe9dd
mov word [ebp - 0x4c], ax
mov esi, 0xe9d6
mov eax, 0xe9ab
mov word [ebp - 0x4a], ax
mov eax, 0xe991
mov word [ebp - 0x48], ax
mov eax, 0xe99f
mov word [ebp - 0x46], ax
mov eax, 0xe996
mov word [ebp - 0x44], ax
mov eax, 0xe9bd
mov word [ebp - 0x42], dx
mov word [ebp - 0x40], ax
mov eax, 0xe997
mov word [ebp - 0x3e], cx
mov word [ebp - 0x3c], cx
mov word [ebp - 0x3a], ax
mov eax, 0xe9d5
mov word [ebp - 0x38], cx
mov ecx, 0xe9ca
mov word [ebp - 0x36], dx
mov word [ebp - 0x34], ax
mov eax, 0xe990
mov word [ebp - 0x32], dx
mov edx, 0xe9c8
mov word [ebp - 0x30], bx
mov word [ebp - 0x2e], ax
mov eax, 0xe98b
mov word [ebp - 0x2c], ax
mov eax, 0xe99c
mov word [ebp - 0x2a], si
mov word [ebp - 0x28], bx
mov word [ebp - 0x26], dx
mov word [ebp - 0x24], cx
mov word [ebp - 0x22], ax
mov eax, 0xe990
mov word [ebp - 0x20], si
mov word [ebp - 0x1e], bx
mov word [ebp - 0x1c], dx
mov word [ebp - 0x1a], cx
mov word [ebp - 0x18], ax
mov eax, 0xe98b
mov word [ebp - 0x16], ax
xor eax, eax
mov word [ebp - 0x14], ax
xor edx, edx
mov ax, word [ebp - 0x50]
nop word [eax + eax]
mov ax, word [ebp + edx*2 - 0x50]
movzx ecx, ax
movzx eax, word [ebp - 0x54]
xor ecx, eax
mov word [ebp + edx*2 - 0x50], cx
inc edx
cmp edx, 0x1e
jb 0x12c7ff4
push dword [ebp - 0xc]
xor eax, eax
push edi
push dword [ebp - 8]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov eax, dword [eax + 0x754]
call eax
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret