Function at 0x4585a0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x617828
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6b1a94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x34], eax
push dword [eax + 0x44]
lea ebx, [eax + 0x44]
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4587a1
lea eax, [ebp - 0x2c]
push eax
call fcn.00456710
mov dword [ebp - 4], edi
mov edx, dword [eax]
mov ecx, dword [ebx]
call fcn.00465460
neg eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
sbb edi, edi
add edx, 0xfffffff0
inc edi
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x458622
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00403fe0
mov ecx, eax
test ecx, ecx
jne 0x458637
push 0x80004005
call fcn.00403d40
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 1
test edi, edi
jne 0x45874c
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x40], xmm0
call fcn.00456710
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
push ecx
lea edx, [ebp - 0x48]
mov ecx, eax
call fcn.0047e890
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x30]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x458696
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 4], 1
jle 0x4586a8
push dword [eax - 0xc]
mov ecx, ebx
call fcn.00403630
push dword [ebx]
lea ecx, [ebp - 0x28]
call fcn.00405020
mov edx, ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00480b60
mov esi, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
call fcn.005c9cd0
mulsd xmm0, qword [0x687890]
lea ecx, [ebp - 0x28]
sub esp, 8
movsd qword [esp], xmm0
push dword [esi]
call fcn.00455cd0
push eax
lea eax, [ebp - 0x2c]
push str.CEFUnzip_fileSize:_d_md5:_s_DiskFreeSpace:_.2f
push eax
call fcn.00403390
mov byte [ebp - 4], 3
add esp, 0x18
mov edx, dword [ebp - 0x30]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45871c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x458735
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407550
mov esi, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x45875d
call fcn.00456ca0
mov ecx, ebx
call fcn.004076b0
mov ecx, str.fail
test edi, edi
mov eax, 0x6776ac
push esi
cmove eax, ecx
push eax
push 0x677684
call fcn.0047fd10
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4587a1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
push 0
push edi
push 0xdadb
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c8db3
mov esp, ebp
pop ebp
ret