Function at 0x48f2ae
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
sub eax, 4
push eax
call fcn.0048a27b
lea eax, [ebp - 0x18]
push eax
add eax, 0x10
push eax
sub eax, 4
push eax
sub eax, 4
push eax
sub eax, 4
push eax
call fcn.00445867
test al, al
je 0x48f353
mov eax, dword [ebp - 0x1c]
push 1
add eax, dword [ebp - 0x20]
push eax
mov eax, dword [0x5d25b4]
add eax, dword [0x5d25b8]
push eax
call fcn.00446227
push dword [0x5cbb00]
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x48f4de
call sub.user32.dll_EmptyClipboard
push 0x210
push 0x42
call sub.kernel32.dll_GlobalAlloc
test eax, eax
je 0x48f335
push eax
push dword [0x5d2550]
call sub.user32.dll_SetClipboardData
call fcn.00445f98
mov dword [ebp - 4], eax
test eax, eax
je 0x48f349
push eax
push 0xd
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
jmp 0x48f4de
push 0x210
push 0x42
call sub.kernel32.dll_GlobalAlloc
mov edi, eax
test eax, eax
je 0x48f37e
push 0x426
push 0x42
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
test eax, eax
push edi
jne 0x48f38e
call sub.kernel32.dll_GlobalFree
push dword [0x5cbb00]
call fcn.00418009
jmp 0x48f4de
call sub.kernel32.dll_GlobalWire
push dword [ebp - 4]
mov esi, eax
call sub.kernel32.dll_GlobalWire
cmp byte [0x5e8c64], 0
mov ebx, eax
mov eax, dword [ebp - 0x1c]
je 0x48f3f9
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
push eax
mov eax, dword [0x5d25b4]
add eax, dword [0x5d25b8]
push eax
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push ebx
call fcn.004f8d04
mov eax, dword [0x5d25b4]
push dword [ebp - 0x2c]
add eax, dword [0x5d25b8]
push eax
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push dword [esi - 4]
push esi
call fcn.004ef640
fstp qword [ebp - 0x28]
jmp 0x48f428
add eax, dword [ebp - 0x20]
push eax
mov eax, dword [0x5d25b4]
add eax, dword [0x5d25b8]
push eax
push dword [esi - 4]
push esi
push ebx
call fcn.004f8d04
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push dword [esi - 4]
push esi
call fcn.00415c57
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
push eax
mov eax, dword [0x5d25b4]
add eax, dword [0x5d25b8]
push eax
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0
call fcn.004f87d2
mov ax, word [ebp - 0x456]
mov word [ebx + 2], ax
lea eax, reloc.gdi32.dll_AbortDoc
push eax
lea eax, [ebx + 4]
push eax
mov eax, 0x211
call fcn.0056cfd2
mov ax, word [ebp - 0x458]
mov word [ebx], ax
lea eax, reloc.gdi32.dll_AbortDoc
push eax
lea eax, reloc.gdi32.dll_AbortDoc
push eax
mov eax, 0x210
call fcn.0056cfd2
push dword [0x5cbb00]
call sub.user32.dll_OpenClipboard
test eax, eax
push edi
jne 0x48f4aa
call sub.kernel32.dll_GlobalFree
push dword [ebp - 4]
call sub.kernel32.dll_GlobalFree
jmp 0x48f4de
call sub.kernel32.dll_GlobalUnlock
push dword [ebp - 4]
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_EmptyClipboard
push dword [ebp - 4]
push dword [0x5d254c]
call sub.user32.dll_SetClipboardData
push edi
push 0xd
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
mov byte [0x5cc7f0], 0
pop edi
pop esi
pop ebx
leave
ret 4