Function at 0x401c0d
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x43818c
call fcn.00437bf0
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [eax - 8]
add eax, eax
push eax
call sub.MSVCRT.dll_malloc
mov edi, eax
mov eax, dword [esp + 0x2c]
pop ecx
mov dword [esp + 0xc], edi
mov eax, dword [eax - 8]
push ebx
add eax, eax
push ebx
push eax
push edi
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
call fcn.00403003
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
mov dword [esp + 0x14], ebx
call sub.MSVCRT.dll_strlen
add eax, 0x190
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x401e99
cmp dword [0x4561dc], ebx
jne 0x401c97
push str.HTML_Format
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x4561dc], eax
push ebp
push str.Version:0.9_r_nStartHTML:00000000_r_nEndHTML:00000000_r_nStartFragment:00000000_r_nEndFragment:00000000_r_nStartSelection:00000000_r_nEndSelection:00000000_r_n_html__body__r_n____StartFragment___
push esi
call sub.MSVCRT.dll_strcpy
push edi
push esi
call sub.MSVCRT.dll_strcat
push str.____EndFragment_____body__r_n__html_
push esi
call sub.MSVCRT.dll_strcat
push str.StartHTML
push esi
call sub.MSVCRT.dll_strstr
push str._html_
push esi
mov ebx, eax
call sub.MSVCRT.dll_strstr
add esp, 0x28
sub eax, esi
mov edi, str._08u
push eax
lea eax, [ebx + 0xa]
push edi
push eax
call sub.MSVCRT.dll_sprintf
push str.EndHTML
push esi
mov byte [ebx + 0x12], 0xd
call sub.MSVCRT.dll_strstr
push esi
mov ebx, eax
call sub.MSVCRT.dll_strlen
add esp, 0x18
push eax
lea eax, [ebx + 8]
push edi
push eax
call sub.MSVCRT.dll_sprintf
push str.StartFragment
push esi
mov byte [ebx + 0x10], 0xd
call sub.MSVCRT.dll_strstr
push 0x14
mov ebx, eax
pop ebp
push str.____StartFrag
push esi
sub ebp, esi
call sub.MSVCRT.dll_strstr
add esp, 0x1c
add eax, ebp
push eax
lea eax, [ebx + 0xe]
push edi
push eax
call sub.MSVCRT.dll_sprintf
push str.EndFragment
push esi
mov byte [ebx + 0x16], 0xd
call sub.MSVCRT.dll_strstr
push str.____EndFrag
push esi
mov ebx, eax
call sub.MSVCRT.dll_strstr
add esp, 0x1c
sub eax, esi
push eax
lea eax, [ebx + 0xc]
push edi
push eax
call sub.MSVCRT.dll_sprintf
push str.StartSelection
push esi
mov byte [ebx + 0x14], 0xd
call sub.MSVCRT.dll_strstr
push str.____StartFrag
push esi
mov ebx, eax
call sub.MSVCRT.dll_strstr
add esp, 0x1c
add eax, ebp
push eax
lea eax, [ebx + 0xf]
push edi
push eax
call sub.MSVCRT.dll_sprintf
push str.EndSelection
push esi
mov byte [ebx + 0x17], 0xd
call sub.MSVCRT.dll_strstr
push str.____EndFrag
push esi
mov ebx, eax
call sub.MSVCRT.dll_strstr
add esp, 0x1c
sub eax, esi
push eax
lea eax, [ebx + 0xd]
push edi
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
xor edi, edi
mov byte [ebx + 0x15], 0xd
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x401e7c
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, 4
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
cmp ebx, edi
je 0x401e62
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
call ebp
push esi
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push dword [0x4561dc]
call dword [sym.imp.USER32.dll_SetClipboardData]
push dword [esp + 0x10]
call sub.MSVCRT.dll_strlen
pop ecx
add eax, 4
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x401e5a
push edi
call ebp
push dword [esp + 0x10]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov dword [esp + 0x14], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
je 0x401e75
push ebx
call ebp
test edi, edi
je 0x401e7c
push edi
call ebp
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp dword [esp + 0x14], 0
pop ecx
pop ebp
je 0x401e95
push dword [esp + 0xc]
call sub.MSVCRT.dll_free
pop ecx
mov ebx, dword [esp + 0x10]
or dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00402cb3
mov ecx, dword [esp + 0x14]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4