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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e7c0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x58d984]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x5c], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x60], edi
cmp dword [edi + 0x18], 0xd
jne 0x47ceec
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call esi
test ax, ax
js 0x47ceec
cmp byte [ebx + 0x366], 0
je 0x47d23d
cmp byte [ebx + 0x367], 0
je 0x47ceb7
push 0x11
call esi
test ax, ax
js 0x47cec4
cmp byte [ebx + 0x367], 0
jne 0x47d23d
push 0x11
call esi
test ax, ax
js 0x47d23d
mov ecx, dword [ebx + 0x2b4]
test ecx, ecx
je 0x47d254
lea eax, [ebx + 4]
neg ebx
push 0
push 0
sbb ebx, ebx
push 0x29
and ebx, eax
push ebx
call fcn.0044d4b0
jmp 0x47d254
cmp byte [ebx + 0x36c], 0
je 0x47d23d
cmp dword [edi + 0x18], 0x56
jne 0x47d23d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x47d23d
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x47d03e
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
je 0x47cfc8
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, 0xffffffff
je 0x47d038
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x47d038
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
shr eax, 1
xor ecx, ecx
push eax
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x28]
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00403190
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
jb 0x47cfa7
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push eax
call fcn.00403190
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00403110
jmp 0x47d038
push 1
call esi
test eax, eax
je 0x47d038
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, 0xffffffff
je 0x47d038
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x47d038
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004175e0
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00451790
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00414030
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x30], 0
je 0x47d207
xor edx, edx
mov ebx, 7
xor eax, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
mov byte [ebp - 4], 3
jb 0x47d06b
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x2c], 8
lea edi, [ebp - 0x40]
jb 0x47d07d
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
lea eax, [edi + eax*2]
cmp esi, eax
je 0x47d1d6
movzx edi, word [esi]
lea eax, [edi - 0x30]
cmp ax, 9
ja 0x47d1ce
mov dword [ebp - 0x54], edi
cmp edx, ebx
jae 0x47d0ce
lea eax, [edx + 1]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmp ebx, 8
jb 0x47d0b2
mov eax, ecx
xor ecx, ecx
mov word [eax + edx*2], di
mov word [eax + edx*2 + 2], cx
add esi, 2
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x44], ecx
jmp 0x47d071
mov ecx, edx
mov eax, Ordinal_1
sub eax, ecx
mov dword [ebp - 0x50], ecx
cmp eax, 1
jb 0x47d277
lea edi, [ecx + 1]
mov dword [ebp - 0x4c], ebx
mov ecx, edi
mov dword [ebp - 0x58], edi
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x47d100
mov ebx, Ordinal_1
jmp 0x47d11e
mov edx, ebx
mov eax, Ordinal_1
shr edx, 1
sub eax, edx
cmp ebx, eax
jbe 0x47d116
mov ebx, Ordinal_1
jmp 0x47d11e
add ebx, edx
cmp ecx, ebx
jb 0x47d11e
mov ebx, ecx
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405020
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x50]
add edi, edi
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x4c], 8
mov dword [ebp - 0x14], ebx
push edi
jb 0x47d1a5
push dword [ebp - 0x44]
push eax
call fcn.0050c8e0
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov word [eax + edi], cx
xor ecx, ecx
mov word [eax + edi + 2], cx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d187
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d272
push edx
push ecx
call fcn.004ed797
mov ecx, dword [ebp - 0x48]
add esp, 8
mov edx, dword [ebp - 0x58]
add esi, 2
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x44], ecx
jmp 0x47d071
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0050c8e0
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
mov word [eax + edi], cx
xor ecx, ecx
mov word [eax + edi + 2], cx
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x44], ecx
add esi, 2
jmp 0x47d071
test edx, edx
jne 0x47d1ec
lea ecx, [ebp - 0x28]
call fcn.00403110
lea ecx, [ebp - 0x40]
call fcn.00403110
jmp 0x47d254
lea eax, [ebp - 0x28]
push eax
call fcn.0047e7b0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403110
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebx]
push 0
push dword [ecx + 0x1c]
push dword [ecx + 0x18]
mov ecx, ebx
push 0x100
call dword [eax + 0x1c8]
cmp dword [ebp - 0x30], 0
je 0x47d233
lea eax, [ebp - 0x40]
push eax
call fcn.0047e7b0
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00403110
jmp 0x47d254
mov eax, dword [ebx]
mov ecx, ebx
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push 0x100
call dword [eax + 0x1c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004eda39
mov esp, ebp
pop ebp
ret 4
call fcn.0051042e
call fcn.00403170
int3