Function at 0x100daa80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101802bd
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101dadb0]
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, edx
mov dword [ebp - 0x60], ecx
test esi, esi
je 0x100dacd4
mov ecx, dword [0xf3e688]
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul edi, edx, 0x3e8
push edi
call dword [0x101ba7a4]
mov ebx, eax
test ebx, ebx
je 0x100dacd4
movzx ecx, byte [ebx + 4]
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x100dab24
cmp ecx, 0x2c
ja 0x100dab24
mov ecx, dword [ecx*4 + 0xf3e690]
mov edx, esi
sub edx, edi
cmp esi, 0x3b9aca00
lea eax, [edx + 0x3e8]
cmovb eax, edx
push eax
call dword [0x101ba7a8]
mov esi, eax
jmp 0x100dab26
xor esi, esi
mov edi, dword [ebx + 0x4c]
test esi, esi
je 0x100dab38
cmp dword [esi + 0x48], 0xf4240
cmova edi, dword [esi + 0x48]
mov eax, 0xcccccccd
movaps xmm0, xmmword [0x101c2400]
mul edi
movups xmmword [ebp - 0x54], xmm0
movaps xmm0, xmmword [0x101c2be0]
movups xmmword [ebp - 0x44], xmm0
mov ecx, edi
mov dword [ebp - 0x34], 0x7a766a20
mov eax, edx
mov byte [ebp - 0x30], 0
shr eax, 3
lea edx, [eax + eax*4]
add edx, edx
sub ecx, edx
xor edx, edx
push ecx
mov ecx, 0x64
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul edi
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
push edx
mul edi
shr edx, 0x16
xor ecx, ecx
push edx
nop dword [eax]
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x23
jb 0x100daba0
sub esp, 0x1c
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x53]
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp - 0x2c]
push eax
call fcn.10049e30
add esp, 0x30
mov dword [ebp - 4], 0
mov ecx, 0x78
mov dword [ebp - 0x58], 0
call fcn.100da130
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x100dabf6
mov ecx, dword [ebp - 0x5c]
call dword [0x101ba6e4]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x100dac03
xor esi, esi
jmp 0x100dac8c
mov ecx, dword [ebp - 0x58]
call dword [0x101ba6f4]
push dword [ebp - 0x58]
call fcn.100da7c0
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x60]
add esp, 4
mov dword [eax], ecx
mov eax, dword [ebp - 0x58]
lea ecx, [eax + 4]
cmp ecx, edx
je 0x100dac43
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10047890
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov word [eax + 0x22], cx
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x28], ecx
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x4c], ecx
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x68], ebx
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x6c], esi
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x70], 1
test esi, esi
je 0x100dac7b
movsx eax, word [esi + 0x56]
jmp 0x100dac7d
xor eax, eax
movsx ecx, word [ebx + 0x66]
add ecx, eax
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x74], ecx
mov esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x2c]
call fcn.10043e40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100daca9
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048530
add esp, 8
mov ecx, dword [ebp - 0x2c]
push 8
push ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048530
add esp, 8
mov eax, esi
jmp 0x100dacd6
xor eax, eax
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.1011f880
mov esp, ebp
pop ebp
ret