Function at 0x10012090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077ecd
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1009f084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], eax
mov dword [esi + 0x10], 0
jb 0x100120f6
mov eax, dword [esi]
jmp 0x100120f8
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 1
test edx, edx
je 0x100122d0
mov ebx, dword [edx + 0x4c]
mov eax, 0x12e0be83
mul edi
mov eax, edi
mov byte [ebp - 0x2c], 0
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
dec eax
cmp eax, 2
mov eax, 0xcccccccd
jbe 0x100121e2
mul ebx
movaps xmm0, xmmword [0x100945e0]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x10093ee0]
mov eax, ebx
mov dword [ebp - 0x30], 0x313d216b
shr edx, 3
movups xmmword [ebp - 0x40], xmm0
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
mov ecx, 0x64
push eax
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul ebx
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
push edx
mul ebx
shr edx, 0x16
xor ecx, ecx
push edx
nop dword [eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x23
jb 0x100121b0
sub esp, 0x18
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.100029b0
lea eax, [ebp - 0x6c]
push eax
call fcn.10005a00
add esp, 0x2c
mov ebx, eax
jmp 0x1001226d
mul ebx
movaps xmm0, xmmword [str.sozoRCKoEIHy]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x10094210]
mov eax, ebx
mov dword [ebp - 0x30], 0x525e4208
shr edx, 3
movups xmmword [ebp - 0x40], xmm0
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
mov ecx, 0x64
push eax
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul ebx
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
push edx
mul ebx
shr edx, 0x16
xor ecx, ecx
push edx
nop dword [eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x23
jb 0x10012240
sub esp, 0x18
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.100029b0
lea eax, [ebp - 0x6c]
push eax
call fcn.10005a00
add esp, 0x2c
mov ebx, eax
lea eax, [ebp - 0x28]
cmp eax, ebx
je 0x100122a4
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10012289
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10002790
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10005910
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x58]
cmp eax, 0x10
jb 0x100122bd
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.10002790
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x100122d0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10002470
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x100123ec
mov ebx, dword [eax + 0x48]
test ebx, ebx
je 0x100123ec
mov eax, 0x12e0be83
mov byte [ebp - 0x2c], 0
mul edi
mov eax, 0xcccccccd
sub edi, edx
shr edi, 1
add edi, edx
mul ebx
mov eax, ebx
shr edi, 0x1d
shr edx, 3
dec edi
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
mov ecx, 0x64
push eax
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul ebx
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
xor ecx, ecx
push edx
mul ebx
shr edx, 0x16
push edx
cmp edi, 2
jbe 0x1001236f
movaps xmm0, xmmword [0x100944c0]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x30], 0x232f3379
movaps xmm0, xmmword [0x10094080]
movups xmmword [ebp - 0x40], xmm0
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x23
jb 0x10012360
jmp 0x1001239d
movaps xmm0, xmmword [0x10094520]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x30], 0x28243872
movaps xmm0, xmmword [0x10094100]
movups xmmword [ebp - 0x40], xmm0
nop dword [eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x23
jb 0x10012390
sub esp, 0x18
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.100029b0
lea eax, [ebp - 0x6c]
push eax
call fcn.10005a00
add esp, 0x2c
lea ecx, [ebp - 0x28]
push eax
call fcn.100074c0
mov eax, dword [ebp - 0x58]
cmp eax, 0x10
jb 0x100123d9
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.10002790
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x100123ec
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10002470
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10012401
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10002790
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003bc25
mov esp, ebp
pop ebp
ret