Function at 0x459efd
Capabilities:
Delete file
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 1]
push edi
push eax
lea ecx, [ebp - 0x48]
call fcn.004061ff
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00459c69
lea eax, [ebp + 8]
push esi
push eax
call fcn.0045a2a7
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push dword [eax]
lea eax, [ebp - 0xc]
push dword [ebp - 0x28]
push eax
call fcn.00459a9f
lea ecx, [ebp + 8]
call fcn.00401085
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x34]
mov dword [ebp - 0x38], ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [esi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esi + 0x14]
lea edi, [esi + 0x14]
cmp dword [eax - 0xc], ebx
jl 0x459f7b
mov dword [ebp - 8], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x459f8d
mov ecx, dword [0x4a9450]
push eax
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
call fcn.00406638
mov eax, dword [ebp - 8]
cmp dword [eax - 8], ebx
jne 0x459fbc
mov ecx, dword [ebp - 0x10]
push str.twinkiepaste_cb
lea eax, [ebp + 8]
push str..info
push eax
call fcn.00459a9f
push eax
lea ecx, [ebp - 8]
call fcn.004065e8
lea ecx, [ebp + 8]
call fcn.00401085
lea eax, [ebp - 8]
mov ecx, edi
push eax
call fcn.004065e8
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 0xc]
call fcn.00459d1f
add esp, 0xc
test eax, eax
jne 0x459ff2
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, edi
call fcn.004063c9
xor esi, esi
jmp 0x45a27e
cmp byte [esi + 0x30], 0
je 0x45a004
push 1
push dword [ebp - 0xc]
call fcn.0045a6b1
pop ecx
pop ecx
lea eax, [ebp - 0xc]
lea ecx, [esi + 0x3c]
push eax
call fcn.004065e8
push dword [esi + 0x6c]
mov ebx, str.Files
push str.DataType
push ebx
push dword [ebp - 8]
call fcn.004338cb
xor eax, eax
cmp byte [esi + 0x30], al
setne al
push eax
push str.Protected
push ebx
push dword [ebp - 8]
call fcn.004338cb
push dword [esi + 0x4c]
push str.WndName
push ebx
push dword [ebp - 8]
call fcn.00433894
push dword [esi + 0x48]
push str.ExeName
push ebx
push dword [ebp - 8]
call fcn.00433894
add esp, 0x40
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00412c4a
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], 0
je 0x45a088
push eax
push 0x4b56ec
push ebx
push dword [ebp - 8]
call fcn.00433894
add esp, 0x10
mov ecx, dword [esi + 0x20]
lea edi, [esi + 0x1c]
test ecx, ecx
jne 0x45a096
xor eax, eax
jmp 0x45a09e
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 3
add eax, 2
lea ecx, [ebp - 0x48]
push eax
call fcn.00436b5b
push dword [ebp - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.00410f9c
pop ecx
lea eax, [ebp + 8]
pop ecx
push eax
lea ecx, [ebp - 0x48]
push dword [ebp - 0x40]
call fcn.004144fe
lea ecx, [ebp + 8]
call fcn.00401085
mov ecx, edi
call fcn.0045ad64
test eax, eax
je 0x45a17d
mov edi, dword [esi + 0x20]
cmp edi, dword [esi + 0x24]
je 0x45a17d
push dword [edi]
lea eax, [ebp - 0x1c]
push eax
call fcn.00459c69
push dword [edi]
lea eax, [ebp - 0x2c]
push eax
call fcn.0045a2a7
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push dword [eax]
lea eax, [ebp + 8]
push dword [ebp - 0x1c]
push eax
call fcn.00459a9f
lea ecx, [ebp - 0x2c]
call fcn.00401085
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push eax
push dword [ebp + 8]
call fcn.00459d1f
add esp, 0xc
test eax, eax
je 0x45a165
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00410f9c
pop ecx
lea eax, [ebp - 0x14]
pop ecx
push eax
lea ecx, [ebp - 0x48]
push dword [ebp - 0x40]
call fcn.004144fe
mov ecx, dword [edi]
lea eax, [ebp + 8]
push eax
add ecx, 0x3c
call fcn.004065e8
lea ecx, [ebp - 0x14]
call fcn.00401085
lea ecx, [ebp + 8]
call fcn.00401085
lea ecx, [ebp - 0x1c]
call fcn.00401085
add edi, 8
jmp 0x45a0e1
and dword [ebp - 0x10], 0
mov edi, dword [ebp - 0x44]
cmp edi, dword [ebp - 0x40]
je 0x45a1e9
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0045a581
pop ecx
pop ecx
push dword [edi]
lea ecx, [ebp + 8]
call fcn.004064a9
push dword [edi]
lea eax, [ebp - 0x2c]
push eax
call fcn.00410f9c
pop ecx
pop ecx
push eax
lea ecx, [ebp + 8]
call fcn.004065e8
lea ecx, [ebp - 0x2c]
call fcn.00401085
push dword [ebp + 8]
push dword [ebp - 0x1c]
push ebx
push dword [ebp - 8]
call fcn.00433894
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.00401085
lea ecx, [ebp - 0x1c]
call fcn.00401085
add edi, 4
inc dword [ebp - 0x10]
jmp 0x45a184
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push 0x40000000
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, ebx
je 0x45a23e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x38]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00490dc0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x14]
lea ecx, [ebp + 8]
push eax
call fcn.00406383
mov eax, dword [ebp + 8]
cmp dword [eax - 8], ebx
je 0x45a26b
xor ecx, ecx
cmp byte [esi + 0x30], 1
sete cl
push ecx
push eax
call fcn.0045a6b1
pop ecx
pop ecx
lea ecx, [ebp + 8]
call fcn.00401085
lea ecx, [ebp - 0x24]
call fcn.00401085
push 1
pop esi
lea ecx, [ebp - 8]
call fcn.00401085
lea ecx, [ebp - 0xc]
call fcn.00401085
lea ecx, [ebp - 0x28]
call fcn.00401085
lea ecx, [ebp - 0x48]
call fcn.00406217
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4