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

Disassembly:
mov eax, 0x186c
call fcn.004d7fa0
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.00434a60
add esp, 8
test eax, eax
je 0x42690e
push ebp
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0047ffe0
add esp, 0xc
cmp eax, 1
je 0x42690e
mov eax, dword [esp + 8]
cmp eax, ebp
je 0x42690e
push ebx
push ebp
push str.Count
push str.UpdateExt
push eax
call fcn.004805e0
add esp, 0x10
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x14], eax
jbe 0x4268ff
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push edi
mov dx, word [0x5117f0]
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.00480490
mov dx, word [0x5117f0]
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.00480490
mov cx, word [0x5117f0]
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.00480490
mov dx, word [0x5117f0]
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 [0x5ed02c]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x660]
push eax
push ecx
call fcn.00434a70
add esp, 0x34
lea edx, [esp + 0x634]
lea eax, [esp + 0xe54]
push str.Extensions
push edx
push 0x4f59b8
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.00434a60
add esp, 0x24
test eax, eax
je 0x4268bd
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.00434be0
lea edx, [esp + 0x450]
push edx
call fcn.00435320
lea eax, [esp + 0x454]
lea ecx, [esp + 0x24c]
push eax
push ecx
call fcn.004d6f60
add esp, 0x30
test eax, eax
je 0x4268d5
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.0042d880
jmp 0x4268d5
lea edx, [esp + 0x83c]
lea eax, [esp + 0x224]
push edx
push eax
call fcn.004d6f60
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 0x42657e
pop edi
lea eax, [esp + 0xc]
push ebp
push eax
call fcn.004801e0
add esp, 8
pop ebx
pop esi
pop ebp
add esp, 0x186c
ret 4