Function at 0x100ff610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1024b8c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1024b4a0], 0
push ebx
push esi
push edi
mov edi, dword [0x1024cfd4]
je 0x100ff694
cmp byte [0x1024b4a1], 0
jne 0x100ff6d8
mov byte [0x1024b4a1], 1
xor esi, esi
nop dword [eax + eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1024b4bc]
xor ebx, dword [0x1024b4b8]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0x28], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x1024b4a2], al
inc esi
cmp esi, 0x15
jb 0x100ff650
jmp 0x100ff6d8
xor esi, esi
xor edx, edx
mov ebx, esi
xor edx, dword [0x1024b4bc]
xor ebx, dword [0x1024b4b8]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 0x28], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + 0x1024b4a2], al
inc esi
cmp esi, 0x15
jb 0x100ff696
lea eax, [ebp - 0x1d]
push eax
push 0x1024b4b6
push 0x1024b4a2
lea ecx, [ebp - 0x1c]
call fcn.1004f960
cmp dword [ebp - 8], 0xf
lea ecx, [ebp - 0x1c]
mov eax, dword [0x1024d2b0]
cmova ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [eax]
call edi
mov ecx, dword [ebp - 8]
mov esi, eax
cmp ecx, 0xf
jbe 0x100ff73b
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ff731
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ff731
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10102d1a
add esp, 8
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
test esi, esi
je 0x100ff907
mov eax, dword [0x1025ded0]
test al, 1
jne 0x100ff772
or eax, 1
mov dword [0x1025ded0], eax
mov eax, dword [0x1024d368]
mov dword [0x1025decc], eax
jmp 0x100ff777
mov eax, dword [0x1025decc]
cmp byte [0x1018c013], 0
jne 0x100ff8eb
cmp byte [0x10254b7e], 0
je 0x100ff8eb
mov eax, dword [0x1024c6b4]
movss xmm0, dword [0x1025ded8]
mov byte [0x1025ded4], 1
comiss xmm0, dword [eax]
ja 0x100ff907
movss xmm0, dword [eax]
mov eax, dword [esi + 0x44]
addss xmm0, dword [0x10167668]
mov ebx, dword [eax + 4]
mov ecx, ebx
movss dword [0x1025ded8], xmm0
mov eax, dword [ebx]
mov eax, dword [eax + 0xc0]
call eax
xor esi, esi
mov dword [ebp - 0x28], eax
test eax, eax
jle 0x100ff907
mov eax, dword [ebx]
mov ecx, ebx
push esi
mov eax, dword [eax + 0xc4]
call eax
mov edi, eax
test edi, edi
je 0x100ff8d0
lea eax, [ebp - 0x1c]
mov ecx, 0x1024b4c0
push eax
call fcn.10050930
cmp dword [ebp - 8], 0xf
lea ecx, [ebp - 0x1c]
mov eax, dword [edi]
cmova ecx, dword [ebp - 0x1c]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x22c]
call eax
mov ecx, dword [ebp - 8]
mov byte [ebp - 0x1d], al
cmp ecx, 0xf
jbe 0x100ff858
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ff84b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ff72b
push ecx
push edx
call fcn.10102d1a
mov al, byte [ebp - 0x1d]
add esp, 8
test al, al
je 0x100ff8d0
mov eax, dword [0x1024c6b4]
mov ecx, 0x1024b4e0
movss xmm0, dword [eax + 0x10]
lea eax, [ebp - 0x1c]
push eax
movss dword [ebp - 0x24], xmm0
call fcn.10050390
cmp dword [ebp - 8], 0xf
lea ecx, [ebp - 0x1c]
mov eax, dword [edi]
cmova ecx, dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x24]
push ecx
mov eax, dword [eax + 0x480]
movss dword [esp], xmm0
push ecx
mov ecx, edi
call eax
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x100ff8d0
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ff8c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ff72b
push ecx
push edx
call fcn.10102d1a
add esp, 8
inc esi
cmp esi, dword [ebp - 0x28]
jl 0x100ff7e1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10103042
mov esp, ebp
pop ebp
ret
cmp byte [0x1025ded4], 0
je 0x100ff900
lea ecx, [esi - 0x14]
call eax
mov byte [0x1025ded4], 0
mov byte [0x1018c013], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10103042
mov esp, ebp
pop ebp
ret