Function at 0x41c7e0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4389a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x78]
mov ecx, 0x1b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_492
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x41c882
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041a2e0
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sub.MFC42D.DLL_Ordinal_684
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2640
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 1
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
push 0
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_4525
jmp 0x41c88e
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0041c9f0
push 0x43d0e0
lea eax, [ebp - 0x14]
push eax
call sub.MFC42D.DLL_Ordinal_813
and eax, 0xff
test eax, eax
je 0x41c8c3
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x28]
jmp 0x41c9cb
call sub.MFC42D.DLL_Ordinal_1098
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_4126
test eax, eax
je 0x41c9b2
mov esi, esp
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2640
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x164], edx
mov esi, esp
mov eax, dword [ebp - 0x1c]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_880
push eax
mov esi, esp
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push eax
call sub.MSVCRTD.dll_memcpy
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov esi, esp
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x160]
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
test eax, eax
jne 0x41c988
mov esi, esp
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov esi, esp
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x2c]
jmp 0x41c9cb
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x78
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 4