Function at 0x1003b502
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100644b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1003b5a0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1003b595
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1003b576
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jge 0x1003b593
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.1001b386
mov dword [eax], 5
jmp 0x1003b56b
jmp 0x1003b59b
call dword [sym.imp.USER32.dll_EndMenu]
jmp 0x1003b710
lea eax, [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], 0x4e2a
mov dword [ebp - 0x6c], 0x1000adb0
cmp dword [ebp - 0x30], 0x4e3e
jle 0x1003b665
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
and dword [ebp - 0x24], 0
jmp 0x1003b5e8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x32fd
jge 0x1003b665
and dword [ebp - 0x28], 0
jmp 0x1003b5fe
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x7f8b
jge 0x1003b660
and dword [ebp - 0x1c], 0
jmp 0x1003b614
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6de1
jge 0x1003b65e
and dword [ebp - 0x20], 0
jmp 0x1003b62a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4e0f
jge 0x1003b65c
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
shl edx, cl
or eax, edx
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
mov ecx, 0x1060d6f8
call fcn.1001b0b7
jmp 0x1003b623
jmp 0x1003b60d
jmp 0x1003b5f7
jmp 0x1003b5e1
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1003b6b9
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1003b69d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jge 0x1003b6b7
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x60]
call fcn.1001b386
and dword [eax], 0
jmp 0x1003b692
jmp 0x1003b6d0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x4d81
jge 0x1003b6ea
mov edx, dword [ebp - 0x6c]
mov ecx, 0x1060d6f8
call fcn.1001d5c2
jmp 0x1003b706
or dword [ebp - 4], 0xffffffff
jmp 0x1003b710
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret