Function at 0x41b990
Capabilities:
Delete file
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x10028
call fcn.00463720
mov eax, dword [0x4a57cc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10030], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
push 0x48b980
mov ecx, dword [ebp + 8]
push ecx
call fcn.00437fd0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41ba07
call fcn.00465f0d
mov edx, dword [eax]
push edx
mov eax, dword [ebp + 8]
push eax
push str.Cannot_open_gzfile___s__while_Decompress__error_code___d
mov ecx, dword [ebp - 0x10030]
push ecx
call fcn.0041e290
add esp, 0x10
xor eax, eax
jmp 0x41bbd7
push 0x80
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41ba6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.Cannot_create_file___s__while_Decompress__error_code___d
mov edx, dword [ebp - 0x10030]
push edx
call fcn.0041e290
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
call fcn.00437d30
add esp, 4
xor eax, eax
jmp 0x41bbd7
cmp dword [ebp - 0x18], 0
jbe 0x41bb9c
cmp dword [ebp - 0x18], 0x10000
jae 0x41ba8b
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10034], ecx
jmp 0x41ba95
mov dword [ebp - 0x10034], 0x10000
mov edx, dword [ebp - 0x10034]
mov dword [ebp - 0x10024], edx
mov eax, dword [ebp - 0x10024]
push eax
lea ecx, [ebp - 0x1001c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00437ff0
add esp, 0xc
mov dword [ebp - 0x10020], eax
mov eax, dword [ebp - 0x10024]
cmp eax, dword [ebp - 0x10020]
je 0x41bb0c
call fcn.00465f0d
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.Read_error___s__while_Decompress__error_code___d
mov eax, dword [ebp - 0x10030]
push eax
call fcn.0041e290
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00437d30
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41bbd7
push 0
lea eax, [ebp - 0x10028]
push eax
mov ecx, dword [ebp - 0x10020]
push ecx
lea edx, [ebp - 0x1001c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x10024]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10030]
add edx, 4
push edx
lea ecx, [ebp - 0x1002c]
call fcn.0041e3d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1002c]
call fcn.0041e420
movzx eax, al
test eax, eax
je 0x41bb85
mov ecx, dword [ebp - 0x10030]
mov edx, dword [ecx + 0x524]
add edx, dword [ebp - 0x10024]
mov eax, dword [ebp - 0x10030]
mov dword [eax + 0x524], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1002c]
call fcn.0041e400
jmp 0x41ba6d
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00437d30
add esp, 4
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004635af
mov esp, ebp
pop ebp
ret 0x14