Function at 0x474cb0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cbbe
mov eax, dword fs:[0]
push eax
sub esp, 0x3c8
mov eax, dword [0x564040]
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 dword [ebp - 0x3c8], edi
mov ecx, dword [edi + 0x38c]
test ecx, ecx
je 0x474f28
mov eax, dword [ecx]
lea edx, [ebp - 0x3c4]
push 0
push edx
call dword [eax + 0x3c]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x3c4]
cmp dword [eax - 8], 0
je 0x474e93
push 0
xor bl, bl
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x474e24
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0x3c4]
mov eax, dword [eax - 8]
lea eax, [eax*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x474da8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x474d9b
mov ecx, dword [ebp - 0x3c4]
mov ecx, dword [ecx - 8]
lea ecx, [ecx*2 + 2]
push ecx
push 0
lea ecx, [ebp - 0x3c4]
call dword [sym.imp.utilities.dll_public:_wchar_t____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::GetBuffer_int_]
push eax
push edi
call fcn.004d6750
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [ebp - 0x3c8]
call dword [sym.imp.USER32.dll_CloseClipboard]
test bl, bl
je 0x474e24
push ecx
mov ecx, esp
mov dword [ebp - 0x3c8], esp
push 0x520f50
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x3cc], esp
push 0x520f50
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x3d0], esp
push 0x520f50
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0
push 3
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push 0x52d854
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 0
call fcn.00470af0
mov byte [ebp - 4], 4
jmp 0x474f00
push ecx
mov ecx, esp
mov dword [ebp - 0x3d4], esp
push 0x520f50
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x3d0], esp
push 0x520f50
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x3cc], esp
push 0x520f50
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0
push 2
push ecx
mov ecx, esp
mov byte [ebp - 4], 7
push str._rY6R
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 0
call fcn.00470af0
mov byte [ebp - 4], 8
jmp 0x474f00
push ecx
mov ecx, esp
mov dword [ebp - 0x3d4], esp
push 0x520f50
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x3d0], esp
push 0x520f50
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x3cc], esp
push 0x520f50
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0
push 2
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xb
push 0x52d8e4
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 0
call fcn.00470af0
mov byte [ebp - 4], 0xc
push dword [edi + 0x248]
lea ecx, [ebp - 0x3c0]
call fcn.00470590
lea ecx, [ebp - 0x3c0]
call fcn.00470c40
lea ecx, [ebp - 0x3c4]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
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.004d1b1e
mov esp, ebp
pop ebp
ret