Function at 0x454cb8
Capabilities:
Delete file
Get common file path
Move file
Timestomp file

Disassembly:
push 0x2c8
mov eax, 0x4ef4b6
call fcn.004cb117
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x50]
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2bc], edi
mov dword [ebp - 0x2b4], eax
xor ebx, ebx
mov dword [ebp - 4], 1
cmp edi, ebx
je 0x454d17
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2b0], esp
cmp eax, ebx
jne 0x454d01
lea eax, [ebp + 0x34]
push eax
call fcn.0044d9de
mov ecx, edi
call fcn.004538c1
push 1
mov ecx, edi
call fcn.00453851
push 0x4f5ae4
lea ecx, [ebp - 0x234]
call fcn.0044dacf
push 0x50bfdc
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 2
call fcn.0044dacf
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp + 0x34]
push eax
mov byte [ebp - 4], 3
call fcn.00462730
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x288]
call fcn.0044d2a1
push ebx
push 1
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.0044d2a1
push 0xf
pop edi
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x294], ebx
mov byte [ebp - 0x2a4], bl
call fcn.0044d89b
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp - 0x288]
push eax
mov byte [ebp - 4], 4
call fcn.0046467f
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 5
call fcn.0044d801
push ebx
push 1
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 4
call fcn.0044d2a1
lea eax, [ebp - 0x218]
push eax
push 0x104
mov byte [ebp - 0x2a6], bl
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x114]
push eax
push ebx
push 0x4f5ae0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp dword [esi + 0x10], ebx
push 0x4f5adc
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x2b0]
push eax
sete byte [ebp - 0x2a7]
mov dword [ebp - 0x2b0], ebx
call fcn.004cbb6f
add esp, 0xc
cmp dword [ebp - 0x2b0], ebx
je 0x45538f
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], ebx
mov byte [ebp - 0x288], bl
mov ecx, dword [ebp - 0x2b4]
mov edi, dword [ebp - 0x2ac]
mov eax, dword [edi + 4]
mov byte [ebp - 4], 6
cmp ecx, ebx
je 0x454e77
mov eax, dword [ecx + 0x54]
shr eax, 0x14
imul eax, dword [ebp + 0x14]
cmp eax, 0x3c
jge 0x454e7f
push 0x3c
pop eax
push dword [ebp + 0x58]
push eax
push dword [ebp + 0x54]
lea eax, [ebp - 0x288]
push eax
push dword [ebp - 0x2b0]
lea eax, [ebp - 0x2a4]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2ac], esp
push eax
call fcn.0044d9de
mov eax, dword [ebp - 0x2b4]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x2bc]
mov ecx, edi
push eax
call fcn.00454b1b
push dword [ebp - 0x2b0]
mov byte [ebp - 0x2a5], al
call fcn.004cba28
pop ecx
cmp byte [ebp - 0x2a5], bl
je 0x455381
cmp byte [ebp - 0x2a7], bl
jne 0x454fe0
cmp byte [ebp + 0x10], bl
je 0x454fba
push esi
lea ecx, [ebp - 0x234]
call fcn.0044d9de
cmp dword [ebp - 0x220], 0x10
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 7
jae 0x454f1a
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
cmp dword [ebp - 0x220], 0x10
mov ecx, dword [ebp - 0x234]
jae 0x454f36
lea ecx, [ebp - 0x234]
sub eax, ecx
dec eax
push eax
push ebx
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x234]
call fcn.0044dafe
push eax
mov byte [ebp - 4], 8
call fcn.00462869
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 7
call fcn.0044d2a1
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x250]
call fcn.0044dacf
lea eax, [ebp - 0x250]
push esi
push eax
mov byte [ebp - 4], 9
call fcn.00462021
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x250]
mov byte [ebp - 0x2a5], al
call fcn.0044d2a1
push ebx
push 1
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 6
call fcn.0044d2a1
jmp 0x45506c
cmp dword [esi + 0x14], 0x10
jb 0x454fc4
mov eax, dword [esi]
jmp 0x454fc6
mov eax, esi
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
dec eax
neg eax
sbb al, al
inc al
jmp 0x455072
lea ecx, [ebp - 0x24c]
call fcn.0044e7e3
push 2
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xa
call fcn.0045f2ee
mov byte [ebp - 0x2a5], al
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x2ac], ebx
call fcn.0045f77f
mov edi, dword [ebp - 0x2ac]
push edi
call fcn.004ca000
pop ecx
push eax
push edi
mov ecx, esi
call fcn.0044d934
cmp dword [ebp - 0x2ac], ebx
je 0x45504b
push dword [ebp - 0x2ac]
call fcn.004cacbf
pop ecx
lea ecx, [ebp - 0x24c]
call fcn.0045f392
lea ecx, [ebp - 0x24c]
mov byte [ebp - 0x2a6], 1
mov byte [ebp - 4], 6
call fcn.0045f47f
mov al, byte [ebp - 0x2a5]
cmp al, bl
je 0x455374
cmp dword [ebp - 0x2b4], ebx
je 0x455374
cmp byte [ebp - 0x2a7], bl
jne 0x455374
xor eax, eax
cmp dword [esi + 0x14], 0x10
lea edi, [ebp - 0x2c0]
mov dword [ebp - 0x2c4], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x2c8]
mov dword [ebp - 0x2cc], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x2d0]
mov dword [ebp - 0x2d4], ebx
mov byte [ebp - 0x2a6], 1
stosd dword es:[edi], eax
jb 0x4550ca
mov esi, dword [esi]
push ebx
push 0x2000000
push 3
push ebx
push 2
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2ac], eax
cmp eax, ebx
je 0x455374
mov esi, dword [ebp - 0x2b4]
cmp dword [esi + 0x2c], 0x13
jne 0x455374
lea ecx, [ebp - 0x2d4]
push ecx
lea ecx, [ebp - 0x2cc]
push ecx
lea ecx, [ebp - 0x2c4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
xor eax, eax
mov word [ebp - 0x244], ax
lea edi, [ebp - 0x242]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
push 4
mov dword [ebp - 0x2b8], ebx
lea edi, [ebp - 0x2b4]
stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x234]
lea edi, [esi + 0x1c]
push eax
mov ecx, edi
call fcn.0044dafe
cmp dword [ebp - 0x220], 0x10
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 0xb
jae 0x45516b
lea eax, [ebp - 0x234]
push eax
call fcn.0044ead1
pop ecx
push 2
mov word [ebp - 0x244], ax
push 5
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.0044dafe
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xc
call fcn.0044db2c
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xb
call fcn.0044d2a1
cmp dword [ebp - 0x220], 0x10
mov eax, dword [ebp - 0x234]
jae 0x4551c4
lea eax, [ebp - 0x234]
push eax
call fcn.0044ead1
pop ecx
push 2
mov word [ebp - 0x242], ax
push 8
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.0044dafe
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xd
call fcn.0044db2c
push ebx
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xb
call fcn.0044d2a1
cmp dword [ebp - 0x220], 0x10
mov eax, dword [ebp - 0x234]
jae 0x45521a
lea eax, [ebp - 0x234]
push eax
call fcn.0044ead1
pop ecx
push 2
mov word [ebp - 0x23e], ax
push 0xb
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.0044dafe
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xe
call fcn.0044db2c
push ebx
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xb
call fcn.0044d2a1
cmp dword [ebp - 0x220], 0x10
mov eax, dword [ebp - 0x234]
jae 0x455270
lea eax, [ebp - 0x234]
push eax
call fcn.0044ead1
pop ecx
push 2
mov word [ebp - 0x23c], ax
push 0xe
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.0044dafe
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xf
call fcn.0044db2c
push ebx
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xb
call fcn.0044d2a1
cmp dword [ebp - 0x220], 0x10
mov eax, dword [ebp - 0x234]
jae 0x4552c6
lea eax, [ebp - 0x234]
push eax
call fcn.0044ead1
pop ecx
push 2
mov word [ebp - 0x23a], ax
push 0x11
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.0044dafe
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x10
call fcn.0044db2c
push ebx
push esi
lea ecx, [ebp - 0x26c]
call fcn.0044d2a1
cmp dword [ebp - 0x220], 0x10
mov eax, dword [ebp - 0x234]
jae 0x455318
lea eax, [ebp - 0x234]
push eax
call fcn.0044ead1
mov word [ebp - 0x238], ax
pop ecx
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x2c4]
push eax
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push esi
lea ecx, [ebp - 0x234]
call fcn.0044d2a1
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 1
lea ecx, [ebp - 0x288]
call fcn.0044d2a1
mov eax, dword [ebp - 0x2bc]
cmp eax, ebx
je 0x4553a8
push ebx
push ebx
push 0x500
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
push 1
lea ecx, [ebp - 0x2a4]
call fcn.0044d2a1
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0044d2a1
push ebx
push 1
lea ecx, [ebp + 0x34]
call fcn.0044d2a1
mov al, byte [ebp - 0x2a6]
call fcn.004cb19a
ret 0x54