Function at 0x100251c0
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 0x100bc3bc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f0
mov eax, dword [0x100d200c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x17c], 0
mov ecx, dword [0x100e6110]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100257df
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x178]
mov dword [ebp - 0x2c], edx
push 0x98
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x178], 0x100c6644
lea ecx, [ebp - 0x128]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x17c], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x178]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x178], 0x100c6640
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x17c], eax
lea ecx, [ebp - 0x174]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0x174], 0x100c6580
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 4
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 2
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov dword [ebp - 0x188], eax
add esp, 4
mov dword [ebp - 0x184], str._H:_M:_S
mov eax, str._H:_M:_S
inc eax
cmp byte [eax], 0
jne 0x10025306
lea edx, [ebp - 0x188]
mov dword [ebp - 0x180], eax
lea ecx, [ebp - 0x178]
call fcn.10028710
movss xmm0, dword [0x100e5fbc]
mulss xmm0, dword [0x100c7ab8]
push ecx
movss dword [ebp - 0x17c], xmm0
fld dword [ebp - 0x17c]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm0, dword [0x100c7978]
xor eax, eax
fstp dword [ebp - 0x17c]
cvttss2si ecx, dword [ebp - 0x17c]
test ecx, ecx
cmovg eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [0x100e616c]
divss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x17c], xmm0
fld dword [ebp - 0x17c]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
fstp dword [ebp - 0x17c]
cvttss2si eax, dword [ebp - 0x17c]
add esp, 4
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.10021880
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1d4]
cmp dword [ebp - 0x1c0], 0x10
movaps xmm0, xmmword [0x100c85f0]
cmovae eax, dword [ebp - 0x1d4]
movaps xmm2, xmmword [0x100c7b90]
movups xmmword [ebp - 0x1bc], xmm0
mov dword [ebp - 0x190], eax
xor eax, eax
movaps xmm0, xmmword [0x100c80e0]
movups xmmword [ebp - 0x1ac], xmm0
mov dword [ebp - 0x19c], 0xa1e8a4a1
mov dword [ebp - 0x198], 0xf2a4a1fd
mov byte [ebp - 0x194], 0x81
nop
movups xmm0, xmmword [ebp + eax - 0x1bc]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x1bc], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x10025410
cmp eax, 0x29
jae 0x10025442
xor byte [ebp + eax - 0x1bc], 0x81
inc eax
cmp eax, 0x29
jb 0x10025434
push 0x98
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe0], 0x100c6644
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x17c], 0xb
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], 0x100c6640
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xdc], 0x100c6580
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 4
lea eax, [ebp - 0x1f8]
mov byte [ebp - 4], 6
mov dword [ebp - 0x200], eax
mov esi, eax
mov dword [ebp - 0x1fc], 3
mov edi, 3
nop dword [eax]
mov ecx, esi
call fcn.10018340
add esi, 0xc
sub edi, 1
jne 0x10025510
push dword [ebp - 0x1fc]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x184], 0x10028d80
push dword [ebp - 0x200]
mov dword [ebp - 0x188], eax
lea edx, [ebp - 0x1bc]
movq xmm0, qword [ebp - 0x188]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x188], eax
lea ecx, [ebp - 0xe0]
movq qword [ebp - 0x1f8], xmm0
lea eax, [ebp - 0x190]
mov dword [ebp - 0x184], 0x10028d80
movq xmm0, qword [ebp - 0x188]
movq qword [ebp - 0x1ec], xmm0
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], 0x10022000
movq xmm0, qword [ebp - 0x188]
mov dword [ebp - 0x1f0], 0x10028da0
mov dword [ebp - 0x1e4], 0x10028da0
movq qword [ebp - 0x1e0], xmm0
mov dword [ebp - 0x1d8], fcn.10022020
call fcn.1001eeb0
add esp, 8
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0xdc]
push eax
call fcn.10021880
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], 0x100c6640
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xdc]
call fcn.1001d1c0
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x1c0]
cmp edx, 0x10
jb 0x10025662
mov ecx, dword [ebp - 0x1d4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10025658
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10025658
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100bac64
add esp, 8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1c4], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c0], 0xf
push eax
mov ecx, 0x100e88e8
mov byte [ebp - 0x1d4], 0
call fcn.100af240
mov eax, dword [0x100e5fd0]
mov edi, dword [ebp - 0x1c]
sub eax, edi
mov ecx, dword [0x100e611c]
sub eax, 0x14
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x17c], 0xff181818
mov eax, dword [ecx]
push dword [ebp - 0x17c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100e611c]
lea eax, [esi + 0xc]
mov esi, dword [ebp - 0x18c]
push eax
lea eax, [edi + 0xa]
mov edx, dword [ecx]
add eax, esi
push eax
push 0xa
push esi
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [0x100e611c]
mov eax, dword [ebp - 0x18]
mov edi, dword [0x100e5fd0]
mov esi, dword [ebp - 0x1c]
sub edi, esi
push dword [0x100e4a0c]
mov dword [ebp - 0x18c], eax
sub edi, 0x15
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [ebp - 0x18c]
mov ecx, dword [0x100e611c]
add eax, 0xd
push eax
lea eax, [esi + 0xc]
add eax, edi
mov edx, dword [ecx]
push eax
push 9
push edi
mov eax, dword [edx + 0x48]
call eax
push 1
lea eax, [ebp - 0x48]
mov ecx, 0x100e88e8
push eax
push dword [0x100e4a0c]
mov eax, dword [0x100e5fd0]
push 0xa
add eax, 0xfffffff1
push eax
call fcn.100aef30
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x10025783
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10025779
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10025779
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100bac64
add esp, 8
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x178], 0x100c6640
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x17c], eax
lea ecx, [ebp - 0x174]
call fcn.1001d1c0
lea ecx, [ebp - 0x170]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x128]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
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.100ba7e9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret