Function at 0x4b47a5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, 0x105
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [esi + 4]
cmp edi, eax
ja 0x4b4a66
je 0x4b497e
cmp edi, 0xa8
ja 0x4b481e
cmp edi, 0xa7
jae 0x4b4801
cmp edi, 0x7b
je 0x4b4855
cmp edi, 0xa0
jbe 0x4b4a55
cmp edi, 0xa2
jbe 0x4b4801
lea eax, [edi - 0xa4]
cmp eax, 1
ja 0x4b4a55
push dword [esi]
movsx ecx, word [esi + 0xe]
movsx edx, word [esi + 0xc]
push ecx
push edx
push edi
lea ecx, [ebx + 0x350]
call fcn.004e3fe6
jmp 0x4b4a4d
sub edi, 0x100
je 0x4b48fa
sub edi, 4
jne 0x4b4a55
mov ecx, dword [ebx + 0x44c]
test ecx, ecx
je 0x4b4855
push dword [esi + 0xc]
push dword [esi + 8]
push ebx
call fcn.0052095a
test eax, eax
je 0x4b4855
xor eax, eax
inc eax
jmp 0x4b4a5d
mov eax, dword [0x63dc58]
xor edi, edi
inc edi
test eax, eax
jne 0x4b4872
mov ecx, 0x63dc58
call fcn.00444990
mov eax, edi
mov dword [0x63dc58], eax
cmp dword [0x63ddfc], 0
jne 0x4b48b8
test eax, eax
jne 0x4b4890
mov ecx, 0x63dc58
call fcn.00444990
mov eax, edi
mov dword [0x63dc58], eax
cmp dword [0x63ddf8], 0
jne 0x4b48b8
test eax, eax
jne 0x4b48ad
mov ecx, 0x63dc58
call fcn.00444990
mov dword [0x63dc58], edi
mov dword [0x63ddf8], edi
call fcn.004645f4
call fcn.0048056b
test eax, eax
je 0x4b48db
cmp dword [esi + 8], 0x12
jne 0x4b48db
xor edi, edi
push edi
push edi
push 0x10
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4b484d
push 0
push dword [esi + 8]
lea ecx, [ebx + 0x350]
call fcn.004e3d04
test eax, eax
je 0x4b4a55
mov eax, edi
jmp 0x4b4a5d
push esi
call fcn.004e2610
xor edi, edi
test eax, eax
jne 0x4b491d
push edi
push dword [esi + 8]
lea ecx, [ebx + 0x350]
call fcn.004e3d04
test eax, eax
jne 0x4b484d
cmp dword [esi + 8], 0x1b
jne 0x4b4a55
cmp dword [ebx + 0x420], edi
je 0x4b493b
push ebx
lea ecx, [ebx + 0x408]
call fcn.0052ef6f
mov ecx, dword [ebx + 0x318]
test ecx, ecx
je 0x4b4954
cmp dword [ecx + 8], edi
je 0x4b4954
cmp dword [ecx + 4], edi
je 0x4b4954
call fcn.004c8da5
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0042236b
push eax
push 0x5b2b18
call fcn.00416753
pop ecx
pop ecx
test eax, eax
je 0x4b4a55
push edi
push edi
push 0x1f
jmp 0x4b48cd
mov ecx, dword [ebx + 0x44c]
test ecx, ecx
je 0x4b499c
push dword [esi + 0xc]
push dword [esi + 8]
push ebx
call fcn.00520a95
test eax, eax
jne 0x4b484d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
push 0x10
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetKeyState]
push dword [ebx + 0x20]
cwde
mov dword [ebp - 0x10], eax
call sub.IMM32.dll_ImmGetContext
xor edi, edi
mov dword [ebp - 8], eax
test eax, eax
je 0x4b49d6
push eax
call sub.IMM32.dll_ImmGetOpenStatus
mov dword [ebp - 4], 1
test eax, eax
jne 0x4b49d9
mov dword [ebp - 4], edi
mov eax, dword [ebp - 8]
test eax, eax
je 0x4b49e9
push eax
push dword [ebx + 0x20]
call sub.IMM32.dll_ImmReleaseContext
cmp dword [ebx + 0x3fc], edi
je 0x4b4a48
cmp dword [esi + 8], 0x12
je 0x4b4a11
cmp dword [esi + 8], 0x79
jne 0x4b4a48
mov eax, 0x8000
test dword [ebp - 0xc], eax
jne 0x4b4a48
test dword [ebp - 0x10], eax
jne 0x4b4a48
cmp dword [ebp - 4], edi
jne 0x4b4a48
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0042236b
mov ecx, dword [ebx + 0x3fc]
cmp ecx, eax
jne 0x4b4a2b
mov ecx, ebx
jmp 0x4b4a3e
cmp dword [esi + 8], 0x12
je 0x4b4a3e
test dword [esi + 0xc], 0x20000000
jne 0x4b484d
call fcn.0041ef33
jmp 0x4b484d
call fcn.0048056b
test eax, eax
jne 0x4b484d
push esi
mov ecx, ebx
call fcn.0050e7cc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edi, 0x200
je 0x4b4b1c
cmp edi, 0x201
je 0x4b4ab5
cmp edi, 0x203
jbe 0x4b4a55
cmp edi, 0x205
jbe 0x4b4ab5
cmp edi, 0x206
jbe 0x4b4a55
cmp edi, 0x208
jbe 0x4b4ab5
cmp edi, 0x20a
jne 0x4b4a55
push dword [esi + 0xc]
lea ecx, [ebx + 0x350]
push dword [esi + 8]
call fcn.004e4742
jmp 0x4b4a4d
movsx eax, word [esi + 0xc]
push dword [esi]
mov dword [ebp - 0x14], eax
movsx eax, word [esi + 0xe]
mov dword [ebp - 0x10], eax
call fcn.0042236b
mov edi, eax
test edi, edi
je 0x4b4ae9
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b4ae9
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esi]
lea ecx, [ebx + 0x350]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [esi + 4]
call fcn.004e3fe6
test eax, eax
jne 0x4b484d
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4b4a55
jmp 0x4b484d
movsx eax, word [esi + 0xc]
push dword [esi]
mov dword [ebp - 0x14], eax
movsx eax, word [esi + 0xe]
mov dword [ebp - 0x10], eax
call fcn.0042236b
test eax, eax
je 0x4b4b42
lea ecx, [ebp - 0x14]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x10]
lea ecx, [ebx + 0x350]
push dword [ebp - 0x14]
call fcn.004e4650
jmp 0x4b4a4d