Function at 0x101ff2a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10328220
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1060b5e0]
mov ecx, dword [0x104c14e0]
mov eax, dword [eax + 0xaa8]
mov dword [ebp - 0x48], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10611928]
cmp eax, dword [ecx + 4]
jg 0x101ff352
mov eax, dword [0x10611714]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp + 8]
mov ecx, dword [eax + ecx]
mov eax, dword [0x1060b4bc]
cmp edx, eax
jne 0x101ff313
sub ecx, dword [0x1060b4d4]
jmp 0x101ff333
inc eax
cmp edx, eax
jne 0x101ff32a
cmp byte [0x1060ee88], 0
jne 0x101ff333
mov eax, dword [0x1060b4d4]
add eax, ecx
jmp 0x101ff335
mov eax, dword [0x1060b4c0]
test eax, eax
jne 0x101ff326
mov eax, ecx
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.102bb91c
mov esp, ebp
pop ebp
ret 4
push 0x10611928
call fcn.102bba07
add esp, 4
cmp dword [0x10611928], 0xffffffff
jne 0x101ff2f4
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
push 0xd
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1001a120
mov esi, 0x103f6288
jmp 0x101ff392
mov al, byte [esi]
lea ecx, [ebp - 0x40]
xor al, 0xa5
movzx eax, al
push eax
call fcn.1001a280
add esi, 2
cmp esi, 0x103f629e
jne 0x101ff392
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0x30]
cmp esi, 0x10
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
test edi, edi
je 0x101ff46d
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x101ff46d
sub ecx, dword [ebp - 0x44]
cmp ecx, 0xffffffff
je 0x101ff46d
jmp 0x101ff3f0
cmp esi, 0x10
lea eax, [ebp - 0x40]
mov edx, 1
cmovae eax, dword [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea esi, [eax + ecx]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
sub esi, eax
mov eax, edi
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, dword [ebp - 0x40]
sub edi, edx
add ecx, esi
mov eax, edi
sub eax, esi
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
test edi, edi
je 0x101ff46a
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x101ff46a
sub ecx, esi
mov esi, dword [ebp - 0x2c]
cmp ecx, 0xffffffff
jne 0x101ff3f0
jmp 0x101ff46a
mov esi, dword [ebp - 0x2c]
cmp esi, 0x10
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], 0xf
cmovae eax, dword [ebp - 0x40]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x44], eax
mov esi, 0x103f6844
mov byte [ebp - 0x28], 0
jmp 0x101ff4a0
mov al, byte [esi]
lea ecx, [ebp - 0x28]
xor al, 0xa5
movzx eax, al
push eax
call fcn.1001a280
add esi, 2
cmp esi, 0x103f685e
jne 0x101ff4a0
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
cmovae esi, dword [ebp - 0x28]
test edi, edi
je 0x101ff567
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x101ff567
sub ecx, esi
cmp ecx, 0xffffffff
je 0x101ff567
jmp 0x101ff4f0
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x28]
mov edx, 1
cmovae esi, dword [ebp - 0x28]
add esi, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
sub esi, eax
mov eax, edi
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
sub edi, edx
add ecx, esi
mov eax, edi
sub eax, esi
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
test edi, edi
je 0x101ff567
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x101ff567
sub ecx, esi
cmp ecx, 0xffffffff
jne 0x101ff4f0
jmp 0x101ff567
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
push dword [ebp - 0x44]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10171b70
mov ecx, dword [ebp - 0x14]
mov dword [0x10611714], eax
cmp ecx, 0x10
jb 0x101ff5b6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101ff5aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101ff5f0
jmp 0x101ff5aa
push ecx
push edx
call fcn.102bb95a
add esp, 8
jmp 0x101ff5b6
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x101ff602
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101ff5f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101ff5f6
jmp 0x101ff5f0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102bb95a
add esp, 8
jmp 0x101ff602
push 0x10611928
call fcn.102bb9b6
add esp, 4
jmp 0x101ff2f4