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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4659c5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x5734
call fcn.0045ae80
mov eax, dword [0x48e190]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x5668], esi
mov dword [ebp - 0x5660], eax
cmp dword [esi + 8], ebx
jne 0x442ab1
push str.No_file_to_unzip
lea ecx, [ebp - 0x5684]
call fcn.00408140
lea eax, [ebp - 0x5684]
push eax
lea eax, [ebp - 0x56c8]
push eax
mov dword [ebp - 4], ebx
call fcn.004012a3
push 0x481228
lea eax, [ebp - 0x56c8]
push eax
call fcn.0044bba3
cmp eax, ebx
jne 0x442abe
lea eax, [esi + 0xc]
mov dword [ebp - 0x5660], eax
push dword [ebp - 0x5660]
call fcn.00442dc2
test eax, eax
jne 0x442b04
push str.failed_CreateFolder
lea ecx, [ebp - 0x5684]
call fcn.00408140
lea eax, [ebp - 0x5684]
push eax
lea eax, [ebp - 0x5718]
push eax
mov dword [ebp - 4], 1
call fcn.004012a3
push 0x481228
lea eax, [ebp - 0x5718]
jmp 0x442aab
push esi
lea edi, [ebp - 0x565c]
call fcn.0044279c
mov eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
cmp word [ebp + eax*2 - 0x565e], 0x5c
je 0x442d86
push dword [ebp - 0x5660]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x224]
push eax
call edi
cmp word [ebp + eax*2 - 0x226], 0x5c
je 0x442b63
push 0x46eae8
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x565c]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push 0x5c
mov edi, eax
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov dword [ebp - 0x5660], ebx
cmp eax, ebx
je 0x442bad
xor ecx, ecx
mov word [eax], cx
push edi
mov ecx, esi
call fcn.00442dc2
mov dword [ebp - 0x5660], eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x5660], ebx
jne 0x442bf6
push str.failed_CreateFilePath
lea ecx, [ebp - 0x5684]
call fcn.00408140
lea eax, [ebp - 0x5684]
push eax
lea eax, [ebp - 0x56f0]
push eax
mov dword [ebp - 4], 2
call fcn.004012a3
push 0x481228
lea eax, [ebp - 0x56f0]
jmp 0x442aab
cmp byte [esi + 4], bl
je 0x442c1b
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x442c1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x442d86
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x5660], eax
push str.failed_CreateFile
lea ecx, [ebp - 0x5684]
mov dword [ebp - 4], 3
call fcn.00408140
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x5660], 0xffffffff
setne al
cmp eax, ebx
jne 0x442c73
lea eax, [ebp - 0x5684]
call fcn.00429cc8
push ebx
push 1
lea ecx, [ebp - 0x5684]
mov byte [ebp - 4], 3
call fcn.00409477
mov ecx, dword [esi + 8]
call fcn.00443a4f
push eax
call fcn.00442446
pop ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x5224]
push eax
push dword [esi + 8]
call fcn.00443b92
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jle 0x442d49
push str.WriteFile_error
lea ecx, [ebp - 0x5684]
mov dword [ebp - 0x5664], ebx
call fcn.00408140
push ebx
lea eax, [ebp - 0x5664]
push eax
push edi
lea eax, [ebp - 0x5224]
push eax
mov byte [ebp - 4], 6
push dword [ebp - 0x5660]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
jne 0x442cf8
lea eax, [ebp - 0x5684]
call fcn.00429cc8
push ebx
push 1
lea ecx, [ebp - 0x5684]
mov byte [ebp - 4], 5
call fcn.00409477
cmp dword [ebp - 0x5664], edi
je 0x442c98
push str.dwBytesWritten___nRet
lea ecx, [ebp - 0x56a0]
call fcn.00408140
lea eax, [ebp - 0x56a0]
push eax
lea eax, [ebp - 0x5740]
push eax
mov byte [ebp - 4], 7
call fcn.004012a3
push 0x481228
lea eax, [ebp - 0x5740]
jmp 0x442aab
mov dword [ebp - 4], 3
push dword [esi + 8]
call fcn.00443db9
pop ecx
cmp dword [ebp - 0x5660], ebx
je 0x442d6d
push dword [ebp - 0x5660]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x5240]
push eax
call fcn.00442e43
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0044763d
leave
ret 4