Function at 0x7c47c14b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov ebx, ecx
call sym.MFC40.DLL_Ordinal_3313
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x21
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [0x7c5087e0], 0
mov dword [ebp - 0x14], eax
je 0x7c47c286
mov ecx, ebx
call sym.MFC40.DLL_Ordinal_2081
cmp dword [0x7c5087d8], 0
mov ebx, eax
je 0x7c47c1c8
test esi, 0x1000
je 0x7c47c1c8
cmp ebx, 3
jne 0x7c47c1b0
mov ebx, 2
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x7c47c1c8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp ebx, 0xa
jb 0x7c47c1d2
cmp ebx, 0x11
jbe 0x7c47c1db
cmp ebx, 4
je 0x7c47c1db
mov eax, ebx
jmp 0x7c47c1bf
test esi, 0x800
je 0x7c47c1ea
mov eax, 2
jmp 0x7c47c1bf
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
neg edi
neg eax
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
test esi, 0x200
je 0x7c47c27f
cmp ebx, 4
je 0x7c47c21e
cmp ebx, 0xd
je 0x7c47c232
cmp ebx, 0xe
je 0x7c47c249
cmp ebx, 0x10
je 0x7c47c264
cmp ebx, 0x11
jne 0x7c47c27f
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
mov eax, 0xf
jl 0x7c47c1bf
mov eax, 0xb
jmp 0x7c47c1bf
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0xc], eax
mov eax, 0xa
jle 0x7c47c1bf
mov eax, 0xc
jmp 0x7c47c1bf
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0xc], eax
mov eax, 0xb
jle 0x7c47c1bf
mov eax, 0xc
jmp 0x7c47c1bf
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
mov eax, 0xf
jl 0x7c47c1bf
mov eax, 0xa
jmp 0x7c47c1bf
mov eax, ebx
jmp 0x7c47c1bf
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x7c47c2a1
xor eax, eax
jmp 0x7c47c1bf
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
push 0
mov ecx, ebx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], eax
call sym.MFC40.DLL_Ordinal_4256
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x7c47c308
mov eax, 1
jmp 0x7c47c1bf
test esi, 0x40600
je 0x7c47c48a
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov edx, edi
imul eax, eax, 3
sub ecx, eax
mov eax, dword [ebp - 0x18]
add ecx, dword [0x7c5084c0]
add eax, eax
sub edx, eax
mov eax, dword [ebp - 0xc]
add edx, dword [0x7c5084c4]
add eax, edi
cmp eax, dword [ebp + 0xc]
jle 0x7c47c394
test esi, 0x200
je 0x7c47c36d
mov ebx, 0xc
test ebx, ebx
je 0x7c47c477
test esi, 0x800
mov eax, 2
jne 0x7c47c1bf
mov eax, ebx
jmp 0x7c47c1bf
mov eax, dword [ebp - 0x10]
add eax, ecx
cmp eax, dword [ebp + 8]
jl 0x7c47c37e
mov ebx, 0xd
jmp 0x7c47c34d
mov eax, dword [ebp - 8]
mov ebx, 0xe
sub eax, ecx
cmp eax, dword [ebp + 8]
jle 0x7c47c34d
mov ebx, 0xc
jmp 0x7c47c34d
mov eax, dword [ebp - 4]
sub eax, edi
cmp eax, dword [ebp + 0xc]
jg 0x7c47c3d7
test esi, 0x200
je 0x7c47c3ad
mov ebx, 0xf
jmp 0x7c47c34d
mov eax, dword [ebp - 0x10]
add eax, ecx
cmp eax, dword [ebp + 8]
jl 0x7c47c3be
mov ebx, 0x10
jmp 0x7c47c34d
mov eax, dword [ebp - 8]
mov ebx, 0x11
sub eax, ecx
cmp eax, dword [ebp + 8]
jle 0x7c47c34d
mov ebx, 0xf
jmp 0x7c47c34d
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jle 0x7c47c425
test esi, 0x200
je 0x7c47c3f4
mov ebx, 0xa
jmp 0x7c47c34d
mov eax, dword [ebp - 0xc]
add eax, edx
cmp eax, dword [ebp + 0xc]
jl 0x7c47c408
mov ebx, 0xd
jmp 0x7c47c34d
mov eax, dword [ebp - 4]
mov ebx, 0x10
sub eax, edx
cmp eax, dword [ebp + 0xc]
jle 0x7c47c34d
mov ebx, 0xa
jmp 0x7c47c34d
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jg 0x7c47c34d
test esi, 0x200
je 0x7c47c446
mov ebx, 0xb
jmp 0x7c47c34d
mov eax, dword [ebp - 0xc]
add eax, edx
cmp eax, dword [ebp + 0xc]
jl 0x7c47c45a
mov ebx, 0xe
jmp 0x7c47c34d
mov eax, dword [ebp - 4]
mov ebx, 0x11
sub eax, edx
cmp eax, dword [ebp + 0xc]
jle 0x7c47c34d
mov ebx, 0xb
jmp 0x7c47c34d
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
neg edi
neg eax
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
add eax, dword [0x7c5084c4]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x7c47c4da
mov eax, dword [ebp - 0x10]
add eax, dword [0x7c5084c0]
sub eax, 2
cmp eax, dword [ebp + 8]
jle 0x7c47c4d0
test esi, 0x80000
je 0x7c47c4d0
mov eax, 3
jmp 0x7c47c1bf
mov eax, 2
jmp 0x7c47c1bf
mov eax, 0xfffffffe
jmp 0x7c47c1bf