Function at 0x47fd10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e91b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
call dword [sym.imp.mfc140.dll_Ordinal_2241]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x178]
mov ecx, eax
call dword [sym.imp.mfc140.dll_Ordinal_5023]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x47ff9b
push str.Version:0.9_r_nStartHTML:00000000_r_nEndHTML:00000000_r_nStartFragment:00000000_r_nEndFragment:00000000_r_n_html__r_n____StartFragment_____r_n
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_310]
push str.____EndFragment____r_n_r_n__html_
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140.dll_Ordinal_310]
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 1
mov esi, dword [esi]
test esi, esi
je 0x47fd9c
mov eax, dword [esi + 4]
test eax, eax
jne 0x47fd9e
push dword [esi]
call fcn.004e2ca0
mov dword [esi + 4], eax
jmp 0x47fd9e
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebx, [eax + 0x1f4]
push ebx
call dword [sym.imp.mfc140.dll_Ordinal_265]
push ebx
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_5096]
push eax
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov eax, dword [ebp + 8]
add esp, 0xc
mov esi, dword [eax]
test esi, esi
je 0x47fdf1
mov eax, dword [esi + 4]
test eax, eax
jne 0x47fdf3
push dword [esi]
call fcn.004e2ca0
mov dword [esi + 4], eax
jmp 0x47fdf3
xor eax, eax
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
push eax
push ebx
push edi
call esi
push 0x5042cc
push ebx
push edi
call esi
add esp, 0x18
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_5096]
push eax
push ebx
push edi
call esi
mov ebx, dword [sym.imp.VCRUNTIME140.dll_strstr]
push str.StartHTML
push edi
call ebx
push str._html_
push edi
mov esi, eax
call ebx
sub eax, edi
lea ecx, [esi + 0xa]
push eax
push str._08u
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
push str.EndHTML
push edi
mov byte [esi + 0x12], 0xd
call ebx
mov edx, edi
mov esi, eax
add esp, 0x30
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x47fe58
sub edx, eax
lea eax, [esi + 8]
push edx
push str._08u
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push str.StartFragment
push edi
mov byte [esi + 0x10], 0xd
call ebx
push str.____StartFrag
push edi
mov esi, eax
call ebx
sub eax, edi
lea ecx, [esi + 0xe]
push eax
push str._08u
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
push str.EndFragment
push edi
mov byte [esi + 0x16], 0xd
call ebx
push str.____EndFrag
push edi
mov esi, eax
call ebx
sub eax, edi
lea ecx, [esi + 0xc]
push eax
push str._08u
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x18]
add esp, 0x44
mov byte [esi + 0x14], 0xd
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x47ff89
cmp dword [0x53d194], 0
jne 0x47fef5
push str.HTML_Format
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov dword [0x53d194], eax
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ff00
sub ecx, edx
lea eax, [ecx + 4]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov eax, edi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47ff28
sub eax, ebx
push edi
inc eax
push eax
push edx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push dword [0x53d194]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push edi
call dword [sym.imp.mfc140.dll_Ordinal_266]
add esp, 4
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4