Function at 0x1368670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb837f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x27], 0x838494ac
mov dword [ebp - 0x23], 0x9e80ca8e
mov word [ebp - 0x1f], 0x82
mov byte [ebp - 0x1d], 1
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 9
jb 0x13686d6
xor eax, eax
mov byte [ebp - 0x1d], 0
lea ecx, [ebp - 0x27]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1368701
sub ecx, edx
lea eax, [ebp - 0x27]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.013282e0
lea ecx, [ebp - 0x58]
call fcn.013685c0
mov ecx, dword [ebp - 0x44]
mov edi, eax
cmp ecx, 0x10
jb 0x1368755
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x136874b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1368884
push ecx
push edx
call fcn.01403731
add esp, 8
test edi, edi
je 0x1368871
cmp edi, 0xea60
jae 0x1368871
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x40], eax
xor ebx, ebx
mov edx, edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], al
mov dword [ebp - 0x14], 3
call fcn.01367f90
xor ecx, ecx
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x28]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x24]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1368810
mov esi, dword [ebp - 0x24]
lea eax, [edi + ebx]
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x13687ea
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x13687da
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0138e570
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
inc dword [ebp - 0x10]
mov ecx, esi
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
add ebx, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x10], eax
jb 0x13687c5
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.01390a80
test ebx, ebx
je 0x1368841
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x40]
push ecx
cmp eax, dword [esi + 8]
je 0x1368839
mov ecx, eax
call fcn.0138e990
add dword [esi + 4], 0x18
jmp 0x1368841
push eax
mov ecx, esi
call fcn.0139b620
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x1368871
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1368867
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1368884
push ecx
push edx
call fcn.01403731
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.014089d0
int3