Function at 0x4e3ac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x634f58]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx + 0xfc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
test eax, eax
je 0x4e3b31
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4e3b31
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0xfc]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
push esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [ebx + 0xfc]
push eax
call fcn.0051f190
cmp dword [ebp + 8], 0x201
jne 0x4e3bcb
cmp dword [0x63bff8], 0
jne 0x4e3b59
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4e3bcb
mov edi, dword [0x63c07c]
test edi, edi
je 0x4e3bcb
mov esi, edi
test edi, edi
je 0x4e4124
mov esi, dword [esi + 8]
mov edi, dword [edi]
mov dword [ebp - 0x28], esi
test esi, esi
je 0x4e4124
push dword [esi + 0x20]
call fcn.00421e75
test eax, eax
je 0x4e3bc4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov esi, dword [eax + 0x390]
mov ecx, esi
call fcn.0054d7f3
mov ecx, dword [ebp - 0x28]
call esi
test eax, eax
jns 0x4e3ca3
test edi, edi
jne 0x4e3b63
mov esi, dword [ebp - 0x2c]
and dword [ebp - 0x28], 0
call fcn.00480045
cmp dword [0x63bff8], 0
mov edi, eax
jne 0x4e3f7d
test edi, edi
je 0x4e3f7d
mov eax, dword [ebp - 0x30]
mov ecx, edi
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call fcn.0047e9e9
cmp eax, 4
jne 0x4e3fb5
call fcn.0047feab
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x4e3d28
push dword [esi + 0x1170]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e3d28
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x1170]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x30]
lea eax, [ebp - 0x14]
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4e3d28
push dword [esi + 0x1170]
call fcn.00421e75
push eax
push 0x634708
call fcn.00416235
pop ecx
pop ecx
xor ecx, ecx
mov esi, eax
mov eax, dword [ebp - 0x3c]
push ecx
push ecx
push 0x10
push dword [eax + 0x20]
mov dword [eax + 0x1170], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x63d428], esi
xor eax, eax
jmp 0x4e4111
mov edi, dword [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0045e8e0
mov dword [ebp - 0x28], eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x38]
mov ecx, esi
call fcn.0054d7f3
mov ecx, dword [ebp - 0x28]
call esi
test eax, eax
je 0x4e3bc8
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov esi, dword [eax + 0x38]
mov ecx, esi
call fcn.0054d7f3
mov ecx, dword [ebp - 0x28]
call esi
cmp eax, dword [ebp + 0x14]
jne 0x4e3bc8
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x38]
add eax, 0x54
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4e3bc8
movzx ecx, word [ebp - 0x34]
movzx eax, word [ebp - 0x38]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x201
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
inc eax
jmp 0x4e4111
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
cmp dword [0x63d428], eax
je 0x4e3ecd
mov esi, dword [edi + 0x20]
push eax
call fcn.00425b37
push esi
lea ecx, [eax + 0x1c]
call fcn.0041c91f
test eax, eax
jne 0x4e3d72
mov esi, dword [edi + 0x20]
push eax
call fcn.00425b37
push esi
lea ecx, [eax + 0x38]
call fcn.0041c91f
test eax, eax
je 0x4e3ecd
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
mov esi, dword [eax + 0x1d4]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4e3ecd
push eax
push 0x6348b8
call fcn.00416235
mov esi, eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
pop ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
pop ecx
push eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], esi
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4e3e3a
test esi, esi
je 0x4e3df2
mov eax, dword [esi]
mov esi, dword [eax + 0x44c]
mov ecx, esi
call fcn.0054d7f3
mov ecx, dword [ebp - 0x3c]
call esi
test eax, eax
je 0x4e3e12
mov eax, dword [edi]
mov esi, dword [eax + 0x1cc]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
test eax, eax
jne 0x4e3e12
push eax
push eax
push 0x10
jmp 0x4e3d17
cmp dword [ebp + 8], 0x204
je 0x4e3e28
cmp dword [ebp + 8], 0x205
jne 0x4e3d20
cmp dword [edi + 0x116c], 0
je 0x4e3d20
jmp 0x4e3c9c
test esi, esi
je 0x4e3ecd
mov eax, dword [esi]
mov esi, dword [eax + 0x44c]
mov ecx, esi
call fcn.0054d7f3
mov edi, dword [ebp - 0x3c]
mov ecx, edi
call esi
test eax, eax
jne 0x4e3ecd
mov eax, dword [edi]
mov esi, dword [eax + 0x440]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00421e4b
push eax
push 0x634708
call fcn.00416235
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4e3ecd
mov eax, dword [ebp - 0x2c]
mov ecx, esi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0047e9e9
test eax, eax
je 0x4e3c9c
jle 0x4e3ecd
cmp eax, 2
jle 0x4e3f96
cmp eax, 3
je 0x4e3c9c
cmp eax, 5
je 0x4e3c9c
call fcn.00480045
mov edi, eax
test edi, edi
je 0x4e3f7d
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1cc]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
test eax, eax
jne 0x4e3f7d
mov eax, dword [edi]
mov esi, dword [eax + 0x1dc]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
push 0
neg eax
push 0
sbb esi, esi
push 0x10
push dword [edi + 0x20]
inc esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00421e4b
test eax, eax
je 0x4e3f4c
push 0x6345cc
mov ecx, eax
call fcn.004162ce
test eax, eax
je 0x4e3f4c
mov ecx, dword [ebx + 0xb0]
call fcn.0041ea13
test esi, esi
je 0x4e3f7d
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call fcn.00421e4b
push eax
push 0x59cee0
call fcn.00416235
pop ecx
pop ecx
test eax, eax
je 0x4e3f79
cmp dword [eax + 0x20], 0
jne 0x4e3f7d
and dword [ebp - 0x28], 0
cmp dword [ebp + 8], 0xa5
jne 0x4e410e
mov eax, dword [ebx + 0xb0]
test eax, eax
jne 0x4e3fca
jmp 0x4e3fcd
push 0
push 0
push 0x10
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0xb0]
call fcn.0041ea13
jmp 0x4e3d20
cmp eax, 1
je 0x4e3fbf
cmp eax, 2
jne 0x4e3f7d
push 0
push 0
push 0x10
push dword [edi + 0x20]
jmp 0x4e3f9f
mov eax, dword [eax + 0x20]
cmp dword [ebp + 0x14], eax
jne 0x4e410e
call fcn.0042ec87
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1f4]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
test eax, eax
je 0x4e410e
cmp dword [ebx + 0x2c], 0
jne 0x4e410e
mov edi, dword [ebp - 0x2c]
push ecx
push ecx
mov ecx, dword [ebp - 0x30]
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, ebx
mov dword [eax], edi
call fcn.004e307b
cmp eax, 2
je 0x4e4035
cmp eax, 3
je 0x4e4035
cmp eax, 8
je 0x4e4035
cmp eax, 9
je 0x4e4035
cmp eax, 0x14
jne 0x4e410e
mov eax, dword [ebx + 0xb0]
push 0
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.0042a35d
mov esi, eax
test esi, esi
je 0x4e410e
cmp dword [esi + 4], 0
je 0x4e410e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x4e410e
push 0
push 0xf030
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0xf120
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [ebx + 0xb0]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4e40ad
push 3
push 0xf030
jmp 0x4e40c7
mov eax, dword [ebx + 0xb0]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4e40d0
push 3
push 0xf120
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [ebx + 0xb0]
test eax, eax
je 0x4e40dd
mov eax, dword [eax + 0x20]
push 0
push eax
push 0
push dword [ebp - 0x30]
push edi
push 0x100
push dword [esi + 4]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
je 0x4e410e
push 0
push eax
mov eax, dword [ebx + 0xb0]
push 0x112
push dword [eax + 0x20]
jmp 0x4e3d1a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054cfc8
mov esp, ebp
pop ebp
ret 0x10
call fcn.00414199
int3