Function at 0x1365320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb3cdd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
push 0xff
call fcn.0141214d
push 0xff
mov edi, eax
push 0
push edi
call fcn.01405710
push 0xff
call fcn.0141214d
push 0xff
push 0
push eax
mov dword [ebp - 0x14], eax
call fcn.01405710
add esp, 0x20
mov dword [ebp - 0x60], 0xb6a7af8c
mov dword [ebp - 0x5c], 0xa3b7a5b4
xor ecx, ecx
mov dword [ebp - 0x58], 0x8b85abbb
mov dword [ebp - 0x54], 0x9d889f98
mov dword [ebp - 0x50], 0x8a9eb6b3
mov dword [ebp - 0x4c], 0x9a9c959e
mov dword [ebp - 0x48], 0x9f918bab
mov dword [ebp - 0x44], 0x91a19097
mov dword [ebp - 0x40], 0x5e6f658f
mov dword [ebp - 0x3c], 0x6b686b60
mov dword [ebp - 0x38], 0x6d6666
mov byte [ebp - 0x34], 1
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x60], al
inc ecx
cmp ecx, 0x2b
jb 0x13653c7
lea eax, [ebp - 0x10]
mov byte [ebp - 0x34], 0
push eax
push 1
push 0
lea eax, [ebp - 0x60]
push eax
push 0x80000002
push edx
call 0x157944e
test eax, eax
jne 0x1365539
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xff
push eax
push edi
push 0
push 0
push 0
push dword [ebp - 0x10]
call dword [0xdbd01c]
push dword [ebp - 0x10]
mov esi, eax
call dword [section..rdata]
test esi, esi
jne 0x1365539
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1365440
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x30]
call fcn.013282e0
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
cmp eax, 1
jb 0x136554c
lea ecx, [eax - 5]
dec eax
cmp eax, ecx
jb 0x1365484
mov eax, ecx
cmp dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x30]
jb 0x1365490
mov ecx, dword [ebp - 0x30]
push eax
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x4c]
call fcn.013282e0
mov ebx, dword [ebp - 0x38]
lea ecx, [ebp - 0x4c]
mov esi, dword [ebp - 0x4c]
cmp ebx, 0x10
jb 0x13654ad
mov ecx, esi
mov eax, dword [ebp - 0x20]
add eax, 0xffffffef
push eax
push ecx
push dword [ebp - 0x14]
call fcn.01405190
add esp, 0xc
cmp ebx, 0x10
jb 0x13654ec
lea ecx, [ebx + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x13654e2
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1365551
push ecx
push esi
call fcn.01403731
add esp, 8
push edi
call fcn.014119f7
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 0x10
jb 0x1365525
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x136551b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1365556
push ecx
push edx
call fcn.01403731
add esp, 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.01391e80
call fcn.014089d0
call fcn.014089d0
int3