Function at 0x41e8f0
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebx
mov ebx, ecx
sub esp, 0x28
mov ecx, dword [esp + 0x30]
test edx, edx
je 0x41e910
test ecx, ecx
jne 0x41e993
add esp, 0x28
pop ebx
ret
test ecx, ecx
je 0x41e906
test eax, eax
je 0x41e9b7
lea edx, [ecx - 1]
mov dword [esp + 0xc], 1
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp], ebx
call sub.cygwin1.dll__fseeko64
test eax, eax
jne 0x41e9db
lea eax, [esp + 0x1f]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], eax
mov byte [esp + 0x1f], 0
call sub.cygwin1.dll_fwrite
cmp eax, 1
je 0x41e906
cmp dword [0x42601c], 0
jg 0x41eab5
cmp dword [0x42601c], 4
jg 0x41eae6
mov dword [esp], 0x45
call sub.cygwin1.dll_exit
mov dword [esp + 0xc], str.storedSkips__0
mov dword [esp + 8], str.FIO_fwriteSparseEnd
mov dword [esp + 4], 0x859
mov dword [esp], str.fileio.c
call sub.cygwin1.dll___assert_func
mov dword [esp + 0xc], str.prefs__sparseFileSupport___0
mov dword [esp + 8], str.FIO_fwriteSparseEnd
mov dword [esp + 4], 0x85b
mov dword [esp], str.fileio.c
call sub.cygwin1.dll___assert_func
cmp dword [0x42601c], 0
jg 0x41eb87
cmp dword [0x42601c], 4
jle 0x41e987
call sub.cygwin1.dll___getreent
mov dword [esp + 0xc], 0x85e
mov dword [esp + 8], str.fileio.c
mov dword [esp + 4], str.Error_defined_at__s__line__i_:__n
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
cmp dword [0x42601c], 0
jle 0x41e987
call sub.cygwin1.dll___getreent
mov dword [esp + 8], 0x45
mov dword [esp + 4], str.error__i_:
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
cmp dword [0x42601c], 0
jle 0x41e987
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], 0x26
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov dword [esp], str.Final_skip_error__sparse_file_support_
call sub.cygwin1.dll_fwrite
cmp dword [0x42601c], 0
jle 0x41e987
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov dword [esp], 0x429bfd
call sub.cygwin1.dll_fwrite
jmp 0x41e987
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov dword [esp], str.zstd:
call sub.cygwin1.dll_fwrite
cmp dword [0x42601c], 4
jle 0x41eb0e
call sub.cygwin1.dll___getreent
mov dword [esp + 0xc], 0x863
mov dword [esp + 8], str.fileio.c
mov dword [esp + 4], str.Error_defined_at__s__line__i_:__n
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
cmp dword [0x42601c], 0
jle 0x41e987
call sub.cygwin1.dll___getreent
mov dword [esp + 8], 0x45
mov dword [esp + 4], str.error__i_:
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
cmp dword [0x42601c], 0
jle 0x41e987
call sub.cygwin1.dll___errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strerror
mov ebx, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Write_error_:_cannot_write_last_zero_:__s
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
cmp dword [0x42601c], 0
jg 0x41ea88
jmp 0x41e987
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov dword [esp], str.zstd:
call sub.cygwin1.dll_fwrite
cmp dword [0x42601c], 4
jle 0x41ea19
jmp 0x41e9f1