Function at 0x474f30
Capabilities:
Delete file
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4128
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x4d7a50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x58], ecx
call fcn.0040fd30
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x24]
call fcn.0047886d
mov dword [ebp - 4], 0
push 0x4c0f9c
mov eax, dword [ebp - 0x14]
add eax, 0xbc
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040e470
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 1
push 0
push 0x1001
mov ecx, dword [ebp - 0x60]
call fcn.0040ff40
push eax
lea ecx, [ebp - 0x24]
call fcn.00478e3a
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x41], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040fec0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x474fe7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004789ef
jmp 0x475155
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], 0x475170
lea edx, [ebp - 0x30]
push edx
push 1
mov ecx, dword [ebp - 0x58]
call fcn.0045da80
lea ecx, [ebp - 0x24]
call fcn.00478758
push 0x4c0fa8
mov eax, dword [ebp - 0x14]
add eax, 0xbc
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.0040e470
add esp, 0xc
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 2
push 0
push 0x40
mov ecx, dword [ebp - 0x68]
call fcn.0040ff40
push eax
lea ecx, [ebp - 0x24]
call fcn.00478e3a
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0040fec0
movzx eax, byte [ebp - 0x49]
test eax, eax
je 0x475078
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004789ef
jmp 0x475155
mov ecx, dword [ebp - 0x58]
call fcn.00457ce0
test eax, eax
je 0x4750ef
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x24]
call fcn.004785fc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
add ecx, 1
push ecx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00478405
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x38]
mov byte [edx], 0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x34]
push ecx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x24]
call fcn.00478758
mov byte [ebp - 4], 3
push str._ttt.tmp
mov edx, dword [ebp - 0x14]
add edx, 0xbc
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.0040e470
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.0040ff40
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x54]
call fcn.0040fec0
jmp 0x47513f
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004789ef
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret