Function at 0x4208e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5db4
mov eax, dword fs:[0]
push eax
sub esp, 0x8b0
mov eax, dword [0x4e43e0]
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]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x8b8], ebx
test esi, esi
je 0x420f3e
xor eax, eax
cmp ax, word [esi]
je 0x420f3e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420932
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
jge 0x420f3e
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004421e0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x4c12e0
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, 0x5c
mov dword [ebp - 0x428], 0
mov word [ebp - 0x42c], ax
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x884]
call fcn.0041d350
test eax, eax
je 0x420f1e
cmp dword [ebp - 0x424], 0
je 0x420a1f
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
cmp word [ebp - 0x858], 0x2e
jne 0x420a1f
test eax, eax
je 0x420a1f
mov ax, word [ebp - 0x856]
test ax, ax
je 0x4209f6
cmp ax, 0x2e
jne 0x420a1f
cmp word [ebp - 0x854], 0
jne 0x420a1f
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x420f3e
lea ecx, [ebp - 0x884]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
mov dword [ebp - 0x424], ebx
jmp 0x420f0f
lea eax, [ebp - 0x88c]
push eax
lea ecx, [ebp - 0x884]
call fcn.00415de0
lea eax, [ebp - 0x888]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x884]
call fcn.00415d50
mov eax, dword [ebp - 0x888]
mov byte [ebp - 4], 2
mov esi, dword [eax - 0xc]
test esi, esi
js 0x420f5a
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x420a7f
push esi
lea ecx, [ebp - 0x888]
call fcn.00404850
mov eax, dword [ebp - 0x888]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0044b936
mov eax, dword [ebp - 0x888]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x420f5a
mov edi, dword [ebp - 0x88c]
xor ecx, ecx
mov dword [eax - 0xc], esi
mov eax, dword [ebp - 0x888]
mov word [eax + esi*2], cx
cmp dword [ebp - 0x424], ecx
je 0x420ad5
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x420ad5
push ebx
push edi
call fcn.004208e0
add esp, 8
jmp 0x420e9a
mov eax, dword [ebp - 0x888]
cmp dword [eax - 0xc], ecx
jl 0x420ce2
push str..DEL.DLL
push eax
call fcn.0044330e
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x888]
test ecx, ecx
je 0x420ce2
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x420ce2
add ecx, 8
js 0x420f5a
cmp ecx, dword [eax - 0xc]
jg 0x420f5a
movzx ecx, word [eax + ecx*2]
xor edx, edx
cmp dx, cx
jne 0x420ce2
lea eax, [ebp - 0x888]
push eax
lea eax, [ebp - 0x8a0]
push str.call_
push eax
call fcn.00420830
add esp, 0xc
push eax
lea ecx, [ebp - 0x8ac]
mov byte [ebp - 4], 3
call fcn.00420590
mov edx, dword [ebp - 0x8a0]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420b7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x88c]
test esi, esi
je 0x420c88
push esi
call fcn.00429340
add esp, 4
push esi
test eax, eax
jne 0x420bab
push str.file__s__check_sign_fail.
call fcn.00414b10
add esp, 8
jmp 0x420c88
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x420c88
push str.Uninst
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x420bf0
push esi
push str.call_dll_func_start__path__s_
call fcn.00414b10
add esp, 8
push 0x4bc6f0
call ebx
push esi
push str.call_dll_fun_end__path__s_
call fcn.00414b10
add esp, 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x890]
call fcn.00406da0
lea eax, [ebp - 0x890]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x8a4]
push str.free_
push eax
call fcn.00420830
add esp, 0xc
push eax
lea ecx, [ebp - 0x8a8]
mov byte [ebp - 4], 7
call fcn.00420590
mov edx, dword [ebp - 0x8a4]
or eax, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420c54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x8a8]
call fcn.00420750
mov edx, dword [ebp - 0x890]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420c88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x884]
call fcn.00415d20
lea ecx, [ebp - 0x8ac]
mov ebx, eax
call fcn.00420750
mov edx, dword [ebp - 0x888]
or ecx, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x420cc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x420f0f
mov ecx, dword [esi]
push esi
jmp 0x420f0a
cmp dword [eax - 0xc], 0
jl 0x420ea0
push str..DEL.EXE
push eax
call fcn.0044330e
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x420e9a
mov eax, dword [ebp - 0x888]
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x420ea0
add ecx, 8
js 0x420f5a
cmp ecx, dword [eax - 0xc]
jg 0x420f5a
movzx ecx, word [eax + ecx*2]
xor edx, edx
cmp dx, cx
jne 0x420ea0
lea eax, [ebp - 0x888]
push eax
lea eax, [ebp - 0x8b0]
push str.call_
push eax
call fcn.00420830
add esp, 0xc
push eax
lea ecx, [ebp - 0x8b4]
mov byte [ebp - 4], 8
call fcn.00420590
mov edx, dword [ebp - 0x8b0]
or eax, 0xffffffff
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420d85
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
mov ecx, str.litelds
mov eax, str.ludashi
cmove eax, ecx
lea ecx, [ebp - 0x89c]
push eax
call fcn.00406da0
lea eax, [ebp - 0x898]
mov byte [ebp - 4], 0xb
push ebx
push eax
call fcn.00421b90
add esp, 8
lea ecx, [ebp - 0x894]
call fcn.00409950
push dword [ebp - 0x898]
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 0xd
push dword [ebp - 0x89c]
push str._uninstall__product_s__pid_s
push eax
call fcn.0040a940
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp - 0x894]
test eax, eax
je 0x420e2f
push edi
call fcn.0041c710
push esi
push edi
push str.call_exe_begin__path__s__cmd__s_
call fcn.00414b10
add esp, 0xc
push 0xc350
push 0
push 1
push 1
push 1
push esi
push edi
call fcn.0041c910
push 1
push esi
push edi
push eax
push str.call_exe_return___d___path__s___cmd__s___sync__d_
call fcn.00414b10
add esp, 0x14
mov byte [ebp - 4], 0xc
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x420e4b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x898]
or eax, 0xffffffff
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420e6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x89c]
or eax, 0xffffffff
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420e8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x8b4]
call fcn.00420750
mov eax, dword [ebp - 0x888]
mov ecx, dword [ebp - 0x428]
test ecx, ecx
jne 0x420eae
xor ebx, ebx
jmp 0x420ed7
cmp dword [ebp - 0x424], 0
jne 0x420ebb
xor ebx, ebx
jmp 0x420ed7
lea eax, [ebp - 0x884]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
mov eax, dword [ebp - 0x888]
mov dword [ebp - 0x424], ebx
lea edx, [eax - 0x10]
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420ef3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x420f0f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x420f1e
mov ebx, dword [ebp - 0x8b8]
jmp 0x4209b7
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], 0
test eax, eax
je 0x420f3e
cmp eax, 0xffffffff
je 0x420f3e
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.0042a265
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004031c0
int3