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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e46e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x56b0
call fcn.00437fe0
mov eax, dword [0x45c040]
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 - 0x567c], edi
cmp dword [edi + 8], ebx
je 0x4321e9
test esi, esi
jne 0x431f0c
lea esi, [edi + 0xc]
push esi
call fcn.0043220b
test eax, eax
jne 0x431f36
push str.failed_CreateFolder
lea ecx, [ebp - 0x5698]
call fcn.00405d9e
push 0x456dc8
lea eax, [ebp - 0x5698]
jmp 0x432204
lea eax, [ebp - 0x5670]
mov ecx, edi
push eax
call fcn.00431c56
lea eax, [ebp - 0x5670]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x5672], cx
je 0x4321b3
push esi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x220]
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 - 0x222], cx
je 0x431f9e
push 0x4444a8
lea eax, [ebp - 0x220]
push eax
call esi
lea eax, [ebp - 0x5670]
push eax
lea eax, [ebp - 0x220]
push eax
call esi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push 0x5c
mov esi, eax
pop eax
push eax
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov dword [ebp - 0x5674], ebx
test eax, eax
je 0x431fe6
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push esi
call fcn.0043220b
mov dword [ebp - 0x5674], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x5674], ebx
jne 0x432015
push str.failed_CreateFilePath
lea ecx, [ebp - 0x56a4]
call fcn.00405d9e
push 0x456dc8
lea eax, [ebp - 0x56a4]
jmp 0x432204
cmp byte [edi + 4], bl
je 0x43203a
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43203a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4321b3
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x5680], esi
push str.failed_CreateFile
lea ecx, [ebp - 0x5238]
mov dword [ebp - 4], ebx
call fcn.00402815
xor ecx, ecx
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
lea edx, [ebp - 0x5238]
setne cl
call fcn.0041c290
lea ecx, [ebp - 0x5238]
mov byte [ebp - 4], bl
call fcn.004027a6
mov ecx, dword [edi + 8]
sub esp, 0xc
call fcn.00432e6c
add esp, 0xc
test eax, eax
je 0x4320e2
push eax
push str.unzOpenCurrentFile
lea eax, [ebp - 0x5238]
push str.Failed__s:_UZ_d
push eax
call fcn.0040f0a4
add esp, 0x10
push eax
lea ecx, [ebp - 0x56b0]
mov byte [ebp - 4], 2
call fcn.00405d7a
push 0x456dc8
lea eax, [ebp - 0x56b0]
jmp 0x432204
mov byte [ebp - 4], 3
push ecx
mov ecx, dword [edi + 8]
lea edx, [ebp - 0x5220]
call fcn.00432fa0
mov dword [ebp - 0x5674], eax
pop ecx
test eax, eax
jle 0x432184
push str.WriteFile_error
lea ecx, [ebp - 0x5238]
mov dword [ebp - 0x5678], ebx
call fcn.00402815
push ebx
lea eax, [ebp - 0x5678]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x5674]
lea eax, [ebp - 0x5220]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [ebp - 0x5238]
mov ecx, eax
call fcn.0041c290
lea ecx, [ebp - 0x5238]
mov byte [ebp - 4], 3
call fcn.004027a6
mov eax, dword [ebp - 0x5674]
cmp dword [ebp - 0x5678], eax
je 0x4320e6
push str.dwBytesWritten___nRet
lea ecx, [ebp - 0x56bc]
call fcn.00405d9e
push 0x456dc8
lea eax, [ebp - 0x56bc]
jmp 0x432204
mov dword [ebp - 4], ebx
mov ecx, dword [edi + 8]
call fcn.004331d6
test esi, esi
je 0x43219a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 6
lea eax, [ebp - 0x220]
push dword [ebp - 0x5254]
push eax
call fcn.0043228a
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.0043587c
leave
ret 8
push str.No_file_to_unzip
lea ecx, [ebp - 0x568c]
call fcn.00405d9e
push 0x456dc8
lea eax, [ebp - 0x568c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3