Function at 0x431150
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46de68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x49500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0x90]
call eax
test al, al
jne 0x431199
mov eax, dword [edi]
cmp eax, 0xd
jle 0x431199
cmp eax, 0x19
jl 0x4311a9
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x88]
call eax
test al, al
jne 0x4311ca
mov ecx, dword [esi + 0x24]
push edi
test ecx, ecx
je 0x4311be
mov eax, dword [ecx]
call dword [eax + 0xd0]
jmp 0x4313e2
mov ecx, esi
call fcn.00429400
jmp 0x4313e2
mov eax, dword [edi]
cmp eax, 0x28
jne 0x4311de
push edi
mov ecx, esi
call fcn.00431400
jmp 0x4313e2
cmp eax, 0xa
jne 0x4311f0
push edi
mov ecx, esi
call fcn.00431620
jmp 0x4313e2
cmp eax, 8
jne 0x431202
push edi
mov ecx, esi
call fcn.004316e0
jmp 0x4313e2
cmp eax, 0xe
jne 0x431212
push edi
push 0x200
jmp 0x4313db
cmp eax, 0x18
jne 0x431235
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x4313e2
push edi
mov ecx, esi
call fcn.004218e0
jmp 0x4313e2
cmp eax, 0x12
je 0x43134d
cmp eax, 0x20
je 0x43134d
cmp eax, 0x13
je 0x4312f5
cmp eax, 0x22
je 0x4312f5
test eax, eax
jne 0x43127c
mov ecx, esi
cmp byte [esi + 0x451], al
je 0x431271
call fcn.004304f0
jmp 0x4313e2
push edi
push 0x203
jmp 0x4313dd
cmp eax, 0x14
jne 0x43128c
push edi
push 0x204
jmp 0x4313db
cmp eax, 0x15
jne 0x43129c
push edi
push 0x205
jmp 0x4313db
cmp eax, 0x30
jne 0x4312ae
push ecx
mov ecx, esi
call fcn.004319a0
jmp 0x4313e2
cmp eax, 0x31
jne 0x4312bf
mov byte [esi + 0x45c], 0
jmp 0x4313e2
cmp eax, 2
jne 0x4312d1
push ecx
mov ecx, esi
call fcn.004314d0
jmp 0x4313e2
cmp eax, 3
jne 0x431228
push ecx
mov ecx, esi
call fcn.00431530
push 0
call fcn.004461f0
mov ecx, eax
call fcn.00446280
jmp 0x4313e2
cmp byte [esi + 0x81], 0
je 0x431342
cmp byte [esi + 0x457], 0
jne 0x431342
cmp byte [esi + 0x459], 0
mov byte [esi + 0x457], 1
je 0x431342
mov ecx, esi
call fcn.004304f0
test byte [esi + 0x48c], 4
mov ecx, esi
mov eax, dword [esi]
je 0x43133c
call dword [eax + 0x198]
push edi
push 0x202
jmp 0x4313db
call dword [eax + 0x1a8]
push edi
push 0x202
jmp 0x4313db
mov eax, dword [esi + 0x59c]
sub eax, dword [esi + 0x598]
sar eax, 5
test eax, eax
je 0x4313c2
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [edi + 0xc]
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 4], eax
mov ecx, esi
call fcn.00432d50
test al, al
je 0x4313b3
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4313a9
push 0
push 0
push 0x2f
push esi
call fcn.00413e80
lea ecx, [ebp - 0x28]
call fcn.004031b0
jmp 0x4313e2
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004031b0
cmp dword [edi], 0x20
jne 0x4313d5
push 1
call fcn.004461f0
mov ecx, eax
call fcn.00446280
push edi
push 0x201
mov ecx, esi
call fcn.00431a40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452829
mov esp, ebp
pop ebp
ret 4