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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2698
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x663a90]
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 - 0x1c], eax
push dword [eax + 0x44]
lea ebx, [eax + 0x44]
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c801
lea eax, [ebp - 0x14]
push eax
call fcn.0040aa60
mov dword [ebp - 4], edi
mov edx, dword [eax]
mov ecx, dword [ebx]
call fcn.004789f0
neg eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
sbb edi, edi
add edx, 0xfffffff0
inc edi
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c682
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402f90
mov ecx, eax
test ecx, ecx
jne 0x40c697
push 0x80004005
call fcn.004037b0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
test edi, edi
jne 0x40c7ac
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x24], xmm0
call fcn.0040aa60
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
push ecx
lea edx, [ebp - 0x44]
mov ecx, eax
call fcn.00484000
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c6f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 4], 1
jle 0x40c708
push dword [eax - 0xc]
mov ecx, ebx
call fcn.00403300
push dword [ebx]
lea ecx, [ebp - 0x3c]
call fcn.004069d0
mov edx, ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00488440
mov esi, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
call fcn.0058abf0
mulsd xmm0, qword [0x642928]
lea ecx, [ebp - 0x3c]
sub esp, 8
movsd qword [esp], xmm0
push dword [esi]
call fcn.0040a710
push eax
lea eax, [ebp - 0x14]
push str.CEFUnzip_fileSize:_d_md5:_s_DiskFreeSpace:_.2f
push eax
call fcn.00407e20
mov byte [ebp - 4], 3
add esp, 0x18
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c77c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x40c795
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00407c00
mov esi, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x40c7bd
call fcn.0040af10
mov ecx, ebx
call fcn.004032a0
mov ecx, 0x632714
test edi, edi
mov eax, 0x632720
push esi
cmove eax, ecx
push eax
push 0x6326d0
call fcn.00485090
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 0x40c801
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
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.00589cd3
mov esp, ebp
pop ebp
ret