Function at 0x4c3a60
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61cbb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [ebp + 8]
sub eax, 0x9d64
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
je 0x4c3bdb
sub eax, 1
je 0x4c3af5
sub eax, 1
jne 0x4c3c8a
xor ebx, ebx
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.004c31e0
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.004c36d0
lea ecx, [esi + 0x20]
call fcn.004a0060
mov eax, dword [esi + 0x14]
push eax
mov ecx, esi
call fcn.004c2b50
mov ecx, dword [esi + 4]
push 1
push ebx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
xor ebx, ebx
push ebx
push ebx
push 0x640ef4
push str.Text_file__.txt_
push 0x640eac
push edx
lea eax, [ebp - 0x24]
push 0x6c6f6720
push eax
call fcn.00528829
add esp, 0x20
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x20]
mov dword [ebp - 4], ebx
je 0x4c3bb1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004c2da0
mov eax, dword [ebp - 0x24]
push 0x332
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00520821
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.005202ba
lea ecx, [ebp - 0x44]
call fcn.00520144
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00520131
jmp 0x4c3ba1
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x4c3bb1
push eax
call fcn.005f7a6f
add esp, 4
mov eax, dword [ebp - 0x24]
cmp eax, 0x6575cc
je 0x4c3c8a
push eax
call fcn.005f7371
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c3c8a
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4c3c84
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov dword [ebp - 4], 5
call fcn.004c2da0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
add eax, 1
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
je 0x4c3c74
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
cmp edi, ebx
je 0x4c3c6d
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
sub ecx, eax
push ecx
push eax
push edi
call fcn.005f7b00
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x34]
add esp, 0xc
push esi
mov byte [edx + edi], bl
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x4c3c74
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x4c3c84
push eax
call fcn.005f7a6f
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4