Function at 0x12d8b9d
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 0xe15f2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x78
push esi
push edi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
push 0x98
mov byte [ebp - 4], 1
call fcn.01385502
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.01327c10
mov byte [ebp - 4], 1
mov edi, eax
mov eax, dword [ebx + 0x18]
mov ecx, 0x7ffffffe
sub ecx, eax
mov dword [ebp - 0x20], eax
cmp ecx, 0xf
jb 0x12d8ff5
cmp dword [ebx + 0x1c], 8
lea ecx, [ebx + 8]
mov esi, 7
mov dword [ebp - 0x40], 0
cmovae ecx, dword [ebx + 8]
xorps xmm0, xmm0
add eax, 0xf
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
movups xmmword [ebp - 0x50], xmm0
cmp eax, esi
jbe 0x12d8b3f
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x12d8b1e
mov esi, 0x7ffffffe
jmp 0x12d8b28
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x50]
call fcn.01315d10
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x50], ecx
movups xmm0, xmmword [0xe30c40]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x20]
movups xmmword [ecx], xmm0
movq xmm0, qword [0xe30c50]
movq qword [ecx + 0x10], xmm0
mov eax, dword [0xe30c58]
mov dword [ecx + 0x18], eax
mov ax, word [0xe30c5c]
mov word [ecx + 0x1c], ax
lea eax, [esi + esi]
push eax
push dword [ebp - 0x28]
add ecx, 0x1e
push ecx
call fcn.013871e0
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov word [eax + esi*2 + 0x1e], cx
sub esp, 0xc
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x28], esp
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], esi
push 2
push 0xe30c38
call fcn.0130dcb0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
sub esp, 0x18
xorps xmm0, xmm0
mov eax, esp
mov dword [ebp - 0x20], esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0xf
mov byte [eax], cl
mov byte [ebp - 4], 5
movaps xmm0, xmmword [0xe35100]
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0xd38a9dd5
mov dword [ebp - 0x74], 0xd9dbcdd4
mov dword [ebp - 0x70], 0xcbc0ec84
mov word [ebp - 0x6c], 0x100
nop word [eax + eax]
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x88], al
inc ecx
cmp ecx, 0x1c
jb 0x12d8c30
sub esp, 0x18
mov byte [ebp - 0x6b], 0
mov edx, esp
lea ecx, [ebp - 0x88]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12d8c66
sub ecx, esi
lea eax, [ebp - 0x88]
push ecx
push eax
mov ecx, edx
call fcn.012ab030
push 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 3
push eax
push 0xb
push ecx
mov ecx, edi
call fcn.013285d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x12d8cd0
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x12d8cc6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12d8ffa
push ecx
push edx
call fcn.01385783
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 6
mov eax, dword [edi + 8]
test eax, eax
je 0x12d8cf6
push eax
call dword [0xe45fcc]
mov eax, dword [edi + 4]
test eax, eax
je 0x12d8d04
push eax
call dword [0xe45fcc]
mov eax, dword [edi]
test eax, eax
je 0x12d8d11
push eax
call dword [0xe45fcc]
mov ecx, dword [edi + 0x8c]
cmp ecx, 0x10
jb 0x12d8d48
mov eax, dword [edi + 0x78]
inc ecx
cmp ecx, 0x1000
jb 0x12d8d3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12d9009
mov eax, edx
push ecx
push eax
call fcn.01385783
add esp, 8
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0xf
mov byte [edi + 0x78], 0
mov ecx, dword [edi + 0x74]
cmp ecx, 0x10
jb 0x12d8d94
mov eax, dword [edi + 0x60]
inc ecx
cmp ecx, 0x1000
jb 0x12d8d8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12d9009
mov eax, edx
push ecx
push eax
call fcn.01385783
add esp, 8
lea ecx, [edi + 0x48]
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0xf
mov byte [edi + 0x60], 0
call fcn.01310970
lea ecx, [edi + 0x30]
call fcn.01310970
lea ecx, [edi + 0xc]
call fcn.01310970
mov byte [ebp - 4], 1
cmp dword [ebp - 0x58], 0
je 0x12d8f91
sub esp, 0x28
lea edx, [ebp - 0x68]
mov eax, esp
lea ecx, [ebp - 0x48]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.01312990
add esp, 0x30
mov byte [ebp - 4], 7
cmp byte [ebp - 0x48], 1
jne 0x12d8f89
mov dword [ebp - 0x2c], 0xe4f0e7e6
xor ecx, ecx
mov dword [ebp - 0x28], 0xfff4f9f9
mov word [ebp - 0x24], 0x100
nop
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 8
jb 0x12d8e10
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x23], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.01312600
cmp byte [eax], 3
jne 0x12d8f89
mov dword [ebp - 0x29], 0xfff4f9f6
xor ecx, ecx
mov word [ebp - 0x25], 0xfb
mov byte [ebp - 0x23], 1
nop dword [eax]
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x29], al
inc ecx
cmp ecx, 5
jb 0x12d8e50
lea eax, [ebp - 0x29]
mov byte [ebp - 0x23], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.01312600
cmp byte [eax], 3
jne 0x12d8f89
mov dword [ebp - 0x2c], 0xe4f0e7e6
xor ecx, ecx
mov dword [ebp - 0x28], 0xfff4f9f9
mov word [ebp - 0x24], 0x100
nop dword [eax]
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 8
jb 0x12d8e90
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x23], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.01312600
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.01312740
mov ecx, dword [ebp - 0x34]
push eax
call fcn.0130e3d0
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x12d8efb
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12d8ef1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12d8fff
push ecx
push edx
call fcn.01385783
add esp, 8
mov dword [ebp - 0x34], 0xfff4f9f6
xor ecx, ecx
mov word [ebp - 0x30], 0xfb
mov byte [ebp - 0x2e], 1
nop
lea eax, [ecx - 0x6d]
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 5
jb 0x12d8f10
lea eax, [ebp - 0x34]
mov byte [ebp - 0x2e], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.01312600
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.01312740
mov ecx, dword [ebp - 0x38]
push eax
call fcn.0130e3d0
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x12d8f7b
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12d8f71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12d9004
push ecx
push edx
call fcn.01385783
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.0130bff0
mov byte [ebp - 0x11], 1
jmp 0x12d8f95
lea ecx, [ebp - 0x48]
call fcn.0130bff0
mov byte [ebp - 0x11], 0
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x12d8fc5
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12d8fbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12d9009
push ecx
push edx
call fcn.01385783
add esp, 8
lea ecx, [ebx + 8]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.01310970
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.012aa840
call fcn.0138aa20
call fcn.0138aa20
call fcn.0138aa20
call fcn.0138aa20
int3