Function at 0x410eb0
Capabilities:
Initialize winsock library
Write file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x368
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
call fcn.0040f750
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 8
test eax, eax
jne 0x411c52
call fcn.00403bf0
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x318], 0xffffffff
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x310], 0
mov dword [esp + 8], str.b:Ceo:f:u:U:vVzZ
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.004109a0
cmp eax, 0xffffffff
je 0x411126
sub eax, 0x43
cmp eax, 0x37
ja case.0x410f8b.68
jmp dword [eax*4 + 0x413668]
mov dword [ebp - 0x314], 1
jmp case.0x410f8b.68
add dword [0x418020], 1
jmp case.0x410f8b.68
mov edi, dword [ebp - 0x308]
add edi, 1
lea eax, [edi*4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2fc]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov edx, dword [ebp - 0x308]
mov dword [ebp - 0x308], edi
mov dword [ebp - 0x2fc], eax
mov eax, dword [0x4184b0]
mov ecx, dword [ebp - 0x2fc]
mov dword [ecx + edx*4], eax
jmp case.0x410f8b.68
mov edx, dword [ebp - 0x300]
test edx, edx
jne 0x411c6e
mov eax, dword [0x4184b0]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [ebp - 0x300], eax
jmp case.0x410f8b.68
mov eax, dword [ebp - 0x310]
test eax, eax
jne 0x411d2d
mov eax, dword [0x4184b0]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [ebp - 0x310], eax
jmp case.0x410f8b.68
mov dword [ebp - 0x31c], 1
jmp case.0x410f8b.68
mov eax, dword [0x4184b0]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
lea edx, [eax - 1]
test edx, eax
mov dword [0x418030], eax
je case.0x410f8b.68
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x36
mov dword [esp + 4], 1
mov dword [esp], str.blocksize_must_be_a_power_of_2__512__1024__2048__...__n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov dword [0x418040], 1
jmp case.0x410f8b.68
mov dword [esp], str.zsync_v0.6.2__zsyncmake_compiled_Dec_27_2011_01:44:43__nBy_Colin_Phipps__cph_moria.org.uk__nPublished_under_the_Artistic_License_v2__see_the_COPYING_file_for_details.
call sub.msvcrt.dll_puts
mov dword [esp], 0
call sub.msvcrt.dll_exit
lea esi, [esi]
mov edi, dword [ebp - 0x304]
add edi, 1
lea eax, [edi*4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30c]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov edx, dword [ebp - 0x304]
mov dword [ebp - 0x304], edi
mov dword [ebp - 0x30c], eax
mov eax, dword [0x4184b0]
mov ecx, dword [ebp - 0x30c]
mov dword [ecx + edx*4], eax
jmp case.0x410f8b.68
mov dword [ebp - 0x318], 0
jmp case.0x410f8b.68
mov eax, dword [ebp - 0x318]
sub esi, 1
cmp esi, dword [0x41215c]
mov dword [ebp - 0x330], eax
je 0x411b36
mov esi, dword [sym.imp.msvcrt.dll__iob]
mov dword [ebp - 0x324], 0
cmp dword [0x418030], 0
je 0x411a1a
cmp dword [ebp - 0x314], 0
je 0x411204
mov edx, dword [ebp - 0x324]
test edx, edx
je 0x411bc1
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov dword [ebp - 0x34c], edx
not ecx
add ecx, 3
mov dword [esp], ecx
call sub.msvcrt.dll_malloc
mov edx, dword [ebp - 0x34c]
test eax, eax
mov ebx, eax
je 0x411be4
mov dword [esp + 4], edx
mov edi, ebx
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov dword [ebx + ecx - 1], 0x7a672e
mov eax, dword [0x418030]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00402640
test eax, eax
mov esi, eax
je 0x411cf9
cmp dword [ebp - 0x324], 0
je 0x411bb4
mov eax, dword [ebp - 0x324]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0x324], ebx
mov dword [esp], 0x418420
call fcn.0040e640
mov eax, dword [ebp - 0x320]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00401ea0
mov edi, dword [0x41802c]
xor eax, eax
mov ebx, dword [0x418030]
mov esi, dword [0x418028]
cmp eax, edi
jg 0x411427
jge 0x41141f
mov dword [ebp - 0x32c], 2
mov dword [ebp - 0x2f8], esi
xor edx, edx
mov dword [ebp - 0x2f4], edi
fild qword [ebp - 0x2f8]
fldln2
fld st(0)
fxch st(2)
fyl2x
mov dword [ebp - 0x2f8], ebx
mov dword [ebp - 0x2f4], edx
fstp qword [ebp - 0x338]
fild qword [ebp - 0x2f8]
fyl2x
fadd qword [ebp - 0x338]
fmul qword [0x413780]
fsub qword [0x413788]
fild dword [ebp - 0x32c]
fdivp st(1)
fmul dword [0x413790]
fstp qword [esp]
call sub.msvcrt.dll_ceil
fnstcw word [ebp - 0x2ea]
movzx eax, word [ebp - 0x2ea]
mov ah, 0xc
mov word [ebp - 0x2ec], ax
fldcw word [ebp - 0x2ec]
fistp dword [ebp - 0x328]
fldcw word [ebp - 0x2ea]
cmp dword [ebp - 0x328], 4
jg 0x411436
cmp dword [ebp - 0x328], 1
mov eax, 2
cmovg eax, dword [ebp - 0x328]
mov dword [ebp - 0x328], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.0040fb40
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], edx
fild qword [ebp - 0x2f8]
fadd dword [0x413794]
fldln2
fxch st(1)
fyl2x
fst qword [ebp - 0x340]
fadd qword [ebp - 0x338]
fmul qword [0x413780]
fadd dword [0x413798]
fild dword [ebp - 0x32c]
fdivp st(1)
fmul dword [0x413790]
fstp qword [esp]
call sub.msvcrt.dll_ceil
cmp dword [ebp - 0x31c], 0
fstp qword [ebp - 0x348]
je 0x411445
cmp dword [ebp - 0x314], 0
jne 0x411a36
cmp dword [0x41803c], 0
je 0x411a36
xor eax, eax
mov dword [ebp - 0x318], 2
cmp dword [ebp - 0x330], 0xffffffff
je 0x4113a8
test al, al
je 0x411cc5
cmp dword [ebp - 0x318], 0
jle 0x411445
mov eax, dword [ebp - 0x324]
mov dword [esp], eax
call fcn.00402160
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
jne 0x411466
cmp dword [ebp - 0x318], 1
jle 0x411466
cmp dword [0x418038], 0
mov edx, str.we_are_not_looking_into_a_compressed_stream
mov eax, str.could_not_determine_gzip_options_to_reproduce_this_archive
mov dword [esp + 4], str.recompression_required__but__s_n
cmove eax, edx
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call sub.msvcrt.dll_exit
cmp ebx, esi
jb 0x411244
mov dword [ebp - 0x32c], 1
jmp 0x41124e
mov dword [ebp - 0x328], 4
jmp 0x4112fa
cmp dword [ebp - 0x318], 0xffffffff
je 0x411af1
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x318], 0
cmp dword [ebp - 0x310], 0
je 0x411a99
xor esi, esi
cmp dword [0x41803c], 0
je 0x4114d9
mov eax, dword [ebp - 0x310]
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call sub.msvcrt.dll_strrchr
test eax, eax
mov ebx, eax
je 0x4114d9
mov eax, dword [ebp - 0x310]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [esp + 4], 0x413460
mov dword [esp], ebx
mov esi, eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4114c1
mov byte [ebx], 0
mov dword [esp + 4], str..tgz
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x411a6b
cmp dword [ebp - 0x300], 0
mov byte [ebp - 0x338], 1
jne 0x411529
mov edi, dword [ebp - 0x310]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 9
mov dword [esp], ecx
call sub.msvcrt.dll_malloc
mov dword [esp + 4], str._s.zsync
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x310]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x300]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
cmp dword [ebp - 0x300], 0
je 0x4119e4
mov eax, dword [ebp - 0x300]
mov dword [esp + 4], 0x413472
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
mov ebx, eax
je 0x411cad
mov eax, dword [ebp - 0x300]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xd
mov dword [esp + 4], 1
mov dword [esp], str.zsync:_0.6.2_n
call sub.msvcrt.dll_fwrite
cmp dword [ebp - 0x318], 0
je 0x4115a9
test esi, esi
je 0x411bf0
mov dword [esp + 8], esi
mov dword [esp + 4], str.Safe:_Z_Filename_Recompress_MTime_nZ_Filename:__s_n
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
cmp byte [ebp - 0x338], 0
lea esi, [ebp - 0x40]
je 0x4116ab
mov eax, dword [ebp - 0x310]
mov dword [esp + 4], str.Filename:__s_n
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
cmp dword [ebp - 0x1c], 0xffffffff
je 0x411a8a
lea eax, [ebp - 0x20]
lea esi, [ebp - 0x64]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00403910
test eax, eax
je 0x411c24
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x40]
mov dword [esp + 8], str._a___d__b__Y__H:_M:_S
mov dword [esp + 4], 0x20
mov dword [esp], esi
call sub.msvcrt.dll_strftime
mov dword [ebp - 0x300], eax
lea eax, [ebp - 0x14c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp word [ebp - 0x106], 0
push eax
mov eax, dword [ebp - 0x14c]
jne 0x411a4a
mov ecx, eax
neg ecx
mov edx, ecx
mov edi, 0x3c
mov eax, ecx
sar edx, 0x1f
idiv edi
mov dword [esp + 8], esi
mov dword [esp + 4], str._s__c_02d_02d
mov edi, eax
mov eax, ecx
sar eax, 0x1f
and eax, 2
add eax, 0x2b
mov dword [esp + 0x10], edi
lea edi, [ebp - 0xa0]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
mov dword [esp], edi
call sub.msvcrt.dll_sprintf
mov eax, dword [ebp - 0x300]
add eax, 6
cmp eax, 0x1f
ja 0x4116ab
test eax, eax
je 0x4116ab
mov dword [esp + 8], edi
mov dword [esp + 4], str.MTime:__s_n
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
fnstcw word [ebp - 0x2ea]
fld qword [ebp - 0x348]
mov dword [esp + 4], str.Blocksize:__Iu_n
mov dword [esp], ebx
movzx eax, word [ebp - 0x2ea]
mov ah, 0xc
mov word [ebp - 0x2ec], ax
fldcw word [ebp - 0x2ec]
fistp dword [ebp - 0x2f0]
fldcw word [ebp - 0x2ea]
mov edx, dword [ebp - 0x2f0]
fld qword [ebp - 0x340]
fmul qword [0x413780]
fadd qword [str.fffff]
fmul dword [0x413790]
fldcw word [ebp - 0x2ec]
fistp dword [ebp - 0x2f0]
fldcw word [ebp - 0x2ea]
mov eax, dword [ebp - 0x2f0]
cmp eax, edx
cmovge edx, eax
mov eax, dword [0x418030]
mov dword [ebp - 0x31c], edx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
mov edx, dword [0x41802c]
mov eax, dword [0x418028]
mov dword [esp + 4], str.Length:__I64u_n
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
mov edx, dword [ebp - 0x31c]
mov ecx, dword [ebp - 0x328]
mov eax, dword [ebp - 0x32c]
mov dword [esp + 4], str.Hash_Lengths:__d__d__d_n
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
cmp dword [ebp - 0x308], 0
je 0x4117ef
mov dword [ebp - 0x300], ebx
mov ebx, dword [ebp - 0x308]
xor edi, edi
mov dword [ebp - 0x32c], esi
mov esi, dword [ebp - 0x2fc]
mov eax, dword [0x41803c]
mov ecx, 0x4132a2
mov edx, dword [esi + edi*4]
mov dword [esp + 4], str._s:__s_n
test eax, eax
mov eax, str.Z_URL
cmove eax, ecx
add edi, 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x300]
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp edi, ebx
jne 0x4117a7
mov ebx, dword [ebp - 0x300]
mov esi, dword [ebp - 0x32c]
cmp dword [ebp - 0x304], 0
je 0x411842
mov dword [ebp - 0x2fc], ebx
mov ebx, dword [ebp - 0x304]
xor edi, edi
mov dword [ebp - 0x304], esi
mov esi, dword [ebp - 0x30c]
mov eax, dword [esi + edi*4]
add edi, 1
mov dword [esp + 4], str.URL:__s_n
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2fc]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp edi, ebx
jne 0x411812
mov ebx, dword [ebp - 0x2fc]
mov esi, dword [ebp - 0x304]
cmp dword [ebp - 0x324], 0
je 0x4118b5
cmp dword [ebp - 0x308], 0
jne 0x4118b5
cmp dword [0x41803c], 0
mov edx, 0x4132a2
mov eax, str.Z_URL
mov dword [esp + 4], str._s:__s_n
cmove eax, edx
mov edx, dword [ebp - 0x324]
mov dword [esp + 8], eax
mov dword [esp], ebx
mov dword [esp + 0xc], edx
call sub.msvcrt.dll_fprintf
cmp byte [ebp - 0x338], 0
jne 0x411aa7
mov eax, dword [ebp - 0x324]
mov dword [esp + 4], str.No_URL_given__so_I_am_including_a_relative_URL_in_the_.zsync_file___you_must_keep_the_file_being_served_and_the_.zsync_in_the_same_public_directory._Use__u__s_to_get_this_same_result_without_this_warning._n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 0xc], ebx
xor edi, edi
mov dword [esp + 8], 7
mov dword [esp + 4], 1
mov dword [esp], str.SHA_1:
call sub.msvcrt.dll_fwrite
mov dword [esp + 4], 0x418420
mov dword [esp], esi
call fcn.0040e810
movzx eax, byte [esi + edi]
add edi, 1
mov dword [esp + 4], str._02x
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
cmp edi, 0x14
jne 0x4118e7
mov dword [esp + 4], ebx
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
cmp dword [ebp - 0x318], 0
jne 0x4119f2
cmp dword [ebp - 0x314], 0
je 0x41193b
mov eax, dword [ebp - 0x314]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [0x41803c]
test eax, eax
je 0x411976
mov dword [esp + 8], eax
mov dword [esp + 4], str.Z_Map2:__d_n
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
mov eax, dword [0x418038]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00401fd0
mov eax, dword [0x418038]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov dword [esp + 4], ebx
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
mov eax, dword [ebp - 0x320]
mov dword [esp], eax
call sub.msvcrt.dll_rewind
mov ecx, dword [ebp - 0x328]
mov edx, dword [ebp - 0x31c]
mov eax, dword [ebp - 0x320]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.00402080
mov eax, dword [ebp - 0x320]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov ebx, dword [sym.imp.msvcrt.dll__iob]
add ebx, 0x20
jmp 0x411564
mov eax, dword [ebp - 0x314]
mov dword [esp + 4], str.Recompress:__s__s_n
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [0x418034]
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
jmp 0x411924
mov dword [esp], esi
call fcn.004025c0
cmp edx, 0
jle 0x411a7a
mov eax, 0x1000
mov dword [0x418030], eax
jmp 0x41115e
mov eax, 1
mov dword [ebp - 0x318], 0
jmp 0x411397
mov ecx, dword [ebp - 0xf8]
sub ecx, eax
cmp word [ebp - 0xb2], 0
je 0x411644
add ecx, dword [ebp - 0xa4]
jmp 0x411644
mov dword [ebx], 0x7261742e
mov byte [ebx + 4], 0
jmp 0x4114d9
jl 0x411a83
cmp eax, 0x5f5e0ff
ja 0x411a27
mov eax, 0x800
jmp 0x411a2c
cmp dword [ebp - 0x20], 0xffffffff
jne 0x4115dd
jmp 0x4116ab
mov byte [ebp - 0x338], 0
xor esi, esi
jmp 0x411529
cmp dword [0x41803c], 0
je 0x411893
mov eax, dword [ebp - 0x310]
mov dword [esp + 4], 4
mov dword [esp], eax
call sub.msvcrt.dll__access
test eax, eax
jne 0x411893
mov eax, dword [ebp - 0x310]
mov dword [esp + 4], str.URL:__s_n
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
jmp 0x411893
cmp dword [ebp - 0x314], 0
jne 0x411c15
cmp dword [0x41803c], 0
je 0x411c15
mov eax, dword [ebp - 0x324]
mov dword [esp], eax
call fcn.00402160
mov dword [ebp - 0x314], eax
xor edx, edx
cmp dword [ebp - 0x314], 0
setne dl
mov dword [ebp - 0x318], edx
jmp 0x4113c9
mov eax, dword [ebx + esi*4]
mov dword [esp], eax
call sub.msvcrt.dll__strdup
mov dword [esp + 4], 0x413176
mov dword [ebp - 0x324], eax
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
mov esi, eax
je 0x411cad
mov dword [esp], eax
call sub.msvcrt.dll__fileno
lea edx, [ebp - 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__fstat64]
test eax, eax
jne 0x411b8c
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x310], 0
jne 0x411151
mov eax, dword [0x41215c]
mov eax, dword [ebx + eax*4]
mov dword [esp], eax
call fcn.00410a60
mov dword [ebp - 0x310], eax
jmp 0x411151
mov dword [esp], ebx
call sub.msvcrt.dll_free
jmp 0x411204
cmp dword [ebp - 0x310], 0
jne 0x411ca2
mov dword [esp], str.zsync_target.gz
call sub.msvcrt.dll__strdup
test eax, eax
mov ebx, eax
jne 0x4111c4
mov dword [esp], 1
call sub.msvcrt.dll_exit
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x18
mov dword [esp + 4], 1
mov dword [esp], str.Safe:_Recompress_MTime:_n
call sub.msvcrt.dll_fwrite
jmp 0x4115a9
mov dword [ebp - 0x314], 0
jmp 0x411b1f
mov eax, dword [ebp - 0x20]
lea esi, [ebp - 0x40]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], str.error_converting__d_to_struct_tm_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0xc], edx
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4116ab
mov dword [esp + 4], eax
mov dword [esp], str.WSAStartup_failed_with_error:__d_n
call sub.msvcrt.dll_printf
mov dword [esp], 1
call sub.msvcrt.dll_exit
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x15
mov dword [esp + 4], 1
mov dword [esp], str.specify__o_only_once_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov edx, dword [ebp - 0x310]
jmp 0x411179
mov dword [esp], 0x413179
call sub.msvcrt.dll_perror
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x32
mov dword [esp + 4], 1
mov dword [esp], str.conflicting_request_for_compression_and_exactness_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x13
mov dword [esp + 4], 1
mov dword [esp], str.failed_to_compress_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], 0xffffffff
call sub.msvcrt.dll_exit
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x15
mov dword [esp + 4], 1
mov dword [esp], str.specify__f_only_once_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0x18
call fcn.004014f0
mov dword [esp], 0x401540
call fcn.0040ec30
leave
ret