Function at 0x1002c7e0
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 0x100cbe97
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf0
mov eax, dword [0x100e500c]
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 - 0xdc], 0
cmp byte [0x100f44a8], 0
je 0x1002cb69
mov ecx, dword [0x1016a4f8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1002cb69
mov esi, dword [0x100f470c]
push 0
mov dword [ebp - 0xe0], 0xc80f0f0f
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x24], edx
push 0x98
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd8], 0x100d75f8
lea ecx, [ebp - 0x88]
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 - 0xd4]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xdc], 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 - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], 0x100d75f4
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xd4], 0x100d759c
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 4
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov dword [ebp - 0xf4], eax
add esp, 4
mov dword [ebp - 0xf0], str._H:_M:_S
mov eax, str._H:_M:_S
mov dword [ebp - 0xec], str._H:_M:_S
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x1002c950
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0xd8]
call fcn.10030350
movss xmm0, dword [0x100e53e0]
mulss xmm0, dword [0x100d9524]
push ecx
movss dword [ebp - 0xdc], xmm0
fld dword [ebp - 0xdc]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movaps xmm0, xmmword [0x100da360]
xor eax, eax
pxor xmm0, xmmword [0x100d9de0]
add esp, 4
fstp dword [ebp - 0xdc]
cvttss2si ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xec], 0x9a8480cc
mov byte [ebp - 0xe8], 0xe9
movups xmmword [ebp - 0xfc], xmm0
test ecx, ecx
cmovg eax, ecx
mov dword [ebp - 0x18], eax
mov eax, 0x10
nop dword [eax + eax]
xor byte [ebp + eax - 0xfc], 0xe9
inc eax
cmp eax, 0x15
jb 0x1002c9e0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0xfc]
lea ecx, [ebp - 0x40]
call fcn.100305b0
add esp, 4
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x20]
mov ecx, 0x1016a6cc
push eax
call fcn.100bc0c0
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ecx, dword [0x1016a504]
push dword [ebp - 0xe0]
mov dword [ebp - 0xe4], eax
mov eax, dword [0x100e53f0]
sub eax, edi
sub eax, 0x12
mov dword [ebp - 0xdc], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1016a504]
add edi, 8
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0xe4]
add eax, 0x12
push eax
mov eax, dword [ebp - 0xdc]
add eax, edi
push eax
push 0xa
push dword [ebp - 0xdc]
call edx
mov eax, dword [0x100e53f0]
mov edi, dword [ebp - 0x20]
sub eax, edi
mov ecx, dword [0x1016a504]
sub eax, 0x12
mov dword [ebp - 0xe4], eax
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1016a504]
mov esi, dword [ebp - 0xe4]
push 0xc
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [edi + 8]
add eax, esi
push eax
push 0xa
push esi
call edx
mov edx, dword [0x100e53f0]
lea eax, [ebp - 0x40]
push 1
push eax
push ecx
mov eax, esp
add edx, 0xfffffff2
push 0xe
push edx
mov ecx, 0x1016a6cc
mov dword [eax], 0xffffffff
call fcn.100bbe20
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x1002cb0d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002cb03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002cb03
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100ca471
add esp, 8
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], 0x100d75f4
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xd4]
call fcn.10022240
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x88]
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.100c9ff6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret