Function at 0x579d10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x54], ecx
push 0x16e
push 0x6fc8e8
mov eax, dword [ebp - 0x54]
push eax
call fcn.004e5ca8
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x20], 0
jne 0x579d49
push 0x16f
push 0x6fc920
call fcn.004e0811
test eax, eax
je 0x579d49
int3
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.004dc52c
test eax, eax
je 0x579d63
mov eax, 1
jmp 0x579fb6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x54]
call fcn.004e630b
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x80]
and ecx, 0x20
jne 0x579d9b
cmp dword [ebp - 0xc], 0x201
je 0x579d9b
cmp dword [ebp - 0xc], 0x202
jne 0x579f45
cmp dword [ebp - 0xc], 0x200
jb 0x579dad
cmp dword [ebp - 0xc], 0x209
jbe 0x579dc7
cmp dword [ebp - 0xc], 0xa0
jb 0x579f45
cmp dword [ebp - 0xc], 0xa9
ja 0x579f45
call fcn.004dff74
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [edx + 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004e0500
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.004e55fa
push 0x30
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.004dd8b9
add esp, 0xc
mov dword [ebp - 0x50], 0x28
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x74]
call eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x579e33
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e53ac
add esp, 4
cmp dword [ebp - 0xc], 0x201
jne 0x579e50
mov edx, dword [ebp - 0x4c]
and edx, 0x80000000
je 0x579e50
mov dword [ebp - 0x58], 1
jmp 0x579e57
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0x201
je 0x579e7e
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x579e7e
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x579e8a
cmp dword [ebp - 0x10], 0
je 0x579ec0
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x579e9f
cmp dword [ebp - 0x10], 0
je 0x579ebe
push 0xffffffffffffffff
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax + 0x16c]
call edx
push 0xe001
mov ecx, dword [ebp - 0x54]
call fcn.004dcc9d
jmp 0x579f3c
cmp dword [ebp - 0xc], 0x202
jne 0x579eef
push 0xffffffffffffffff
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x16c]
call eax
push 0xc8
push 0xe001
mov ecx, dword [ebp - 0x54]
call fcn.004dedc7
jmp 0x579f3c
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x7c]
and edx, 8
jne 0x579f09
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x579f1f
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax + 0x16c]
call edx
jmp 0x579f3c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x4c]
je 0x579f3c
push 0x12c
push 0xe000
mov ecx, dword [ebp - 0x54]
call fcn.004dedc7
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x4c], eax
mov ecx, dword [ebp - 0x54]
call fcn.004e1176
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x579f63
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x68], 0
je 0x579f63
xor eax, eax
jmp 0x579fb6
cmp dword [ebp - 8], 0
je 0x579f95
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x108]
call eax
test eax, eax
je 0x579f88
mov eax, 1
jmp 0x579fb6
mov ecx, dword [ebp - 8]
call fcn.004de714
mov dword [ebp - 8], eax
jmp 0x579f63
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x579fb4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.004dc473
jmp 0x579fb6
xor eax, eax
mov esp, ebp
pop ebp
ret 4