Function at 0x414ed0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e865e
mov eax, dword fs:[0]
push eax
sub esp, 0x8bc
mov eax, dword [0x527354]
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 dword [ebp - 0x8b8], ebx
cmp dword [esi + 0x10], ebx
je 0x4154a2
push 0x410
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004717b0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x414f2f
mov esi, dword [esi]
push 0x4fb810
push esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, 0x5c
mov dword [ebp - 0x458], ebx
mov word [ebp - 0x45c], ax
mov dword [ebp - 0x454], ebx
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x8b4]
call fcn.004155b0
test eax, eax
je 0x415482
nop dword [eax + eax]
cmp dword [ebp - 0x454], 0
je 0x414fed
mov eax, dword [ebp - 0x8b4]
shr eax, 4
and eax, 1
je 0x414fed
cmp word [ebp - 0x888], 0x2e
jne 0x414fed
mov ax, word [ebp - 0x886]
test ax, ax
je 0x414fbd
cmp ax, 0x2e
jne 0x414fed
cmp word [ebp - 0x884], 0
jne 0x414fed
cmp dword [ebp - 0x458], 0
jne 0x414fcd
xor esi, esi
jmp 0x41547a
lea eax, [ebp - 0x8b4]
push eax
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
mov dword [ebp - 0x454], esi
jmp 0x41547a
lea eax, [ebp - 0x8c8]
push eax
lea ecx, [ebp - 0x8b4]
call fcn.004157a0
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 0x415027
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.0040e0f0
mov edx, dword [ebp - 0x8c8]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415065
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
call fcn.00406320
mov ecx, eax
test ecx, ecx
je 0x4154be
mov eax, dword [ecx]
call dword [eax + 0xc]
or ebx, 1
cmp dword [ebp - 0x454], 0
mov dword [ebp - 0x8b8], ebx
lea esi, [eax + 0x10]
mov dword [ebp - 0x8c4], esi
je 0x4150c9
lea ecx, [ebp - 0x888]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4150a1
sub ecx, edx
lea eax, [ebp - 0x888]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8c4]
call fcn.004089b0
mov esi, dword [ebp - 0x8c4]
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 dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4150f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x438]
call fcn.0040e0f0
and ebx, 0xfffffffe
mov dword [ebp - 0x8b8], ebx
mov byte [ebp - 4], 6
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x415131
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 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 - 0x8bc], ecx
test ecx, ecx
je 0x4151a2
sub ebx, esi
nop dword [eax]
movzx eax, word [esi]
push eax
call fcn.0049dbb9
inc edi
mov word [ebx + esi], ax
add esp, 4
lea esi, [esi + 2]
cmp edi, dword [ebp - 0x8bc]
jne 0x415180
mov edx, dword [ebp - 0x428]
cmp dword [ebp - 0x454], 0
mov ebx, dword [ebp - 0x438]
je 0x4151d3
mov eax, dword [ebp - 0x8b4]
shr eax, 4
and eax, 1
je 0x4151d3
lea eax, [ebp - 0x450]
push eax
call fcn.00414ed0
add esp, 4
jmp 0x41528a
mov esi, dword [ebp - 0x424]
lea eax, [ebp - 0x438]
cmp esi, 8
cmovae eax, ebx
mov dword [ebp - 0x8c0], eax
cmp edx, 8
jb 0x41521e
lea ecx, [edx - 7]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x8bc], ecx
nop dword [eax]
sub ecx, eax
sar ecx, 1
je 0x415218
cmp word [eax], 0x2e
je 0x4152a4
add eax, 2
sub ecx, 1
jne 0x415206
mov esi, dword [ebp - 0x424]
push 0
push str..DEL.EXE
lea ecx, [ebp - 0x438]
call fcn.00416d20
cmp eax, 0xffffffff
je 0x415290
cmp esi, 8
lea ecx, [ebp - 0x438]
cmovae ecx, ebx
xor edx, edx
cmp dx, word [ecx + eax*2 + 0x10]
jne 0x415290
cmp dword [ebp - 0x43c], 8
lea esi, [ebp - 0x450]
cmovae esi, dword [ebp - 0x450]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41528a
push esi
call fcn.0041a470
push 0
push 0xc350
push 1
push 1
push 1
push str._uninstall
push esi
call fcn.004312b0
add esp, 0x1c
mov ebx, dword [ebp - 0x438]
cmp dword [ebp - 0x458], 0
jne 0x4153ab
xor esi, esi
jmp 0x4153da
test eax, eax
je 0x415218
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 0x41535a
add edx, 2
sub esi, 1
jne 0x4152c0
sub eax, dword [ebp - 0x8c0]
mov esi, dword [ebp - 0x424]
sar eax, 1
cmp eax, 0xffffffff
je 0x41521e
cmp esi, 8
lea ecx, [ebp - 0x438]
cmovae ecx, ebx
xor edx, edx
cmp dx, word [ecx + eax*2 + 0x10]
jne 0x41521e
cmp dword [ebp - 0x43c], 8
lea esi, [ebp - 0x450]
cmovae esi, dword [ebp - 0x450]
test esi, esi
je 0x41534c
push esi
call fcn.00429100
add esp, 4
test eax, eax
je 0x41534c
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x41534c
push str.Uninst
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41534c
push 0x4f7864
call eax
mov eax, dword [ebp - 0x458]
test eax, eax
jne 0x415368
xor esi, esi
jmp 0x41538c
mov ecx, dword [ebp - 0x8bc]
add eax, 2
jmp 0x415200
cmp dword [ebp - 0x454], 0
jne 0x415375
xor esi, esi
jmp 0x41538c
lea ecx, [ebp - 0x8b4]
push ecx
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileW]
call eax
mov esi, eax
mov dword [ebp - 0x454], esi
lea ecx, [ebp - 0x438]
call fcn.0040bde0
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0
call fcn.0040bde0
jmp 0x415474
cmp dword [ebp - 0x454], 0
jne 0x4153b8
xor esi, esi
jmp 0x4153da
lea eax, [ebp - 0x8b4]
push eax
push dword [ebp - 0x458]
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileW]
call eax
mov ebx, dword [ebp - 0x438]
mov esi, eax
mov dword [ebp - 0x454], esi
mov eax, dword [ebp - 0x424]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x415418
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41540e
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4154c8
push ecx
push ebx
call fcn.0042747a
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 0x415474
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41546a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4154c8
push edx
push ecx
call fcn.0042747a
add esp, 8
mov ebx, dword [ebp - 0x8b8]
test esi, esi
jne 0x414f80
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x454], 0
test eax, eax
je 0x4154a2
cmp eax, 0xffffffff
je 0x4154a2
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.0042788a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404020
call fcn.0047b0d8
int3