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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461899
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x5734
call fcn.00456fe0
mov eax, dword [0x488180]
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 0x43f425
push str.No_file_to_unzip
lea ecx, [ebp - 0x5684]
call fcn.004084cc
lea eax, [ebp - 0x5684]
push eax
lea eax, [ebp - 0x56c8]
push eax
mov dword [ebp - 4], ebx
call fcn.00401281
push 0x47b878
lea eax, [ebp - 0x56c8]
push eax
call fcn.00447fb3
cmp eax, ebx
jne 0x43f432
lea eax, [esi + 0xc]
mov dword [ebp - 0x5660], eax
push dword [ebp - 0x5660]
call fcn.0043f736
test eax, eax
jne 0x43f478
push str.failed_CreateFolder
lea ecx, [ebp - 0x5684]
call fcn.004084cc
lea eax, [ebp - 0x5684]
push eax
lea eax, [ebp - 0x5718]
push eax
mov dword [ebp - 4], 1
call fcn.00401281
push 0x47b878
lea eax, [ebp - 0x5718]
jmp 0x43f41f
push esi
lea edi, [ebp - 0x565c]
call fcn.0043f11b
mov eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
cmp word [ebp + eax*2 - 0x565e], 0x5c
je 0x43f6fa
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 0x43f4d7
push 0x469990
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 0x43f521
xor ecx, ecx
mov word [eax], cx
push edi
mov ecx, esi
call fcn.0043f736
mov dword [ebp - 0x5660], eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x5660], ebx
jne 0x43f56a
push str.failed_CreateFilePath
lea ecx, [ebp - 0x5684]
call fcn.004084cc
lea eax, [ebp - 0x5684]
push eax
lea eax, [ebp - 0x56f0]
push eax
mov dword [ebp - 4], 2
call fcn.00401281
push 0x47b878
lea eax, [ebp - 0x56f0]
jmp 0x43f41f
cmp byte [esi + 4], bl
je 0x43f58f
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43f58f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x43f6fa
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.004084cc
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x5660], 0xffffffff
setne al
cmp eax, ebx
jne 0x43f5e7
lea eax, [ebp - 0x5684]
call fcn.004270a1
push ebx
push 1
lea ecx, [ebp - 0x5684]
mov byte [ebp - 4], 3
call fcn.004097af
mov ecx, dword [esi + 8]
call fcn.004403c3
push eax
call fcn.0043edc6
pop ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x5224]
push eax
push dword [esi + 8]
call fcn.00440506
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jle 0x43f6bd
push str.WriteFile_error
lea ecx, [ebp - 0x5684]
mov dword [ebp - 0x5664], ebx
call fcn.004084cc
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 0x43f66c
lea eax, [ebp - 0x5684]
call fcn.004270a1
push ebx
push 1
lea ecx, [ebp - 0x5684]
mov byte [ebp - 4], 5
call fcn.004097af
cmp dword [ebp - 0x5664], edi
je 0x43f60c
push str.dwBytesWritten___nRet
lea ecx, [ebp - 0x56a0]
call fcn.004084cc
lea eax, [ebp - 0x56a0]
push eax
lea eax, [ebp - 0x5740]
push eax
mov byte [ebp - 4], 7
call fcn.00401281
push 0x47b878
lea eax, [ebp - 0x5740]
jmp 0x43f41f
mov dword [ebp - 4], 3
push dword [esi + 8]
call fcn.0044072d
pop ecx
cmp dword [ebp - 0x5660], ebx
je 0x43f6e1
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.0043f7b7
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.00443d6d
leave
ret 4