Function at 0x41f330
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x1a70
call fcn.004b7a60
push ebp
push esi
lea eax, [esp + 8]
push edi
push eax
xor ebp, ebp
push str.Count
mov dword [esp + 0x18], ecx
push str.UpdateExt
mov dword [esp + 0x18], ebp
call fcn.00408b20
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa4a]
mov word [esp + 0xa48], bp
rep stosd dword es:[edi], eax
add esp, 0xc
mov ecx, 0x4e6b38
stosw word es:[edi], ax
call fcn.00407c80
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
lea ecx, [esp + 0xa40]
push 0x103
push ecx
call esi
lea edx, [esp + 0xa48]
push ebp
push edx
call fcn.0042bc40
add esp, 0x14
test eax, eax
je 0x41f766
mov eax, dword [esp + 0xc]
push ebx
xor ebx, ebx
cmp eax, ebp
jbe 0x41f758
mov dx, word [0x4e6b30]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42a]
mov word [esp + 0x428], dx
mov word [esp + 0x18], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x1878], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x187a]
mov word [esp + 0x1260], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1262]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Name_d
lea eax, [esp + 0x1268]
push 0x103
push eax
call esi
lea ecx, [esp + 0x438]
push 0x104
lea edx, [esp + 0x1274]
push ecx
push edx
push str.UpdateExt
call fcn.004089d0
mov ax, word [0x4e6b30]
mov ecx, 0x81
mov word [esp + 0x1690], ax
xor eax, eax
lea edi, [esp + 0x1692]
add esp, 0x20
rep stosd dword es:[edi], eax
push ebx
push str.File_d
lea ecx, [esp + 0x1678]
push 0x103
push ecx
stosw word es:[edi], ax
call esi
lea edx, [esp + 0x28]
push 0x104
lea eax, [esp + 0x1684]
push edx
push eax
push str.UpdateExt
call fcn.004089d0
mov cx, word [0x4e6b30]
xor eax, eax
mov word [esp + 0xc68], cx
mov ecx, 0x81
lea edi, [esp + 0xc6a]
add esp, 0x20
rep stosd dword es:[edi], eax
push ebx
push str.Version_d
lea edx, [esp + 0xc50]
push 0x103
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x1888]
push 0x104
lea ecx, [esp + 0xc5c]
push eax
push ecx
push str.UpdateExt
call fcn.004089d0
mov dx, word [0x4e6b30]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x85a]
mov word [esp + 0x858], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x652]
mov word [esp + 0x650], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x107a]
mov word [esp + 0x1078], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x148a]
mov word [esp + 0x1488], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x5c01a4]
push ebp
lea edx, [esp + 0x654]
push 0x104
push edx
push eax
call fcn.0042bc50
add esp, 0x30
lea ecx, [esp + 0x630]
lea edx, [esp + 0x1468]
push str.Extensions
push ecx
push 0x4cea74
push 0x103
push edx
call esi
add esp, 0x14
lea eax, [esp + 0x428]
lea ecx, [esp + 0x630]
lea edx, [esp + 0x838]
push eax
push str.Extensions
push ecx
push str._s_s_s_
push 0x103
push edx
call esi
add esp, 0x18
lea eax, [esp + 0x428]
lea ecx, [esp + 0x428]
lea edx, [esp + 0x630]
push eax
push ecx
push str.Extensions
push edx
push str._s_s_s_s.dll
lea eax, [esp + 0x106c]
push 0x103
push eax
call esi
lea ecx, [esp + 0x34]
push ebp
push ecx
call fcn.0042bc40
add esp, 0x24
test eax, eax
je 0x41f74b
lea edx, [esp + 0x838]
push 1
push edx
call fcn.0042bc40
add esp, 8
test eax, eax
je 0x41f720
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe52]
mov word [esp + 0xe50], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xe50]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x428]
lea edx, [esp + 0xe50]
push ecx
push str.Extensions
push edx
push str._sTheWorld_s_s_
lea eax, [esp + 0x230]
push 0x103
push eax
call esi
push ebp
lea ecx, [esp + 0x23c]
push ebp
push ecx
call fcn.0042bdc0
lea edx, [esp + 0x244]
push edx
call fcn.0042c500
lea eax, [esp + 0x248]
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.004b6a10
add esp, 0x30
test eax, eax
je 0x41f735
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1058]
push ebp
lea eax, [esp + 0xa44]
push edx
push eax
call fcn.004264f0
lea ecx, [esp + 0x1468]
push 1
lea edx, [esp + 0x224]
push ecx
push edx
call fcn.0042cd60
add esp, 0xc
jmp 0x41f735
lea eax, [esp + 0x838]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.004b6a10
add esp, 8
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jb 0x41f3c0
push str.UpdateExt
call fcn.00408410
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x1a70
ret