Function at 0x1001da90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f3e31
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1011f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x101581fc], 0
je 0x1001dcad
mov ecx, dword [0x10122698]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1001dcad
mov ecx, dword [0x10122698]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1001dcad
mov edi, dword [0x101227d4]
test edi, edi
je 0x1001dcad
mov eax, dword [0x101226d4]
test eax, eax
jne 0x1001db39
call fcn.10003520
mov edx, 0xe80c2f78
mov ecx, 0x101100f5
call fcn.10001980
mov edx, 0xc10bf213
mov ecx, 0x1011000d
mov esi, eax
call fcn.10001980
push esi
push eax
call fcn.1008c3b0
mov dword [0x101226d4], eax
cmp dword [eax + edi], 0
jle 0x1001dcad
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10122660]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10158468]
cmp eax, dword [ecx + 4]
jle 0x1001dbda
push 0x10158468
call fcn.100f18de
add esp, 4
cmp dword [0x10158468], 0xffffffff
jne 0x1001dbda
mov dword [ebp - 4], 0
xor edx, edx
mov ecx, dword [0x101226bc]
movaps xmm0, xmmword [0x10118f70]
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x4c45
mov eax, dword [ecx]
mov byte [ebp - 0x12], 0
mov esi, dword [eax + 0x44]
nop
mov al, byte [ebp - 0x24]
xor byte [ebp + edx - 0x23], al
inc edx
cmp edx, 0x11
jb 0x1001dba0
lea eax, [ebp - 0x23]
mov byte [ebp - 0x12], 0
push eax
call esi
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x30]
call eax
push 0x10158468
fstp dword [0x10158438]
mov dword [ebp - 4], 0xffffffff
call fcn.100f188d
add esp, 4
mov ecx, dword [0x101226bc]
xor edx, edx
movaps xmm0, xmmword [0x10119170]
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x575e
mov eax, dword [ecx]
mov byte [ebp - 0x12], 0
mov esi, dword [eax + 0x44]
nop dword [eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + edx - 0x23], al
inc edx
cmp edx, 0x11
jb 0x1001dc00
lea eax, [ebp - 0x23]
mov byte [ebp - 0x12], 0
push eax
call esi
mov ecx, dword [0x101226bc]
xor edx, edx
mov dword [eax + 0x60], 0
mov eax, dword [ecx]
mov esi, dword [eax + 0x44]
cmp byte [0x101581fc], dl
je 0x1001dc68
movaps xmm0, xmmword [0x101194c0]
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x28], 0x5b52
mov byte [ebp - 0x26], dl
mov al, byte [ebp - 0x38]
xor byte [ebp + edx - 0x37], al
inc edx
cmp edx, 0x11
jb 0x1001dc47
lea eax, [ebp - 0x37]
mov byte [ebp - 0x26], 0
push eax
call esi
movss xmm0, dword [0x1011f220]
jmp 0x1001dc9f
movaps xmm0, xmmword [0x101190f0]
movups xmmword [ebp - 0x4c], xmm0
mov word [ebp - 0x3c], 0x555c
mov byte [ebp - 0x3a], 0
nop dword [eax]
mov al, byte [ebp - 0x4c]
xor byte [ebp + edx - 0x4b], al
inc edx
cmp edx, 0x11
jb 0x1001dc80
lea eax, [ebp - 0x4b]
mov byte [ebp - 0x3a], 0
push eax
call esi
movss xmm0, dword [0x10158438]
lea ecx, [eax + 0x18]
mov eax, dword [ecx]
push ecx
movss dword [esp], xmm0
call dword [eax + 8]
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.100f1854
mov esp, ebp
pop ebp
ret