Function at 0x4401ad
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471f22
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x569c
call fcn.00448ed0
mov eax, dword [0x49d5f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x5678], edi
cmp dword [edi + 8], ebx
jne 0x440220
push str.No_file_to_unzip
lea ecx, [ebp - 0x5688]
call fcn.00404864
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::runtime_error.0
lea eax, [ebp - 0x5688]
push 0x493804
push eax
call fcn.0044b334
test esi, esi
jne 0x440227
lea esi, [edi + 0xc]
push esi
call fcn.0043fbd7
test eax, eax
jne 0x440258
push str.failed_CreateFolder
lea ecx, [ebp - 0x5694]
call fcn.00404864
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::runtime_error.0
lea eax, [ebp - 0x5694]
push 0x493804
jmp 0x44021a
lea eax, [ebp - 0x566c]
mov ecx, edi
push eax
call fcn.0043fc81
lea eax, [ebp - 0x566c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x566e], cx
je 0x4404d9
push esi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21e], cx
je 0x4402c3
push 0x478934
lea eax, [ebp - 0x21c]
push eax
call esi
push 0x5c
pop ecx
cmp dword [ebp + 0xc], ebx
je 0x4402ec
push ecx
push ebx
lea eax, [ebp - 0x566c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x4402ec
add eax, 2
push eax
lea eax, [ebp - 0x566c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x566c]
push eax
lea eax, [ebp - 0x21c]
push eax
call esi
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.0043fb95
test eax, eax
jne 0x440338
push str.failed_CreateFilePath
lea ecx, [ebp - 0x56a0]
call fcn.00404864
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::runtime_error.0
lea eax, [ebp - 0x56a0]
push 0x493804
jmp 0x44021a
cmp byte [edi + 4], bl
je 0x44035d
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44035d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4404d9
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x567c], esi
push str.failed_CreateFile
lea ecx, [ebp - 0x5234]
mov dword [ebp - 4], ebx
call fcn.00403e06
lea eax, [ebp - 0x5234]
mov byte [ebp - 4], 1
push eax
xor eax, eax
cmp esi, 0xffffffff
setne al
push eax
call fcn.00415830
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x5234]
mov byte [ebp - 4], bl
call fcn.0040900a
push str.unzOpenCurrentFile
push dword [edi + 8]
call fcn.004420df
pop ecx
push eax
call fcn.00440596
pop ecx
pop ecx
mov byte [ebp - 4], 2
push 0x5000
lea eax, [ebp - 0x521c]
push eax
push dword [edi + 8]
call fcn.00442304
add esp, 0xc
mov dword [ebp - 0x5670], eax
test eax, eax
jle 0x4404aa
push str.WriteFile_error
lea ecx, [ebp - 0x5234]
mov dword [ebp - 0x5674], ebx
call fcn.00403e06
lea eax, [ebp - 0x5234]
mov byte [ebp - 4], 3
push eax
push ebx
lea eax, [ebp - 0x5674]
push eax
push dword [ebp - 0x5670]
lea eax, [ebp - 0x521c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
call fcn.00415830
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x5234]
mov byte [ebp - 4], 2
call fcn.0040900a
mov eax, dword [ebp - 0x5670]
cmp dword [ebp - 0x5674], eax
je 0x4403da
push str.dwBytesWritten___nRet
lea ecx, [ebp - 0x56ac]
call fcn.00404864
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::runtime_error.0
lea eax, [ebp - 0x56ac]
push 0x493804
jmp 0x44021a
push dword [edi + 8]
call fcn.00441e77
pop ecx
test esi, esi
je 0x4404be
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x5250]
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 5
push eax
mov ecx, edi
call fcn.00440041
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00448d6b
mov esp, ebp
pop ebp
ret 8