Function at 0x51c630
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66429f
mov eax, dword fs:[0]
push eax
sub esp, 0xbb8
mov eax, dword [0x7060c4]
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 0x51c675
jmp 0x51ca44
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 0x51c955
mov byte [ebp - 0xb21], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x51c784
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 0x51c77e
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 0x51c771
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.005ddc30
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 0x51c874
push ecx
mov ecx, esp
mov dword [ebp - 0xb9c], esp
push 0x68de2c
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 0x68de30
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 0x68de34
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 2
push ecx
mov ecx, esp
mov dword [ebp - 0xb68], esp
push 0x68de38
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.005146f0
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.00514130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x770]
call fcn.00514820
jmp 0x51c950
push ecx
mov ecx, esp
mov dword [ebp - 0xb74], esp
push 0x68de60
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 0x68de64
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 0x68de68
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 3
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.005146f0
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.00514130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb20]
call fcn.00514820
jmp 0x51ca31
push ecx
mov ecx, esp
mov dword [ebp - 0xb98], esp
push 0x68de80
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 0x68de84
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 0x68de88
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 3
push ecx
mov ecx, esp
mov dword [ebp - 0xbc4], esp
push 0x68de8c
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.005146f0
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.00514130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c0]
call fcn.00514820
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.005c4766
mov esp, ebp
pop ebp
ret