Function at 0x4b3da0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x2c
push ebx
push ebp
mov ebx, dword [esp + 0x44]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4b4095
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x4b4095
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4b4095
mov ecx, dword [esi + 0x108]
test ecx, ecx
jne 0x4b4095
mov ebp, dword [esp + 0x44]
cmp ebp, 0x101
ja 0x4b3fa7
je 0x4b3f90
cmp ebp, 0xf
je 0x4b3f7c
cmp ebp, 0x14
je 0x4b3f30
cmp ebp, 0x100
jne 0x4b4099
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4b3f09
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov eax, dword [ecx]
push ebx
push edi
push ebp
push edx
call dword [eax + 0x48]
test eax, eax
je 0x4b3e3f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x10
cmp edi, 9
jne 0x4b3ea7
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
xor ecx, ecx
push 0x11
test ax, ax
setl cl
mov ebp, ecx
call edi
xor edx, edx
push 0x10
test ax, ax
setl dl
mov dword [esp + 0x4c], edx
call edi
xor ecx, ecx
mov dword [0x73d158], 1
test ax, ax
setl cl
mov edx, dword [esi]
mov eax, ecx
push eax
mov eax, dword [esp + 0x4c]
push eax
push ebp
push ebx
push 9
mov ecx, esi
call dword [edx + 0x58]
pop edi
pop esi
pop ebp
mov dword [0x73d158], 0
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x10
cmp edi, 0xd
jne 0x4b3eca
mov ecx, dword [esi + 0x40]
push 0
push 0
push 0
mov edx, dword [ecx]
push esi
call dword [edx + 0xc4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x10
cmp edi, 0x1b
jne 0x4b4099
mov ecx, dword [esi + 0x40]
push 0
push 0
push 1
mov eax, dword [ecx]
push esi
call dword [eax + 0xc4]
test eax, eax
jne 0x4b3efd
mov ecx, dword [esi + 0xf8]
push eax
push eax
push 0xc7
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x10
cmp dword [esp + 0x48], 0x1b
jne 0x4b4099
push 0
push 0
push 0xc7
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x10
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x4b4099
mov edi, dword [esp + 0x48]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x10c]
lea edx, [esp + 0x2c]
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_FillRect]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 0x10
mov eax, dword [esp + 0x40]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4b4099
cmp dword [esp + 0x48], 9
jne 0x4b4099
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x10
mov eax, ebp
sub eax, 0x102
je 0x4b407b
sub eax, 2
je 0x4b4032
sub eax, 0xfc
jne 0x4b4099
mov ecx, dword [0x6633d4]
mov eax, dword [ecx + 0x1fc]
test eax, eax
jne 0x4b3fe3
mov dword [0x663318], 1
call fcn.0041f980
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4b4099
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x28]
push edx
push eax
push ebx
push ecx
mov ecx, esi
call fcn.004a1fa0
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x40]
push eax
mov eax, dword [esi + 0x10]
mov edx, dword [ecx]
add eax, edi
mov edi, dword [esp + 0x2c]
push eax
mov eax, dword [esi + 0xc]
add eax, edi
push eax
call dword [edx + 0x74]
jmp 0x4b4099
mov eax, dword [esi + 0x164]
test eax, eax
je 0x4b4046
mov eax, dword [esi + 0x168]
test eax, eax
jne 0x4b406f
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x4c]
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x48]
push eax
mov eax, dword [edx + 4]
push ecx
push 0x104
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x10
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, esi
call fcn.004b4200
test eax, eax
jne 0x4b4099
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
mov ebp, dword [esp + 0x44]
mov eax, dword [esi + 0xf8]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
je 0x4b40d8
cmp ebp, 0xb0
je 0x4b40d8
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
push edx
push ecx
push 0xb0
push eax
mov edi, 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x114]
push ebx
push edx
push ebp
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcA]
test edi, edi
mov ebp, eax
je 0x4b4149
mov ecx, dword [esi + 0xf8]
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
push 0xb0
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp edx, eax
jne 0x4b412b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
je 0x4b4149
mov ecx, dword [esi + 0xf8]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0xf8]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x44]
cmp eax, 0x302
jne 0x4b418b
mov ecx, esi
call fcn.004b3660
mov eax, dword [0x6633d4]
mov ecx, dword [eax + 0x1fc]
test ecx, ecx
jne 0x4b41f2
mov eax, dword [0x663318]
test eax, eax
jne 0x4b41f2
push 0
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
cmp eax, 0x201
je 0x4b41a7
cmp eax, 0x202
je 0x4b41a7
cmp eax, 0x204
je 0x4b41a7
cmp eax, 0x205
jne 0x4b41f2
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, ebx
and ecx, 0xffff
add edi, ecx
mov ecx, 0x66d858
shr ebx, 0x10
add ebx, eax
call fcn.004a24a0
mov ecx, dword [esp + 0x48]
and ebx, 0xffff
shl ebx, 0x10
and edi, 0xffff
mov edx, dword [eax]
or ebx, edi
push ebx
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esi + 0x20]
mov ecx, dword [ecx + 4]
push ecx
mov ecx, eax
call dword [edx + 0x48]
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10