Function at 0x101fed10
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 0x103281f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1060b5e0]
mov ecx, dword [eax + 0xaa8]
test ecx, ecx
je 0x101fedf0
cmp byte [ecx + 0x25f], 0
jne 0x101fedf0
cmp byte [ebx + 0xc], 0
mov esi, dword [ebx + 8]
je 0x101fed87
test esi, esi
je 0x101fed87
cmp esi, dword [0x1060b4c4]
jle 0x101fef39
call fcn.100cc130
mov edi, eax
mov dword [ebp - 0x54], edi
test edi, edi
je 0x101fedf0
push 0
mov ecx, edi
call fcn.100c6fe0
test eax, eax
je 0x101fedf0
mov ecx, edi
call fcn.100ce1f0
cmp eax, 0x28
je 0x101fee12
mov ecx, edi
call fcn.100ce1f0
cmp eax, 9
je 0x101fee12
mov ecx, edi
call fcn.100ce1f0
cmp eax, 0x40
je 0x101fee12
test esi, esi
je 0x101fedf0
cmp esi, dword [0x1060b4c4]
jg 0x101fedf0
mov eax, dword [0x1060b290]
movss xmm0, dword [0x1041ed50]
movss xmm1, dword [eax]
subss xmm1, dword [0x1060b4b8]
comiss xmm0, xmm1
jb 0x101fee1e
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.102bb91c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
test esi, esi
je 0x101fedf0
cmp esi, dword [0x1060b4c4]
jg 0x101fedf0
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x101fee46
mov ecx, dword [0x1060b30c]
mov eax, dword [eax + 0x14]
cmp eax, dword [ecx + 0x1a8]
je 0x101fedf0
cmp eax, dword [ecx + 0x1ac]
je 0x101fedf0
mov ecx, edi
call fcn.100ce5c0
test al, al
jne 0x101fedf0
mov ecx, edi
call fcn.100ce1f0
cmp eax, 0x31
je 0x101fedf0
mov ecx, edi
call fcn.100ce1f0
cmp eax, 0x40
je 0x101fedf0
mov ecx, edi
call fcn.100ce1f0
cmp eax, 0x1f
je 0x101fedf0
mov ecx, edi
call fcn.100ce1f0
cmp eax, 0x28
je 0x101feef9
mov ecx, edi
call fcn.100ce1f0
cmp eax, 9
je 0x101feef9
mov ecx, edi
call fcn.100ce1f0
cmp eax, 0x40
je 0x101feef9
mov dword [ebp - 4], 1
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x734]
call eax
test eax, eax
je 0x101feebc
mov al, byte [eax + 0xec]
jmp 0x101feebe
xor al, al
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x101fef39
mov eax, dword [0x1060b5e0]
mov ecx, dword [0x104c14e0]
mov eax, dword [eax + 0xaa8]
mov dword [ebp - 0x50], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10611928]
cmp eax, dword [ecx + 4]
jg 0x101fef96
jmp 0x101fef40
mov eax, dword [0x1060b5e0]
mov eax, dword [eax + 0xaa8]
cmp dword [eax + 0xa390], 0
jle 0x101feec9
mov dword [ebp - 4], 0
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x734]
call eax
test eax, eax
je 0x101fef2c
mov al, byte [eax + 0xec]
jmp 0x101fef2e
xor al, al
mov dword [ebp - 4], 0xffffffff
test al, al
jne 0x101feec9
mov al, 1
jmp 0x101fedf2
mov ecx, dword [ebp - 0x50]
mov eax, dword [0x10611714]
mov eax, dword [eax + ecx]
sub eax, esi
movd xmm1, eax
mov eax, dword [0x1060b290]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
mov eax, dword [0x1060b5e0]
movss dword [ebp - 0x50], xmm1
mov eax, dword [eax + 0xaa8]
movss xmm0, dword [eax + 0x2d70]
comiss xmm0, xmm1
ja 0x101fedf0
mov ecx, edi
call fcn.100cec60
movss xmm1, dword [ebp - 0x50]
comiss xmm1, xmm0
setae al
jmp 0x101fedf2
push 0x10611928
call fcn.102bba07
add esp, 4
cmp dword [0x10611928], 0xffffffff
jne 0x101fef40
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
push 0xd
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.1001a120
mov esi, 0x103f6288
jmp 0x101fefd6
mov al, byte [esi]
lea ecx, [ebp - 0x2c]
xor al, 0xa5
movzx eax, al
push eax
call fcn.1001a280
add esi, 2
cmp esi, 0x103f629e
jne 0x101fefd6
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmp esi, 0x10
mov dword [ebp - 0x4c], eax
cmovae ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
test eax, eax
je 0x101ff0c0
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x101ff0c0
sub ecx, dword [ebp - 0x48]
cmp ecx, 0xffffffff
je 0x101ff0c0
mov edi, dword [ebp - 0x4c]
jmp 0x101ff040
cmp esi, 0x10
lea eax, [ebp - 0x2c]
mov edx, 1
cmovae eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea esi, [eax + ecx]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
sub esi, eax
mov eax, edi
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x18], 0x10
cmovae ecx, dword [ebp - 0x2c]
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 - 0x1c], edi
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x2c]
test edi, edi
je 0x101ff0ba
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x101ff0ba
sub ecx, esi
mov esi, dword [ebp - 0x18]
cmp ecx, 0xffffffff
jne 0x101ff040
jmp 0x101ff0ba
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x18]
cmp esi, 0x10
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0xf
cmovae eax, dword [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x48], eax
mov esi, 0x103f6844
mov byte [ebp - 0x44], 0
jmp 0x101ff0f0
mov al, byte [esi]
lea ecx, [ebp - 0x44]
xor al, 0xa5
movzx eax, al
push eax
call fcn.1001a280
add esi, 2
cmp esi, 0x103f685e
jne 0x101ff0f0
cmp dword [ebp - 0x30], 0x10
lea esi, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmovae esi, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x101ff1ca
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x101ff1ca
sub ecx, esi
cmp ecx, 0xffffffff
je 0x101ff1ca
mov edi, dword [ebp - 0x4c]
jmp 0x101ff150
cmp dword [ebp - 0x30], 0x10
lea esi, [ebp - 0x44]
lea eax, [ebp - 0x44]
mov edx, 1
cmovae esi, dword [ebp - 0x44]
add esi, ecx
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
sub esi, eax
mov eax, edi
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x30], 0x10
cmovae ecx, dword [ebp - 0x44]
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 - 0x34], edi
cmp dword [ebp - 0x30], 0x10
lea esi, [ebp - 0x44]
cmovae esi, dword [ebp - 0x44]
test edi, edi
je 0x101ff1c7
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x101ff1c7
sub ecx, esi
cmp ecx, 0xffffffff
jne 0x101ff150
jmp 0x101ff1c7
mov edi, dword [ebp - 0x54]
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push 0
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.10171b70
mov ecx, dword [ebp - 0x30]
mov dword [0x10611714], eax
cmp ecx, 0x10
jb 0x101ff219
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101ff20d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101ff253
jmp 0x101ff20d
push ecx
push edx
call fcn.102bb95a
add esp, 8
jmp 0x101ff219
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x101ff265
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101ff259
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101ff259
jmp 0x101ff253
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 0x101ff265
push 0x10611928
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.102bb9b6
mov esi, dword [ebx + 8]
add esp, 4
jmp 0x101fef40