Function at 0x424d60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbf31
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x510918]
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 - 0xc4], eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x104], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], 1
call fcn.004265d0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x424df7
mov eax, dword [eax]
push 0x4f4f9c
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00412170
add esp, 4
cmp dword [ebp - 0xec], 8
jb 0x424e20
push dword [ebp - 0x100]
call fcn.004a295f
add esp, 4
xor eax, eax
mov word [ebp - 0x100], ax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0xec], 7
mov dword [ebp - 0xf0], 0
call fcn.0041ad20
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
call fcn.0041ad50
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xbc]
or esi, 0xffffffff
cmp edi, dword [ebp - 0xcc]
je 0x424fb1
lea ebx, [ebx]
lea eax, [ebp - 0xe8]
push eax
mov ecx, edi
call fcn.00412100
mov edx, eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.00425190
mov byte [ebp - 4], 9
cmp dword [ebp - 0xd4], 8
jb 0x424eda
push dword [ebp - 0xe8]
call fcn.004a295f
add esp, 4
xor eax, eax
mov dword [ebp - 0xd4], 7
mov dword [ebp - 0xd8], 0
mov word [ebp - 0xe8], ax
cmp byte [ebp - 0xb8], al
jne 0x424f2a
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.00412100
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00410ba0
cmp dword [ebp - 0x20], 8
jb 0x424f3c
push dword [ebp - 0x34]
call fcn.004a295f
add esp, 4
jmp 0x424f3c
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xb4]
push eax
call fcn.004267a0
mov byte [ebp - 4], 6
cmp byte [ebp - 0xb8], 0
je 0x424f54
lea ecx, [ebp - 0xb4]
call fcn.00415870
lea eax, [edi + 8]
push eax
push dword [edi]
call fcn.004a53fa
add esp, 8
test eax, eax
je 0x424fa2
mov esi, ebx
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], ebx
test esi, esi
je 0x424fa2
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x424fa2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x424fa2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
cmp edi, dword [ebp - 0xcc]
jne 0x424ea0
or esi, 0xffffffff
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0xc8]
test edi, edi
je 0x424fe3
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x424fe3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x424fe3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov byte [ebp - 4], 4
test ebx, ebx
je 0x42500f
lea eax, [ebx + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x42500f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea eax, [ebx + 8]
mov edx, esi
lock xadd dword [eax], edx
jne 0x42500f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x42503e
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x42503e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
mov edx, esi
lock xadd dword [eax], edx
jne 0x42503e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x42506c
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x42506c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
lock xadd dword [eax], esi
dec esi
jne 0x42506c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esi, edi
cmp edi, ebx
je 0x425124
mov edi, str.FAIL
cmp dword [esi + 0x14], 8
jb 0x42508b
mov eax, dword [esi]
jmp 0x42508d
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0xbc], eax
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x425116
xor eax, eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
mov byte [ebp - 0x20], al
push 0x19
push str.Try_delete_file___s__:__s
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.00404c90
cmp dword [ebp - 0xbc], 0
lea eax, [ebp - 0x38]
push eax
mov eax, 0x4eda18
cmove eax, edi
push eax
mov ecx, esi
call fcn.004059c0
push eax
lea eax, [ebp - 0x38]
push eax
push 0x41
push str.Products::CSilentUpdater::GetAppList
push 3
call fcn.00428590
add esp, 0x1c
mov byte [ebp - 4], 1
cmp dword [ebp - 0x24], 8
jb 0x425116
push dword [ebp - 0x38]
call fcn.004a295f
add esp, 4
add esi, 0x18
cmp esi, ebx
jne 0x425081
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x425163
mov esi, edi
cmp edi, ebx
je 0x42515a
mov edi, edi
cmp dword [esi + 0x14], 8
jb 0x425140
push dword [esi]
call fcn.004a295f
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x425130
push edi
call fcn.004a295f
add esp, 4
mov eax, dword [ebp - 0xc4]
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.004a2964
mov esp, ebp
pop ebp
ret