Function at 0x4c86c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x5ef460
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x384
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edi
call fcn.00456540
lea ecx, [esp + 0x64]
call fcn.0040ee50
xor ebp, ebp
lea ecx, [esp + 0xbc]
mov dword [esp + 0x39c], ebp
call fcn.005bae68
lea ecx, [esp + 0xd0]
mov byte [esp + 0x39c], 1
call fcn.005bb2c6
lea ecx, [esp + 0xe4]
mov byte [esp + 0x39c], 2
call fcn.0040fb10
lea ecx, [esp + 0xf8]
mov byte [esp + 0x39c], 3
call fcn.005bb2c6
lea ecx, [esp + 0x10c]
mov byte [esp + 0x39c], 4
call fcn.005bb2c6
lea ecx, [esp + 0x120]
mov byte [esp + 0x39c], 5
call fcn.005bae68
lea ecx, [esp + 0x148]
mov byte [esp + 0x39c], 6
call fcn.004918b0
mov eax, dword [0x6707bc]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], eax
lea ecx, [esp + 0x170]
mov byte [esp + 0x39c], 0xb
call fcn.005bb2c6
lea ecx, [esp + 0x188]
mov byte [esp + 0x39c], 0xc
call fcn.005bae68
lea ecx, [esp + 0x19c]
mov byte [esp + 0x39c], 0xd
call fcn.005bae68
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x39c], 0xe
call fcn.005bae68
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x39c], 0xf
call fcn.0040fb10
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x39c], 0x10
call fcn.0040f670
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x39c], 0x11
call fcn.005bae68
lea ecx, [esp + 0x204]
mov byte [esp + 0x39c], 0x12
call fcn.004918b0
lea ecx, [esp + 0x21c]
mov byte [esp + 0x39c], 0x13
call fcn.005bb2c6
push ebp
lea ecx, [esp + 0x234]
mov byte [esp + 0x3a0], 0x14
call fcn.0040ea10
push ebp
lea ecx, [esp + 0x254]
mov byte [esp + 0x3a0], 0x15
call fcn.0040ed60
push ebp
lea ecx, [esp + 0x270]
mov byte [esp + 0x3a0], 0x16
call fcn.0040ec70
push ebp
lea ecx, [esp + 0x290]
mov byte [esp + 0x3a0], 0x17
call fcn.0040edc0
push ebp
lea ecx, [esp + 0x2ac]
mov byte [esp + 0x3a0], 0x18
call fcn.0040ed90
push ebp
lea ecx, [esp + 0x2c8]
mov byte [esp + 0x3a0], 0x19
call fcn.0040edf0
push ebp
lea ecx, [esp + 0x2e4]
mov byte [esp + 0x3a0], 0x1a
call fcn.0040eb30
push ebp
lea ecx, [esp + 0x300]
mov byte [esp + 0x3a0], 0x1b
call fcn.0040eb90
lea ecx, [esp + 0x31c]
mov byte [esp + 0x39c], 0x1c
call fcn.0040ee20
mov eax, dword [0x6707bc]
mov dword [esp + 0x364], eax
mov dword [esp + 0x368], eax
mov dword [esp + 0x36c], eax
mov dword [esp + 0x370], eax
lea eax, [esp + 0x138]
mov byte [esp + 0x39c], 0x21
push eax
mov dword [esp + 0x21c], 0xffff
mov dword [esp + 0x364], ebp
mov dword [esp + 0x1b4], ebp
mov dword [esp + 0x138], ebp
mov dword [esp + 0x170], ebp
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 5
push ebp
lea ecx, [esp + 0xc4]
mov dword [esp + 0x384], ebp
mov dword [esp + 0x380], ebp
mov dword [esp + 0x388], ebp
mov dword [esp + 0x38c], ebp
mov dword [esp + 0x390], ebp
mov dword [esp + 0x398], ebp
mov dword [esp + 0x394], ebp
call fcn.005baefb
push 5
push ebp
lea ecx, [esp + 0xd8]
call fcn.005bb4dc
push 5
push ebp
lea ecx, [esp + 0x100]
call fcn.005bb4dc
push 5
push ebp
lea ecx, [esp + 0x114]
call fcn.005bb4dc
push 5
push ebp
lea ecx, [esp + 0x128]
call fcn.005baefb
lea eax, [esp + 0x28]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x28]
mov dword [esp + 0x2e4], eax
mov dword [esp + 0x2c8], ecx
mov dword [esp + 0x318], edx
lea eax, [esp + 0x28]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x28]
mov dword [esp + 0x288], eax
mov dword [esp + 0x290], ecx
mov dword [esp + 0x2ac], edx
lea eax, [esp + 0x338]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x28]
push 0x28
push eax
mov dword [esp + 0x25c], ecx
mov dword [esp + 0x254], edx
call fcn.004927e0
add esp, 8
lea ecx, [esp + 0x28]
mov dword [esp + 0x39c], 0x22
call fcn.0045b9a0
test eax, eax
push ebp
je 0x4c8a8c
mov ecx, dword [esp + 0x3a8]
push ebp
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, edi
call fcn.00496e40
jmp 0x4c8c79
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c8c79
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, ebp
jne 0x4c8ab3
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4c8c79
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.004918b0
push esi
mov byte [esp + 0x3a0], 0x23
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00492170
push ebp
lea ecx, [esp + 0x14]
call fcn.00491bb0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
neg edx
sbb edx, edx
and edx, esi
mov al, byte [edx]
test al, al
je 0x4c8c60
mov ecx, edx
cmp al, 0xa
je 0x4c8b3d
test al, 0x80
je 0x4c8b20
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x4c8b28
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4c8b10
mov eax, edx
mov cl, byte [eax]
cmp cl, 9
jne 0x4c8c29
mov byte [eax], 0x20
jmp 0x4c8c2e
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
call fcn.004d59b0
test eax, eax
je 0x4c8c60
mov ebx, dword [esp + 0x128]
xor esi, esi
cmp ebx, ebp
jle 0x4c8b7e
mov ecx, dword [esp + 0x124]
push ebp
mov eax, dword [ecx + esi*4]
push eax
push 0x675898
call fcn.00501270
add esp, 0xc
inc esi
cmp esi, ebx
jl 0x4c8b60
mov edx, dword [esp + 0x224]
lea ebx, [edx - 1]
cmp ebx, ebp
jl 0x4c8c10
jmp 0x4c8b94
xor ebp, ebp
mov eax, dword [esp + 0x220]
lea ecx, [esp + 0x26c]
mov esi, dword [eax + ebx*4]
mov eax, dword [esi + 0x3c]
lea edi, [esi + 0x38]
push eax
push ebp
push edi
call fcn.004e7380
mov eax, dword [esi + 0x1c]
lea ebp, [esi + 0x18]
push eax
push 0
push ebp
lea ecx, [esp + 0x278]
call fcn.004e7380
mov eax, dword [esi + 0xcc]
test eax, eax
jne 0x4c8bf8
test esi, esi
je 0x4c8be7
mov ecx, esi
call fcn.0040f4e0
push esi
call fcn.005bd402
add esp, 4
push 1
push ebx
lea ecx, [esp + 0x224]
call fcn.005bb445
jmp 0x4c8c07
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 8]
dec ebx
jns 0x4c8b92
mov edi, dword [esp + 0x24]
xor ebp, ebp
mov ecx, dword [esp + 0x3a4]
push 1
push ebp
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, edi
call fcn.00496e40
jmp 0x4c8c60
cmp cl, 0x20
jb 0x4c8c49
test byte [eax], 0x80
je 0x4c8c3b
mov cl, byte [eax + 1]
test cl, cl
je 0x4c8c49
inc eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4c8b2a
jmp 0x4c8c4c
mov byte [eax], 0
mov eax, dword [edi]
push 1
push edx
push 1
push 0x202006d
mov ecx, edi
call dword [eax + 0xe0]
lea ecx, [esp + 0x10]
mov byte [esp + 0x39c], 0x22
mov dword [esp + 0x10], 0x5f7940
call fcn.00491ab0
lea ecx, [esp + 0x28]
mov dword [esp + 0x39c], 0xffffffff
call fcn.00401f70
mov ecx, dword [esp + 0x394]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x390
ret 4