Function at 0x100be7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a02ad
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x101df584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], edi
lea esi, [eax*4]
push esi
push dword [ebp + 8]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
shl eax, 2
add ecx, esi
push eax
push edi
push ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
add edx, esi
push dword [ebp + 0x1c]
mov eax, dword [ecx]
mov edi, dword [ebp + 0x34]
mov dword [ebp - 0x14], edx
mov eax, dword [eax + 0x18]
mov dword [eax + 0x14], edx
push dword [ecx]
push dword [edi]
call sym.MNN.dll_public:_static_void___cdecl_MNN::Math::Matrix::multi_class_MNN::Tensor___class_MNN::Tensor_const___class_MNN::Tensor_const__
push dword [ebp + 0x20]
mov eax, dword [edi]
push eax
push eax
call sym.MNN.dll_public:_static_void___cdecl_MNN::Math::Matrix::add_class_MNN::Tensor___class_MNN::Tensor_const___class_MNN::Tensor_const__
mov ecx, dword [ebp + 0x2c]
lea edx, [esi + esi]
push ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ecx + 0x18]
mov dword [eax + 0x14], edx
mov eax, dword [edi]
push eax
push eax
call sym.MNN.dll_public:_static_void___cdecl_MNN::Math::Matrix::add_class_MNN::Tensor___class_MNN::Tensor_const___class_MNN::Tensor_const__
mov ecx, dword [edi]
add esp, 0x3c
movzx esi, byte [ecx + 0x21]
add esi, 7
shr esi, 3
call sym.MNN.dll_public:_int___thiscall_MNN::Tensor::size_void_const
cdq
idiv esi
mov ecx, dword [edi]
xor esi, esi
mov dword [ebp + 0x34], eax
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0x18], edi
test eax, eax
jle 0x100be90f
nop dword [eax]
movss xmm0, dword [edi + esi*4]
xorps xmm0, xmmword [0x101ac6d0]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_exp_precise
cvtsd2ss xmm0, xmm0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, qword [0x101ac7a0]
addsd xmm1, xmm0
divsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [edi + esi*4], xmm0
inc esi
cmp esi, dword [ebp + 0x34]
jl 0x100be8d0
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp - 0x24]
add eax, edi
cmp byte [ebp + 0x10], 0
mov dword [ebp + 0x34], eax
lea ecx, [esi*8]
je 0x100bebec
mov eax, dword [ebp + 0x2c]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov eax, dword [eax + 0xc]
add eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x24]
imul ecx, esi
mov eax, dword [eax + 0xc]
lea edi, [eax + ecx*4]
lea eax, [ebp + 0x13]
push eax
lea ecx, [ebp - 0x28]
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.1000a980
mov eax, dword [ebp + 0x24]
push eax
mov dword [ebp - 4], 0
mov esi, dword [eax + 0x20]
call sym.MNN.dll_public:_static_enum_MNN::Tensor::DimensionType___cdecl_MNN::TensorUtils::getDimType_class_MNN::Tensor_const__
push eax
push edi
lea eax, [ebp - 0x4c]
push esi
push eax
call sym.MNN.dll_public:_static_class_MNN::Tensor____cdecl_MNN::Tensor::create_class_std::vector_int__class_std::allocator_int___const___struct_halide_type_t__void___enum_MNN::Tensor::DimensionType_
mov edx, dword [ebp - 0x4c]
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov dword [ebp - 0x1c], esi
test edx, edx
je 0x100be9db
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100be9bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100be9bc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10196271
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x38]
push dword [eax]
push dword [esi]
call sym.MNN.dll_public:_static_void___cdecl_MNN::Math::Matrix::multi_class_MNN::Tensor___class_MNN::Tensor_const___class_MNN::Tensor_const__
mov eax, dword [esi]
mov edi, dword [ebp + 0x18]
push edi
push dword [ebp + 0x2c]
mov eax, dword [eax + 0xc]
push eax
push eax
call fcn.100bde70
mov eax, dword [esi]
push edi
mov eax, dword [eax + 0xc]
push eax
push dword [ebp + 0x34]
push eax
call fcn.100bdf80
add esp, 0x2c
mov dword [ebp - 0x38], 1
lea eax, [ebp + 0x13]
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x38]
push eax
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.1000a980
mov eax, dword [ebp + 0x30]
mov dword [ebp - 4], 1
mov eax, dword [eax]
push eax
mov esi, dword [eax + 0x20]
call sym.MNN.dll_public:_static_enum_MNN::Tensor::DimensionType___cdecl_MNN::TensorUtils::getDimType_class_MNN::Tensor_const__
mov ecx, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + ecx*4]
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call sym.MNN.dll_public:_static_class_MNN::Tensor____cdecl_MNN::Tensor::create_class_std::vector_int__class_std::allocator_int___const___struct_halide_type_t__void___enum_MNN::Tensor::DimensionType_
mov edx, dword [ebp - 0x58]
add esp, 0x14
mov dword [ebp + 0x2c], eax
mov dword [ebp - 4], 0xffffffff
test edx, edx
je 0x100beab4
mov ecx, dword [ebp - 0x50]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100bea95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100bea95
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10196271
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x40]
lea eax, [ebp + 0x13]
mov dword [ebp - 0x40], 1
push eax
push ecx
push edx
lea ecx, [ebp - 0x64]
call fcn.1000a980
mov eax, dword [ebp + 0x30]
mov dword [ebp - 4], 2
mov eax, dword [eax]
push eax
mov esi, dword [eax + 0x20]
call sym.MNN.dll_public:_static_enum_MNN::Tensor::DimensionType___cdecl_MNN::TensorUtils::getDimType_class_MNN::Tensor_const__
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x64]
push esi
push eax
call sym.MNN.dll_public:_static_class_MNN::Tensor____cdecl_MNN::Tensor::create_class_std::vector_int__class_std::allocator_int___const___struct_halide_type_t__void___enum_MNN::Tensor::DimensionType_
mov edx, dword [ebp - 0x64]
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov esi, eax
test edx, edx
je 0x100beb52
mov ecx, dword [ebp - 0x5c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100beb33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100beb33
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10196271
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0xc]
push ecx
push esi
mov eax, dword [ecx + 0x18]
push dword [ebp + 0x2c]
mov dword [eax + 4], edx
call sym.MNN.dll_public:_static_void___cdecl_MNN::Math::Matrix::multi_class_MNN::Tensor___class_MNN::Tensor_const___class_MNN::Tensor_const__
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x2c]
push edi
mov eax, dword [eax]
push dword [ecx + 0xc]
mov eax, dword [eax + 0xc]
push eax
push eax
call fcn.100bde70
mov eax, dword [ebp + 0x28]
push edi
push dword [eax + 0xc]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
push dword [eax + 0xc]
push dword [ebp + 0x34]
call fcn.100bde70
mov eax, dword [ebp + 0x24]
add esp, 0x2c
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100bebbf
mov ecx, eax
call sym.MNN.dll_public:_void___thiscall_MNN::Tensor::destructor_void_
push 0x30
push dword [ebp - 0x1c]
call fcn.10196271
add esp, 8
mov ecx, dword [ebp + 0x2c]
call sym.MNN.dll_public:_void___thiscall_MNN::Tensor::destructor_void_
push 0x30
push dword [ebp + 0x2c]
call fcn.10196271
add esp, 8
test esi, esi
je 0x100bec49
mov ecx, esi
call sym.MNN.dll_public:_void___thiscall_MNN::Tensor::destructor_void_
push 0x30
push esi
call fcn.10196271
add esp, 8
jmp 0x100bec49
push esi
push dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
call fcn.100bdf80
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push esi
lea edi, [eax + ecx*4]
mov eax, dword [ebp + 0x28]
lea ecx, [esi*8]
push dword [eax + 0xc]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax + 0xc]
add eax, ecx
push eax
push edi
call fcn.100bde70
mov eax, dword [ebp + 0x30]
push dword [ebp + 0x24]
mov esi, dword [ebp + 0x38]
push dword [eax]
push dword [esi]
call sym.MNN.dll_public:_static_void___cdecl_MNN::Math::Matrix::multi_class_MNN::Tensor___class_MNN::Tensor_const___class_MNN::Tensor_const__
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [esi]
push edi
push dword [eax + 0xc]
push dword [ebp + 0x34]
call fcn.100bde70
mov edi, dword [ebp + 0x18]
add esp, 0x3c
test edi, edi
jle 0x100becb3
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
sub eax, edi
mov dword [ebp - 0x18], eax
nop dword [eax + eax]
lea esi, [eax + edi]
mov eax, dword [ebp - 0x24]
movss xmm0, dword [eax + esi]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x40], xmm0
fld qword [ebp - 0x40]
call sub.api_ms_win_crt_math_l1_1_0.dll__CItanh
movss xmm2, dword [esi]
movss xmm0, dword [0x101aa828]
mov eax, dword [ebp - 0x18]
subss xmm0, xmm2
mulss xmm2, dword [edi]
fstp qword [ebp - 0x40]
movsd xmm1, qword [ebp - 0x40]
cvtpd2ps xmm1, xmm1
mulss xmm1, xmm0
addss xmm1, xmm2
movss dword [edi], xmm1
add edi, 4
sub dword [ebp + 0x18], 1
jne 0x100bec60
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret