Function at 0x4c2614
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x3c]
lea edx, [ebx + 0x194]
push edi
mov edi, edx
lea ecx, [edi + 0x7d6]
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 1
cmp ebp, ecx
je 0x4c2c37
cmp eax, ecx
je 0x4c2c37
push esi
mov dword [ebx + 0x994], ecx
mov dword [esp + 0x14], ecx
jle 0x4c2c1e
jmp 0x4c25c0
cmp edi, dword [esp + 0x2c]
ja 0x4c2aa7
mov al, byte [ebp]
movsx ecx, al
add ecx, 0xffffffdc
mov esi, edi
mov dword [esp + 0x20], esi
cmp ecx, 0x3a
ja case.0x4c25e9.37
movzx ecx, byte [ecx + 0x4c2c78]
jmp dword [ecx*4 + 0x4c2c5c]
mov byte [edi], 2
jmp 0x4c29a9
cmp ebp, dword [esp + 0x44]
jne 0x4c2606
mov byte [edi], 4
jmp 0x4c29a9
mov byte [edi], 1
mov dl, byte [ebp]
inc edi
mov byte [edi], dl
jmp 0x4c29a9
cmp byte [ebp + 1], 0
jne 0x4c2622
mov byte [edi], 5
jmp 0x4c29a9
mov byte [edi], 1
mov al, byte [ebp]
jmp 0x4c29a6
mov eax, 1
add dword [esp + 0x14], eax
mov byte [edi], 3
add ebp, eax
add edi, eax
xor esi, esi
cmp byte [ebp], 0x5e
jne 0x4c2652
add dword [esp + 0x14], eax
mov byte [esp + 0x13], 0xff
add ebp, eax
jmp 0x4c2657
mov byte [esp + 0x13], 0
cmp byte [ebp], 0x2d
jne 0x4c2670
inc dword [esp + 0x14]
mov al, 0x2d
mov edx, ebx
mov esi, 0x2d
call fcn.004c21b0
inc ebp
cmp byte [ebp], 0x5d
jne 0x4c2689
inc dword [esp + 0x14]
mov al, 0x5d
mov edx, ebx
mov esi, 0x5d
call fcn.004c21b0
inc ebp
mov al, byte [ebp]
test al, al
je 0x4c2ae9
cmp al, 0x5d
je 0x4c27de
cmp al, 0x2d
jne 0x4c2772
test esi, esi
jge 0x4c26b9
or byte [ebx + 0x99d], 0x20
mov esi, 0x2d
jmp 0x4c27c5
mov al, byte [ebp + 1]
test al, al
je 0x4c2ad3
cmp al, 0x5d
je 0x4c2762
movzx ebx, byte [ebp + 1]
inc dword [esp + 0x14]
inc ebp
lea ecx, [esi + 1]
mov dword [esp + 0x28], ecx
cmp ebx, 0x5c
jne 0x4c271e
cmp byte [ebp + 1], 0
je 0x4c2abd
mov esi, dword [esp + 0x40]
inc ebp
lea eax, [esp + 0x30]
mov edx, ebp
call fcn.004c2340
mov edx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x30]
lea ecx, [edx + eax + 1]
add ebp, eax
mov dword [esp + 0x14], ecx
test ebx, ebx
jl 0x4c2722
mov al, bl
mov edx, esi
call fcn.004c21b0
mov esi, ebx
test esi, esi
jge 0x4c2737
mov edx, dword [esp + 0x40]
mov al, 0x2d
mov esi, 0x2d
call fcn.004c21b0
jmp 0x4c27c5
cmp dword [esp + 0x28], ebx
jg 0x4c27c5
mov edx, dword [esp + 0x4c]
mov al, byte [esp + 0x28]
push edx
mov edx, dword [esp + 0x44]
call fcn.004c21d0
mov eax, dword [esp + 0x28]
inc eax
cmp eax, ebx
mov dword [esp + 0x28], eax
jle 0x4c2741
jmp 0x4c27c5
mov al, 0x2d
mov edx, ebx
mov esi, 0x2d
call fcn.004c21b0
jmp 0x4c27c5
cmp al, 0x5c
jne 0x4c27b6
cmp byte [ebp + 1], 0
je 0x4c27b6
inc ebp
lea eax, [esp + 0x34]
mov edx, ebp
mov esi, ebx
call fcn.004c2340
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x34]
lea edx, [ecx + eax + 1]
add ebp, eax
mov dword [esp + 0x14], edx
test ebx, ebx
jl 0x4c27b1
mov edx, dword [esp + 0x40]
mov al, bl
call fcn.004c21b0
mov esi, ebx
jmp 0x4c27c5
or esi, 0xffffffff
jmp 0x4c27c5
mov ecx, dword [esp + 0x4c]
push ecx
mov edx, ebx
movzx esi, al
call fcn.004c21d0
mov al, byte [ebp + 1]
inc dword [esp + 0x14]
inc ebp
test al, al
je 0x4c2ae9
mov ebx, dword [esp + 0x40]
jmp 0x4c2694
cmp byte [ebp], 0
je 0x4c2ae9
lea eax, [ebx + 0x998]
mov esi, 0x20
mov dl, byte [eax]
xor dl, byte [esp + 0x13]
inc edi
mov byte [edi - 1], dl
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x4c27f3
mov esi, dword [esp + 0x20]
jmp 0x4c29aa
cmp ebp, dword [esp + 0x44]
je 0x4c2aff
mov cl, byte [edx]
mov esi, edx
cmp cl, 0xb
je 0x4c29aa
cmp cl, 0xd
je 0x4c29aa
cmp cl, 4
je 0x4c2b15
cmp cl, 5
jle 0x4c2846
cmp cl, 0xa
jle 0x4c2b15
cmp al, 0x2b
jne 0x4c285a
mov eax, edi
cmp esi, edi
jae 0x4c285a
mov cl, byte [esi]
mov byte [edi], cl
inc esi
inc edi
cmp esi, eax
jb 0x4c2850
mov byte [edi], 0
inc edi
mov byte [edi], 0
inc edi
mov eax, edi
dec edi
cmp edi, esi
jbe 0x4c287a
lea esp, [esp]
mov dl, byte [edi - 1]
mov byte [edi], dl
dec edi
cmp edi, esi
ja 0x4c2870
cmp byte [ebp], 0x3f
jne 0x4c288a
mov byte [edi], 0xc
mov edi, eax
jmp 0x4c29aa
cmp byte [ebp + 1], 0x3f
sete cl
lea ecx, [ecx + ecx + 0xb]
mov byte [edi], cl
mov edi, eax
jmp 0x4c29aa
mov cl, byte [ebp + 1]
inc dword [esp + 0x14]
inc ebp
movsx eax, cl
lea edx, [eax - 0x31]
cmp edx, 0xd
ja case.0x4c28b8.58
movzx edx, byte [edx + 0x4c2cc4]
jmp dword [edx*4 + 0x4c2cb4]
mov esi, dword [esp + 0x20]
mov byte [edi], 8
jmp 0x4c29a9
mov eax, dword [esp + 0x28]
cmp byte [eax], 8
je 0x4c2b2b
mov esi, dword [esp + 0x20]
mov byte [edi], 9
jmp 0x4c29a9
mov ecx, dword [esp + 0x1c]
add eax, 0xffffffd0
test ecx, ecx
jle 0x4c28fc
cmp dword [ebx + ecx*4 + 0x16c], eax
je 0x4c2b41
cmp dword [esp + 0x24], eax
jle 0x4c2b57
mov esi, dword [esp + 0x20]
mov byte [edi], 0xa
jmp 0x4c29a6
cmp byte [esp + 0x50], 0
jne 0x4c2984
cmp cl, 0x28
jne 0x4c294d
mov eax, dword [esp + 0x24]
cmp eax, 0xa
jge 0x4c2b6d
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
inc ecx
mov dword [ebx + ecx*4 + 0x16c], eax
mov byte [edi], 6
inc edi
mov byte [edi], al
inc edi
inc eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
jmp 0x4c29aa
cmp cl, 0x29
jne 0x4c2984
mov ecx, dword [esp + 0x28]
cmp byte [ecx], 6
je 0x4c2b83
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4c2b99
mov esi, dword [esp + 0x20]
mov byte [edi], 7
mov dl, byte [ebx + eax*4 + 0x16c]
inc edi
mov byte [edi], dl
inc edi
dec eax
mov dword [esp + 0x1c], eax
jmp 0x4c29aa
lea eax, [esp + 0x38]
mov edx, ebp
mov esi, ebx
call fcn.004c2340
mov ecx, dword [esp + 0x38]
add dword [esp + 0x14], ecx
add ebp, ecx
test eax, eax
jl 0x4c29c9
mov esi, dword [esp + 0x20]
mov byte [edi], 1
inc edi
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x14]
inc eax
inc ebp
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], eax
jge 0x4c2bf1
mov edx, esi
jmp 0x4c25c0
mov byte [edi], 3
inc edi
lea eax, [ebx + 0x998]
mov ecx, 0x20
mov dl, byte [eax]
mov byte [edi], dl
mov byte [eax], 0
inc edi
inc eax
sub ecx, 1
jne 0x4c29d8
mov esi, dword [esp + 0x20]
jmp 0x4c29aa
cmp byte [esp + 0x50], 0
je 0x4c2a53
cmp al, 0x28
jne 0x4c2a22
mov eax, dword [esp + 0x24]
cmp eax, 0xa
jge 0x4c2baf
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [ebx + ecx*4 + 0x16c], eax
mov byte [edi], 6
inc edi
mov byte [edi], al
inc edi
inc eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
jmp 0x4c29aa
cmp al, 0x29
jne 0x4c2a53
cmp byte [edx], 6
je 0x4c2bc5
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4c2bdb
mov byte [edi], 7
mov cl, byte [ebx + eax*4 + 0x16c]
inc edi
mov byte [edi], cl
inc edi
dec eax
mov dword [esp + 0x1c], eax
jmp 0x4c29aa
test al, al
jne 0x4c2a59
mov al, 0x5c
cmp byte [esp + 0x4c], 0
jne 0x4c29a3
mov ecx, dword [ebx + 0x9bc]
movzx edx, al
cmp byte [edx + ecx], 2
jne 0x4c29a3
mov byte [edi], 3
push 0
mov edx, ebx
inc edi
call fcn.004c21d0
lea eax, [ebx + 0x998]
mov ecx, 0x20
nop
mov dl, byte [eax]
mov byte [edi], dl
mov byte [eax], 0
inc edi
inc eax
sub ecx, 1
jne 0x4c2a90
mov esi, dword [esp + 0x20]
jmp 0x4c29aa
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [eax], 0
mov eax, str.Pattern_too_long
pop ebx
add esp, 0x2c
ret 0x14
mov ecx, dword [esp + 0x18]
mov byte [ecx], 0
mov eax, str.Missing__
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x2c
ret 0x14
mov edx, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [edx], 0
mov eax, str.Missing__
pop ebx
add esp, 0x2c
ret 0x14
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [eax], 0
mov eax, str.Missing__
pop ebx
add esp, 0x2c
ret 0x14
mov ecx, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [ecx], 0
mov eax, str.Empty_closure
pop ebx
add esp, 0x2c
ret 0x14
mov edx, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [edx], 0
mov eax, str.Illegal_closure
pop ebx
add esp, 0x2c
ret 0x14
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [eax], 0
mov eax, 0x555230
pop ebx
add esp, 0x2c
ret 0x14
mov ecx, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [ecx], 0
mov eax, str.Cyclical_reference
pop ebx
add esp, 0x2c
ret 0x14
mov edx, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [edx], 0
mov eax, str.Undetermined_reference
pop ebx
add esp, 0x2c
ret 0x14
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [eax], 0
mov eax, 0x555278
pop ebx
add esp, 0x2c
ret 0x14
mov ecx, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [ecx], 0
mov eax, 0x55528c
pop ebx
add esp, 0x2c
ret 0x14
mov edx, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [edx], 0
mov eax, 0x5552a8
pop ebx
add esp, 0x2c
ret 0x14
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [eax], 0
mov eax, str.Too_many____pairs
pop ebx
add esp, 0x2c
ret 0x14
mov ecx, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [ecx], 0
mov eax, str.Null_pattern_inside___
pop ebx
add esp, 0x2c
ret 0x14
mov edx, dword [esp + 0x18]
pop esi
pop edi
pop ebp
mov byte [edx], 0
mov eax, 0x5552e4
pop ebx
add esp, 0x2c
ret 0x14
cmp dword [esp + 0x1c], 0
jle 0x4c2c1e
cmp byte [esp + 0x50], 0
mov eax, dword [esp + 0x18]
mov byte [eax], 0
mov eax, 0x5552f0
jne 0x4c2ac9
pop esi
pop edi
pop ebp
mov eax, str.Unmatched__
pop ebx
add esp, 0x2c
ret 0x14
pop esi
mov byte [edi], 0
pop edi
pop ebp
mov dword [ebx + 0x994], 1
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x14
cmp dword [ebx + 0x994], ecx
je 0x4c2c4a
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x14
pop edi
pop ebp
mov byte [edx], cl
mov eax, str.No_previous_regular_expression
pop ebx
add esp, 0x2c
ret 0x14