Function at 0x4b25f7
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 0x4b28b8
je 0x4b27d0
cmp edi, 0xa8
ja 0x4b2670
cmp edi, 0xa7
jae 0x4b2653
cmp edi, 0x7b
je 0x4b26a7
cmp edi, 0xa0
jbe 0x4b28a7
cmp edi, 0xa2
jbe 0x4b2653
lea eax, [edi - 0xa4]
cmp eax, 1
ja 0x4b28a7
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.004e1e40
jmp 0x4b289f
sub edi, 0x100
je 0x4b274c
sub edi, 4
jne 0x4b28a7
mov ecx, dword [ebx + 0x44c]
test ecx, ecx
je 0x4b26a7
push dword [esi + 0xc]
push dword [esi + 8]
push ebx
call fcn.0051e7b5
test eax, eax
je 0x4b26a7
xor eax, eax
inc eax
jmp 0x4b28af
mov eax, dword [0x62f888]
xor edi, edi
inc edi
test eax, eax
jne 0x4b26c4
mov ecx, 0x62f888
call fcn.004427e3
mov eax, edi
mov dword [0x62f888], eax
cmp dword [0x62fa2c], 0
jne 0x4b270a
test eax, eax
jne 0x4b26e2
mov ecx, 0x62f888
call fcn.004427e3
mov eax, edi
mov dword [0x62f888], eax
cmp dword [0x62fa28], 0
jne 0x4b270a
test eax, eax
jne 0x4b26ff
mov ecx, 0x62f888
call fcn.004427e3
mov dword [0x62f888], edi
mov dword [0x62fa28], edi
call fcn.0046244b
call fcn.0047e3bf
test eax, eax
je 0x4b272d
cmp dword [esi + 8], 0x12
jne 0x4b272d
xor edi, edi
push edi
push edi
push 0x10
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4b269f
push 0
push dword [esi + 8]
lea ecx, [ebx + 0x350]
call fcn.004e1b5e
test eax, eax
je 0x4b28a7
mov eax, edi
jmp 0x4b28af
push esi
call fcn.004e046a
xor edi, edi
test eax, eax
jne 0x4b276f
push edi
push dword [esi + 8]
lea ecx, [ebx + 0x350]
call fcn.004e1b5e
test eax, eax
jne 0x4b269f
cmp dword [esi + 8], 0x1b
jne 0x4b28a7
cmp dword [ebx + 0x420], edi
je 0x4b278d
push ebx
lea ecx, [ebx + 0x408]
call fcn.0052cdca
mov ecx, dword [ebx + 0x318]
test ecx, ecx
je 0x4b27a6
cmp dword [ecx + 8], edi
je 0x4b27a6
cmp dword [ecx + 4], edi
je 0x4b27a6
call fcn.004c6bff
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004201bd
push eax
push 0x5a9ad8
call fcn.004145a2
pop ecx
pop ecx
test eax, eax
je 0x4b28a7
push edi
push edi
push 0x1f
jmp 0x4b271f
mov ecx, dword [ebx + 0x44c]
test ecx, ecx
je 0x4b27ee
push dword [esi + 0xc]
push dword [esi + 8]
push ebx
call fcn.0051e8f0
test eax, eax
jne 0x4b269f
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 0x4b2828
push eax
call sub.IMM32.dll_ImmGetOpenStatus
mov dword [ebp - 4], 1
test eax, eax
jne 0x4b282b
mov dword [ebp - 4], edi
mov eax, dword [ebp - 8]
test eax, eax
je 0x4b283b
push eax
push dword [ebx + 0x20]
call sub.IMM32.dll_ImmReleaseContext
cmp dword [ebx + 0x3fc], edi
je 0x4b289a
cmp dword [esi + 8], 0x12
je 0x4b2863
cmp dword [esi + 8], 0x79
jne 0x4b289a
mov eax, 0x8000
test dword [ebp - 0xc], eax
jne 0x4b289a
test dword [ebp - 0x10], eax
jne 0x4b289a
cmp dword [ebp - 4], edi
jne 0x4b289a
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004201bd
mov ecx, dword [ebx + 0x3fc]
cmp ecx, eax
jne 0x4b287d
mov ecx, ebx
jmp 0x4b2890
cmp dword [esi + 8], 0x12
je 0x4b2890
test dword [esi + 0xc], 0x20000000
jne 0x4b269f
call fcn.0041cd83
jmp 0x4b269f
call fcn.0047e3bf
test eax, eax
jne 0x4b269f
push esi
mov ecx, ebx
call fcn.0050c621
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edi, 0x200
je 0x4b296e
cmp edi, 0x201
je 0x4b2907
cmp edi, 0x203
jbe 0x4b28a7
cmp edi, 0x205
jbe 0x4b2907
cmp edi, 0x206
jbe 0x4b28a7
cmp edi, 0x208
jbe 0x4b2907
cmp edi, 0x20a
jne 0x4b28a7
push dword [esi + 0xc]
lea ecx, [ebx + 0x350]
push dword [esi + 8]
call fcn.004e259c
jmp 0x4b289f
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.004201bd
mov edi, eax
test edi, edi
je 0x4b293b
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b293b
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.004e1e40
test eax, eax
jne 0x4b269f
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4b28a7
jmp 0x4b269f
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.004201bd
test eax, eax
je 0x4b2994
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.004e24aa
jmp 0x4b289f