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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46048b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x5734
call fcn.00455b30
mov eax, dword [0x4861f4]
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 0x43d7d0
push str.No_file_to_unzip
lea ecx, [ebp - 0x5684]
call fcn.00407ed3
lea eax, [ebp - 0x5684]
push eax
lea eax, [ebp - 0x56c8]
push eax
mov dword [ebp - 4], ebx
call fcn.00401281
push 0x47a298
lea eax, [ebp - 0x56c8]
push eax
call fcn.00446b8d
cmp eax, ebx
jne 0x43d7dd
lea eax, [esi + 0xc]
mov dword [ebp - 0x5660], eax
push dword [ebp - 0x5660]
call fcn.0043dae1
test eax, eax
jne 0x43d823
push str.failed_CreateFolder
lea ecx, [ebp - 0x5684]
call fcn.00407ed3
lea eax, [ebp - 0x5684]
push eax
lea eax, [ebp - 0x5718]
push eax
mov dword [ebp - 4], 1
call fcn.00401281
push 0x47a298
lea eax, [ebp - 0x5718]
jmp 0x43d7ca
push esi
lea edi, [ebp - 0x565c]
call fcn.0043d4bb
mov eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
cmp word [ebp + eax*2 - 0x565e], 0x5c
je 0x43daa5
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 0x43d882
push 0x4685b8
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 0x43d8cc
xor ecx, ecx
mov word [eax], cx
push edi
mov ecx, esi
call fcn.0043dae1
mov dword [ebp - 0x5660], eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x5660], ebx
jne 0x43d915
push str.failed_CreateFilePath
lea ecx, [ebp - 0x5684]
call fcn.00407ed3
lea eax, [ebp - 0x5684]
push eax
lea eax, [ebp - 0x56f0]
push eax
mov dword [ebp - 4], 2
call fcn.00401281
push 0x47a298
lea eax, [ebp - 0x56f0]
jmp 0x43d7ca
cmp byte [esi + 4], bl
je 0x43d93a
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43d93a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x43daa5
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.00407ed3
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x5660], 0xffffffff
setne al
cmp eax, ebx
jne 0x43d992
lea eax, [ebp - 0x5684]
call fcn.0042572c
push ebx
push 1
lea ecx, [ebp - 0x5684]
mov byte [ebp - 4], 3
call fcn.00409216
mov ecx, dword [esi + 8]
call fcn.0043e76e
push eax
call fcn.0043d165
pop ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x5224]
push eax
push dword [esi + 8]
call fcn.0043e8b1
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jle 0x43da68
push str.WriteFile_error
lea ecx, [ebp - 0x5684]
mov dword [ebp - 0x5664], ebx
call fcn.00407ed3
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 0x43da17
lea eax, [ebp - 0x5684]
call fcn.0042572c
push ebx
push 1
lea ecx, [ebp - 0x5684]
mov byte [ebp - 4], 5
call fcn.00409216
cmp dword [ebp - 0x5664], edi
je 0x43d9b7
push str.dwBytesWritten___nRet
lea ecx, [ebp - 0x56a0]
call fcn.00407ed3
lea eax, [ebp - 0x56a0]
push eax
lea eax, [ebp - 0x5740]
push eax
mov byte [ebp - 4], 7
call fcn.00401281
push 0x47a298
lea eax, [ebp - 0x5740]
jmp 0x43d7ca
mov dword [ebp - 4], 3
push dword [esi + 8]
call fcn.0043ead8
pop ecx
cmp dword [ebp - 0x5660], ebx
je 0x43da8c
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.0043db62
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.00442b5d
leave
ret 4