Function at 0x419060
Capabilities:
Delete file

Disassembly:
mov eax, 0x124c
call fcn.00495c50
lea eax, [esp]
push ebx
push eax
xor ebx, ebx
push str.Count
push str.UpdateExt
mov dword [esp + 0x10], ebx
call fcn.004072e0
mov eax, dword [esp + 0x10]
add esp, 0xc
cmp eax, ebx
jbe 0x419341
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push edi
mov dx, word [0x4f04e0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], dx
mov word [esp + 0x21c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x1054], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1056]
mov word [esp + 0xe4c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe4e]
push ebx
rep stosd dword es:[edi], eax
push str.Name_d
lea ecx, [esp + 0xe54]
push 0x103
push ecx
stosw word es:[edi], ax
call esi
lea edx, [esp + 0x24]
push 0x104
lea eax, [esp + 0xe60]
push edx
push eax
push str.UpdateExt
call fcn.00407220
mov cx, word [0x4f04e0]
xor eax, eax
mov word [esp + 0x854], cx
mov ecx, 0x81
lea edi, [esp + 0x856]
add esp, 0x20
rep stosd dword es:[edi], eax
push ebx
push str.File_d
lea edx, [esp + 0x83c]
push 0x103
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x22c]
push 0x104
lea ecx, [esp + 0x848]
push eax
push ecx
push str.UpdateExt
call fcn.00407220
mov dx, word [0x4f04e0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa5e]
mov word [esp + 0xa5c], dx
add esp, 0x20
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push str.Version_d
lea eax, [esp + 0xa44]
push 0x103
push eax
call esi
lea ecx, [esp + 0x1064]
push 0x104
lea edx, [esp + 0xa50]
push ecx
push edx
push str.UpdateExt
call fcn.00407220
mov dx, word [0x4f04e0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xc66]
mov word [esp + 0xc64], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x64e]
mov word [esp + 0x64c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x446]
mov word [esp + 0x444], dx
rep stosd dword es:[edi], eax
mov ecx, dword [0x5cad44]
push 0
stosw word es:[edi], ax
lea eax, [esp + 0x650]
push 0x104
push eax
push ecx
call fcn.00422760
add esp, 0x30
lea edx, [esp + 0x14]
lea eax, [esp + 0x62c]
lea ecx, [esp + 0xc44]
push edx
push str.Extensions
push eax
push str._s_s_s_
push 0x103
push ecx
call esi
add esp, 0x18
lea edx, [esp + 0x14]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x62c]
push edx
push eax
push str.Extensions
push ecx
push str._s_s_s_s.dll
lea edx, [esp + 0x438]
push 0x103
push edx
call esi
lea eax, [esp + 0x440]
push 1
push eax
call fcn.00422750
add esp, 0x24
test eax, eax
je 0x4192fd
mov eax, dword [0x5c2b14]
test eax, eax
jne 0x4192fd
xor edi, edi
lea ecx, [esp + 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4192f3
push 0xa
call ebp
inc edi
cmp edi, 0x64
jl 0x4192d5
jmp 0x4192fd
mov dword [0x5c2b14], 1
lea edx, [esp + 0xc44]
lea eax, [esp + 0x21c]
push edx
push eax
call fcn.00494b30
add esp, 8
lea ecx, [esp + 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jb 0x4190a3
pop edi
pop esi
pop ebp
push str.UpdateExt
call fcn.00406f10
add esp, 4
pop ebx
add esp, 0x124c
ret