Function at 0x412660
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd72b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5293c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push str.click
call sym.GameDownloader.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004c608d
add esp, 8
test eax, eax
jne 0x412bc1
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push str.tip_close
mov ecx, eax
mov dword [ebp - 4], 0
call sym.GameDownloader.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004c608d
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
mov esi, eax
call sym.GameDownloader.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
lea eax, [edi + 0x498]
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x412716
mov eax, dword [eax]
test eax, eax
je 0x41270b
mov dword [eax], 1
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x412719
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push str.tip_ok_ok
mov ecx, eax
mov dword [ebp - 4], 1
call sym.GameDownloader.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004c608d
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
mov esi, eax
call sym.GameDownloader.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x412773
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x41276a
mov dword [eax], esi
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push str.tip_okcancel_ok
mov ecx, eax
mov dword [ebp - 4], 2
call sym.GameDownloader.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004c608d
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
mov esi, eax
call sym.GameDownloader.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x4127cd
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x4127c4
mov dword [eax], esi
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push str.tip_okcancel_cancel
mov ecx, eax
mov dword [ebp - 4], 3
call sym.GameDownloader.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004c608d
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
mov esi, eax
call sym.GameDownloader.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x41282c
mov eax, dword [edi + 0x498]
test eax, eax
je 0x412823
mov dword [eax], 1
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push str.tip_pay_ok
mov ecx, eax
mov dword [ebp - 4], 4
call sym.GameDownloader.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004c608d
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
mov esi, eax
call sym.GameDownloader.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x4128bd
cmp dword [edi + 0x498], esi
je 0x4128b4
mov ecx, dword [edi + 0x52c]
call sym.GameDownloader.exe_public:_bool___thiscall_DuiLib::CCheckBoxUI::GetCheck_void_const
test al, al
je 0x412897
mov eax, dword [edi + 0x498]
mov dword [eax], 4
jmp 0x4128b4
mov ecx, dword [edi + 0x528]
call sym.GameDownloader.exe_public:_bool___thiscall_DuiLib::CCheckBoxUI::GetCheck_void_const
mov edx, dword [edi + 0x498]
xor ecx, ecx
test al, al
setne cl
add ecx, 2
mov dword [edx], ecx
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push str.tip_pay_cancel
mov ecx, eax
mov dword [ebp - 4], 5
call sym.GameDownloader.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004c608d
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
mov esi, eax
call sym.GameDownloader.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x41291c
mov eax, dword [edi + 0x498]
test eax, eax
je 0x412913
mov dword [eax], 1
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push str.tip_pay_service
mov ecx, eax
mov dword [ebp - 4], 6
call sym.GameDownloader.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004c608d
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
mov esi, eax
call sym.GameDownloader.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x41297b
mov eax, dword [edi + 0x498]
test eax, eax
je 0x412972
mov dword [eax], 5
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push str.tip_service_copy
mov ecx, eax
mov dword [ebp - 4], 7
call sym.GameDownloader.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004c608d
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
mov esi, eax
call sym.GameDownloader.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x412ad3
cmp dword [edi + 0x4b8], esi
je 0x412ad3
cmp dword [edi + 0x4bc], 0xf
lea eax, [edi + 0x4a8]
jbe 0x4129e2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401950
add esp, 8
push dword [edi - 0x1c]
mov dword [ebp - 4], 8
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x412a9b
mov esi, dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [esi + esi]
lea esi, [eax + 2]
mov dword [ebp - 0x30], eax
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov esi, eax
mov dword [ebp - 0x2c], eax
push 0
push esi
call fcn.004b7c40
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 7
cmova eax, dword [ebp - 0x28]
test ecx, ecx
je 0x412a82
test esi, esi
je 0x412a72
push ecx
test eax, eax
je 0x412a67
push eax
push esi
call fcn.004b76c0
add esp, 0xc
jmp 0x412a82
push 0
push esi
call fcn.004b7c40
add esp, 0xc
call fcn.004c6ecc
mov dword [eax], 0x16
call fcn.004ba12f
mov esi, dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [edi + 0x514]
test ecx, ecx
je 0x412aaf
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
push 0x7d0
push 1
push dword [edi + 0x514]
lea ecx, [edi + 0xc]
call sym.GameDownloader.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetTimer_class_DuiLib::CControlUI___unsigned_int__unsigned_int_
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00402d40
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push str.tip_3d_start
mov ecx, eax
mov dword [ebp - 4], 9
call sym.GameDownloader.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004c608d
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
mov esi, eax
call sym.GameDownloader.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x412b4a
push 1
lea ecx, [edi - 0x20]
call fcn.00412c20
mov ecx, dword [edi + 0x51c]
test ecx, ecx
je 0x412b36
mov eax, dword [ecx]
push esi
call dword [eax + 0xec]
mov ecx, dword [edi + 0x520]
test ecx, ecx
je 0x412b4a
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [ebx + 0x108]
lea edx, [ebp - 0x13c]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push str.tip_3d_close
mov ecx, eax
mov dword [ebp - 4], 0xa
call sym.GameDownloader.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004c608d
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
mov esi, eax
call sym.GameDownloader.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x412bc1
push esi
lea ecx, [edi - 0x20]
call fcn.00412c20
mov ecx, dword [edi + 0x51c]
test ecx, ecx
je 0x412bad
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [edi + 0x520]
test ecx, ecx
je 0x412bc1
mov eax, dword [ecx]
push 0
call dword [eax + 0xec]
push str.timer
mov ecx, ebx
call sym.GameDownloader.exe_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const
test al, al
je 0x412bfe
cmp dword [ebx + 0x118], 1
jne 0x412bfe
push 1
push dword [edi + 0x514]
lea ecx, [edi + 0xc]
call sym.GameDownloader.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::KillTimer_class_DuiLib::CControlUI___unsigned_int_
mov ecx, dword [edi + 0x514]
test ecx, ecx
je 0x412bfe
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5d2c
mov esp, ebp
pop ebp
ret 4