Function at 0x4b242b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x105
push edi
mov ebx, ecx
mov dword [ebp - 4], 1
mov edi, dword [esi + 4]
cmp edi, eax
ja 0x4b271b
je 0x4b2636
cmp edi, 0xa8
ja 0x4b24ab
cmp edi, 0xa7
jae 0x4b248e
cmp edi, 0x7b
je 0x4b24e2
cmp edi, 0xa0
jbe 0x4b2595
cmp edi, 0xa2
jbe 0x4b248e
lea eax, [edi - 0xa4]
cmp eax, 1
ja 0x4b2595
push dword [esi]
movsx ecx, word [esi + 0xe]
movsx edx, word [esi + 0xc]
push ecx
push edx
push edi
lea ecx, [ebx + 0x134]
call fcn.004e3ac0
jmp 0x4b258d
sub edi, 0x100
je 0x4b25a6
sub edi, 4
jne 0x4b2595
mov ecx, dword [ebx + 0x230]
test ecx, ecx
je 0x4b24e2
push dword [esi + 0xc]
push dword [esi + 8]
push ebx
call fcn.00520430
test eax, eax
je 0x4b24e2
xor eax, eax
inc eax
jmp 0x4b259d
mov eax, dword [0x63bc58]
mov edi, 0x63bc58
test eax, eax
jne 0x4b24ff
mov ecx, edi
call fcn.0044446d
xor eax, eax
inc eax
mov dword [0x63bc58], eax
cmp dword [0x63bdfc], 0
jne 0x4b2548
test eax, eax
jne 0x4b251b
mov ecx, edi
call fcn.0044446d
xor eax, eax
inc eax
mov dword [0x63bc58], eax
cmp dword [0x63bdf8], 0
jne 0x4b2548
test eax, eax
jne 0x4b2539
mov ecx, edi
call fcn.0044446d
mov dword [0x63bc58], 1
mov dword [0x63bdf8], 1
call fcn.004640d4
mov eax, dword [0x63d428]
test eax, eax
je 0x4b257d
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b257d
cmp dword [esi + 8], 0x12
jne 0x4b257d
mov eax, dword [0x63d428]
xor edi, edi
push edi
push edi
push 0x10
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4b24da
push 0
push dword [esi + 8]
lea ecx, [ebx + 0x134]
call fcn.004e37de
test eax, eax
jne 0x4b24da
push esi
mov ecx, ebx
call fcn.004877df
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.004e20ea
test eax, eax
jne 0x4b25ca
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
lea ecx, [ebx + 0x134]
call fcn.004e37de
test eax, eax
jne 0x4b24da
cmp dword [esi + 8], 0x1b
jne 0x4b2625
xor edi, edi
cmp dword [ebx + 0x204], edi
je 0x4b25e6
push ebx
lea ecx, [ebx + 0x1ec]
call fcn.0052ea45
mov ecx, dword [ebx + 0x3f0]
test ecx, ecx
je 0x4b25ff
cmp dword [ecx + 8], edi
je 0x4b25ff
cmp dword [ecx + 4], edi
je 0x4b25ff
call fcn.004c887f
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00421e4b
push eax
push 0x5b1b28
call fcn.00416235
pop ecx
pop ecx
test eax, eax
je 0x4b2625
push edi
push edi
push 0x1f
jmp 0x4b256f
cmp dword [ebp - 4], 0
jne 0x4b2595
xor eax, eax
jmp 0x4b259d
mov ecx, dword [ebx + 0x230]
test ecx, ecx
je 0x4b2654
push dword [esi + 0xc]
push dword [esi + 8]
push ebx
call fcn.0052056b
test eax, eax
jne 0x4b24da
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
push 0x10
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetKeyState]
push dword [ebx + 0x20]
cwde
mov dword [ebp - 0x14], eax
call sub.IMM32.dll_ImmGetContext
xor edi, edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4b268e
push eax
call sub.IMM32.dll_ImmGetOpenStatus
mov dword [ebp - 8], 1
test eax, eax
jne 0x4b2691
mov dword [ebp - 8], edi
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b26a1
push eax
push dword [ebx + 0x20]
call sub.IMM32.dll_ImmReleaseContext
cmp dword [ebx + 0x1e0], edi
je 0x4b2700
cmp dword [esi + 8], 0x12
je 0x4b26c9
cmp dword [esi + 8], 0x79
jne 0x4b2700
mov eax, 0x8000
test dword [ebp - 0x10], eax
jne 0x4b2700
test dword [ebp - 0x14], eax
jne 0x4b2700
cmp dword [ebp - 8], edi
jne 0x4b2700
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00421e4b
mov ecx, dword [ebx + 0x1e0]
cmp ecx, eax
jne 0x4b26e3
mov ecx, ebx
jmp 0x4b26f6
cmp dword [esi + 8], 0x12
je 0x4b26f6
test dword [esi + 0xc], 0x20000000
jne 0x4b24da
call fcn.0041ea13
jmp 0x4b24da
mov eax, dword [0x63d428]
test eax, eax
je 0x4b2595
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x4b258d
cmp edi, 0x200
je 0x4b27e0
cmp edi, 0x201
je 0x4b2779
cmp edi, 0x203
jbe 0x4b2595
cmp edi, 0x205
jbe 0x4b2779
cmp edi, 0x206
jbe 0x4b2595
cmp edi, 0x208
jbe 0x4b2779
cmp edi, 0x20a
jne 0x4b2595
push dword [esi + 0xc]
lea ecx, [ebx + 0x134]
push dword [esi + 8]
call fcn.004e421c
jmp 0x4b258d
movsx eax, word [esi + 0xc]
push dword [esi]
mov dword [ebp - 0x18], eax
movsx eax, word [esi + 0xe]
mov dword [ebp - 0x14], eax
call fcn.00421e4b
mov edi, eax
test edi, edi
je 0x4b27ad
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b27ad
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esi]
lea ecx, [ebx + 0x134]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [esi + 4]
call fcn.004e3ac0
test eax, eax
jne 0x4b24da
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4b2595
jmp 0x4b24da
movsx eax, word [esi + 0xc]
push dword [esi]
mov dword [ebp - 0x18], eax
movsx eax, word [esi + 0xe]
mov dword [ebp - 0x14], eax
call fcn.00421e4b
test eax, eax
je 0x4b2806
lea ecx, [ebp - 0x18]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x14]
lea ecx, [ebx + 0x134]
push dword [ebp - 0x18]
call fcn.004e412a
jmp 0x4b258d