Function at 0x514b40
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c33f
mov eax, dword fs:[0]
push eax
sub esp, 0xbb8
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb28], ecx
mov eax, dword [ebp - 0xb28]
cmp dword [eax + 0x38c], 0
jne 0x514b85
jmp 0x514f54
push 0
lea ecx, [ebp - 0xb2c]
push ecx
mov edx, dword [ebp - 0xb28]
mov eax, dword [edx + 0x38c]
mov ecx, dword [ebp - 0xb28]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x38c]
mov eax, dword [edx + 0x3c]
call eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb2c]
call dword [sym.imp.utilities.dll_public:_bool___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::IsEmpty_void_const]
movzx ecx, al
test ecx, ecx
jne 0x514e65
mov byte [ebp - 0xb21], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x514c94
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0xb2c]
call dword [sym.imp.utilities.dll_public:_int___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::GetLength_void_const]
lea edx, [eax + eax + 2]
push edx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xb30], eax
cmp dword [ebp - 0xb30], 0
je 0x514c8e
mov eax, dword [ebp - 0xb30]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xb34], eax
cmp dword [ebp - 0xb34], 0
je 0x514c81
lea ecx, [ebp - 0xb2c]
call dword [sym.imp.utilities.dll_public:_int___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::GetLength_void_const]
lea ecx, [eax + eax + 2]
push ecx
push 0
lea ecx, [ebp - 0xb2c]
call dword [sym.imp.utilities.dll_public:_wchar_t____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::GetBuffer_int_]
push eax
mov edx, dword [ebp - 0xb34]
push edx
call fcn.005d6280
add esp, 0xc
mov eax, dword [ebp - 0xb34]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0xb30]
push ecx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov byte [ebp - 0xb21], 1
mov edx, dword [ebp - 0xb30]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
movzx eax, byte [ebp - 0xb21]
test eax, eax
je 0x514d84
push ecx
mov ecx, esp
mov dword [ebp - 0xb9c], esp
push 0x6857f4
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0xb38], eax
mov ecx, dword [ebp - 0xb38]
mov dword [ebp - 0xbbc], ecx
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0xbc0], esp
push 0x6857f8
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0xb3c], eax
mov edx, dword [ebp - 0xb3c]
mov dword [ebp - 0xb5c], edx
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0xb60], esp
push 0x6857fc
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0xb40], eax
mov eax, dword [ebp - 0xb40]
mov dword [ebp - 0xb64], eax
mov byte [ebp - 4], 3
push 0
push 3
push ecx
mov ecx, esp
mov dword [ebp - 0xb68], esp
push 0x685800
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0xb6c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x770]
call fcn.0050f7e0
mov dword [ebp - 0xb70], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xb28]
mov edx, dword [ecx + 0x248]
push edx
lea ecx, [ebp - 0x770]
call fcn.0050f220
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x770]
call fcn.0050f910
jmp 0x514e60
push ecx
mov ecx, esp
mov dword [ebp - 0xb74], esp
push 0x685828
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0xb44], eax
mov eax, dword [ebp - 0xb44]
mov dword [ebp - 0xb78], eax
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0xb7c], esp
push 0x68582c
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0xb48], eax
mov ecx, dword [ebp - 0xb48]
mov dword [ebp - 0xb80], ecx
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0xb84], esp
push 0x685830
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0xb4c], eax
mov edx, dword [ebp - 0xb4c]
mov dword [ebp - 0xb88], edx
mov byte [ebp - 4], 7
push 0
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0xb8c], esp
push str._rY6R
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0xb90], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb20]
call fcn.0050f7e0
mov dword [ebp - 0xb94], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xb28]
mov ecx, dword [eax + 0x248]
push ecx
lea ecx, [ebp - 0xb20]
call fcn.0050f220
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb20]
call fcn.0050f910
jmp 0x514f41
push ecx
mov ecx, esp
mov dword [ebp - 0xb98], esp
push 0x685848
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0xb50], eax
mov edx, dword [ebp - 0xb50]
mov dword [ebp - 0xbb0], edx
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0xba0], esp
push 0x68584c
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0xb54], eax
mov eax, dword [ebp - 0xb54]
mov dword [ebp - 0xba4], eax
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0xba8], esp
push 0x685850
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0xb58], eax
mov ecx, dword [ebp - 0xb58]
mov dword [ebp - 0xbac], ecx
mov byte [ebp - 4], 0xb
push 0
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0xbc4], esp
push 0x685854
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov dword [ebp - 0xbb4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c0]
call fcn.0050f7e0
mov dword [ebp - 0xbb8], eax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xb28]
mov eax, dword [edx + 0x248]
push eax
lea ecx, [ebp - 0x3c0]
call fcn.0050f220
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c0]
call fcn.0050f910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb2c]
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret