Function at 0x4d02d0
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push edi
mov esi, ecx
movsx edi, ax
shr eax, 0x10
movsx ebx, ax
mov eax, dword [esi + 0x74]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebx
je 0x4d0332
cmp dword [esi + 0x78], edi
jne 0x4d02fd
cmp dword [esi + 0x7c], ebx
je 0x4d0332
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x4d0332
mov eax, dword [esi + 0xc4]
cmp eax, 0xffffffff
je 0x4d0332
push eax
mov ecx, esi
mov dword [esi + 0xc8], ebp
call fcn.004d2190
mov dword [esi + 0x74], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
mov ecx, dword [esi + 8]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0xa4], ebp
je 0x4d0355
mov edx, dword [esi + 8]
lea ecx, [esi + 0x34]
push edx
call fcn.004d25b0
mov ebp, dword [sym.imp.USER32.dll_PtInRect]
push ebx
lea eax, [esi + 0x310]
push edi
push eax
call ebp
test eax, eax
mov al, byte [esi + 0x1a8]
je 0x4d03df
cmp al, 1
je 0x4d0560
mov eax, dword [esi + 0xc8]
mov byte [esi + 0x1a8], 1
test eax, eax
je 0x4d0390
mov byte [esi + 0x1a8], 2
push 0xffffffffffffffff
mov ecx, esi
call fcn.004d0b90
mov eax, dword [esi + 0xc4]
mov dword [esi + 0xc4], 0xffffffff
cmp eax, 0xffffffff
je 0x4d03b6
push eax
mov ecx, esi
call fcn.004d0b90
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x4d0560
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
cmp al, 4
je 0x4d03f3
push 0xffffffffffffffff
mov ecx, esi
mov byte [esi + 0x1a8], 4
call fcn.004d0b90
push ebx
lea edx, [esp + 0x24]
push edi
push edx
call ebp
test eax, eax
je 0x4d0559
push 2
lea ecx, [esi + 4]
call fcn.004d3910
mov eax, dword [esi + 0xc4]
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xa0]
cmp eax, 0xffffffff
mov dword [esi + 0xc4], 0xffffffff
mov dword [esp + 0x14], ecx
je 0x4d043b
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x4d04fa
mov edx, dword [esi + 0xb4]
mov eax, dword [esi + 0xb0]
mov ebp, dword [edx + ebx*4]
mov edi, ebp
shl edi, 6
sub edi, ebp
shl edi, 3
add eax, edi
test byte [eax + 0x44], 8
jne 0x4d04a2
mov ecx, dword [eax + 0x190]
test ecx, ecx
je 0x4d04a2
test byte [eax + 0x48], 4
jne 0x4d04a2
mov ecx, dword [esp + 0x1c]
add eax, 0x1ac
push ecx
movsx ecx, word [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4d04a2
mov edx, dword [esi + 0xb0]
test byte [edi + edx + 0x48], 1
je 0x4d04ad
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x4d0449
jmp 0x4d04fa
mov edi, dword [esp + 0x10]
mov dword [esi + 0xc4], ebp
cmp ebp, edi
je 0x4d0560
push ebp
mov ecx, esi
call fcn.004d0b90
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x4d04dd
mov eax, dword [esi + 8]
lea ecx, [esi + 0x34]
push eax
call fcn.004d2560
cmp edi, 0xffffffff
je 0x4d04fa
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0xc4]
cmp ecx, eax
je 0x4d04fa
mov edx, ecx
mov ecx, esi
push edx
call fcn.004d0b90
cmp dword [esi + 0xc4], 0xffffffff
jne 0x4d0534
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x4d0514
push eax
mov ecx, esi
call fcn.004d0b90
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x4d0560
mov eax, dword [esi + 8]
lea ecx, [esi + 0x34]
push eax
call fcn.004d2560
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x4d0560
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
mov ecx, esi
call fcn.004d0580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
mov ecx, esi
call fcn.004d01e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8