Function at 0x46abf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x495c88
push 0x485f08
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4bf380]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
push 0x46a820
call fcn.004746a0
add esp, 4
call fcn.004743b0
test eax, eax
je 0x46ac81
push 0
push 0x20003
call fcn.00470590
push 1
push 0x2000a
call fcn.00470590
push 0
push 0
push dword [0x56ba40]
push 0x320
push 0x320
call fcn.00470c40
add esp, 0x24
mov dword [0x56ba3c], eax
test eax, eax
jne 0x46ac9f
call fcn.004744f0
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00485b63
mov esp, ebp
pop ebp
ret
push 0
push 0x20005
push eax
call fcn.004723b0
add esp, 0xc
push 1
push 0x20007
push dword [0x56ba3c]
call fcn.004723b0
add esp, 0xc
push dword [0x56ba3c]
call fcn.0047a550
add esp, 4
push dword [0x56ba3c]
call fcn.00471d90
add esp, 4
push 0
call fcn.0047a710
add esp, 4
call fcn.0046a860
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], 0x4bf400
mov dword [ebp - 0x3c], 0x4bf400
mov dword [ebp - 0x30], 0x4bf946
mov dword [ebp - 0x38], 0x4bf946
sub esp, 8
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0xe8]
call fcn.0045a540
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x46adf0
lea eax, [ebp - 0x28]
push eax
push 1
call dword [sym.imp.OPENGL32.dll_glGenTextures]
push dword [ebp - 0x28]
push 0xde1
call dword [sym.imp.OPENGL32.dll_glBindTexture]
push 0x2601
push 0x2801
push 0xde1
mov esi, dword [sym.imp.OPENGL32.dll_glTexParameteri]
call esi
push 0x2601
push 0x2800
push 0xde1
call esi
push 0
push 0xcf2
call dword [sym.imp.OPENGL32.dll_glPixelStorei]
push ebx
push 0x1401
push 0x1908
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x1908
push 0
push 0xde1
call dword [sym.imp.OPENGL32.dll_glTexImage2D]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [0x56b9d8], eax
push 0
push 0xde1
call dword [sym.imp.OPENGL32.dll_glBindTexture]
nop dword [eax]
cmp dword [0x56ba48], 0
je 0x46af23
push dword [0x56ba3c]
call fcn.00471110
add esp, 4
test eax, eax
jne 0x46af23
call fcn.00472b60
push dword [0x56ba50]
push dword [0x56ba4c]
push dword [0x56ba3c]
call fcn.00471400
add esp, 0xc
push dword [0x56ba58]
push dword [0x56ba54]
push dword [0x56ba3c]
call fcn.00471790
add esp, 0xc
mov dword [ebp - 4], 0
call fcn.0046af50
jmp 0x46ae63
mov dword [ebp - 4], 0xfffffffe
cmp byte [0x56ba64], 0
jne 0x46ae7c
cmp byte [0x56b9f1], 0
je 0x46ae96
push 0x2d
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x46ae96
cmp byte [0x56b9f0], 0
sete byte [0x56b9f0]
mov esi, dword [0x56ba3c]
cmp byte [0x56ba64], 0
jne 0x46aed0
push 0x20001
push esi
call fcn.00472140
add esp, 8
test eax, eax
jne 0x46aed0
push 0x20007
push esi
call fcn.00472140
add esp, 8
test eax, eax
mov byte [0x56b9f1], 0
je 0x46aed7
mov byte [0x56b9f1], 1
movzx eax, byte [0x56ba64]
push eax
push 0x20007
push esi
call fcn.004723b0
add esp, 0xc
cmp byte [0x56b9f1], 0
jne 0x46af06
push 1
push 0x2000d
push esi
call fcn.004723b0
add esp, 0xc
push dword [0x56ba3c]
call fcn.0047a670
add esp, 4
mov ecx, 0x56ba48
call fcn.0046b840
jmp 0x46adf0
call fcn.0046b270
push dword [0x56ba3c]
call fcn.00471040
add esp, 4
call fcn.004744f0
mov al, 1
jmp 0x46ac83