Function at 0x492ee0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x350
mov eax, dword [0x68b740]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x34c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x350], eax
cmp dword [ebp - 0x350], 0x514
ja 0x492f4f
cmp dword [ebp - 0x350], 0x514
je 0x493008
cmp dword [ebp - 0x350], 0x501
je 0x4932e4
cmp dword [ebp - 0x350], 0x502
je 0x492f74
cmp dword [ebp - 0x350], 0x50e
je 0x4930fd
jmp 0x493307
cmp dword [ebp - 0x350], 0x565
je 0x493294
cmp dword [ebp - 0x350], 0x691
je 0x49304e
jmp 0x493307
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x34c]
jne 0x493003
mov edx, dword [ebp + 0x10]
shr edx, 0x10
movsx eax, dx
cmp eax, 1
jne 0x493003
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
test edx, edx
jl 0x492ffe
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
push ecx
call fcn.0048fdb0
add esp, 4
neg eax
sbb eax, eax
add eax, 1
push eax
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
push eax
call fcn.00493b20
add esp, 8
mov ecx, dword [0x68f350]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x492ffc
mov edx, dword [ebp - 4]
movsx eax, word [edx + 6]
push eax
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 4]
push edx
mov ecx, dword [ebp - 0x34c]
call fcn.004938e0
jmp 0x493003
call fcn.004243d0
jmp 0x493320
mov eax, dword [ebp - 0x34c]
add eax, 0xcf4
cmp dword [ebp + 0xc], eax
jne 0x493029
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x34c]
call fcn.00493680
jmp 0x493049
mov edx, dword [ebp - 0x34c]
add edx, 0xeac
cmp dword [ebp + 0xc], edx
jne 0x493049
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x34c]
call fcn.004935c0
jmp 0x493320
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x4930f8
mov byte [ebp - 0x108], 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x34c]
call fcn.00493340
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jle 0x4930f8
lea edx, [ebp - 0x108]
push edx
push 0x1f
lea eax, [ebp - 0x12c]
push eax
call fcn.0048f7e0
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004907b0
add esp, 4
mov dword [ebp - 0x130], eax
push 0x2f
push 1
lea edx, [ebp - 0x12c]
push edx
cmp dword [ebp - 0x130], 0
setge al
push eax
call fcn.0044e7d0
add esp, 0x10
cmp dword [ebp - 0x130], 0
jl 0x4930f8
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.0044dc20
add esp, 4
jmp 0x493320
mov byte [ebp - 0x230], 0
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movsx ecx, ax
push ecx
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x34c]
call fcn.004933e0
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jle 0x49328f
lea edx, [ebp - 0x230]
push edx
push 0x1f
lea eax, [ebp - 0x258]
push eax
call fcn.0048f7e0
add esp, 0xc
lea ecx, [ebp - 0x258]
push ecx
call fcn.004907b0
add esp, 4
xor edx, edx
test eax, eax
setge dl
mov dword [ebp - 0x238], edx
cmp dword [ebp - 0x238], 0
jne 0x49328f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
je 0x493256
mov dword [ebp - 0x25c], 0xffffffff
cmp dword [0x6de314], 0
je 0x4931db
lea ecx, [ebp - 0x25c]
push ecx
lea edx, [ebp - 0x348]
push edx
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [0x6de314]
call fcn.00538fa0
test eax, eax
je 0x4931db
cmp dword [ebp - 0x25c], 1
je 0x49320f
push 0x20
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x348]
push edx
call dword [sym.imp.MSVCR80.dll_strncpy]
add esp, 0xc
mov byte [ebp - 0x329], 0
mov dword [ebp - 0x304], 0xffffffff
mov dword [ebp - 0x308], 0
mov eax, dword [ebp - 0x34c]
mov dword [eax + 0x53f0], 1
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movsx edx, cx
push edx
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
push ecx
lea edx, [ebp - 0x348]
push edx
call fcn.004a46a0
add esp, 0xc
mov eax, dword [ebp - 0x34c]
mov dword [eax + 0x53f0], 0
jmp 0x49328f
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x49328f
mov edx, dword [ebp + 0x10]
shr edx, 0x10
movsx eax, dx
push eax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
push edx
lea eax, [ebp - 0x258]
push eax
call fcn.004a4c70
add esp, 0xc
jmp 0x493320
mov ecx, dword [ebp - 0x34c]
add ecx, 0x1064
cmp dword [ebp + 0xc], ecx
jne 0x4932d3
call fcn.004918a0
mov ecx, dword [ebp - 0x34c]
add ecx, 0x1064
call fcn.004262f0
mov edx, dword [ebp - 0x34c]
mov dword [edx + 0x1c20], eax
push 0xffffffffffffffff
call fcn.0048dfa0
add esp, 4
jmp 0x4932e2
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x34c]
call fcn.00495010
jmp 0x493320
cmp dword [ebp + 0xc], 0
jne 0x493305
cmp dword [ebp + 0x10], 0
je 0x493305
push 0
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
mov ecx, dword [ebp - 0x34c]
call fcn.00494260
jmp 0x493320
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34c]
call fcn.004428d0
jmp 0x493322
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00612c78
mov esp, ebp
pop ebp
ret 0xc