Function at 0x4f41b7
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0
push 1
call fcn.0049c470
add esp, 4
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4f43a2
call dword [sym.imp.USER32.dll_GetClipboardOwner]
cmp eax, dword [ebp + 8]
jne 0x4f4236
xor eax, eax
mov ax, word [0x5336b8]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4f42a2
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x48]
cmp dword [eax + 0x1e0], ecx
je 0x4f4276
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x20], 0
je 0x4f429b
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x18], 0
jne 0x4f42cd
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4f42c8
mov dword [ebp - 0x2c], 1
jmp 0x4f42d8
xor eax, eax
mov ax, word [0x5336b8]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x18], 0
je 0x4f439c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, 0x7d00
jbe 0x4f4303
mov dword [ebp - 0x3c], 0
jmp 0x4f4344
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x2c], 1
jne 0x4f4335
cmp dword [ebp - 8], 0x4e20
jle 0x4f4335
mov dword [ebp - 8], 0x4e20
mov dword [ebp - 0xc], 0x4e20
mov eax, dword [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4f4395
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.00522244
add esp, 0xc
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4f439c
mov dword [ebp - 0x20], 0x2714
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x3c], 0
je 0x4f4591
cmp dword [ebp - 0x2c], 1
jne 0x4f4525
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4f43ea
jmp 0x4f4591
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0xc], 0
jne 0x4f441b
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4f4435
cmp dword [ebp - 8], 0xa
jle 0x4f4435
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xc], eax
jle 0x4f4505
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
movsx eax, byte [eax + ecx]
mov dword [ebp - 0x44], eax
jmp 0x4f44da
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
jmp 0x4f44fd
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov byte [eax + ecx], 0x20
inc dword [ebp - 0x30]
jmp 0x4f44fd
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov al, byte [eax + ecx]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov byte [ecx + edx], al
inc dword [ebp - 0x30]
jmp 0x4f44fd
cmp dword [ebp - 0x44], 9
je 0x4f449b
cmp dword [ebp - 0x44], 0xa
je 0x4f44fd
cmp dword [ebp - 0x44], 0xd
je 0x4f446d
jmp 0x4f44b4
inc dword [ebp - 0x28]
jmp 0x4f444a
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x30], 0
jg 0x4f4520
mov dword [ebp - 0x30], 0xffffffff
jmp 0x4f455f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
xor ecx, ecx
mov cx, word [0x5336b8]
cmp eax, ecx
jne 0x4f455f
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x30], 0
jl 0x4f4587
push 0
push 0xa03
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.004ef9f1
add esp, 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x3c], 0
je 0x4f45a5
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x14], 0
je 0x4f45b9
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x20]
jmp 0x4f45c1
pop edi
pop esi
pop ebx
leave
ret