Function at 0x12fadc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov dword [ebp - 8], 0x7c
mov eax, dword [ebp - 8]
xor eax, 0x25
mov byte [ebp - 4], al
mov eax, dword [ebp - 8]
inc al
mov byte [ebp - 2], 0
xor eax, 0x73
xor edx, edx
mov byte [ebp - 3], al
mov al, byte [ebp - 4]
nop dword [eax]
mov al, byte [ebp + edx - 4]
mov ecx, dword [ebp - 8]
add cl, dl
movsx eax, al
xor ecx, eax
mov byte [ebp + edx - 4], cl
inc edx
cmp edx, 2
jb 0x12fadf0
push ebx
push esi
push edi
push 0x12ee754
lea eax, [ebp - 4]
mov byte [ebp - 2], 0
push eax
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6cc]
call eax
mov cl, byte [ebp - 0xd4]
lea eax, [ebp - 0xd4]
add esp, 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov esi, eax
mov dword [ebp - 0x14], esi
test cl, cl
je 0x12fae71
lea edx, [ebp - 0x10]
cmp cl, 0x20
jne 0x12fae66
mov byte [eax], 0
inc eax
cmp byte [eax], 0x20
je 0x12fae58
mov dword [edx], eax
add edx, 4
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x12fae53
mov esi, dword [ebp - 0x14]
mov bl, byte [esi]
xor edi, edi
mov dword [ebp - 0x84], 0x12ee760
xor ecx, ecx
mov dword [ebp - 0x80], 0x12ee764
mov dword [ebp - 0x7c], 0x12ee768
mov dword [ebp - 0x78], 0x12ee76c
mov dword [ebp - 0x74], 0x12ee770
mov dword [ebp - 0x70], 0x12ee774
mov dword [ebp - 0x6c], 0x12ee778
mov dword [ebp - 0x68], 0x12ee77c
mov dword [ebp - 0x64], 0x12ee780
mov dword [ebp - 0x60], 0x12ee784
mov dword [ebp - 0x5c], 0x12ee788
mov dword [ebp - 0x58], 0x12ee78c
nop
mov edx, dword [ebp + ecx*4 - 0x84]
cmp bl, byte [edx]
jne 0x12faeeb
mov al, byte [esi + 1]
cmp al, byte [edx + 1]
jne 0x12faeeb
mov al, byte [esi + 2]
cmp al, byte [edx + 2]
je 0x12faef3
inc ecx
cmp ecx, 0xc
jb 0x12faed0
jmp 0x12faef6
lea edi, [ecx + 1]
mov eax, 0x4d
mov edx, 0x2c
mov word [ebp - 0x52], ax
mov ecx, 0x7e
mov eax, 0x7c
mov ebx, 0x31
mov word [ebp - 0x50], ax
mov esi, 0x3a
mov word [ebp - 0x4e], ax
mov eax, 0x5f
mov word [ebp - 0x4c], ax
mov eax, 0x75
mov word [ebp - 0x4a], ax
mov eax, 0x73
mov word [ebp - 0x48], ax
mov eax, 0x7a
mov word [ebp - 0x46], ax
mov eax, 0x51
mov word [ebp - 0x44], dx
mov word [ebp - 0x42], ax
mov eax, 0x7b
mov word [ebp - 0x40], cx
mov word [ebp - 0x3e], cx
mov word [ebp - 0x3c], ax
mov eax, 0x39
mov word [ebp - 0x3a], cx
mov ecx, 0x3e
mov word [ebp - 0x38], dx
mov word [ebp - 0x36], ax
mov eax, 0x74
mov word [ebp - 0x34], dx
mov edx, 0x3c
mov word [ebp - 0x32], bx
mov word [ebp - 0x30], ax
mov eax, 0x7f
mov word [ebp - 0x2e], ax
mov eax, 0x70
mov word [ebp - 0x2c], si
mov word [ebp - 0x2a], bx
mov word [ebp - 0x28], dx
mov word [ebp - 0x26], cx
mov word [ebp - 0x24], ax
mov eax, 0x74
mov word [ebp - 0x22], si
mov word [ebp - 0x20], bx
mov word [ebp - 0x1e], dx
mov word [ebp - 0x1c], cx
mov word [ebp - 0x1a], ax
mov eax, 0x7f
mov word [ebp - 0x18], ax
xor eax, eax
mov word [ebp - 0x16], ax
xor ecx, ecx
mov ax, word [ebp - 0x52]
nop
mov ax, word [ebp + ecx*2 - 0x52]
movzx eax, ax
add eax, 0xfffffff4
mov word [ebp + ecx*2 - 0x52], ax
inc ecx
cmp ecx, 0x1e
jb 0x12fafe0
push dword [ebp - 0x10]
lea eax, [ebp - 0x52]
push edi
push dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov eax, dword [eax + 0x768]
call eax
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret