Function at 0x40e4c0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [0x47837c]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
test ebx, ebx
je 0x40ea40
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x40ea10
mov dword [esp], eax
call fcn.00426a20
mov edi, eax
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x40e8a0
mov dword [esp], eax
call fcn.00426a20
test eax, eax
je 0x40e8a0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x45b32b
mov dword [esp + 8], eax
mov dword [esp + 4], 0x45b293
mov dword [esp], edi
mov dword [esp + 0x20], eax
call fcn.0042b670
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov dword [esp], edi
mov dword [esp + 0x20], edx
call fcn.004376c0
mov edx, dword [esp + 0x20]
mov dword [esp], edx
call fcn.004376c0
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call fcn.00402b30
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x33
mov dword [esp + 4], 1
mov dword [esp], str.__DOCTYPE_HTML_PUBLIC_____IETF__DTD_HTML_2.0__EN___n
mov dword [esp + 0x24], eax
call sub.cygwin1.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x15
mov dword [esp + 4], 1
mov dword [esp], str._html__n_head__n_title_
call sub.cygwin1.dll_fwrite
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp], str.Index_of___s_on__s:_d
mov dword [esp + 0x20], edx
call sub.cygintl_8.dll_libintl_gettext
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 4], eax
call sub.cygwin1.dll_fprintf
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 1
mov dword [esp], str.__title__n__head__n_body__n_h1_
call sub.cygwin1.dll_fwrite
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp], str.Index_of___s_on__s:_d
mov dword [esp + 0x20], edx
call sub.cygintl_8.dll_libintl_gettext
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sub.cygwin1.dll_fprintf
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x11
mov dword [esp + 4], 1
mov dword [esp], str.__h1__n_hr__n_pre__n
call sub.cygwin1.dll_fwrite
test esi, esi
jne 0x40e82b
jmp 0x40e9b8
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call sub.cygwin1.dll_localtime
mov edi, eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x10]
mov eax, dword [eax*4 + 0x45b4c0]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 4], str._d__s__02d
add eax, 0x76c
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.cygwin1.dll_fprintf
mov edx, dword [esi + 0x14]
test edx, edx
jne 0x40e920
mov eax, dword [edi + 4]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 8]
mov dword [esp + 4], str._02d:_02d
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.cygwin1.dll_fprintf
mov eax, dword [esi]
cmp eax, 1
je 0x40e87a
cmp eax, 2
je 0x40e948
test eax, eax
je 0x40e968
mov dword [esp], str.Not_sure
call sub.cygintl_8.dll_libintl_gettext
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.00402b30
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.00426a30
mov edi, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], str._a_href_ftp:___s_s:_d
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp + 0x20]
cmp byte [eax], 0x2f
je 0x40e75a
mov dword [esp + 4], ebx
mov dword [esp], 0x2f
call sub.cygwin1.dll_putc
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.cygwin1.dll_fputs
mov eax, dword [ebp + 0x20]
cmp byte [eax], 0
jne 0x40e8c8
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.cygwin1.dll_fputs
cmp dword [esi], 1
je 0x40e9a0
mov eax, dword [esp + 0x20]
mov dword [esp + 4], 0x45b441
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.cygwin1.dll_fprintf
cmp dword [esi], 1
je 0x40e988
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 5
mov dword [esp + 4], 1
mov dword [esp], str.__a_
call sub.cygwin1.dll_fwrite
mov eax, dword [esi]
test eax, eax
je 0x40e8e0
cmp eax, 2
jne 0x40e7fc
mov eax, dword [esi + 0x1c]
mov ecx, str._nil_
mov dword [esp + 4], str.____s
mov dword [esp], ebx
test eax, eax
cmove eax, ecx
mov dword [esp + 8], eax
call sub.cygwin1.dll_fprintf
mov dword [esp + 4], ebx
mov dword [esp], 0xa
call sub.cygwin1.dll_putc
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004376c0
mov dword [esp], edi
call fcn.004376c0
mov esi, dword [esi + 0x24]
test esi, esi
je 0x40e9b8
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x45b3bf
call sub.cygwin1.dll_fwrite
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
jne 0x40e660
mov dword [esp], str.time_unknown
call sub.cygintl_8.dll_libintl_gettext
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [esi]
cmp eax, 1
jne 0x40e6d7
mov dword [esp], str.Directory
call sub.cygintl_8.dll_libintl_gettext
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.cygwin1.dll_fprintf
jmp 0x40e700
mov dword [esp + 8], 0
mov dword [esp + 4], 0x45b32b
mov dword [esp], edi
call fcn.0042b670
xor edx, edx
mov dword [esp + 0x28], eax
jmp 0x40e53d
mov dword [esp + 4], ebx
mov dword [esp], 0x2f
call sub.cygwin1.dll_putc
jmp 0x40e776
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0042ff80
mov dword [esp], str.___s_bytes_
mov dword [esp + 0x2c], eax
call sub.cygintl_8.dll_libintl_gettext
mov edx, dword [esp + 0x2c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sub.cygwin1.dll_fprintf
jmp 0x40e7fc
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 7
mov dword [esp + 4], 1
mov dword [esp], str.
call sub.cygwin1.dll_fwrite
jmp 0x40e6cc
mov dword [esp], str.Link
call sub.cygintl_8.dll_libintl_gettext
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.cygwin1.dll_fprintf
jmp 0x40e700
mov dword [esp], str.File
call sub.cygintl_8.dll_libintl_gettext
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.cygwin1.dll_fprintf
jmp 0x40e700
mov dword [esp + 4], ebx
mov dword [esp], 0x2f
call sub.cygwin1.dll_putc
jmp 0x40e7ac
mov dword [esp + 4], ebx
mov dword [esp], 0x2f
call sub.cygwin1.dll_putc
jmp 0x40e78b
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
mov dword [esp], str.__pre__n__body__n__html__n
call sub.cygwin1.dll_fwrite
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004376c0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004376c0
mov eax, dword [0x47837c]
mov dword [esp], ebx
test eax, eax
je 0x40ea28
call sub.cygwin1.dll_fflush
mov eax, 7
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x45b32d
call fcn.00447e10
mov dword [esp + 0x28], eax
jmp 0x40e555
call sub.cygwin1.dll_fclose
add esp, 0x4c
mov eax, 7
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 4], 0x45b328
mov dword [esp], eax
call sub.cygwin1.dll__fopen64
mov ebx, eax
test eax, eax
jne 0x40e4dd
call sub.cygwin1.dll___errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strerror
mov dword [esp + 4], 0x45b31a
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp], 1
mov dword [esp + 8], eax
call fcn.0041d940
mov eax, 0x13
jmp 0x40ea06