Function at 0x10181f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a6964
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x101df584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov word [edi + 0x4c], 0x101
mov byte [edi + 0x4e], 1
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
push 1
mov byte [ebp - 4], 5
call fcn.101826c0
mov eax, dword [edi + 0x10]
mov ecx, eax
mov edx, dword [edi + 0xc]
sub ecx, edx
sar ecx, 2
mov dword [ebp - 0x14], eax
cmp ecx, 1
jbe 0x1018203c
lea eax, [edx + 4]
jmp 0x10182078
jae 0x1018207b
mov eax, dword [edi + 0x14]
sub eax, edx
sar eax, 2
cmp eax, 1
jae 0x1018205b
lea eax, [ebp - 0xd]
push eax
push 1
lea ecx, [edi + 0xc]
call fcn.100285d0
jmp 0x1018207b
mov esi, 1
sub esi, ecx
shl esi, 2
push esi
push 0
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, esi
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0xc]
mov ebx, dword [ebp + 8]
mov dword [eax], ebx
mov ecx, dword [edi]
mov eax, dword [ebx + 0x20]
mov dword [ebp + 8], ecx
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call sym.MNN.dll_public:_class_std::vector_int__class_std::allocator_int_____thiscall_MNN::Tensor::shape_void_
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 4
cmp eax, esi
je 0x101820d4
mov ecx, eax
call fcn.10002ec0
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
mov dword [edx + 4], ecx
mov eax, dword [esi + 4]
mov dword [edx + 8], eax
mov eax, dword [esi + 8]
mov dword [edx + 0xc], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x1018210d
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10182103
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10182103
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
movzx esi, byte [ebx + 0x21]
mov ecx, ebx
add esi, 7
shr esi, 3
call sym.MNN.dll_public:_int___thiscall_MNN::Tensor::size_void_const
cdq
idiv esi
mov esi, dword [ebp + 8]
push ebx
mov dword [esi + 0x14], eax
call sym.MNN.dll_public:_static_struct_MNN::Tensor::InsideDescribe::NativeInsideDescribe____cdecl_MNN::TensorUtils::getDescribe_class_MNN::Tensor_const__
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1018213c
lea eax, [ecx + 2]
jmp 0x1018214a
xor eax, eax
cmp ecx, 1
je 0x1018214a
cmp ecx, 2
setne al
inc eax
mov dword [esi], eax
mov ecx, dword [edi]
call fcn.101640b0
mov al, byte [ebp + 0xc]
mov byte [edi + 0x4e], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8