Function at 0x10080c80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b539
mov eax, dword fs:[0]
push eax
sub esp, 0x8d4
mov eax, dword [0x100ad708]
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 esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8d0], ebx
mov dword [ebp - 0x8e0], eax
cmp dword [esi + 0x10], ebx
je 0x10081332
push 0x410
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.10059fd0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x10080ce8
mov esi, dword [esi]
push 0x1008edb8
push esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x464
lea eax, [ebp - 0x8cc]
push 0
push eax
call fcn.10059fd0
mov eax, 0x5c
mov dword [ebp - 0x470], ebx
add esp, 0xc
mov word [ebp - 0x474], ax
mov dword [ebp - 0x46c], ebx
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x8cc]
call fcn.1007f5e0
test eax, eax
je 0x10081312
nop word [eax + eax]
cmp dword [ebp - 0x46c], 0
je 0x10080dbd
mov eax, dword [ebp - 0x8cc]
shr eax, 4
and eax, 1
je 0x10080dbd
cmp word [ebp - 0x8a0], 0x2e
jne 0x10080dbd
mov ax, word [ebp - 0x89e]
test ax, ax
je 0x10080d8d
cmp ax, 0x2e
jne 0x10080dbd
cmp word [ebp - 0x89c], 0
jne 0x10080dbd
cmp dword [ebp - 0x470], 0
jne 0x10080d9d
xor esi, esi
jmp 0x1008130a
lea eax, [ebp - 0x8cc]
push eax
push dword [ebp - 0x470]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
mov dword [ebp - 0x46c], esi
jmp 0x1008130a
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0x8cc]
call fcn.1001cdf0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10080df7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.100042a0
mov eax, dword [ebp - 0x8dc]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x100ad4cc]
je 0x10080e45
lea ecx, [eax - 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10080e45
mov eax, dword [ebp - 0x8dc]
add eax, 0xfffffff4
push eax
call fcn.1002f2ab
add esp, 4
mov esi, dword [0x100ad4d0]
or ebx, 1
cmp dword [ebp - 0x46c], 0
mov byte [ebp - 4], 4
mov dword [ebp - 0x8d8], esi
mov dword [ebp - 0x8d4], ebx
mov dword [ebp - 0x8d0], ebx
je 0x10080efc
lea eax, [ebp - 0x8a0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [esi - 0xc], 1
lea ecx, [esi - 0xc]
mov ebx, eax
jg 0x10080e8e
cmp ebx, dword [esi - 4]
jle 0x10080ecf
add esi, 0xfffffff4
cmp esi, dword [0x100ad4cc]
je 0x10080eb9
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10080eae
push ecx
call fcn.1002f2ab
add esp, 4
mov eax, dword [0x100ad4d0]
mov dword [ebp - 0x8d8], eax
push ebx
lea ecx, [ebp - 0x8d8]
call fcn.1001cb60
mov esi, dword [ebp - 0x8d8]
test eax, eax
je 0x10080ef6
lea edi, [ebx + ebx]
push edi
lea eax, [ebp - 0x8a0]
push eax
lea eax, [edi + 2]
push eax
push esi
call fcn.10010a90
push eax
call fcn.10007ec0
add esp, 0x14
mov dword [esi - 8], ebx
xor eax, eax
mov word [edi + esi], ax
mov ebx, dword [ebp - 0x8d4]
mov ecx, esi
mov dword [ebp - 0x428], 0
xor eax, eax
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10080f20
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x438]
call fcn.100042a0
and ebx, 0xfffffffe
mov dword [ebp - 0x8d4], ebx
lea eax, [esi - 0xc]
mov byte [ebp - 4], 6
cmp eax, dword [0x100ad4cc]
je 0x10080f6c
add esi, 0xfffffff4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x10080f6c
push esi
call fcn.1002f2ab
add esp, 4
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov ecx, dword [ebp - 0x438]
lea ebx, [ebp - 0x438]
mov edx, dword [ebp - 0x428]
lea esi, [ebp - 0x438]
cmovae eax, ecx
cmovae ebx, ecx
cmovae esi, ecx
xor edi, edi
lea eax, [eax + edx*2]
mov ecx, eax
sub ecx, esi
inc ecx
shr ecx, 1
cmp esi, eax
cmova ecx, edi
mov dword [ebp - 0x8d0], ecx
test ecx, ecx
je 0x10080fd9
sub ebx, esi
movzx eax, word [esi]
push eax
call fcn.1006744f
inc edi
mov word [ebx + esi], ax
add esp, 4
lea esi, [esi + 2]
cmp edi, dword [ebp - 0x8d0]
jne 0x10080fb7
mov edx, dword [ebp - 0x428]
cmp dword [ebp - 0x46c], 0
mov ebx, dword [ebp - 0x438]
je 0x10081010
mov eax, dword [ebp - 0x8cc]
shr eax, 4
and eax, 1
je 0x10081010
push dword [ebp - 0x8e0]
lea eax, [ebp - 0x450]
push eax
call fcn.10080c80
add esp, 8
jmp 0x10081116
mov esi, dword [ebp - 0x424]
lea eax, [ebp - 0x438]
cmp esi, 8
cmovae eax, ebx
mov dword [ebp - 0x8d8], eax
cmp edx, 8
jb 0x1008105e
lea ecx, [edx - 7]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x8d0], ecx
nop dword [eax]
sub ecx, eax
sar ecx, 1
je 0x10081058
cmp word [eax], 0x2e
je 0x10081130
add eax, 2
sub ecx, 1
jne 0x10081046
mov esi, dword [ebp - 0x424]
push 0
push str..DEL.EXE
lea ecx, [ebp - 0x438]
call fcn.10081e30
cmp eax, 0xffffffff
je 0x1008111c
cmp esi, 8
lea ecx, [ebp - 0x438]
cmovae ecx, ebx
xor edx, edx
cmp dx, word [ecx + eax*2 + 0x10]
jne 0x1008111c
mov ecx, dword [ebp - 0x8e0]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x100810a2
mov eax, dword [ecx]
push eax
lea eax, [ebp - 0x468]
push str._uninstall__product_s
push eax
call fcn.10043fb0
add esp, 0xc
cmp dword [ebp - 0x454], 8
lea edi, [ebp - 0x468]
lea esi, [ebp - 0x450]
mov byte [ebp - 4], 7
cmovae edi, dword [ebp - 0x468]
cmp dword [ebp - 0x43c], 8
cmovae esi, dword [ebp - 0x450]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1008110b
push esi
call fcn.10082660
push 0
push 0xc350
push 1
push 1
push 1
push edi
push esi
call fcn.10043950
add esp, 0x1c
lea ecx, [ebp - 0x468]
call fcn.10003900
mov ebx, dword [ebp - 0x438]
cmp dword [ebp - 0x470], 0
jne 0x1008123b
xor esi, esi
jmp 0x1008126a
test eax, eax
je 0x10081058
mov edx, str..DEL.DLL
mov edi, eax
mov esi, 8
sub edi, edx
nop word [eax + eax]
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x100811ea
add edx, 2
sub esi, 1
jne 0x10081150
sub eax, dword [ebp - 0x8d8]
mov esi, dword [ebp - 0x424]
sar eax, 1
cmp eax, 0xffffffff
je 0x1008105e
cmp esi, 8
lea ecx, [ebp - 0x438]
cmovae ecx, ebx
xor edx, edx
cmp dx, word [ecx + eax*2 + 0x10]
jne 0x1008105e
cmp dword [ebp - 0x43c], 8
lea esi, [ebp - 0x450]
cmovae esi, dword [ebp - 0x450]
test esi, esi
je 0x100811dc
push esi
call fcn.1003c6d0
add esp, 4
test eax, eax
je 0x100811dc
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100811dc
push str.Uninst
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100811dc
push 0x1008c524
call eax
mov eax, dword [ebp - 0x470]
test eax, eax
jne 0x100811f8
xor esi, esi
jmp 0x1008121c
mov ecx, dword [ebp - 0x8d0]
add eax, 2
jmp 0x10081040
cmp dword [ebp - 0x46c], 0
jne 0x10081205
xor esi, esi
jmp 0x1008121c
lea ecx, [ebp - 0x8cc]
push ecx
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileW]
call eax
mov esi, eax
mov dword [ebp - 0x46c], esi
lea ecx, [ebp - 0x438]
call fcn.10003900
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0
call fcn.10003900
jmp 0x10081304
cmp dword [ebp - 0x46c], 0
jne 0x10081248
xor esi, esi
jmp 0x1008126a
lea eax, [ebp - 0x8cc]
push eax
push dword [ebp - 0x470]
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileW]
call eax
mov ebx, dword [ebp - 0x438]
mov esi, eax
mov dword [ebp - 0x46c], esi
mov eax, dword [ebp - 0x424]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x100812a8
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x1008129e
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008134e
push ecx
push ebx
call fcn.1002eba8
add esp, 8
mov edx, dword [ebp - 0x43c]
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x10081304
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100812fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008134e
push edx
push ecx
call fcn.1002eba8
add esp, 8
mov ebx, dword [ebp - 0x8d4]
test esi, esi
jne 0x10080d50
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x46c], 0
test eax, eax
je 0x10081332
cmp eax, 0xffffffff
je 0x10081332
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
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.1002ef19
mov esp, ebp
pop ebp
ret
call fcn.1005e18e
int3