Function at 0x419360
Capabilities:
Delete file

Disassembly:
mov eax, 0x1250
call fcn.00495c50
push esi
mov esi, dword [esp + 0x1258]
push 1
push esi
call fcn.00422750
add esp, 8
test eax, eax
je 0x4196a6
push 0
lea eax, [esp + 8]
push esi
push eax
call fcn.00454720
add esp, 0xc
cmp eax, 1
je 0x4196a6
mov eax, dword [esp + 4]
test eax, eax
je 0x4196a6
push ebx
push 0
push str.Count
push str.UpdateExt
push eax
call fcn.00454d20
add esp, 0x10
xor ebx, ebx
test eax, eax
mov dword [esp + 0xc], eax
jbe 0x41968f
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov dx, word [0x4f04e0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], dx
mov word [esp + 0x220], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x1058], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x105a]
mov word [esp + 0xe50], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe52]
push ebx
rep stosd dword es:[edi], eax
push str.Name_d
lea ecx, [esp + 0xe58]
push 0x103
push ecx
stosw word es:[edi], ax
call esi
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push 0x103
lea eax, [esp + 0xe64]
push edx
push eax
push str.UpdateExt
push ecx
call fcn.00454bd0
mov dx, word [0x4f04e0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x85e]
mov word [esp + 0x85c], dx
add esp, 0x24
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push str.File_d
lea eax, [esp + 0x840]
push 0x103
push eax
call esi
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x230]
push 0x103
lea edx, [esp + 0x84c]
push ecx
push edx
push str.UpdateExt
push eax
call fcn.00454bd0
mov cx, word [0x4f04e0]
xor eax, eax
mov word [esp + 0xa64], cx
mov ecx, 0x81
lea edi, [esp + 0xa66]
add esp, 0x24
rep stosd dword es:[edi], eax
push ebx
push str.Version_d
lea edx, [esp + 0xa48]
push 0x103
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x1068]
push 0x103
push eax
lea ecx, [esp + 0xa58]
mov edx, dword [esp + 0x28]
push ecx
push str.UpdateExt
push edx
call fcn.00454bd0
mov dx, word [0x4f04e0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xc6e]
mov word [esp + 0xc6c], dx
mov word [esp + 0x654], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x656]
mov word [esp + 0x44c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x44e]
push 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x5cad44]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x65c]
push eax
push ecx
call fcn.00422760
add esp, 0x34
lea edx, [esp + 0x18]
lea eax, [esp + 0x630]
lea ecx, [esp + 0xc48]
push edx
push str.Extensions
push eax
push str._s_s_s_
push 0x103
push ecx
call esi
add esp, 0x18
lea edx, [esp + 0x18]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x630]
push edx
push eax
push str.Extensions
push ecx
push str._s_s_s_s.dll
lea edx, [esp + 0x43c]
push 0x103
push edx
call esi
lea eax, [esp + 0x444]
push 1
push eax
call fcn.00422750
add esp, 0x24
test eax, eax
je 0x419645
mov eax, dword [0x5c2b18]
test eax, eax
jne 0x419645
xor edi, edi
lea ecx, [esp + 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41963b
push 0xa
call ebp
inc edi
cmp edi, 0x64
jl 0x41961d
jmp 0x419645
mov dword [0x5c2b18], 1
lea edx, [esp + 0xc48]
lea eax, [esp + 0x220]
push edx
push eax
call fcn.00494b30
add esp, 8
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jb 0x4193dc
mov esi, dword [esp + 0x1264]
pop edi
pop ebp
lea eax, [esp + 8]
push 0
push eax
call fcn.00454920
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ebx
pop esi
add esp, 0x1250
ret 4