Function at 0x3bebe50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov dword [ebp - 8], 0x52
xor edx, edx
mov byte [ebp - 4], 0x77
mov byte [ebp - 3], 0x21
mov al, byte [ebp - 4]
mov byte [ebp - 2], 0
mov al, byte [ebp + edx - 4]
movsx ecx, byte [ebp - 8]
movsx eax, al
xor eax, ecx
mov byte [ebp + edx - 4], al
inc edx
cmp edx, 2
jb 0x3bebe71
push ebx
push esi
push edi
push 0x3bde754
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 0x3bebef1
lea edx, [ebp - 0x10]
cmp cl, 0x20
jne 0x3bebee6
mov byte [eax], 0
inc eax
cmp byte [eax], 0x20
je 0x3bebed8
mov dword [edx], eax
add edx, 4
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x3bebed3
mov esi, dword [ebp - 0x14]
mov bl, byte [esi]
xor edi, edi
mov dword [ebp - 0x84], 0x3bde760
xor ecx, ecx
mov dword [ebp - 0x80], 0x3bde764
mov dword [ebp - 0x7c], 0x3bde768
mov dword [ebp - 0x78], 0x3bde76c
mov dword [ebp - 0x74], 0x3bde770
mov dword [ebp - 0x70], 0x3bde774
mov dword [ebp - 0x6c], 0x3bde778
mov dword [ebp - 0x68], 0x3bde77c
mov dword [ebp - 0x64], 0x3bde780
mov dword [ebp - 0x60], 0x3bde784
mov dword [ebp - 0x5c], 0x3bde788
mov dword [ebp - 0x58], 0x3bde78c
nop
mov edx, dword [ebp + ecx*4 - 0x84]
cmp bl, byte [edx]
jne 0x3bebf6b
mov al, byte [esi + 1]
cmp al, byte [edx + 1]
jne 0x3bebf6b
mov al, byte [esi + 2]
cmp al, byte [edx + 2]
je 0x3bebf73
inc ecx
cmp ecx, 0xc
jb 0x3bebf50
jmp 0x3bebf76
lea edi, [ecx + 1]
mov eax, 0x44
mov edx, 0x23
mov word [ebp - 0x52], ax
mov ecx, 0x75
mov eax, 0x73
mov ebx, 0x28
mov word [ebp - 0x50], ax
mov esi, 0x31
mov word [ebp - 0x4e], ax
mov eax, 0x56
mov word [ebp - 0x4c], ax
mov eax, 0x6c
mov word [ebp - 0x4a], ax
mov eax, 0x6a
mov word [ebp - 0x48], ax
mov eax, 0x71
mov word [ebp - 0x46], ax
mov eax, 0x48
mov word [ebp - 0x44], dx
mov word [ebp - 0x42], ax
mov eax, 0x72
mov word [ebp - 0x40], cx
mov word [ebp - 0x3e], cx
mov word [ebp - 0x3c], ax
mov eax, 0x30
mov word [ebp - 0x3a], cx
mov ecx, 0x35
mov word [ebp - 0x38], dx
mov word [ebp - 0x36], ax
mov eax, 0x6b
mov word [ebp - 0x34], dx
mov edx, 0x33
mov word [ebp - 0x32], bx
mov word [ebp - 0x30], ax
mov eax, 0x76
mov word [ebp - 0x2e], ax
mov eax, 0x67
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, 0x6b
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, 0x76
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, 0xfffffffd
mov word [ebp + ecx*2 - 0x52], ax
inc ecx
cmp ecx, 0x1e
jb 0x3bec060
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