Function at 0x1349880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b8
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4b0]
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 - 0x2a8], ax
lea eax, [ebp - 0x2a8]
push 0x104
push eax
push dword [edi + 0x70c]
mov eax, dword [edi + 0x680]
call eax
test eax, eax
je 0x13498fd
push 0x5c
lea eax, [ebp - 0x2a8]
push 0x104
push eax
call fcn.01349f00
mov esi, eax
add esp, 0xc
test esi, esi
je 0x13498fd
add esi, 2
jne 0x1349988
xor eax, eax
mov ecx, 0x2f72
mov word [ebp - 0x2a8], ax
mov eax, 0x2f73
mov dword [ebp - 0x80], 0x2f3c
mov word [ebp - 0x7c], cx
mov word [ebp - 0x7a], ax
mov eax, 0x2f7d
mov word [ebp - 0x78], cx
mov word [ebp - 0x76], ax
mov eax, 0x2f71
mov word [ebp - 0x74], ax
mov eax, 0x2f79
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 0x1349950
xor eax, eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.01349f90
add esp, 8
lea esi, [ebp - 0x2a8]
mov dword [ebp - 0x6c], 0x953
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 0x1349c20
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 - 0x4b0]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6b8]
push eax
mov eax, dword [edi + 0x770]
call eax
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
lea eax, [ebp - 0xa0]
push eax
push edi
call fcn.01349d50
add esp, 0x38
test eax, eax
js 0x1349d48
push ebx
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x6b8]
push eax
mov eax, dword [edi + 0x68c]
call eax
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1349ceb
pop ebx
pop edi
mov eax, 0xe0d00751
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x748]
call eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x9c], eax
test ecx, ecx
push 0
push 0
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x98], ecx
cmove eax, edx
mov dword [ebp - 0x94], 1
push eax
push dword [ebp + 0x10]
mov eax, dword [edi + 0x75c]
push ebx
call eax
push eax
push 0xffffffffffffffff
call dword [ebp + 8]
mov ecx, dword [edi + 0x698]
mov esi, eax
push ebx
call ecx
xor ecx, ecx
mov eax, 0xe0d00770
test esi, esi
pop ebx
cmovne eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret