Function at 0x100fe7a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1024b8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1024b1f4
mov dword [ebp - 0x2c], ecx
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x100fee81
cmp dword [0x1024b220], 0x7fffffff
je 0x100fee88
push esi
cmp byte [0x1018c006], al
je 0x100fee54
cmp byte [0x1018c007], al
je 0x100fee54
mov eax, dword [0x1024c72c]
test eax, eax
jne 0x100fe801
xor al, al
jmp 0x100fe804
mov al, byte [eax + 0x7c]
movss xmm0, dword [0x10167658]
mov byte [0x1018c00f], al
mov eax, dword [0x1024c6b4]
push ebx
divss xmm0, dword [eax + 0x20]
cvttss2si eax, xmm0
mov dword [0x1018c01c], eax
mov eax, dword [0x1025dee4]
test al, 1
jne 0x100fe934
or eax, 1
cmp byte [0x1024b4f8], 0
mov dword [0x1025dee4], eax
je 0x100fe8aa
cmp byte [0x1024b4f9], 0
jne 0x100fe8f8
mov byte [0x1024b4f9], 1
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1024b51c]
xor ebx, dword [0x1024b518]
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 - 0x50], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + 0x1024b4fa]
xor al, bl
mov byte [esi + 0x1024b4fa], al
inc esi
cmp esi, 0x19
jb 0x100fe860
jmp 0x100fe8f8
xor esi, esi
nop dword [eax]
xor edx, edx
mov ebx, esi
xor edx, dword [0x1024b51c]
xor ebx, dword [0x1024b518]
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 - 0x50], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + 0x1024b4fa]
xor al, bl
mov byte [esi + 0x1024b4fa], al
inc esi
cmp esi, 0x19
jb 0x100fe8b0
lea eax, [ebp - 0x25]
push eax
push 0x1024b512
push 0x1024b4fa
lea ecx, [ebp - 0x1c]
call fcn.1004f960
mov ecx, dword [0x1024c6ec]
lea edx, [ebp - 0x1c]
cmp dword [ebp - 8], 0xf
cmova edx, dword [ebp - 0x1c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
lea ecx, [ebp - 0x1c]
mov dword [0x1025dee0], eax
call fcn.10045300
mov ecx, dword [0x1025dee0]
test ecx, ecx
je 0x100fe951
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
add eax, 0xfffffffe
xor edx, edx
test eax, eax
cmovg edx, eax
jmp 0x100fe956
mov edx, 0xe
cmp byte [0x1018c00f], 0
mov dword [0x1018c038], edx
je 0x100fe990
test edx, edx
mov dword [ebp - 0x24], 6
mov eax, 0x1018c038
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
cmovns ecx, eax
cmp edx, 6
lea eax, [ebp - 0x24]
cmovle eax, ecx
mov eax, dword [eax]
mov dword [0x1018c038], eax
mov ecx, dword [0x1024c7b4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x24], eax
call dword [ebp - 0x24]
mov esi, dword [0x1018c080]
fstp dword [0x1018c058]
test esi, esi
je 0x100fece9
mov eax, dword [0x1024c8fc]
test al, 1
jne 0x100fe9d4
mov ecx, dword [0x1024c8d4]
or eax, 1
mov dword [0x1024c8fc], eax
mov dword [0x1024c8f8], ecx
jmp 0x100fe9da
mov ecx, dword [0x1024c8f8]
mov eax, dword [0x1018c07c]
push edi
mov edi, dword [0x1024c998]
mov al, byte [ecx + eax]
mov ecx, dword [0x1024c9c4]
mov byte [0x1018c009], al
test cl, 1
jne 0x100fea0c
or ecx, 1
mov edx, edi
mov dword [0x1024c9c4], ecx
mov dword [0x1024c9c0], edx
jmp 0x100fea12
mov edx, dword [0x1024c9c0]
movsx eax, word [edx + esi]
add eax, 0xfffffff7
cmp eax, 0x1f
ja case.0x100fea25.10
movzx eax, byte [eax + 0x100feebc]
jmp dword [eax*4 + 0x100feeb4]
mov al, 1
jmp 0x100fea32
xor al, al
mov byte [0x1018c00a], al
test cl, 1
jne 0x100fea4d
or ecx, 1
mov edx, edi
mov dword [0x1024c9c4], ecx
mov dword [0x1024c9c0], edx
movzx eax, word [edx + esi]
mov ecx, esi
add eax, 0xffffffd5
cmp ax, 5
setbe byte [0x1018c00b]
call fcn.1005f920
mov ecx, eax
test ecx, ecx
jne 0x100fea70
xor al, al
jmp 0x100feab3
mov eax, dword [0x1024c9c4]
test al, 1
jne 0x100fea8d
or eax, 1
mov dword [0x1024c9c4], eax
mov eax, dword [0x1024c998]
mov dword [0x1024c9c0], eax
jmp 0x100fea92
mov eax, dword [0x1024c9c0]
cmp word [esi + eax], 0x1f
je 0x100feab1
mov eax, dword [ecx + 0xc8]
test eax, eax
je 0x100feab1
cmp eax, 7
jl 0x100feaad
cmp eax, 0x10
jle 0x100feab1
xor al, al
jmp 0x100feab3
mov al, 1
cmp byte [0x102548f4], 0
mov byte [0x1018c00c], al
jne 0x100fead5
push 0
call fcn.100d66f0
mov dword [0x10254bdc], eax
add esp, 4
mov al, byte [0x1018c00c]
test al, al
jne 0x100fec15
cmp byte [0x10254a48], al
je 0x100fec15
mov ecx, dword [0x1023e810]
push 0x100fdaf0
call fcn.100fd040
mov ebx, dword [0x1023e810]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
lea esi, [ebx + 0xc0]
push esi
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x100fee99
cmp dword [esi + 0x2c], 0x7fffffff
je 0x100feea0
mov eax, dword [ebp - 0x4c]
lea edi, [ebx + 0x98]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ebp - 0x44], xmm0
nop word [eax + eax]
mov eax, dword [ebp - 0x44]
movq xmm0, qword [eax + 0x120]
movq qword [ebp - 0x34], xmm0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
nop
cmp dword [ebp - 0x38], eax
ja 0x100feb8e
jb 0x100feb73
cmp dword [ebp - 0x3c], ecx
jae 0x100feb8e
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ecx + 0x78]
call fcn.10073a70
mov eax, dword [eax]
cmp dword [eax + 0x10], 1
je 0x100feb9a
push esi
push edi
call sub.MSVCP140.dll__Cnd_wait
add esp, 8
jmp 0x100feb50
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebx + 0x78]
call fcn.10073a70
lea ecx, [ebp - 0x84]
mov eax, dword [eax]
add eax, 0x18
push eax
call fcn.10081420
push esi
call sub.MSVCP140.dll__Mtx_unlock
mov eax, dword [ebp - 0x60]
add esp, 4
and eax, 0xfffffffc
je 0x100feeae
add eax, 4
push 0x1024c17c
push eax
call sub.VCRUNTIME140.dll___std_type_info_compare
add esp, 8
test eax, eax
jne 0x100feeae
lea eax, [ebp - 0x84]
movups xmm0, xmmword [eax]
mov ecx, eax
movups xmmword [ebp - 0x44], xmm0
call fcn.100fd2c0
movups xmm0, xmmword [ebp - 0x44]
psrldq xmm0, 4
movd eax, xmm0
test eax, eax
setg byte [0x1018c00d]
jmp 0x100fec1c
mov byte [0x1018c00d], 0
cmp dword [0x1018c080], 0
je 0x100fece8
test byte [0x10254b8c], 1
je 0x100fece8
cmp byte [0x1018c009], 0
je 0x100fece8
cmp byte [0x1018c00a], 0
je 0x100fece8
mov ecx, dword [0x1024c6b8]
push 0xff000000
mov eax, dword [ecx]
call dword [eax + 0x38]
mov eax, dword [0x1024d580]
mov ecx, dword [0x1024c6b8]
movss xmm0, dword [eax + 0x1c]
divss xmm0, dword [0x10167668]
mov edx, dword [ecx]
cvttss2si esi, dword [eax + 0x18]
cvttss2si edi, xmm0
movss xmm0, dword [eax + 0x1c]
divss xmm0, dword [0x10167668]
push edi
push esi
cvttss2si eax, xmm0
push eax
push 0
call dword [edx + 0x4c]
mov ecx, dword [0x1024c6b8]
push 0xff000000
mov eax, dword [ecx]
call dword [eax + 0x38]
mov eax, dword [0x1024d580]
mov ecx, dword [0x1024c6b8]
movss xmm0, dword [eax + 0x18]
divss xmm0, dword [0x10167668]
cvttss2si edi, dword [eax + 0x1c]
cvttss2si esi, xmm0
push edi
movss xmm0, dword [eax + 0x18]
divss xmm0, dword [0x10167668]
mov eax, dword [ecx]
push esi
push 0
cvttss2si edx, xmm0
push edx
call dword [eax + 0x4c]
pop edi
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0xc]
lea esi, [ecx + 0xc]
pop ebx
cmp eax, dword [esi + 4]
je 0x100fecfb
mov dword [esi + 4], eax
mov eax, dword [0x10257668]
cmp byte [eax + 0x10], 0
je 0x100fee65
lea edx, [eax + 4]
push 1
lea eax, [ecx + 4]
mov ecx, dword [0x1024d580]
push eax
push edx
call fcn.10073060
test al, al
je 0x100fee65
movsd xmm2, qword [0x1016ce90]
xorps xmm1, xmm1
mulsd xmm2, qword [0x1016d578]
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x20], xmm1
comisd xmm2, xmm0
movsd qword [ebp - 0x54], xmm2
jb 0x100fee65
xorps xmm0, xmm0
mulss xmm0, dword [0x10167694]
movss dword [ebp - 0x48], xmm0
cvtps2pd xmm0, xmm1
sub esp, 8
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movss xmm0, dword [ebp - 0x20]
cvtps2pd xmm0, xmm0
fstp dword [ebp - 0x2c]
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mov eax, dword [0x10257668]
add esp, 8
movss xmm2, dword [ebp - 0x2c]
mulss xmm2, dword [0x10167694]
mov ecx, dword [0x1024d580]
movss xmm0, dword [ebp - 0x48]
fstp dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x24]
mulss xmm1, dword [0x10167694]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
addss xmm2, dword [eax + 8]
addss xmm1, dword [eax + 4]
addss xmm0, dword [eax + 0xc]
push 1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x40]
movss dword [ebp - 0x40], xmm1
push eax
movss dword [ebp - 0x3c], xmm2
movss dword [ebp - 0x38], xmm0
call fcn.10073060
test al, al
je 0x100fee2e
movss xmm0, dword [ebp - 0x5c]
mov edx, dword [esi + 4]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x30], xmm0
cmp edx, dword [esi + 8]
je 0x100fee22
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [edx], eax
mov dword [edx + 4], ecx
add dword [esi + 4], 8
jmp 0x100fee2e
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
push edx
call fcn.100f1540
movss xmm1, dword [ebp - 0x20]
addss xmm1, dword [0x1016e604]
movsd xmm2, qword [ebp - 0x54]
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x20], xmm1
comisd xmm2, xmm0
jae 0x100fed61
jmp 0x100fee65
mov dword [0x1018c009], 0
mov byte [0x1018c00d], 0
push 0x1024b1f4
call sub.MSVCP140.dll__Mtx_unlock
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.10103042
mov esp, ebp
pop ebp
ret
push 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 6
mov dword [0x1024b220], 0x7ffffffe
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 6
mov dword [esi + 0x2c], 0x7ffffffe
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
call fcn.10081650
nop
sub al, 0xea
movups xmm6, xmmword [eax]
ljmp 0x100