Function at 0x47f980
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x854
mov eax, 0x4c684e
call fcn.004c5467
mov edi, ecx
mov dword [ebp - 0x48], edi
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
lea ecx, [edi + 0x64]
call dword [sym.imp.MFC42u.dll_CListCtrl::GetHeaderCtrl]
lea ecx, [edi + 0x64]
mov ebx, eax
call fcn.0047c423
mov dword [ebp - 0x44], eax
test eax, eax
je 0x47ff84
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x47f9e5
push eax
push eax
push 0x40bde8
call dword [sym.imp.MFC42u.dll_AfxMessageBox]
jmp 0x47ff84
mov byte [ebp - 0x4b], 1
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x47fa09
push eax
push eax
push 0x40be38
call dword [sym.imp.MFC42u.dll_AfxMessageBox]
jmp 0x47ff7e
mov esi, dword [ebp - 0x18]
mov eax, 0x400
cmp esi, eax
ja 0x47fa2f
cmp dword [ebp - 0x14], eax
je 0x47fa2f
jae 0x47fa26
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.00481330
push esi
lea ecx, [ebp - 0x28]
call fcn.004811e4
push 0
push 0
push 0x1200
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x3c], eax
lea ebx, [edi + 0x10660]
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 0x64]
call fcn.0047c437
push 0xffffffffffffffff
push dword [edi + 0x5f0]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
lea ecx, [edi + 0x10638]
call fcn.00480fd0
lea ecx, [ebp - 0x860]
push ecx
mov ecx, ebx
push dword [eax]
call fcn.0047c605
push dword [edi + 0x5f0]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test esi, esi
je 0x47fefb
xor ebx, ebx
cmp dword [ebp - 0x3c], ebx
jle 0x47fedf
lea esi, [edi + 0x10c]
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x38], esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call dword [sym.imp.MFC42u.dll_CString::CString]
mov byte [ebp - 4], 4
test ebx, ebx
je 0x47faf3
push 0x40bd0c
call fcn.0047c460
pop ecx
push eax
push 0x40bd0c
lea ecx, [ebp - 0x28]
call fcn.00481205
mov eax, dword [esi]
cmp eax, 0x11
ja case.default.0x47fafe
jmp dword [eax*4 + 0x47ff98]
push dword [ebp - 0x860]
push 0x40be8c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MFC42u.dll_CString::Format]
push dword [ebp - 0x2c]
call fcn.0047c460
add esp, 0x10
push eax
push dword [ebp - 0x2c]
jmp 0x47fea6
lea eax, [ebp - 0x84c]
push eax
call fcn.0047c460
pop ecx
push eax
lea eax, [ebp - 0x84c]
jmp 0x47fea5
lea eax, [ebp - 0x4a0]
push eax
call fcn.0047c460
pop ecx
push eax
lea eax, [ebp - 0x4a0]
jmp 0x47fea5
lea eax, [ebp - 0x7cc]
push eax
lea ecx, [ebp - 0x30]
call dword [0x4f63d8]
push 0x5f
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC42u.dll_CString::Find_1]
test eax, eax
jle 0x47fc69
push 0x5f
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC42u.dll_CString::Find_1]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC42u.dll_CString::Left]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
push dword [eax]
call dword [0x4f63d8]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call dword [0x4f63ac]
mov esi, dword [ebp - 0x2c]
cmp dword [esi - 8], 0
je 0x47fc78
push 0x40be98
lea ecx, [ebp - 0x40]
call dword [sym.imp.MFC42u.dll_CString::CString_3]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x2c]
call dword [0x4f63d0]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call dword [0x4f63ac]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
push 0x5f
mov esi, dword [eax - 8]
call dword [sym.imp.MFC42u.dll_CString::Find_1]
sub esi, eax
lea ecx, [ebp - 0x30]
dec esi
lea eax, [ebp - 0x54]
push esi
push eax
call dword [sym.imp.MFC42u.dll_CString::Right]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
push dword [eax]
call dword [0x4f63d8]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call dword [0x4f63ac]
push 0x40be9c
lea ecx, [ebp - 0x34]
call dword [sym.imp.MFC42u.dll_CString::FindOneOf]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MFC42u.dll_CString::Left]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
push dword [eax]
call dword [0x4f6630]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call dword [0x4f63ac]
jmp 0x47fc75
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call dword [0x4f63d8]
mov esi, dword [ebp - 0x2c]
push esi
call fcn.0047c460
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00481205
mov esi, dword [ebp - 0x38]
jmp case.default.0x47fafe
lea eax, [ebp - 0x7cc]
push eax
lea ecx, [ebp - 0x30]
call dword [0x4f63d8]
push 0x5f
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC42u.dll_CString::Find_1]
test eax, eax
jle 0x47fd35
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
push 0x5f
mov esi, dword [eax - 8]
call dword [sym.imp.MFC42u.dll_CString::Find_1]
sub esi, eax
lea ecx, [ebp - 0x30]
dec esi
lea eax, [ebp - 0x5c]
push esi
push eax
call dword [sym.imp.MFC42u.dll_CString::Right]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call dword [sym.imp.MFC42u.dll_CString::operator]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call dword [0x4f63ac]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
push 0x40be9c
mov esi, dword [eax - 8]
call dword [sym.imp.MFC42u.dll_CString::FindOneOf]
sub esi, eax
lea ecx, [ebp - 0x2c]
push esi
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MFC42u.dll_CString::Right]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MFC42u.dll_CString::operator]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call dword [0x4f63ac]
mov esi, dword [ebp - 0x38]
jmp 0x47fd3e
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MFC42u.dll_CString::Empty]
push dword [ebp - 0x2c]
call fcn.0047c460
pop ecx
jmp 0x47fb25
lea eax, [ebp - 0x620]
push eax
call fcn.0047c460
pop ecx
push eax
lea eax, [ebp - 0x620]
jmp 0x47fea5
cmp dword [ebp - 0x72c], 0
jl case.default.0x47fafe
push dword [ebp - 0x72c]
push 0x40b40c
jmp 0x47fb10
cmp dword [ebp - 0x74c], 0
jl case.default.0x47fafe
push dword [ebp - 0x74c]
jmp 0x47fd78
cmp dword [ebp - 0x728], 0
jl case.default.0x47fafe
push dword [ebp - 0x728]
jmp 0x47fd78
cmp dword [ebp - 0x730], 0
jl case.default.0x47fafe
push dword [ebp - 0x730]
jmp 0x47fd78
movzx eax, word [ebp - 0x73a]
push eax
movzx eax, word [ebp - 0x73c]
push eax
movzx eax, word [ebp - 0x73e]
push eax
movzx eax, word [ebp - 0x740]
push eax
movzx eax, word [ebp - 0x748]
push eax
movzx eax, word [ebp - 0x742]
push eax
movzx eax, word [ebp - 0x746]
push eax
lea eax, [ebp - 0x2c]
push 0x40beb8
push eax
call dword [sym.imp.MFC42u.dll_CString::Format]
push dword [ebp - 0x2c]
call fcn.0047c460
add esp, 0x28
jmp 0x47fb25
cmp dword [ebp - 0x734], 0
jbe case.default.0x47fafe
push dword [ebp - 0x734]
jmp 0x47fd78
cmp dword [ebp - 0x738], 0
jbe case.default.0x47fafe
push dword [ebp - 0x738]
jmp 0x47fd78
push dword [ebp - 0x724]
jmp 0x47fd78
lea eax, [ebp - 0x720]
push eax
call fcn.0047c460
pop ecx
push eax
lea eax, [ebp - 0x720]
jmp 0x47fea5
lea eax, [ebp - 0x6a0]
push eax
call fcn.0047c460
pop ecx
push eax
lea eax, [ebp - 0x6a0]
jmp 0x47fea5
lea eax, [ebp - 0x5a0]
push eax
call fcn.0047c460
pop ecx
push eax
lea eax, [ebp - 0x5a0]
jmp 0x47fea5
lea eax, [ebp - 0x520]
push eax
call fcn.0047c460
pop ecx
push eax
lea eax, [ebp - 0x520]
push eax
lea ecx, [ebp - 0x28]
call fcn.00481205
lea ecx, [ebp - 0x30]
call dword [0x4f63ac]
lea ecx, [ebp - 0x34]
call dword [0x4f63ac]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call dword [0x4f63ac]
inc ebx
add esi, 4
mov dword [ebp - 0x38], esi
cmp ebx, edi
jl 0x47faaf
mov edi, dword [ebp - 0x48]
mov ebx, 0x40befc
push ebx
call fcn.0047c460
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00481205
lea ebx, [edi + 0x10660]
cmp dword [ebp - 0x44], 0
jne 0x47fa4a
mov eax, dword [ebp - 0x18]
lea eax, [eax*2 + 2]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x47ff7e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x47ff73
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x47ff3e
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
push ecx
inc eax
push eax
push edx
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x47ff71
push eax
push eax
push 0x40bf08
call dword [sym.imp.MFC42u.dll_AfxMessageBox]
jmp 0x47ff73
xor esi, esi
test esi, esi
je 0x47ff7e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00481142
call fcn.004c5416
ret