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

Disassembly:
mov eax, 0x186c
call fcn.004d2930
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.00433100
add esp, 8
test eax, eax
je 0x42599e
push ebp
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0047bd60
add esp, 0xc
cmp eax, 1
je 0x42599e
mov eax, dword [esp + 8]
cmp eax, ebp
je 0x42599e
push ebx
push ebp
push str.Count
push str.UpdateExt
push eax
call fcn.0047c360
add esp, 0x10
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x14], eax
jbe 0x42598f
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push edi
mov dx, word [0x50b180]
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.0047c210
mov dx, word [0x50b180]
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.0047c210
mov cx, word [0x50b180]
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.0047c210
mov dx, word [0x50b180]
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 + 0x1288], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x128a]
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]
push ebp
rep stosd dword es:[edi], eax
mov ecx, dword [0x5e69bc]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x660]
push eax
push ecx
call fcn.00433110
add esp, 0x34
lea edx, [esp + 0x634]
lea eax, [esp + 0xe54]
push str.Extensions
push edx
push 0x4ef9e0
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 + 0x1278]
push 0x103
push ecx
call esi
lea edx, [esp + 0x858]
push 1
push edx
call fcn.00433100
add esp, 0x24
test eax, eax
je 0x42594d
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.00433280
lea edx, [esp + 0x450]
push edx
call fcn.004339c0
lea eax, [esp + 0x454]
lea ecx, [esp + 0x24c]
push eax
push ecx
call fcn.004d18f0
add esp, 0x30
test eax, eax
je 0x425965
lea edx, [esp + 0xe54]
lea eax, [esp + 0x42c]
push edx
lea ecx, [esp + 0x1268]
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.0042c7d0
jmp 0x425965
lea edx, [esp + 0x83c]
lea eax, [esp + 0x224]
push edx
push eax
call fcn.004d18f0
add esp, 8
lea ecx, [esp + 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
jb 0x42560e
pop edi
lea eax, [esp + 0xc]
push ebp
push eax
call fcn.0047bf60
add esp, 8
pop ebx
pop esi
pop ebp
add esp, 0x186c
ret 4