Function at 0x12dfe06
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 0xe16a37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1500
push ebx
call fcn.013864e0
push esi
mov esi, ecx
mov dword [ebp - 0xf8], esi
push edi
mov dword [ebp - 0x18], 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 - 0x18], 1
mov eax, esp
lea ecx, [ebp - 0x98]
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.0130c390
add esp, 8
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0xe36680]
movups xmmword [ebp - 0xf0], xmm0
mov word [ebp - 0xe0], 0x100
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0xf0], al
inc ecx
cmp ecx, 0x10
jb 0x12dfe73
lea eax, [ebp - 0xf0]
mov byte [ebp - 0xdf], 0
push eax
mov ecx, esi
call fcn.01312600
mov byte [ebp - 4], 1
mov edi, eax
mov cl, byte [ebp - 0x98]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
mov byte [ebp - 0x98], dl
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x98]
mov dword [edi + 8], eax
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], esi
call fcn.0130bff0
push 0x104
lea eax, [ebp - 0x510]
push 0
push eax
call fcn.01387760
add esp, 0xc
lea eax, [ebp - 0x510]
push eax
push 0
push 0
push 0x1a
push 0
call dword [0xe1c2e0]
lea ecx, [ebp - 0x510]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12dff11
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x12e12ff
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push edx
cmovae eax, dword [ebx + 8]
push eax
push ecx
lea eax, [ebp - 0x510]
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1f4]
call fcn.01315f90
mov dword [ebp - 0x18], 0x101
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x54], 0xf9e7e4cf
mov dword [ebp - 0x50], 0xfff5f1f1
mov dword [ebp - 0x4c], 0xf0f4b2e8
mov word [ebp - 0x48], 0xf6
mov byte [ebp - 0x46], 1
nop dword [eax]
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x54], al
inc ecx
cmp ecx, 0xd
jb 0x12dff80
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x46], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12dff97
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebp - 0x1e4]
sub eax, edx
cmp eax, ecx
jb 0x12e1304
cmp dword [ebp - 0x1e0], 0x10
lea eax, [ebp - 0x1f4]
push ecx
cmovae eax, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x54]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x178]
call fcn.01315f90
mov esi, 0x181
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x178]
cmp dword [ebp - 0x164], 0x10
cmovae eax, dword [ebp - 0x178]
push eax
push 0x1000
lea eax, [ebp - 0x1510]
push eax
call fcn.0156475d
ret
call fcn.012aa840
call fcn.012aa840
call fcn.0138aa20
call fcn.01311b10
lea ecx, [ebp - 0x120]
call fcn.01310220
push eax
lea ecx, [ebp - 0x2b4]
call fcn.012aaf00
push eax
mov edx, 0xe30e10
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x2cc]
call fcn.013123b0
add esp, 4
push eax
mov edx, 0x131
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x280]
call fcn.012b1120
add esp, 4
lea eax, [ebp - 0x280]
push 0xe416e8
push eax
call fcn.0138716b
lea ecx, [ebp - 0x98]
call fcn.01310220
push eax
lea ecx, [ebp - 0x2e4]
call fcn.012aaf00
push eax
mov edx, 0xe30e10
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2fc]
call fcn.013123b0
add esp, 4
push eax
mov edx, 0x131
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x29c]
call fcn.012b1120
add esp, 4
lea eax, [ebp - 0x29c]
push 0xe416e8
push eax
call fcn.0138716b
int3