Function at 0x1349a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a8
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4a0]
push eax
push 0x104
mov eax, dword [edi + 0x760]
call eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [edi + 0x764]
call eax
xor eax, eax
mov word [ebp - 0x298], ax
lea eax, [ebp - 0x298]
push 0x104
push eax
push dword [edi + 0x70c]
mov eax, dword [edi + 0x680]
call eax
test eax, eax
je 0x1349abd
push 0x5c
lea eax, [ebp - 0x298]
push 0x104
push eax
call fcn.01349e90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1349abd
add esi, 2
jne 0x1349b48
xor eax, eax
mov ecx, 0x9550
mov word [ebp - 0x298], ax
mov eax, 0x9551
mov dword [ebp - 0x80], 0x951e
mov word [ebp - 0x7c], cx
mov word [ebp - 0x7a], ax
mov eax, 0x955f
mov word [ebp - 0x78], cx
mov word [ebp - 0x76], ax
mov eax, 0x9553
mov word [ebp - 0x74], ax
mov eax, 0x955b
mov word [ebp - 0x72], ax
xor eax, eax
mov word [ebp - 0x70], ax
xor edx, edx
mov ax, word [ebp - 0x7c]
nop word [eax + eax]
mov ax, word [ebp + edx*2 - 0x7c]
movzx ecx, ax
movzx eax, word [ebp - 0x80]
xor ecx, eax
mov word [ebp + edx*2 - 0x7c], cx
inc edx
cmp edx, 6
jb 0x1349b10
xor eax, eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.01349f20
add esp, 8
lea esi, [ebp - 0x298]
mov dword [ebp - 0x6c], 0x65c3
mov eax, dword [ebp - 0x6c]
xor eax, 0x25
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x6c]
inc eax
xor eax, 0x6c
mov word [ebp - 0x66], ax
mov eax, dword [ebp - 0x6c]
add eax, 2
xor eax, 0x73
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x6c]
add eax, 3
xor eax, 0x5c
mov word [ebp - 0x62], ax
mov eax, dword [ebp - 0x6c]
add eax, 4
xor eax, 0x41
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0x6c]
add eax, 5
xor eax, 0x70
mov word [ebp - 0x5e], ax
mov eax, dword [ebp - 0x6c]
add eax, 6
xor eax, 0x70
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x6c]
add eax, 7
xor eax, 0x53
mov word [ebp - 0x5a], ax
mov eax, dword [ebp - 0x6c]
add eax, 8
xor eax, 0x69
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x6c]
add eax, 9
xor eax, 0x67
mov word [ebp - 0x56], ax
mov eax, dword [ebp - 0x6c]
add eax, 0xa
xor eax, 0x6e
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x6c]
add eax, 0xb
xor eax, 0x34
mov word [ebp - 0x52], ax
mov eax, dword [ebp - 0x6c]
add eax, 0xc
xor eax, 0x77
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x6c]
add eax, 0xd
xor eax, 0x5f
mov word [ebp - 0x4e], ax
mov eax, dword [ebp - 0x6c]
add eax, 0xe
xor eax, 0x25
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x6c]
add eax, 0xf
xor eax, 0x6c
mov word [ebp - 0x4a], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x10
xor eax, 0x73
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x11
xor eax, 0x5f
mov word [ebp - 0x46], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x12
xor eax, 0x25
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x13
xor eax, 0x30
mov word [ebp - 0x42], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x14
xor eax, 0x34
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x15
xor eax, 0x64
mov word [ebp - 0x3e], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x16
xor eax, 0x25
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x17
xor eax, 0x30
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x18
xor eax, 0x32
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x19
xor eax, 0x64
mov word [ebp - 0x36], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x1a
xor eax, 0x25
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x1b
xor eax, 0x30
mov word [ebp - 0x32], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x1c
xor eax, 0x32
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x1d
xor eax, 0x64
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x1e
xor eax, 0x5f
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x1f
xor eax, 0x25
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x20
xor eax, 0x30
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x21
xor eax, 0x32
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x22
xor eax, 0x64
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x23
xor eax, 0x25
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x24
xor eax, 0x30
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x25
xor eax, 0x32
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x26
xor eax, 0x64
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x27
xor eax, 0x25
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x28
xor eax, 0x30
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x29
xor eax, 0x32
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x2a
xor eax, 0x64
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x2b
xor eax, 0x5f
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x2c
xor eax, 0x25
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x2d
xor eax, 0x64
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x2e
xor eax, 0x2e
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x2f
xor eax, 0x64
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x30
xor eax, 0x6d
mov word [ebp - 8], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x31
xor eax, 0x70
mov word [ebp - 6], ax
xor eax, eax
mov word [ebp - 4], ax
mov ax, word [ebp - 0x68]
xor eax, eax
mov cx, word [ebp + eax*2 - 0x68]
mov edx, dword [ebp - 0x6c]
add edx, eax
movzx ecx, cx
xor edx, ecx
mov word [ebp + eax*2 - 0x68], dx
inc eax
cmp eax, 0x32
jb 0x1349de0
xor eax, eax
mov word [ebp - 4], ax
movzx eax, word [ebp - 0x82]
push eax
movzx eax, word [ebp - 0x84]
push eax
movzx eax, word [ebp - 0x86]
push eax
movzx eax, word [ebp - 0x88]
push eax
movzx eax, word [ebp - 0x8a]
push eax
movzx eax, word [ebp - 0x8e]
push eax
movzx eax, word [ebp - 0x90]
push eax
push esi
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6a8]
push eax
mov eax, dword [edi + 0x770]
call eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x6a8]
push dword [ebp + 0xc]
push eax
push edi
call fcn.01349880
add esp, 0x3c
pop edi
pop esi
mov esp, ebp
pop ebp
ret