Function at 0x1002eaa0
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 0x100ea324
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x240
mov eax, dword [0x101040b4]
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
cmp byte [0x1012f664], 0
je 0x1002f1f4
push 0x98
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0xe0]
call fcn.10029350
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], edx
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov dword [ebp - 0x18c], eax
add esp, 4
mov dword [ebp - 0x188], str._H:_M:_S
mov eax, str._H:_M:_S
inc eax
cmp byte [eax], 0
jne 0x1002eb53
lea edx, [ebp - 0x18c]
mov dword [ebp - 0x184], eax
lea ecx, [ebp - 0xe0]
call fcn.10032d40
movss xmm0, dword [0x10122f28]
mulss xmm0, dword [0x100f811c]
push ecx
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
movss xmm0, dword [0x100f7f64]
xor ecx, ecx
fstp dword [ebp - 0x180]
cvttss2si eax, dword [ebp - 0x180]
test eax, eax
cmovle eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [0x1013b508]
divss xmm0, dword [eax + 0x20]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
movss xmm0, dword [0x100f7f64]
fstp dword [ebp - 0x180]
cvttss2si eax, dword [ebp - 0x180]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1013b508]
divss xmm0, dword [eax + 0x14]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
mov ecx, dword [0x1013b4ac]
add esp, 4
fstp st(0)
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
lea ecx, [ebp - 0xdc]
test al, al
je 0x1002ee1a
lea eax, [ebp - 0x1f0]
push eax
call fcn.10029580
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1f0]
cmp dword [ebp - 0x1dc], 0x10
movaps xmm0, xmmword [0x100f88f0]
cmovae eax, dword [ebp - 0x1f0]
movaps xmm1, xmmword [0x100f8660]
movups xmmword [ebp - 0x1b8], xmm0
mov dword [ebp - 0x180], eax
xor eax, eax
movaps xmm0, xmmword [0x100f8bb0]
mov dword [ebp - 0x17c], 0x11
movups xmmword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x198], 0x348404a
mov dword [ebp - 0x194], 0x5006035f
mov byte [ebp - 0x190], 0x23
movups xmm0, xmmword [ebp + eax - 0x1b8]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x1b8], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x1002ec83
cmp eax, 0x29
jae 0x1002ecb2
xor byte [ebp + eax - 0x1b8], 0x23
inc eax
cmp eax, 0x29
jb 0x1002eca4
push 0x98
lea eax, [ebp - 0x178]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x178]
call fcn.10029350
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 2
mov dword [ebp - 0x234], eax
mov esi, eax
mov dword [ebp - 0x230], 3
mov edi, 3
mov ecx, esi
call fcn.1001eff0
add esi, 0xc
sub edi, 1
jne 0x1002ecf7
push dword [ebp - 0x230]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x188], 0x10033ae0
push dword [ebp - 0x234]
mov dword [ebp - 0x18c], eax
lea edx, [ebp - 0x1b8]
movq xmm0, qword [ebp - 0x18c]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18c], eax
lea ecx, [ebp - 0x178]
movq qword [ebp - 0x22c], xmm0
lea eax, [ebp - 0x180]
mov dword [ebp - 0x188], 0x10033ae0
movq xmm0, qword [ebp - 0x18c]
movq qword [ebp - 0x220], xmm0
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], 0x100299a0
movq xmm0, qword [ebp - 0x18c]
mov dword [ebp - 0x224], 0x10033c60
mov dword [ebp - 0x218], 0x10033c60
movq qword [ebp - 0x214], xmm0
mov dword [ebp - 0x20c], fcn.100299c0
call fcn.100273f0
add esp, 8
lea eax, [ebp - 0x208]
lea ecx, [ebp - 0x174]
push eax
call fcn.10029580
mov eax, dword [ebp - 0x178]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x178], 0x100f6700
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.10024db0
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_]
lea ecx, [ebp - 0x208]
lea eax, [edi + 0x73]
jmp 0x1002eec3
lea eax, [ebp - 0x1d8]
push eax
call fcn.10029580
mov dword [ebp - 4], 4
lea eax, [ebp - 0x1d8]
cmp dword [ebp - 0x1c4], 0x10
movaps xmm0, xmmword [0x100f8660]
cmovae eax, dword [ebp - 0x1d8]
pxor xmm0, xmmword [0x100f8a30]
mov dword [ebp - 0x1c0], eax
mov eax, 0x10
mov dword [ebp - 0x17c], 0x84
mov dword [ebp - 0x1a0], 0x34d4a42
mov dword [ebp - 0x19c], 0x564d464e
mov dword [ebp - 0x198], 0x6035f03
mov word [ebp - 0x194], 0x2350
movups xmmword [ebp - 0x1b0], xmm0
xor byte [ebp + eax - 0x1b0], 0x23
inc eax
cmp eax, 0x1e
jb 0x1002ee93
lea eax, [ebp - 0x1c0]
push eax
lea edx, [ebp - 0x1b0]
lea ecx, [ebp - 0x24c]
call fcn.10029630
mov ecx, eax
add esp, 4
mov eax, 0x8c
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x2c], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 4], 5
test al, 8
je 0x1002ef64
mov edx, dword [ebp - 0x238]
and eax, 0xfffffff7
mov dword [ebp - 0x17c], eax
cmp edx, 0x10
jb 0x1002ef49
mov ecx, dword [ebp - 0x24c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ef39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002ef39
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
mov eax, dword [ebp - 0x17c]
add esp, 8
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
mov byte [ebp - 4], 6
test al, 4
je 0x1002efd2
mov edx, dword [ebp - 0x1c4]
and eax, 0xfffffffb
mov dword [ebp - 0x17c], eax
cmp edx, 0x10
jb 0x1002efb7
mov ecx, dword [ebp - 0x1d8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002efa7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002efa7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
mov eax, dword [ebp - 0x17c]
add esp, 8
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xf
mov byte [ebp - 0x1d8], 0
mov byte [ebp - 4], 7
test al, 2
je 0x1002f040
mov edx, dword [ebp - 0x1f4]
and eax, 0xfffffffd
mov dword [ebp - 0x17c], eax
cmp edx, 0x10
jb 0x1002f025
mov ecx, dword [ebp - 0x208]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f015
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002f015
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
mov eax, dword [ebp - 0x17c]
add esp, 8
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0xf
mov byte [ebp - 0x208], 0
mov byte [ebp - 4], 8
test al, 1
je 0x1002f09f
mov edx, dword [ebp - 0x1dc]
cmp edx, 0x10
jb 0x1002f084
mov ecx, dword [ebp - 0x1f0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f07a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002f07a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
add esp, 8
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0xf
mov byte [ebp - 0x1f0], 0
lea eax, [ebp - 0x3c]
mov ecx, 0x1013dbe0
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100d84f0
mov eax, dword [0x10122f38]
mov edi, dword [ebp - 0x24]
sub eax, edi
mov ecx, dword [0x1013b4b8]
sub eax, 0x12
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x17c], 0xeb1a1a1a
mov eax, dword [ecx]
push dword [ebp - 0x17c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1013b4b8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0xf]
mov esi, dword [ebp - 0x1bc]
push eax
lea eax, [edi + 8]
add eax, esi
push eax
push 0xa
push esi
call edx
mov ecx, dword [0x1013b4b8]
mov edi, dword [0x10122f38]
mov esi, dword [ebp - 0x24]
sub edi, esi
push dword [0x100f7060]
mov eax, dword [ecx]
sub edi, 0x12
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1013b4b8]
push 0xc
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 8]
add eax, edi
push eax
push 0xa
push edi
call edx
mov edx, dword [0x10122f38]
lea eax, [ebp - 0x3c]
push 1
push eax
push ecx
mov eax, esp
add edx, 0xfffffff2
push 0xd
push edx
mov ecx, 0x1013dbe0
mov dword [eax], 0xffffffff
call fcn.100d82a0
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x1002f198
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f18e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002f18e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
add esp, 8
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], 0x100f6700
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.10024db0
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 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.100e7827
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret