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

Disassembly:
push ebp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x3c
mov dword [esp], eax
mov dword [esp + 0x24], eax
call sub.cygwin1.dll_strlen
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
call sub.cygwin1.dll_strrchr
mov ebp, eax
test eax, eax
je 0x41e5d2
mov dword [esp], eax
call sub.cygwin1.dll_strlen
mov edi, dword [str..zst]
mov dword [esp + 0x20], eax
test edi, edi
je 0x41e5d0
mov ebx, 0x42600c
jmp 0x41e46e
mov edi, dword [ebx + 4]
add ebx, 4
test edi, edi
je 0x41e5d0
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.00423288
test eax, eax
jne 0x41e460
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x28], ecx
jbe 0x41e5d0
xor eax, eax
cmp byte [edi + 1], 0x74
mov edx, 0x429ee2
sete al
mov edi, eax
mov eax, str..tar
cmovne eax, edx
lea edi, [edi*4 + 1]
mov dword [esp + 0x28], eax
test esi, esi
je 0x41e564
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call sub.cygwin1.dll_strrchr
test eax, eax
je 0x41e6a7
add eax, 1
mov dword [esp], eax
mov dword [esp + 0x2c], eax
call sub.cygwin1.dll_strlen
mov dword [esp + 0x1c], eax
mov dword [esp], esi
call sub.cygwin1.dll_strlen
mov ecx, dword [esp + 0x1c]
mov dword [esp], 1
mov ebx, eax
lea eax, [ecx + eax + 2]
mov dword [esp + 4], eax
call fcn.00423148
mov ebp, eax
test eax, eax
je 0x41e6b4
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.cygwin1.dll_memcpy
cmp byte [esi + ebx - 1], 0x2f
je 0x41e680
mov byte [ebp + ebx], 0x2f
mov esi, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp], ebx
call sub.cygwin1.dll_strlen
mov dword [esp + 4], ebx
mov edx, eax
lea eax, [ebp + esi + 1]
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.cygwin1.dll_memcpy
mov dword [esp], ebp
mov esi, ebp
call sub.cygwin1.dll_strlen
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
add edi, dword [esp + 0x1c]
add eax, dword [0x432034]
mov ebp, dword [0x432030]
cmp eax, edi
jbe 0x41e610
test ebp, ebp
je 0x41e6d2
mov ebx, dword [esp + 0x1c]
sub ebx, dword [esp + 0x20]
mov dword [esp + 8], ebx
test esi, esi
je 0x41e668
mov dword [esp + 4], esi
mov dword [esp], ebp
call sub.cygwin1.dll_memcpy
mov dword [esp], esi
call sub.cygwin1.dll_free
mov eax, dword [esp + 0x28]
add ebx, ebp
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.cygwin1.dll_strcpy
add esp, 0x3c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebp, ebp
mov eax, dword [0x42601c]
test eax, eax
jle 0x41e5c2
call sub.cygwin1.dll___getreent
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], str..zst_.tzst
mov dword [esp + 4], str.zstd:__s:_unknown_suffix___s_expected_._Cant_derive_the_output_file_name._Specify_it_with__o_dstFileName._Ignoring._n
mov dword [esp + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
add esp, 0x3c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
call sub.cygwin1.dll_free
mov eax, dword [esp + 0x1c]
add eax, 0x14
mov dword [esp], eax
mov dword [0x432034], eax
call sub.cygwin1.dll_malloc
mov dword [0x432030], eax
mov ebp, eax
test eax, eax
jne 0x41e588
cmp dword [0x42601c], 0
jg 0x41e7f0
cmp dword [0x42601c], 4
jg 0x41e821
mov dword [esp], 0x4a
call sub.cygwin1.dll_exit
lea esi, [esi]
mov eax, dword [esp + 0x24]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sub.cygwin1.dll_memcpy
jmp 0x41e5b0
mov esi, dword [esp + 0x2c]
mov dword [esp], esi
call sub.cygwin1.dll_strlen
mov dword [esp + 4], esi
mov edx, eax
mov eax, ebx
add eax, ebp
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.cygwin1.dll_memcpy
jmp 0x41e556
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
jmp 0x41e4e6
cmp dword [0x42601c], 0
jg 0x41e6f6
cmp dword [0x42601c], 4
jg 0x41e727
mov dword [esp], 0x1e
call sub.cygwin1.dll_exit
mov dword [esp + 0xc], str.dstFileNameBuffer___NULL
mov dword [esp + 8], str.FIO_determineDstName
mov dword [esp + 4], 0xb1a
mov dword [esp], str.fileio.c
call sub.cygwin1.dll___assert_func
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 0x41e74f
call sub.cygwin1.dll___getreent
mov dword [esp + 0xc], 0x34f
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 0x41e6c6
call sub.cygwin1.dll___getreent
mov dword [esp + 8], 0x1e
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 0x41e6c6
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.zstd:_FIO_createFilename_fromOutDir:__s
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
cmp dword [0x42601c], 0
jle 0x41e6c6
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 0x41e6c6
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 0x41e849
call sub.cygwin1.dll___getreent
mov dword [esp + 0xc], 0xb15
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 0x41e655
call sub.cygwin1.dll___getreent
mov dword [esp + 8], 0x4a
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 0x41e655
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._s_:_not_enough_memory_for_dstFileName
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
cmp dword [0x42601c], 0
jle 0x41e655
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 0x41e655