Function at 0x4c2be0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x440
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0x43c], eax
mov eax, dword [esp + 0x448]
push ebx
push esi
mov esi, dword [esp + 0x44c]
push edi
xor edi, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edi
call fcn.004c2ae0
mov esi, eax
mov dword [esp + 0x24], edi
call sym.convertifd.exe_CV_GetSystemInputSymbolSet
push eax
push str.CopyTextFileEncoding
push 0x580950
call sym.convertifd.exe_GetJetFormIniInt
push 4
lea ecx, [esp + 0x34]
push ecx
push 0x580dd0
push str.CopyToClipboardInUnicode
push str.Text_Options
mov dword [esp + 0x34], eax
call sym.convertifd.exe_GetJetFormIniStr
movsx edx, byte [esp + 0x30]
push edx
call fcn.00511e5d
xor ebx, ebx
add esp, 4
cmp eax, 0x4e
setne bl
cmp ebx, edi
mov dword [esp + 0x1c], ebx
jne 0x4c2ca4
push 0x14
lea eax, [esp + 0x38]
push eax
push 0x58490c
push str.TextFileFormat
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
lea ecx, [esp + 0x34]
push 0x58490c
push ecx
call fcn.0051e073
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x24], eax
lea edx, [esi + esi + 2]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, edi
mov dword [esp + 0x28], esi
je 0x4c2e56
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
mov eax, dword [esp + 0x454]
push 0x200
push ebp
push eax
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll__lread]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
jle 0x4c2e0b
jmp 0x4c2cf5
mov edi, dword [esp + 0x14]
test ebx, ebx
je 0x4c2dbb
xor esi, esi
test edi, edi
mov dword [esp + 0x10], 0
jle 0x4c2d9e
nop
movzx ecx, byte [esi + ebp]
mov edx, dword [esp + 0x24]
lea ebx, [esi + ebp]
push ecx
push edx
call sym.convertifd.exe_CV_NBytesInChar
mov edi, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
sub ecx, esi
add esp, 8
cmp edi, ecx
jg 0x4c2d83
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
push 2
lea ebp, [esp + ebp + 0x50]
push ebp
push edi
push ebx
push 0x67
push edx
call sym.convertifd.exe_CV_CvtSymbolSet
mov al, byte [ebp]
add esp, 0x18
add esi, edi
cmp al, 0xfe
jne 0x4c2d63
mov ecx, dword [esp + 0x10]
cmp byte [esp + ecx + 0x4d], 0xff
je 0x4c2d77
cmp al, 0xff
jne 0x4c2d72
mov edx, dword [esp + 0x10]
cmp byte [esp + edx + 0x4d], 0xfe
je 0x4c2d77
add dword [esp + 0x10], 2
cmp esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
jl 0x4c2d10
jmp 0x4c2d96
push 1
sub esi, eax
mov eax, dword [esp + 0x458]
push esi
push eax
call dword [sym.imp.KERNEL32.dll__llseek]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x50]
push edx
push ebp
call fcn.005154f0
mov esi, dword [esp + 0x38]
add esp, 0xc
add ebp, dword [esp + 0x10]
jmp 0x4c2ddf
cmp dword [esp + 0x28], 0
je 0x4c2ddd
push ebp
push ebp
push edi
push 0
push 2
call sym.convertifd.exe_UtConvertCharSetBD
push ebp
push ebp
push edi
push 5
push 0
call sym.convertifd.exe_UtConvertCharSetBD
add esp, 0x28
add ebp, edi
cmp edi, 0x200
mov dword [esp + 0x18], ebp
jl 0x4c2e0b
mov eax, dword [esp + 0x454]
push 0x200
push ebp
push eax
call dword [sym.imp.KERNEL32.dll__lread]
test eax, eax
mov dword [esp + 0x14], eax
jg 0x4c2cf1
mov byte [ebp], 0
push esi
mov byte [ebp + 1], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [sym.convertifd.exe_i_window]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop ebp
je 0x4c2e52
call dword [sym.imp.USER32.dll_EmptyClipboard]
neg ebx
sbb ebx, ebx
and ebx, 0xc
push esi
add ebx, 1
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp + 0x18], 1
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x450]
push edx
call dword [sym.imp.KERNEL32.dll__lclose]
test edi, edi
je 0x4c2e84
cmp dword [esp + 0x458], 0
je 0x4c2e84
mov eax, dword [esp + 0x2c]
push eax
push 0xfffff052
call sym.convertifd.exe_IpCMessage
add esp, 8
mov ecx, dword [esp + 0x448]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00511a80
add esp, 0x440
ret