Function at 0x12db2d0
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 0xe162c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x60
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebx + 8]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x20], 1
cmovae ecx, dword [ebx + 8]
call fcn.012bccf0
test eax, eax
jne 0x12db5ad
movaps xmm0, xmmword [0xe369a0]
xor ecx, ecx
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x40], 0x100ffe4
movaps xmm0, xmmword [0xe368c0]
movups xmmword [ebp - 0x60], xmm0
movaps xmm0, xmmword [0xe352a0]
movups xmmword [ebp - 0x50], xmm0
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x70], al
inc ecx
cmp ecx, 0x32
jb 0x12db374
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 0
push eax
push 0
push 1
push 0xffffffffffffffff
lea edx, [ebp - 0x70]
mov byte [ebp - 0x3d], 0
call fcn.0136ae90
mov esi, dword [ebp - 0x18]
add esp, 0x14
test eax, eax
jne 0x12db52a
mov ecx, esi
call fcn.013477c0
cmp eax, 0x64
jne 0x12db52a
nop word [eax + eax]
test esi, esi
je 0x12db40f
cmp dword [esi + 0x2c], 0
je 0x12db3ea
xor eax, eax
cmp ax, word [esi + 0x30]
jae 0x12db3ea
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x12db3e5
push eax
call dword [0xe43d30]
add esp, 4
mov ecx, dword [esi + 0x2c]
jmp 0x12db414
mov eax, dword [esi]
test eax, eax
je 0x12db40f
mov eax, dword [eax + 0x44]
test eax, eax
je 0x12db401
push eax
call dword [0xe43d30]
add esp, 4
push 0
push 0x19
push dword [esi]
call fcn.01336170
add esp, 0xc
mov ecx, 0xe2e4d8
mov dl, 1
call fcn.01344690
mov dword [ebp - 0x18], eax
test esi, esi
je 0x12db47b
mov edi, dword [esi]
mov ecx, dword [esi + 0x64]
test edi, edi
je 0x12db458
cmp byte [edi + 0x1e], 0
jne 0x12db43b
mov edx, edi
cmp ecx, 0xc0a
jne 0x12db453
push 0
push 7
push edi
call fcn.01336170
mov byte [edi + 0x1e], 0
add esp, 0xc
mov edx, dword [esi]
mov ecx, 7
mov eax, dword [edi + 0x18]
jmp 0x12db45f
mov eax, 0xff
mov edx, edi
and eax, ecx
mov dword [esi + 0x64], eax
mov eax, dword [edx + 0x44]
test eax, eax
je 0x12db475
push eax
call dword [0xe43d38]
add esp, 4
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov ecx, eax
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x3c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12db495
sub ecx, edx
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
call fcn.012ab030
mov byte [ebp - 4], 2
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x12db4d6
movups xmm0, xmmword [ebp - 0x3c]
mov ecx, 0xf
mov byte [ebp - 0x3c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
jmp 0x12db4e5
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, edi
call fcn.0131b140
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x12db51a
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12db510
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12db5f2
push ecx
push edx
call fcn.01385783
add esp, 8
mov ecx, esi
call fcn.013477c0
cmp eax, 0x64
je 0x12db3c0
test esi, esi
je 0x12db5a5
mov edi, dword [esi]
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x12db544
push eax
call dword [0xe43d30]
add esp, 4
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x18], 0
cmp eax, 0xbdf20da3
je 0x12db55c
cmp eax, 0x519c2973
jne 0x12db566
mov ecx, esi
call fcn.013465c0
mov dword [ebp - 0x18], eax
mov ecx, esi
call fcn.013467d0
test edi, edi
je 0x12db591
cmp byte [edi + 0x1e], 0
jne 0x12db580
cmp dword [ebp - 0x18], 0xc0a
jne 0x12db591
push 0
push 7
push edi
call fcn.01336170
add esp, 0xc
mov byte [edi + 0x1e], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x12db5a2
push eax
call dword [0xe43d38]
add esp, 4
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
call fcn.012bd120
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x12db5dd
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12db5d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12db5f2
push ecx
push edx
call fcn.01385783
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0138aa20
int3