Function at 0x429570
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, str.warc.gz
push esi
mov esi, eax
mov eax, str.warc
push ebx
sub esp, 0x40
cmp byte [0x475fd0], 0
cmove edi, eax
mov eax, dword [0x475fb8]
test eax, eax
je 0x4298fa
mov eax, dword [0x47844c]
test eax, eax
je 0x4295aa
mov dword [esp], eax
call sub.cygwin1.dll_fclose
mov eax, dword [0x4783e8]
mov byte [0x478400], 0
mov dword [esp], eax
call fcn.004376c0
mov eax, dword [0x475fb8]
add dword [0x4783e4], 1
mov dword [0x4783e8], 0
mov dword [esp], eax
call sub.cygwin1.dll_strlen
add eax, 0xf
mov dword [esp], eax
call fcn.00447900
mov dword [0x4783e8], eax
mov ebx, eax
mov eax, esi
test al, al
jne 0x429908
xor eax, eax
cmp eax, dword [0x475fc8]
sbb eax, dword [0x475fcc]
mov edx, dword [0x475fb8]
jge 0x4298b0
mov eax, dword [0x4783e4]
mov dword [esp + 0x10], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], str._s__05d._s
mov dword [esp], ebx
call sub.cygwin1.dll_sprintf
mov dword [esp], ebx
call fcn.00439a30
mov dword [esp], str.Opening_WARC_file__s._n_n
mov esi, eax
call sub.cygintl_8.dll_libintl_gettext
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0041d940
mov dword [esp + 4], 0x463c61
mov dword [esp], ebx
call sub.cygwin1.dll__fopen64
mov dword [0x47844c], eax
test eax, eax
je 0x4298d0
mov dword [esp + 4], 0x30
lea esi, [esp + 0x2a]
mov dword [esp], 0x478400
call fcn.004293f0
mov dword [esp], 0
call sub.cygwin1.dll_time
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp], eax
call sub.cygwin1.dll_gmtime
mov dword [esp + 8], str._Y__m__dT_H:_M:_SZ
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x16
mov dword [esp], esi
call sub.cygwin1.dll_strftime
test eax, eax
jne 0x4296d3
mov byte [esp + 0x2a], 0
mov dword [esp], ebx
call fcn.004375f0
cmp byte [0x478434], 0
mov ebx, eax
je 0x4296eb
call fcn.00429970
mov edx, str.warcinfo
mov eax, str.WARC_Type
call fcn.00429040
mov edx, str.application_warc_fields
mov eax, str.Content_Type
call fcn.00429040
mov edx, esi
mov eax, str.WARC_Date
call fcn.00429040
mov edx, 0x478400
mov eax, str.WARC_Record_ID
call fcn.00429040
mov edx, ebx
mov eax, str.WARC_Filename
call fcn.00429040
mov dword [esp], ebx
call fcn.004376c0
call fcn.004294e0
mov ebx, eax
test eax, eax
je 0x42989d
mov eax, dword [str.1.21.3]
mov dword [esp + 0xc], str.cygwin
mov dword [esp + 4], str.software:_Wget__s___s__r_n
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.cygwin1.dll_fprintf
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1e
mov dword [esp + 4], 1
mov dword [esp], str.format:_WARC_File_Format_1.0_r_n
call sub.cygwin1.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4f
mov dword [esp + 4], 1
mov dword [esp], str.conformsTo:_http:__bibnum.bnf.fr_WARC_WARC_ISO_28500_version1_latestdraft.pdf_r_n
call sub.cygwin1.dll_fwrite
cmp byte [0x476070], 0
mov dword [esp], ebx
mov edx, 0x463c7a
mov eax, str.classic
mov dword [esp + 4], str.robots:__s_r_n
cmove eax, edx
mov dword [esp + 8], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x475f08]
mov dword [esp + 4], str.wget_arguments:__s_r_n
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x475fd4]
test eax, eax
je 0x429823
mov eax, dword [eax]
test eax, eax
je 0x429823
mov esi, 4
lea esi, [esi]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_r_n
mov dword [esp], ebx
call sub.cygwin1.dll_fprintf
mov eax, dword [0x475fd4]
mov eax, dword [eax + esi]
add esi, 4
test eax, eax
jne 0x429800
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x463ba8
call sub.cygwin1.dll_fwrite
cmp byte [0x475fd1], 0
jne 0x429930
mov eax, ebx
call fcn.004290e0
call fcn.00428dd0
cmp byte [0x478434], 0
je 0x429948
mov dword [esp], ebx
call sub.cygwin1.dll_fclose
movzx ebx, byte [0x478434]
test bl, bl
je 0x4298fa
mov eax, dword [0x478450]
test eax, eax
je 0x42989d
mov dword [esp + 8], 0x478400
mov dword [esp + 4], 0x463e15
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
add esp, 0x40
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 4], str._s._s
mov dword [esp], ebx
call sub.cygwin1.dll_sprintf
jmp 0x429633
mov dword [esp], ebx
call fcn.00439a30
mov dword [esp], str.Error_opening_WARC_file__s._n
mov ebx, eax
call sub.cygintl_8.dll_libintl_gettext
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], 1
call fcn.0041d940
add esp, 0x40
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov eax, dword [0x475fb8]
mov dword [esp + 0xc], edi
mov dword [esp + 4], str._s_meta._s
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.cygwin1.dll_sprintf
jmp 0x429633
mov edx, 0xffffffff
mov eax, ebx
call fcn.00429210
jmp 0x429850
mov dword [esp], str.Error_writing_warcinfo_record_to_WARC_file._n
call sub.cygintl_8.dll_libintl_gettext
mov dword [esp], 1
mov dword [esp + 4], eax
call fcn.0041d940
jmp 0x429869