Function at 0x1366490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb8138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
mov ebx, ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x20], 1
push esi
push edi
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 4], 0
mov edi, 1
mov dword [ebp - 0x20], edi
call fcn.01365320
mov edx, eax
test edx, edx
je 0x1366925
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
lea esi, [ecx + 1]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1366508
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.013282e0
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x1a], 0x8d95b383
mov dword [ebp - 0x16], 0x83828591
mov word [ebp - 0x12], 0x100
lea eax, [ecx - 0x21]
xor byte [ebp + ecx - 0x1a], al
inc ecx
cmp ecx, 8
jb 0x1366538
lea eax, [ebp - 0x1a]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.0138e6a0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.01365560
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
je 0x13668ed
mov ecx, dword [ebp - 0x48]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x136693d
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
jb 0x13665a4
mov eax, dword [ebp - 0x58]
push 1
push 0xdd04ac
push ecx
push eax
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0xd8]
call fcn.01396210
or edi, 8
mov dword [ebp - 0x20], edi
push esi
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call fcn.0138e710
or edi, 0x10
mov dword [ebp - 0x20], edi
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xa8], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x98], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x94], ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xc4]
cmp ecx, 0x10
jb 0x1366665
mov edx, dword [ebp - 0xd8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x136665b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1366938
push ecx
push edx
call fcn.01403731
add esp, 8
mov dword [ebp - 0xc8], 0
xor eax, eax
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
mov dword [ebp - 0x38], 0x8182a183
mov dword [ebp - 0x34], 0x928b918c
mov dword [ebp - 0x30], 0x89a8b494
mov dword [ebp - 0x2c], 0x80988388
mov dword [ebp - 0x28], 0x9783de9b
mov dword [ebp - 0x24], 0x100c490
lea esp, [esp]
lea ecx, [eax - 0x21]
xor byte [ebp + eax - 0x38], cl
inc eax
cmp eax, 0x16
jb 0x13666b0
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x21], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x13666c7
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebp - 0x5c]
sub eax, edx
cmp eax, ecx
jb 0x136693d
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0xa8]
jb 0x13666f1
mov eax, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x90]
call fcn.01396210
or edi, 4
mov dword [ebp - 0x20], edi
xor eax, eax
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x78], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
cmp dword [ebp - 0x7c], 0x10
jb 0x136673e
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0xd]
push eax
lea edx, [ebp - 0x78]
call fcn.013657b0
sub esp, 0x14
lea eax, [ebp - 0x78]
mov ecx, esp
push eax
call fcn.0138e990
mov dl, byte [ebp - 0xd]
lea ecx, [ebp - 0xc0]
call fcn.01365d10
add esp, 0x18
push esi
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 8
call fcn.0138e990
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xd8]
call fcn.0138e990
or edi, 2
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xf0]
mov ecx, dword [ebx + 4]
push eax
cmp ecx, dword [ebx + 8]
je 0x13667b3
call fcn.013a2310
add dword [ebx + 4], 0x30
jmp 0x13667bb
push ecx
mov ecx, ebx
call fcn.01399dc0
lea ecx, [ebp - 0xf0]
call fcn.01343770
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xac]
cmp ecx, 0x10
jb 0x1366804
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x13667fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1366938
push ecx
push edx
call fcn.01403731
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
cmp ecx, 0x10
jb 0x1366857
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x136684d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1366938
push ecx
push edx
call fcn.01403731
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x1366892
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1366888
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1366938
push ecx
push edx
call fcn.01403731
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp ecx, 0x10
jb 0x13668e1
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x13668d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1366938
push ecx
push edx
call fcn.01403731
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x1366585
lea ecx, [ebp - 0x1c]
call fcn.01390a80
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x1366925
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x136691b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1366938
push ecx
push edx
call fcn.01403731
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.014089d0
call fcn.01327a70
int3