Function at 0x10163cb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a46a5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x101df584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x80
call fcn.10196241
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10163cf7
mov ecx, eax
call fcn.10150e10
mov esi, eax
jmp 0x10163cf9
xor esi, esi
mov dword [ebp - 0x18], esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], 0
call sym.MNN.dll_public:_static_void___cdecl_MNN::Express::Variable::save_class_std::vector_class_MNN::Express::VARP__class_std::allocator_class_MNN::Express::VARP___const___struct_MNN::NetT__
movaps xmm0, xmmword [0x101ac850]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x48], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 0x100
mov dword [ebp - 0x1c], eax
push eax
push esi
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10151f10
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x4c]
mov edi, dword [ebp - 0x34]
add esp, 0x18
sub edi, eax
mov dword [ebp - 0x30], eax
sub edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
sub edi, 4
dec eax
and edi, eax
push edi
call fcn.10034b90
mov esi, dword [ebp - 0x34]
sub esi, eax
xor eax, eax
mov dword [ebp - 0x34], esi
test edi, edi
je 0x10163d9c
mov byte [esi + eax], 0
inc eax
mov esi, dword [ebp - 0x34]
cmp eax, edi
jb 0x10163d90
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x4c]
mov ebx, 4
cmp eax, ebx
cmovb eax, ebx
sub esi, dword [ebp - 0x38]
sub esi, dword [ebp - 0x3c]
and esi, 3
mov dword [ebp - 0x24], eax
push esi
call fcn.10034b90
mov edx, dword [ebp - 0x34]
sub edx, eax
xor eax, eax
mov dword [ebp - 0x34], edx
test esi, esi
je 0x10163ddc
nop dword [eax]
mov byte [edx + eax], 0
inc eax
mov edx, dword [ebp - 0x34]
cmp eax, esi
jb 0x10163dd0
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x24]
sub esi, edx
add esi, dword [ebp - 0x3c]
mov edi, esi
sub edi, dword [ebp - 0x14]
add edi, ebx
cmp eax, 4
cmovb eax, ebx
neg esi
and esi, 3
mov dword [ebp - 0x24], eax
push esi
call fcn.10034b90
mov ecx, dword [ebp - 0x34]
sub ecx, eax
xor eax, eax
mov dword [ebp - 0x34], ecx
test esi, esi
je 0x10163e21
mov byte [ecx + eax], 0
inc eax
cmp eax, esi
jae 0x10163e21
mov ecx, dword [ebp - 0x34]
jmp 0x10163e13
push 4
lea ecx, [ebp - 0x4c]
call fcn.10034b90
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp + 0xc]
sub ecx, eax
mov dword [ebp - 0x34], ecx
push 0x101aa8b0
push ebx
mov dword [ecx], edi
mov byte [ebp - 0x25], 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edx, eax
add esp, 8
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x10163e64
push ebx
push str.Open__s_error_n
call fcn.10001230
add esp, 8
jmp 0x10163ed2
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
add eax, ecx
mov dword [ebp - 0x10], eax
lea ebx, [eax + 0xfff]
shr ebx, 0xc
test ebx, ebx
je 0x10163ec8
xor ecx, ecx
lea edi, [ecx + 0x1000]
cmp eax, edi
mov esi, edi
cmovb esi, eax
cmp esi, ecx
jbe 0x10163ec1
mov eax, dword [ebp - 0x34]
sub esi, ecx
push edx
push esi
add eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, esi
je 0x10163ebb
push dword [ebp + 0xc]
push str.Write__s_error_n
call fcn.10001230
add esp, 8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, edi
sub ebx, 1
jne 0x10163e81
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.10034390
lea ecx, [ebp - 0x18]
call fcn.10150fe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret