Function at 0x100daad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019b94c
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x101f6e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edx, dword [0x10297f7c]
mov edi, edx
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 8]
sub ecx, dword [esi + 0x14]
inc eax
cmp eax, ecx
jbe 0x100dab17
xor al, al
jmp 0x100dab2b
mov eax, dword [esi + 8]
lea ecx, [esi + 0x10]
push eax
call fcn.1004f3b0
mov edx, dword [0x10297f7c]
mov al, byte [eax]
inc dword [esi + 8]
movzx eax, al
sub eax, 1
je 0x100dacd0
sub eax, 1
jne 0x100dad25
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 8]
sub ecx, dword [esi + 0x14]
inc eax
cmp eax, ecx
jbe 0x100dab55
xor cl, cl
jmp 0x100dab69
mov eax, dword [esi + 8]
lea ecx, [esi + 0x10]
push eax
call fcn.1004f3b0
mov edx, dword [0x10297f7c]
mov cl, byte [eax]
inc dword [esi + 8]
cmp dword [edi + 0x474], 0
je 0x100dad25
mov eax, dword [edx + 0x4dc]
test eax, eax
je 0x100dad25
cmp cl, 1
je 0x100dacc5
mov ecx, eax
call fcn.10066070
movaps xmm0, xmmword [0x101de3a0]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x12743122
mov dword [ebp - 0x18], 0x31383d35
mov word [ebp - 0x14], 0x30
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x2b]
xor al, byte [ebp - 0x2c]
mov byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x18
jb 0x100dabc0
sub esp, 0x1c
mov byte [ebp - 0x13], 0
mov edx, esp
lea ecx, [ebp - 0x2b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100dac00
sub ecx, esi
lea eax, [ebp - 0x2b]
push ecx
push eax
mov ecx, edx
call fcn.100484d0
lea eax, [ebp - 0x48]
push eax
call fcn.10052ec0
add esp, 0x20
mov dword [ebp - 4], 1
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0xf
mov dword [ebp - 0x50], ecx
jbe 0x100dac39
mov ecx, dword [ecx]
mov dword [ebp - 0x50], ecx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100dac40
sub ecx, edx
mov dword [ebp - 0x54], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1013d380
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x4c], edi
call fcn.1013f8f0
push dword [ebp - 0x54]
lea esi, [edi + 0x20]
push dword [ebp - 0x50]
push esi
call fcn.1013f190
mov eax, dword [ebp - 0x54]
add esp, 0x1c
mov dword [edi + 0x14], eax
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xa30000
push dword [ebp - 0x4c]
mov eax, dword [0x101d63dc]
call eax
push edi
call fcn.1013c8d0
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.100477d0
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x48], 0
call fcn.1013c8d0
add esp, 8
jmp 0x100dad25
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x100dad25
push 0
jmp 0x100dad1f
cmp dword [edi + 0x474], 0
je 0x100dad25
cmp dword [edx + 0x4dc], 0
jne 0x100dad10
push 0x2c
call fcn.1013ca30
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10064c00
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x10297f7c]
mov dword [edx + 0x4dc], eax
mov eax, dword [edx + 0x4dc]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x100dad25
push 1
call dword [0x101d64b8]
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.1013c8c0
mov esp, ebp
pop ebp
ret 4