Function at 0x4cb630
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ecx + 0x9d64], eax
push edi
lea edi, [ecx + 0x9d64]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov byte [edi + 0x10], al
mov eax, dword [ecx + 0x9d4c]
mov ecx, dword [ecx + eax*4 + 0x9d1c]
mov eax, dword [edx + 0x64]
mov edx, dword [edx + 0x60]
push eax
push edx
mov dword [ebp - 0x1c], edi
call fcn.004287b0
cmp eax, dword [ecx + 0x258]
jge 0x4cb867
cmp eax, 0xffffffff
je 0x4cb867
push esi
lea esi, [ecx + 0x23c]
mov ecx, dword [ecx + 0x260]
add ecx, eax
push ecx
mov ecx, esi
call fcn.00574a00
test eax, eax
je 0x4cb866
push eax
mov ecx, esi
call fcn.00574c40
mov eax, dword [eax]
test eax, eax
je 0x4cb866
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4cb6f1
cmp ecx, 0xffb9f145
je 0x4cb6f1
cmp ecx, 0xff01d1f7
je 0x4cb6f1
cmp ecx, 0xfff0ff00
je 0x4cb6f1
cmp ecx, 0xfff7b618
je 0x4cb6f1
cmp ecx, 0xffebc3ce
jne 0x4cb866
lea esi, [eax + 4]
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4cb700
sub eax, edx
push ebx
mov dword [ebp - 0x30], eax
mov ebx, 0
je 0x4cb716
mov ebx, esi
xor edx, edx
xor ecx, ecx
cmp byte [ebx], 0x5b
mov dword [ebp - 0x20], edx
jne 0x4cb865
inc ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
cmp eax, ecx
jle 0x4cb865
cmp byte [ecx + ebx], 0x5d
jne 0x4cb7a9
xor eax, eax
lea esi, [edx + 1]
mov ecx, ebx
lea edi, [ebp - 0x18]
mov dword [ebp - 0x2c], 1
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
call fcn.0052ccd0
mov edi, dword [sym.imp.MSVCR100.dll_strncmp]
push 5
push 0x5919d0
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x4cb78c
push 5
push 0x5919d8
push ebx
call edi
add esp, 0xc
test eax, eax
jne 0x4cb7b7
cmp dword [ebp - 0x24], 0
jne 0x4cb7b7
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], esi
mov edx, esi
jmp 0x4cb7ad
inc edx
mov dword [ebp - 0x20], edx
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, eax
jl 0x4cb738
jmp 0x4cb7bd
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
cmp edx, 0x10
jg 0x4cb865
cmp dword [ebp - 0x2c], 0
je 0x4cb865
cmp dword [ebp - 0x24], 0
mov ecx, ebx
lea esi, [edx + 2]
jne 0x4cb7de
lea esi, [edx + 1]
call fcn.0052ccd0
mov edx, dword [0x65c9c4]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4cb865
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 0x12
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4cb836
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x1c]
mov esi, 0x12
mov edi, eax
mov byte [eax], 0
call fcn.0052ccd0
push ebx
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x680838]
test eax, eax
jne 0x4cb851
mov eax, 0x6815d0
mov ecx, dword [ebp - 0x1c]
push ecx
push eax
push 0x17
mov ecx, 0x67ee90
call fcn.004cbe00
add esp, 0xc
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.005762ee
mov esp, ebp
pop ebp
ret