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

Disassembly:
mov eax, 0x186c
call fcn.004ba380
push ebp
push esi
mov esi, dword [esp + 0x1878]
xor ebp, ebp
push 1
mov dword [esp + 0x10], ecx
push esi
mov dword [esp + 0x10], ebp
call fcn.0042b850
add esp, 8
test eax, eax
je 0x41efe2
push ebp
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0046ad40
add esp, 0xc
cmp eax, 1
je 0x41efe2
mov eax, dword [esp + 8]
cmp eax, ebp
je 0x41efe2
push ebx
push ebp
push str.Count
push str.UpdateExt
push eax
call fcn.0046b3d0
add esp, 0x10
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x14], eax
jbe 0x41efd3
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push edi
mov dx, word [0x52a480]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], dx
mov word [esp + 0x224], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x226]
mov word [esp + 0x1674], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1676]
mov word [esp + 0xc4c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xc4e]
push ebx
rep stosd dword es:[edi], eax
push str.Name_d
lea ecx, [esp + 0xc54]
push 0x103
push ecx
stosw word es:[edi], ax
call esi
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push 0x103
lea eax, [esp + 0xc60]
push edx
push eax
push str.UpdateExt
push ecx
call fcn.0046b280
mov dx, word [0x52a480]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1492]
mov word [esp + 0x1490], dx
add esp, 0x24
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push str.File_d
lea eax, [esp + 0x1474]
push 0x103
push eax
call esi
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x234]
push 0x103
lea edx, [esp + 0x1480]
push ecx
push edx
push str.UpdateExt
push eax
call fcn.0046b280
mov cx, word [0x52a480]
xor eax, eax
mov word [esp + 0x1080], cx
mov ecx, 0x81
lea edi, [esp + 0x1082]
add esp, 0x24
rep stosd dword es:[edi], eax
push ebx
push str.Version_d
lea edx, [esp + 0x1064]
push 0x103
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x1684]
push 0x103
push eax
lea ecx, [esp + 0x1074]
mov edx, dword [esp + 0x28]
push ecx
push str.UpdateExt
push edx
call fcn.0046b280
mov dx, word [0x52a480]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x862]
mov word [esp + 0x860], dx
mov word [esp + 0x658], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x65a]
mov word [esp + 0xe78], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe7a]
mov word [esp + 0x1288], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x128a]
push ebp
rep stosd dword es:[edi], eax
mov ecx, dword [0x6069dc]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x660]
push eax
push ecx
call fcn.0042b860
add esp, 0x34
lea edx, [esp + 0x634]
lea eax, [esp + 0x1264]
push str.Extensions
push edx
push 0x50fa9c
push 0x103
push eax
call esi
add esp, 0x14
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x634]
lea eax, [esp + 0x83c]
push ecx
push str.Extensions
push edx
push str._s_s_s_
push 0x103
push eax
call esi
add esp, 0x18
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x634]
push ecx
push edx
push str.Extensions
push eax
push str._s_s_s_s.dll
lea ecx, [esp + 0xe68]
push 0x103
push ecx
call esi
lea edx, [esp + 0x858]
push 1
push edx
call fcn.0042b850
add esp, 0x24
test eax, eax
je 0x41ef91
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa46]
mov word [esp + 0xa44], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42e]
mov word [esp + 0x42c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xa44]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0xa44]
push ecx
push str.Extensions
push edx
push str._sTheWorld_s_s_
lea eax, [esp + 0x43c]
push 0x103
push eax
call esi
push ebp
lea ecx, [esp + 0x448]
push ebp
push ecx
call fcn.0042b9d0
lea edx, [esp + 0x450]
push edx
call fcn.0042c110
lea eax, [esp + 0x454]
lea ecx, [esp + 0x24c]
push eax
push ecx
call fcn.004b9330
add esp, 0x30
test eax, eax
je 0x41efa9
mov eax, dword [esp + 0x1880]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xe54]
push 1
push edx
push eax
call fcn.004255e0
lea ecx, [esp + 0x1264]
push 1
lea edx, [esp + 0x430]
push ecx
push edx
call fcn.0042c970
add esp, 0xc
jmp 0x41efa9
lea eax, [esp + 0x83c]
lea ecx, [esp + 0x224]
push eax
push ecx
call fcn.004b9330
add esp, 8
lea edx, [esp + 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
jb 0x41ec3e
pop edi
lea ecx, [esp + 0xc]
push ebp
push ecx
call fcn.0046af40
add esp, 8
pop ebx
pop esi
pop ebp
add esp, 0x186c
ret 4