Function at 0x1002b380
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 0x100cb143
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a0
mov eax, dword [0x100e3008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
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 - 0x160]
mov dword [ebp - 0x2c], edx
push 0x98
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x160]
call fcn.10025180
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov dword [ebp - 0x238], eax
add esp, 4
mov dword [ebp - 0x234], str._H:_M:_S
mov eax, str._H:_M:_S
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x1002b420
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x160]
call fcn.1002f680
movss xmm0, dword [0x100f6380]
mulss xmm0, dword [0x100d74e0]
push ecx
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
movss xmm0, dword [0x100d7378]
xor ecx, ecx
fstp dword [ebp - 0x214]
cvttss2si eax, dword [ebp - 0x214]
test eax, eax
cmovle eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10109c6c]
divss xmm0, dword [eax + 0x20]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
mov eax, dword [0x10109c6c]
fstp st(0)
movss xmm0, dword [0x100d7378]
divss xmm0, dword [eax + 0x14]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
fstp dword [ebp - 0x214]
cvttss2si eax, dword [ebp - 0x214]
add esp, 4
push 0xb0
push 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x210]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x210]
call fcn.1002ecd0
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x15c]
call fcn.10025300
mov byte [ebp - 4], 2
lea eax, [ebp - 0x254]
cmp dword [ebp - 0x240], 0x10
movaps xmm0, xmmword [0x100d7b90]
cmovae eax, dword [ebp - 0x254]
movaps xmm1, xmmword [0x100d7f70]
movups xmmword [ebp - 0x280], xmm0
mov dword [ebp - 0x214], eax
xor eax, eax
movaps xmm0, xmmword [0x100d77f0]
movups xmmword [ebp - 0x270], xmm0
mov dword [ebp - 0x260], 0xc7948ac7
mov dword [ebp - 0x25c], 0x94c2c79b
mov byte [ebp - 0x258], 0xe7
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x280]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x280], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x1002b560
cmp eax, 0x29
jae 0x1002b58f
xor byte [ebp + eax - 0x280], 0xe7
inc eax
cmp eax, 0x29
jb 0x1002b581
push 0x98
lea eax, [ebp - 0xc8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0xc8]
call fcn.10025180
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], eax
mov esi, eax
mov dword [ebp - 0x2a8], 3
mov edi, 3
mov ecx, esi
call fcn.1001b8d0
add esi, 0xc
sub edi, 1
jne 0x1002b5d1
push dword [ebp - 0x2a8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x234], 0x100301a0
push dword [ebp - 0x2ac]
mov dword [ebp - 0x238], eax
lea edx, [ebp - 0x280]
movq xmm0, qword [ebp - 0x238]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0xc8]
movq qword [ebp - 0x2a4], xmm0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x234], 0x100301a0
movq xmm0, qword [ebp - 0x238]
movq qword [ebp - 0x298], xmm0
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0x10025700
movq xmm0, qword [ebp - 0x238]
mov dword [ebp - 0x29c], 0x10030320
mov dword [ebp - 0x290], 0x10030320
movq qword [ebp - 0x28c], xmm0
mov dword [ebp - 0x284], fcn.10025720
call fcn.100232d0
add esp, 8
lea eax, [ebp - 0x22c]
lea ecx, [ebp - 0xc4]
push eax
call fcn.10025300
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], 0x100d55d8
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xcc], eax
lea ecx, [ebp - 0xc4]
call fcn.10021140
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x78]
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], 4
lea edx, [ebp - 0x22c]
cmp dword [ebp - 0x218], 0x10
lea ecx, [ebp - 0x200]
push dword [ebp - 0x21c]
cmovae edx, dword [ebp - 0x22c]
call fcn.100254f0
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x218]
cmp edx, 0x10
jb 0x1002b74f
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b745
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002b745
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
cmp edx, 0x10
jb 0x1002b7aa
mov ecx, dword [ebp - 0x254]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b7a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002b7a0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.10025300
mov byte [ebp - 4], 5
lea edx, [ebp - 0x254]
cmp dword [ebp - 0x240], 0x10
mov dword [ebp - 0x21c], 0
cmovae edx, dword [ebp - 0x254]
mov ecx, edx
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b7f4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x22c]
call fcn.100214d0
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x24]
mov ecx, 0x1010c348
push eax
call fcn.100be740
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x218]
cmp edx, 0x10
jb 0x1002b863
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b859
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002b859
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
cmp edx, 0x10
jb 0x1002b8be
mov ecx, dword [ebp - 0x254]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b8b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002b8b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
mov eax, dword [0x100f6390]
mov edi, dword [ebp - 0x24]
sub eax, edi
mov ecx, dword [0x10109c1c]
sub eax, 0x14
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x214], 0xf0222222
mov eax, dword [ecx]
push dword [ebp - 0x214]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10109c1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 7]
mov esi, dword [ebp - 0x23c]
push eax
lea eax, [edi + 0xa]
add eax, esi
push eax
push 5
push esi
call edx
mov ecx, dword [0x10109c1c]
mov edi, dword [0x100f6390]
mov esi, dword [ebp - 0x24]
sub edi, esi
push dword [0x10109f80]
mov eax, dword [ecx]
sub edi, 0x14
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10109c1c]
push 0x16
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0xa]
add eax, edi
push eax
push 0x14
push edi
call edx
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.10025300
mov byte [ebp - 4], 7
lea edx, [ebp - 0x254]
cmp dword [ebp - 0x240], 0x10
mov dword [ebp - 0x21c], 0
cmovae edx, dword [ebp - 0x254]
mov ecx, edx
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b994
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x22c]
call fcn.100214d0
push 1
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 8
mov edx, dword [0x100f6390]
push eax
push ecx
mov eax, esp
add edx, 0xfffffff1
push 5
push edx
mov ecx, 0x1010c348
mov dword [eax], 0xffffffff
call fcn.100be4f0
mov edx, dword [ebp - 0x218]
cmp edx, 0x10
jb 0x1002ba12
mov ecx, dword [ebp - 0x22c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ba08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002ba08
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
cmp edx, 0x10
jb 0x1002ba69
mov ecx, dword [ebp - 0x254]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ba5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002ba5f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c980a
add esp, 8
mov eax, dword [ebp - 0x210]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x210], 0x100d55bc
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x214], eax
lea ecx, [ebp - 0x1f8]
call fcn.10021140
lea ecx, [ebp - 0x1f0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x100d55d8
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x15c]
call fcn.10021140
lea ecx, [ebp - 0x158]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x110]
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.100c9377
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret