Function at 0x100fe550
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101482aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x34
push esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
cmp dword [ebx + 0x18], 0
je 0x100fe71c
cmp dword [ebx + 0x1c], 0xf
lea ecx, [ebx + 0x20]
lea eax, [ebx + 8]
cmova eax, dword [ebx + 8]
xor edx, edx
push ecx
push eax
xor ecx, ecx
call fcn.10005180
mov ecx, dword [ebp - 0x30]
mov esi, eax
add esp, 8
cmp esi, ecx
ja 0x100fe5e7
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], esi
cmova ecx, dword [ebp - 0x40]
mov byte [ecx + esi], 0
jmp 0x100fe5f4
sub eax, ecx
lea ecx, [ebp - 0x40]
push 0
push eax
call fcn.10016890
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
lea edx, [ebx + 0x20]
cmova eax, dword [ebx + 8]
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0xf
push edx
cmova ecx, dword [ebp - 0x40]
lea edx, [esi + 1]
push eax
call fcn.10005180
movss xmm1, dword [0x1017f2b8]
add esp, 8
movss xmm0, dword [0x101e9c38]
xor eax, eax
mulss xmm0, xmm1
mov dword [ebp - 0x26], 0xf3eba4df
mov dword [ebp - 0x22], 0xaae0e1ea
mov dword [ebp - 0x1e], 0xd9a4e1e9
cvttss2si ecx, xmm0
mov word [ebp - 0x1a], 0x84a4
movss xmm0, dword [0x101e9c3c]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [0x101e9c40]
mulss xmm0, xmm1
nop dword [eax + eax]
xor byte [ebp + eax - 0x26], 0x84
inc eax
cmp eax, 0xe
jb 0x100fe670
cvttss2si eax, xmm0
mov byte [ebp - 0x13], dl
lea edx, [ebp - 0x26]
push edx
mov byte [ebp - 0x14], cl
lea edx, [ebp - 0x14]
mov byte [ebp - 0x11], 0xff
push edx
mov byte [ebp - 0x12], al
mov eax, dword [0x101e674c]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x64]
call eax
lea ecx, [ebp - 0x12]
mov word [ebp - 0x12], 0xa
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100fe6b0
sub ecx, edx
lea eax, [ebp - 0x12]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10003110
mov edx, eax
cmp dword [edx + 0x14], 0xf
jbe 0x100fe6d0
mov edx, dword [edx]
mov eax, dword [0x101e674c]
push edx
mov dword [ebp - 0x18], 0xfff0f0f0
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x64]
call eax
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
cmp ecx, 0xf
jbe 0x100fe71c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100fe712
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fe754
push ecx
push edx
call fcn.1006cb2f
add esp, 8
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x100fe764
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100fe75a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fe75a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006cb2f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret