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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b751
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x5734
call fcn.004511c0
mov eax, dword [0x47f180]
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 0x439695
push str.No_file_to_unzip
lea ecx, [ebp - 0x5684]
call fcn.004073fe
lea eax, [ebp - 0x5684]
push eax
lea eax, [ebp - 0x56c8]
push eax
mov dword [ebp - 4], ebx
call fcn.0040128c
push 0x4732c0
lea eax, [ebp - 0x56c8]
push eax
call fcn.00442373
cmp eax, ebx
jne 0x4396a2
lea eax, [esi + 0xc]
mov dword [ebp - 0x5660], eax
push dword [ebp - 0x5660]
call fcn.004399a6
test eax, eax
jne 0x4396e8
push str.failed_CreateFolder
lea ecx, [ebp - 0x5684]
call fcn.004073fe
lea eax, [ebp - 0x5684]
push eax
lea eax, [ebp - 0x5718]
push eax
mov dword [ebp - 4], 1
call fcn.0040128c
push 0x4732c0
lea eax, [ebp - 0x5718]
jmp 0x43968f
push esi
lea edi, [ebp - 0x565c]
call fcn.0043938b
mov eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
cmp word [ebp + eax*2 - 0x565e], 0x5c
je 0x43996a
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 0x439747
push 0x4638b0
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 0x439791
xor ecx, ecx
mov word [eax], cx
push edi
mov ecx, esi
call fcn.004399a6
mov dword [ebp - 0x5660], eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x5660], ebx
jne 0x4397da
push str.failed_CreateFilePath
lea ecx, [ebp - 0x5684]
call fcn.004073fe
lea eax, [ebp - 0x5684]
push eax
lea eax, [ebp - 0x56f0]
push eax
mov dword [ebp - 4], 2
call fcn.0040128c
push 0x4732c0
lea eax, [ebp - 0x56f0]
jmp 0x43968f
cmp byte [esi + 4], bl
je 0x4397ff
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4397ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x43996a
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.004073fe
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x5660], 0xffffffff
setne al
cmp eax, ebx
jne 0x439857
lea eax, [ebp - 0x5684]
call fcn.004215cd
push ebx
push 1
lea ecx, [ebp - 0x5684]
mov byte [ebp - 4], 3
call fcn.00408639
mov ecx, dword [esi + 8]
call fcn.0043aac5
push eax
call fcn.00439059
pop ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x5224]
push eax
push dword [esi + 8]
call fcn.0043ac08
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jle 0x43992d
push str.WriteFile_error
lea ecx, [ebp - 0x5684]
mov dword [ebp - 0x5664], ebx
call fcn.004073fe
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 0x4398dc
lea eax, [ebp - 0x5684]
call fcn.004215cd
push ebx
push 1
lea ecx, [ebp - 0x5684]
mov byte [ebp - 4], 5
call fcn.00408639
cmp dword [ebp - 0x5664], edi
je 0x43987c
push str.dwBytesWritten___nRet
lea ecx, [ebp - 0x56a0]
call fcn.004073fe
lea eax, [ebp - 0x56a0]
push eax
lea eax, [ebp - 0x5740]
push eax
mov byte [ebp - 4], 7
call fcn.0040128c
push 0x4732c0
lea eax, [ebp - 0x5740]
jmp 0x43968f
mov dword [ebp - 4], 3
push dword [esi + 8]
call fcn.0043ae2f
pop ecx
cmp dword [ebp - 0x5660], ebx
je 0x439951
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.00439a27
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.0043e40d
leave
ret 4