Function at 0x49c570
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, dword [ebp + 8]
push eax
call fcn.00507fc0
add esp, 4
add eax, 0x190
push eax
call fcn.004d7c35
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x49c5a5
jmp 0x49c797
cmp dword [0x5a5ea4], 0
jne 0x49c5be
push str.HTML_Format
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x5a5ea4], eax
push str.Version:0.9_r_nStartHTML:00000000_r_nEndHTML:00000000_r_nStartFragment:00000000_r_nEndFragment:00000000_r_n_html__body_____StartFragment___
mov edx, dword [ebp - 8]
push edx
call fcn.00508050
add esp, 8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00508060
add esp, 8
push str.____EndFragment____r_n__body__r_n__html_
mov edx, dword [ebp - 8]
push edx
call fcn.00508060
add esp, 8
push str.StartHTML
mov eax, dword [ebp - 8]
push eax
call fcn.00418d70
add esp, 8
mov dword [ebp - 4], eax
push str._html_
mov ecx, dword [ebp - 8]
push ecx
call fcn.00418d70
add esp, 8
sub eax, dword [ebp - 8]
push eax
push 0x54be08
mov edx, dword [ebp - 4]
add edx, 0xa
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 4]
mov byte [eax + 0x12], 0xd
push str.EndHTML
mov ecx, dword [ebp - 8]
push ecx
call fcn.00418d70
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call fcn.00507fc0
add esp, 4
push eax
push 0x54be18
mov eax, dword [ebp - 4]
add eax, 8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x10], 0xd
push str.StartFragment
mov edx, dword [ebp - 8]
push edx
call fcn.00418d70
add esp, 8
mov dword [ebp - 4], eax
push str.____StartFrag
mov eax, dword [ebp - 8]
push eax
call fcn.00418d70
add esp, 8
mov esi, eax
sub esi, dword [ebp - 8]
push str.____StartFragment___
call fcn.00507fc0
add esp, 4
add esi, eax
push esi
push 0x54be58
mov ecx, dword [ebp - 4]
add ecx, 0xe
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [ebp - 4]
mov byte [edx + 0x16], 0xd
push str.EndFragment
mov eax, dword [ebp - 8]
push eax
call fcn.00418d70
add esp, 8
mov dword [ebp - 4], eax
push str.____EndFrag
mov ecx, dword [ebp - 8]
push ecx
call fcn.00418d70
add esp, 8
sub eax, dword [ebp - 8]
push eax
push str._08u
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], 0xd
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x49c785
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [ebp - 8]
push ecx
call fcn.00507fc0
add esp, 4
add eax, 4
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00508050
add esp, 8
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [0x5a5ea4]
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004d7c40
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret