Function at 0x100971d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009dbb1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100b1010]
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, ecx
call fcn.10096be0
mov edx, dword [0x100b7ef4]
mov ecx, dword [eax]
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x10]
call eax
mov edi, eax
test edi, edi
je 0x1009739f
mov ecx, dword [edi]
mov edx, dword [ecx + 0x1d8]
mov ecx, edi
call edx
test al, al
je 0x1009739f
mov ecx, edi
call fcn.1007dc40
mov ecx, esi
movd xmm0, dword [eax]
mov eax, dword [0x100b7ed8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x1c]
movss dword [ebp - 0x3c], xmm0
call fcn.10096f90
test al, al
je 0x100972a7
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x4a4]
call eax
cmp eax, 2
jne 0x100973bc
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x4a4]
call eax
cmp eax, 2
jne 0x10097289
movss xmm0, dword [esi + 0x780]
jmp 0x10097296
cmp eax, 0xf
jne 0x100972a7
movss xmm0, dword [esi + 0x784]
ucomiss xmm0, dword [0x100a62c4]
lahf
test ah, 0x44
jp 0x1009743d
mov ecx, esi
call fcn.10096ac0
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [eax]
jb 0x1009739f
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100b76f0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10186eec]
cmp eax, dword [ecx + 4]
jle 0x10097384
push 0x10186eec
call fcn.1009832a
add esp, 4
cmp dword [0x10186eec], 0xffffffff
jne 0x1009737f
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x100a6690]
movups xmmword [ebp - 0x38], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xe
jb 0x10097310
movaps xmm0, xmmword [0x100a7370]
xor ecx, ecx
mov byte [ebp - 0x29], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x76746774
mov dword [ebp - 0x14], 0x677061
nop dword [eax]
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x16
jb 0x10097340
mov ecx, dword [0x100bdcec]
lea eax, [ebp - 0x37]
push 0
push eax
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
call fcn.1007d4a0
push 0x10186eec
mov dword [0x10186f10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100982d9
add esp, 4
movss xmm0, dword [ebp - 0x3c]
mov eax, dword [0x10186f10]
comiss xmm0, dword [eax + edi]
jb 0x1009739f
mov ecx, esi
call fcn.10096d10
cmp dword [eax], 0
jg 0x1009743d
xor al, al
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.1009823a
mov esp, ebp
pop ebp
ret
cmp eax, 0xf
jne 0x100972a7
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x4a4]
call eax
cmp eax, 2
jne 0x100973e0
movss xmm0, dword [esi + 0x780]
jmp 0x100973f1
cmp eax, 0xf
jne 0x100972a7
movss xmm0, dword [esi + 0x784]
ucomiss xmm0, dword [0x100a62c4]
lahf
test ah, 0x44
jnp 0x100972a7
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x4a4]
call eax
cmp eax, 2
jne 0x1009741d
movss xmm0, dword [esi + 0x780]
jmp 0x1009742f
cmp eax, 0xf
jne 0x1009742c
movss xmm0, dword [esi + 0x784]
jmp 0x1009742f
xorps xmm0, xmm0
movss xmm1, dword [ebp - 0x3c]
comiss xmm1, xmm0
jbe 0x100972a7
mov al, 1
jmp 0x100973a1