Function at 0x49adb0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566211
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x5ef300]
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 - 0x324], edi
mov ecx, dword [edi + 0x2dc]
test ecx, ecx
je 0x49b080
mov eax, dword [ecx + 0xc]
lea edx, [ebp - 0x340]
add ecx, 0xc
push 0
push edx
call dword [eax + 0x230]
lea eax, [ebp - 0x340]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.utilities4.dll_public_virtual:_int___stdcall_SOUI::SStringW::IsEmpty_void_const]
test eax, eax
jne 0x49afc9
push eax
xor bl, bl
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x49af4b
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebp - 0x340]
push eax
call dword [sym.imp.utilities4.dll_public_virtual:_int___stdcall_SOUI::SStringW::GetLength_void_const]
lea eax, [eax*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x49aebc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x49aeaf
lea eax, [ebp - 0x340]
push eax
call dword [sym.imp.utilities4.dll_public_virtual:_int___stdcall_SOUI::SStringW::GetLength_void_const]
lea eax, [eax*2 + 2]
push eax
push 0
lea eax, [ebp - 0x340]
push eax
call dword [sym.imp.utilities4.dll_public_virtual:_wchar_t____stdcall_SOUI::SStringW::GetBuffer_int_]
push eax
push edi
call fcn.0052d740
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 - 0x324]
call dword [sym.imp.USER32.dll_CloseClipboard]
test bl, bl
je 0x49af4b
mov esi, dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_wchar_t_const__]
lea ecx, [ebp - 0x32c]
push str._string_common_box_syslog_copy_success
call esi
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x324], esp
push 0x58242c
call esi
sub esp, 8
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x330], esp
push 0x58242c
call esi
sub esp, 8
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x334], esp
push 0x58242c
call esi
push 0
push 2
sub esp, 8
mov byte [ebp - 4], 4
mov eax, esp
lea ecx, [ebp - 0x32c]
push ecx
push eax
call dword [sym.imp.soui4.dll_public:_static_class_SOUI::SUiDef____cdecl_SOUI::SSingleton2_class_SOUI::SUiDef_::getSingletonPtr_void_]
mov ecx, eax
call dword [sym.imp.soui4.dll_public:_class_SOUI::SStringW___thiscall_SOUI::SUiDef::GetString_class_SOUI::SStringW_const__]
mov byte [ebp - 4], 1
jmp 0x49b045
mov esi, dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_wchar_t_const__]
lea ecx, [ebp - 0x32c]
push str._string_common_box_syslog_copy_failed
call esi
sub esp, 8
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x338], esp
push 0x58242c
call esi
sub esp, 8
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x334], esp
push 0x58242c
call esi
sub esp, 8
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x330], esp
push 0x58242c
call esi
push 0
push 3
sub esp, 8
mov byte [ebp - 4], 8
mov eax, esp
lea ecx, [ebp - 0x32c]
push ecx
push eax
call dword [sym.imp.soui4.dll_public:_static_class_SOUI::SUiDef____cdecl_SOUI::SSingleton2_class_SOUI::SUiDef_::getSingletonPtr_void_]
mov ecx, eax
call dword [sym.imp.soui4.dll_public:_class_SOUI::SStringW___thiscall_SOUI::SUiDef::GetString_class_SOUI::SStringW_const__]
mov byte [ebp - 4], 5
jmp 0x49b045
mov esi, dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_wchar_t_const__]
lea ecx, [ebp - 0x32c]
push str._string_common_box_syslog_copy_empty
call esi
sub esp, 8
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x338], esp
push 0x58242c
call esi
sub esp, 8
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x334], esp
push 0x58242c
call esi
sub esp, 8
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x330], esp
push 0x58242c
call esi
push 0
push 3
sub esp, 8
mov byte [ebp - 4], 0xc
mov eax, esp
lea ecx, [ebp - 0x32c]
push ecx
push eax
call dword [sym.imp.soui4.dll_public:_static_class_SOUI::SUiDef____cdecl_SOUI::SSingleton2_class_SOUI::SUiDef_::getSingletonPtr_void_]
mov ecx, eax
call dword [sym.imp.soui4.dll_public:_class_SOUI::SStringW___thiscall_SOUI::SUiDef::GetString_class_SOUI::SStringW_const__]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x320]
call fcn.00490b10
mov esi, dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::destructor_void_]
lea ecx, [ebp - 0x32c]
call esi
push dword [edi + 0x1c]
lea eax, [ebp - 0x320]
push eax
call fcn.00490450
lea ecx, [ebp - 0x320]
call fcn.00490c80
lea ecx, [ebp - 0x340]
call esi
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.0052b3fa
mov esp, ebp
pop ebp
ret