Function at 0x493d0f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
lea eax, [ebp - 0x44]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._stat
test eax, eax
jns 0x493d36
mov eax, 0xffffffff
jmp 0x493fad
mov dword [esp], 0x17
call sym._umask
mov dword [esp + 4], 0x5036d9
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x493db7
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp], eax
call sym._strerror
mov ebx, eax
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.in_w_uncompress_gzfile__:_fopen_error__s___d_:_s
mov dword [esp + 8], str.w_uncompress_gzfile
mov dword [esp + 4], 0xb20
mov dword [esp], str.shared_file_op.c
call dbg._merror
mov eax, 0xffffffff
jmp 0x493fad
mov dword [esp + 4], 0x5035ea
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._gzopen
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x493e37
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp], eax
call sym._strerror
mov ebx, eax
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.in_w_uncompress_gzfile__:_gzopen_error__s___d_:_s
mov dword [esp + 8], str.w_uncompress_gzfile
mov dword [esp + 4], 0xb2a
mov dword [esp], str.shared_file_op.c
call dbg._merror
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov eax, 0xffffffff
jmp 0x493fad
mov dword [esp + 4], 1
mov dword [esp], 0x2000
call sym._calloc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x493e9c
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp], eax
call sym._strerror
mov ebx, eax
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x503710
mov dword [esp + 8], str.w_uncompress_gzfile
mov dword [esp + 4], 0xb32
mov dword [esp], str.shared_file_op.c
call dbg._merror_exit
mov dword [esp + 8], 0x2000
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._gzread
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x493ee6
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._fwrite
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
cmp dword [ebp - 0x18], 0x2000
je 0x493e9c
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._gzeof
test eax, eax
jne 0x493f7a
lea eax, [statbuf.st_mtime]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._gzerror
mov dword [statbuf.st_ctime], eax
mov eax, dword [statbuf.st_mtime]
test eax, eax
je 0x493f7a
mov eax, dword [statbuf.st_ctime]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.in_w_uncompress_gzfile__:_gzread_error:__s
mov dword [esp + 8], str.w_uncompress_gzfile
mov dword [esp + 4], 0xb3f
mov dword [esp], str.shared_file_op.c
call dbg._merror
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._gzclose
cmp dword [ebp - 0x14], 0
je 0x493f73
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._free
mov dword [ebp - 0x14], 0
mov eax, 0xffffffff
jmp 0x493fad
cmp dword [ebp - 0x14], 0
je 0x493f92
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._free
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._gzclose
mov eax, 0
mov ebx, dword [ebp - 4]
leave
ret