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

Disassembly:
sub esp, 0xa4
push ebx
mov ebx, ecx
push ebp
push esi
lea eax, [ebx + 0x14]
push edi
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov al, byte [esp + 0xc0]
test al, al
jne 0x57cef2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x57cf16
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
push ecx
push edx
mov ecx, ebx
call fcn.0057bd00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 0xc
mov ecx, dword [ebx + 0x24]
call fcn.00599c70
mov edi, eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x30], edi
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [0x6c5dbc]
mov eax, dword [0x6c5db8]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [esp + 0xbc]
mov ebp, dword [esp + 0xb8]
push esi
lea edx, [esp + 0x20]
push ebp
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x57cf80
push esi
push ebp
mov ecx, ebx
call fcn.0057bd00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 0xc
mov ecx, dword [ebx + 0x24]
xor esi, esi
mov dword [esp + 0x34], 0xe81b
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0xe81e
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0xe81c
mov byte [esp + 0x70], 0
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 0xe81d
mov byte [esp + 0x8c], 0
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
call fcn.005729a0
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], 0xffffffff
lea esi, [esp + 0x44]
jmp 0x57d043
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esi - 0x10]
cmp eax, ecx
jne 0x57d05e
mov al, byte [esi - 0xc]
mov ecx, dword [esp + 0x14]
or al, 1
mov dword [esp + 0x18], ecx
mov byte [esi - 0xc], al
mov edx, dword [esi - 0x10]
mov ecx, edi
push edx
call fcn.005efc48
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 2
push 3
push 0xc
mov dword [esi + 8], eax
call edi
push 2
push 3
push 0xc
mov ebp, eax
call edi
mov ecx, dword [esi + 8]
mov ebx, eax
call fcn.005dcc64
mov cl, byte [esi - 0xc]
lea edi, [esi - 8]
shr eax, 0x1c
and al, 1
and cl, 0xfd
shl al, 1
or al, cl
test al, 2
mov byte [esi - 0xc], al
je 0x57d0b7
mov edx, dword [esi + 8]
push edi
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp case.default.0x57d0e1
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, edi
mov dword [ecx], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [esi - 0x10]
add eax, 0xffff17e5
cmp eax, 3
ja case.default.0x57d0e1
jmp dword [eax*4 + 0x57d2a4]
mov ecx, dword [esi - 4]
mov dword [esi + 4], ecx
jmp case.default.0x57d0e1
mov edx, dword [esi + 4]
mov dword [esi - 4], edx
jmp case.default.0x57d0e1
mov eax, dword [edi]
mov dword [esi], eax
jmp case.default.0x57d0e1
mov ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [esi - 0x10]
add eax, 0xffff17e5
cmp eax, 3
ja case.default.0x57d10f
jmp dword [eax*4 + 0x57d2b4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x20]
add eax, 0xc
mov dword [esi + 4], eax
mov dword [esi - 4], edx
jmp case.default.0x57d10f
mov eax, dword [esi - 4]
add eax, 0xfffffff4
mov dword [esi - 4], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
jmp case.default.0x57d10f
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
add eax, 0xc
mov dword [esi], eax
mov dword [edi], ecx
jmp case.default.0x57d10f
mov eax, dword [edi]
mov edx, dword [esp + 0x24]
add eax, 0xfffffff4
mov dword [edi], eax
mov dword [esi], edx
mov eax, dword [esi - 0x10]
cmp eax, 0xe81c
je 0x57d167
cmp eax, 0xe81d
jne 0x57d17b
mov eax, dword [esp + 0x48]
add eax, 0xfffffff4
mov dword [esi - 4], eax
mov ecx, dword [esp + 0x5c]
add ecx, 0xc
mov dword [esi + 4], ecx
lea edx, [esp + 0xa4]
push edi
push edx
call dword [sym.imp.USER32.dll_CopyRect]
push ebx
lea eax, [esp + 0xa8]
push ebp
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
push ecx
lea eax, [esp + 0xa8]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x57d1c0
or byte [esi - 0xc], 4
mov eax, dword [esp + 0x14]
add esi, 0x1c
inc eax
cmp eax, 4
mov dword [esp + 0x14], eax
jl 0x57d03f
mov ecx, dword [esp + 0x18]
test ecx, ecx
jl 0x57d1ff
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
mov cl, byte [esp + eax + 0x38]
lea edx, [esp + eax + 0x38]
test cl, 4
je 0x57d27c
and cl, 0xfe
mov byte [edx], cl
mov ebp, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
xor edi, edi
lea esi, [esp + 0x38]
mov al, byte [esi]
test al, 1
jne 0x57d234
test al, 2
je 0x57d234
test al, 4
jne 0x57d234
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x10]
push edx
push ebx
push ebp
call fcn.0057bf40
test al, al
jne 0x57d26f
inc edi
add esi, 0x1c
cmp edi, 4
jl 0x57d213
xor edi, edi
lea esi, [esp + 0x38]
test byte [esi], 7
jne 0x57d25b
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ebx
push ebp
call fcn.0057bf40
test al, al
jne 0x57d26f
inc edi
add esi, 0x1c
cmp edi, 4
jl 0x57d243
mov ecx, dword [esp + 0x10]
push ebx
push ebp
call fcn.0057bd00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 0xc
mov ecx, dword [esp + eax + 0x4c]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebp
call fcn.0057bf40
test al, al
jne 0x57d26f
jmp 0x57d20d