Function at 0x4ed400
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x746160
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx]
call dword [eax + 4]
push 0x7fa644
mov ecx, edi
call fcn.00460420
test al, al
je 0x4ed604
mov ecx, dword [ebp - 0x50]
sub esp, 8
mov edx, dword [ebp - 0x54]
mov eax, esp
push ecx
push edx
mov dword [eax], 0x7fa67c
mov dword [eax + 4], 8
call fcn.0045b8a0
add esp, 0x10
test al, al
je 0x4ed485
push 2
lea ecx, [esi - 0x24]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
jmp 0x4ed60d
mov ecx, dword [ebp - 0x50]
sub esp, 8
mov edx, dword [ebp - 0x54]
mov eax, esp
push ecx
push edx
mov dword [eax], str.btn_start
mov dword [eax + 4], 9
call fcn.0045b8a0
add esp, 0x10
test al, al
je 0x4ed4bb
push 1
lea ecx, [esi - 0x24]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
jmp 0x4ed60d
mov ecx, dword [ebp - 0x50]
sub esp, 8
mov edx, dword [ebp - 0x54]
mov eax, esp
push ecx
push edx
mov dword [eax], str.copybtn
mov dword [eax + 4], 7
call fcn.0045b8a0
add esp, 0x10
test al, al
je 0x4ed60d
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
lea ecx, [esi + 0x10]
sub esp, 8
mov eax, esp
mov dword [eax], 0x7fa690
mov dword [eax + 4], 3
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t___const]
mov ecx, eax
test ecx, ecx
je 0x4ed544
mov eax, dword [ecx]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [eax + 0x28]
call eax
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00460810
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.00460da0
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 0x3e8
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
mov esi, eax
cmovae edx, dword [ebp - 0x2c]
call fcn.004b59f0
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x4ed588
mov ecx, dword [ecx]
sub esi, ecx
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x4ed590
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4ed5cd
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ed5c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ed62a
push edx
push ecx
call fcn.006f4f2f
add esp, 8
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x2c]
call fcn.0044bf40
jmp 0x4ed60d
push edi
mov ecx, esi
call dword [sym.imp.DuiLib.dll_public_virtual:_void___thiscall_DuiLib::WindowImplBase::Notify_struct_DuiLib::tagTNotifyUI__]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret 4
call fcn.00710a9c
int3