Function at 0x1003cafa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac14e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x43]
push 0
mov word [ebp - 0x44], 0x3b
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 0x43], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002840
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
mov dword [ebp - 4], 0
cmp eax, 9
ja case.default.0x1003c9cf
jmp dword [eax*4 + 0x1003ccb0]
movaps xmm0, xmmword [0x100c8ba0]
xor ecx, ecx
push 6
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x1a160a
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x1003c9f0
sub esp, 0x18
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x3b]
mov ecx, esp
push eax
call fcn.10002940
lea eax, [ebp - 0x5c]
push eax
call fcn.1000f610
add esp, 0x20
lea ecx, [ebp - 0x28]
push eax
call fcn.10007a40
lea ecx, [ebp - 0x5c]
call fcn.100022f0
jmp 0x1003cc74
movaps xmm0, xmmword [0x100c8b70]
xor ecx, ecx
push 7
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x656975
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x1003ca47
jmp 0x1003c9fd
movaps xmm0, xmmword [0x100c8f20]
xor ecx, ecx
push 8
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0xc10
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x1003ca70
jmp 0x1003c9fd
movaps xmm0, xmmword [0x100c9140]
xor ecx, ecx
push 9
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x3d312d
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x1003ca98
jmp 0x1003c9fd
movaps xmm0, xmmword [0x100c90b0]
xor ecx, ecx
push 0xa
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x3e322e
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x1003cac0
jmp 0x1003c9fd
movaps xmm0, xmmword [0x100c8a50]
xor ecx, ecx
push 0xb
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x6f637f
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x1003cae8
jmp 0x1003c9fd
movaps xmm0, xmmword [0x100c8e70]
xor ecx, ecx
push 0xc
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0xe021e
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x1003cb10
jmp 0x1003c9fd
movaps xmm0, xmmword [0x100c92f0]
xor ecx, ecx
push 0xd
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x2e223e
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x1003cb38
jmp 0x1003c9fd
movaps xmm0, xmmword [0x100c92c0]
xor ecx, ecx
push 0xe
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x282438
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x1003cb60
jmp 0x1003c9fd
movaps xmm0, xmmword [0x100c9210]
xor ecx, ecx
push 0xf
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x353925
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x1003cb88
jmp 0x1003c9fd
movaps xmm0, xmmword [0x100c9180]
xor ecx, ecx
push esi
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x323e22
nop
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x1003cbb0
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1003cbec
mov eax, dword [edx]
jmp 0x1003cbee
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3b], 0
jne 0x1003cbfb
xor ecx, ecx
jmp 0x1003cc0a
lea ecx, [ebp - 0x3b]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003cc01
sub ecx, esi
push ecx
lea eax, [ebp - 0x3b]
mov ecx, edx
push eax
call fcn.10002840
lea eax, [ebp - 0x5c]
push eax
call fcn.1000f610
add esp, 0x20
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1003cc5b
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1003cc40
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10002720
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10005d60
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x1003cc74
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.10002720
mov ecx, dword [edi]
lea edx, [ebp - 0x28]
call fcn.1001bf80
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1003cc93
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10002720
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e175
mov esp, ebp
pop ebp
ret 8