Function at 0x4d2ae6
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x14
mov eax, 0x58b398
call fcn.00532125
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x14
jne 0x4d2b05
xor eax, eax
inc eax
jmp 0x4d2f02
xor ebx, ebx
cmp dword [edi + 0x8c], ebx
je 0x4d2b15
push esi
jmp 0x4d2efd
cmp dword [esi + 4], 0x201
jne 0x4d2b44
mov ecx, dword [edi + 0x80]
cmp dword [ecx + 0x1e4], ebx
je 0x4d2b44
cmp dword [ecx + 0xcc], ebx
jne 0x4d2b44
mov eax, dword [edi + 0x20]
cmp dword [esi], eax
je 0x4d2b44
mov eax, dword [ecx]
push ebx
call dword [eax + 0x224]
cmp dword [esi + 4], 0x200
jne 0x4d2c6d
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test eax, eax
jne 0x4d2c6d
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
test eax, eax
setne cl
inc ecx
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4d2b9c
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0041f6be
cmp eax, edi
jne 0x4d2afd
cmp dword [edi + 0x84], ebx
jne 0x4d2bdc
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [edi + 0x84], 1
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
push 0x105
push ebx
push ebx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [edi + 0x88], ebx
jne 0x4d2c6d
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
call dword [eax + 0xa4]
test eax, eax
je 0x4d2c6d
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x105
push ebx
push ebx
push dword [edi + 0x20]
mov dword [edi + 0x88], 1
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
call dword [eax + 0xa4]
lea ecx, [ebp - 0x18]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx esi, word [ebp - 0x14]
mov ecx, dword [edi + 0x80]
movzx eax, word [ebp - 0x18]
shl esi, 0x10
or esi, eax
mov eax, dword [ecx]
call dword [eax + 0xa4]
push esi
push ebx
push 0x200
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne 0x4d2ef8
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test eax, eax
jne 0x4d2ef8
push dword [esi + 8]
mov ecx, edi
call fcn.004d2f0a
test eax, eax
jne 0x4d2afd
mov eax, dword [esi + 8]
cmp eax, 9
je 0x4d2ee2
cmp eax, 0xd
je 0x4d2de3
cmp eax, 0x1b
je 0x4d2d42
cmp eax, 0x20
jbe 0x4d2ef8
cmp eax, 0x22
jbe 0x4d2d09
cmp eax, 0x26
je 0x4d2d09
cmp eax, 0x28
jne 0x4d2ef8
mov ecx, dword [edi + 0x80]
cmp dword [ecx + 0x1dc], ebx
je 0x4d2d09
mov eax, dword [ecx]
call dword [eax + 0xe4]
test eax, eax
jne 0x4d2d09
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
call dword [eax + 0x298]
jmp 0x4d2afd
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
call dword [eax + 0xe4]
test eax, eax
je 0x4d2ef8
mov eax, dword [0x5fc588]
test eax, eax
je 0x4d2d2b
mov ebx, dword [eax + 0x20]
push dword [esi + 0xc]
push dword [esi + 8]
push 0x100
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4d2afd
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
call dword [eax + 0xe4]
test eax, eax
je 0x4d2d66
mov eax, dword [0x5fc588]
test eax, eax
je 0x4d2d66
push ebx
push ebx
push 0x10
push dword [eax + 0x20]
jmp 0x4d2d37
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
call dword [eax + 0xe4]
test eax, eax
jne 0x4d2dab
push dword [edi + 0x90]
mov ecx, edi
call fcn.0041d194
push ecx
mov esi, esp
mov dword [ebp - 0x14], esi
mov eax, dword [edi + 0x90]
sub eax, 0x10
push eax
call fcn.00416c3c
add eax, 0x10
pop ecx
mov dword [esi], eax
mov ecx, dword [edi + 0x80]
call fcn.004d32f8
mov ecx, edi
call fcn.0041fac6
test eax, eax
je 0x4d2ef8
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
call dword [eax + 0xe4]
test eax, eax
jne 0x4d2ef8
mov ecx, edi
call fcn.0041fac6
mov ecx, eax
call fcn.0041d0f1
jmp 0x4d2afd
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
call dword [eax + 0xe4]
test eax, eax
jne 0x4d2ef8
call fcn.0041721b
push eax
lea ecx, [ebp - 0x10]
call fcn.004132a7
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
mov ecx, edi
call fcn.0041fb8e
push ecx
mov esi, esp
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00416c3c
add eax, 0x10
pop ecx
mov dword [esi], eax
mov ecx, dword [edi + 0x80]
call fcn.004d32f8
mov ecx, dword [edi + 0x80]
push 1
call fcn.004ba39d
mov eax, dword [edi + 0x80]
mov eax, dword [eax + 0x94]
test eax, eax
je 0x4d2e9c
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0041f6be
mov ecx, ebx
test eax, eax
je 0x4d2e6d
mov ecx, dword [eax + 0x20]
mov eax, dword [0x5fc588]
test eax, eax
jne 0x4d2e7a
mov eax, ebx
jmp 0x4d2e7d
mov eax, dword [eax + 0x20]
cmp ecx, eax
jne 0x4d2e9c
mov eax, dword [edi + 0x80]
push dword [eax + 0x94]
call fcn.004416dc
pop ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x60]
jmp 0x4d2ec1
mov ecx, edi
call fcn.0041fac6
test eax, eax
je 0x4d2ed1
mov eax, dword [edi + 0x80]
mov ecx, edi
mov dword [eax + 0x1e8], ebx
call fcn.0041fac6
mov ecx, eax
call fcn.0041d0f1
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004138b8
jmp 0x4d2afd
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.004138b8
jmp 0x4d2ef8
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test eax, eax
je 0x4d2afd
push dword [ebp + 8]
mov ecx, edi
call fcn.004217ea
call fcn.005320ee
ret 4