Function at 0x309a274
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov byte [ebp - 3], 0x2c
xor ecx, ecx
mov byte [ebp - 2], 0x7a
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, 7
mov byte [ebp + ecx - 3], al
inc ecx
cmp ecx, 2
jb 0x309a294
push ebx
push esi
push edi
push 0x308e740
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 - 0x50], 0
mov dword [ebp - 0x4c], 0
mov esi, eax
mov dword [ebp - 0x54], esi
test cl, cl
je 0x309a312
lea edx, [ebp - 0x50]
nop dword [eax + eax]
cmp cl, 0x20
jne 0x309a307
mov byte [eax], 0
inc eax
cmp byte [eax], 0x20
je 0x309a2f9
mov dword [edx], eax
add edx, 4
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x309a2f4
mov esi, dword [ebp - 0x54]
mov bl, byte [esi]
xor edi, edi
mov dword [ebp - 0x84], 0x308e770
xor ecx, ecx
mov dword [ebp - 0x80], 0x308e774
mov dword [ebp - 0x7c], 0x308e778
mov dword [ebp - 0x78], 0x308e77c
mov dword [ebp - 0x74], 0x308e780
mov dword [ebp - 0x70], 0x308e784
mov dword [ebp - 0x6c], 0x308e788
mov dword [ebp - 0x68], 0x308e78c
mov dword [ebp - 0x64], 0x308e790
mov dword [ebp - 0x60], 0x308e794
mov dword [ebp - 0x5c], 0x308e798
mov dword [ebp - 0x58], 0x308e79c
nop dword [eax + eax]
mov edx, dword [ebp + ecx*4 - 0x84]
cmp bl, byte [edx]
jne 0x309a38f
mov al, byte [esi + 1]
cmp al, byte [edx + 1]
jne 0x309a38f
mov al, byte [esi + 2]
cmp al, byte [edx + 2]
je 0x309a397
inc ecx
cmp ecx, 0xc
jb 0x309a374
jmp 0x309a39a
lea edi, [ecx + 1]
mov dword [ebp - 0x48], 0x6b68
mov eax, dword [ebp - 0x48]
xor eax, 0x41
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x48]
inc eax
xor eax, 0x70
mov word [ebp - 0x42], ax
mov eax, dword [ebp - 0x48]
add eax, 2
xor eax, 0x70
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x48]
add eax, 3
xor eax, 0x53
mov word [ebp - 0x3e], ax
mov eax, dword [ebp - 0x48]
add eax, 4
xor eax, 0x69
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x48]
add eax, 5
xor eax, 0x67
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x48]
add eax, 6
xor eax, 0x6e
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x48]
add eax, 7
xor eax, 0x20
mov word [ebp - 0x36], ax
mov eax, dword [ebp - 0x48]
add eax, 8
xor eax, 0x45
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x48]
add eax, 9
xor eax, 0x72
mov word [ebp - 0x32], ax
mov eax, dword [ebp - 0x48]
add eax, 0xa
xor eax, 0x72
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x48]
add eax, 0xb
xor eax, 0x6f
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x48]
add eax, 0xc
xor eax, 0x72
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x48]
add eax, 0xd
xor eax, 0x20
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x48]
add eax, 0xe
xor eax, 0x2d
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x48]
add eax, 0xf
xor eax, 0x20
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x48]
add eax, 0x10
xor eax, 0x25
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x48]
add eax, 0x11
xor eax, 0x68
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x48]
add eax, 0x12
xor eax, 0x73
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x48]
add eax, 0x13
xor eax, 0x2e
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 0x48]
add eax, 0x14
xor eax, 0x25
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x48]
add eax, 0x15
xor eax, 0x30
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x48]
add eax, 0x16
xor eax, 0x32
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x48]
add eax, 0x17
xor eax, 0x64
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0x48]
add eax, 0x18
xor eax, 0x2e
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x48]
add eax, 0x19
xor eax, 0x25
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x48]
add eax, 0x1a
xor eax, 0x30
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0x48]
add eax, 0x1b
xor eax, 0x32
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x48]
add eax, 0x1c
xor eax, 0x68
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x48]
add eax, 0x1d
xor eax, 0x73
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
xor edx, edx
mov ax, word [ebp - 0x44]
nop word [eax + eax]
mov ax, word [ebp + edx*2 - 0x44]
mov ecx, dword [ebp - 0x48]
add ecx, edx
movzx eax, ax
xor ecx, eax
mov word [ebp + edx*2 - 0x44], cx
inc edx
cmp edx, 0x1e
jb 0x309a534
push dword [ebp - 0x50]
xor eax, eax
push edi
push dword [ebp - 0x4c]
mov word [ebp - 8], ax
lea eax, [ebp - 0x44]
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