Function at 0x10011a40
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1009f840
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x75970]
test eax, eax
je 0x10011d52
push 0x11
call dword [sym.imp.user32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
jne 0x10011d52
mov eax, dword [esi + 0x75970]
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x10011d52
mov cx, word [esi + 0x7595a]
test cl, 0x20
jne 0x10011d2b
test ch, 0x10
jne 0x10011d2b
test byte [esi + 0x7595c], 5
jne 0x10011d2b
test byte [esi + 0x7595e], 0x80
jne 0x10011d2b
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x10011d2b
movsx edi, word [esp + 0x38]
movsx ebp, word [esp + 0x34]
mov edx, dword [esp + 0x3c]
push 0
lea ebx, [esi + 0x75a0c]
push edx
push edi
push ebp
mov ecx, ebx
call fcn.10036a80
test eax, eax
jne 0x10011b6c
push eax
mov eax, dword [esp + 0x40]
lea ecx, [edi - 1]
push eax
push ecx
push ebp
mov ecx, ebx
call fcn.10036a80
test eax, eax
je 0x10011b0f
dec dword [esp + 0x38]
jmp 0x10011b6c
mov edx, dword [esp + 0x3c]
push 0
lea eax, [edi + 1]
push edx
push eax
push ebp
mov ecx, ebx
call fcn.10036a80
test eax, eax
je 0x10011b2c
inc dword [esp + 0x38]
jmp 0x10011b6c
mov ecx, dword [esp + 0x3c]
push 0
push ecx
lea edx, [ebp - 1]
push edi
push edx
mov ecx, ebx
call fcn.10036a80
test eax, eax
je 0x10011b4a
mov eax, dword [esp + 0x34]
dec eax
jmp 0x10011b68
mov eax, dword [esp + 0x3c]
push 0
push eax
inc ebp
push edi
push ebp
mov ecx, ebx
call fcn.10036a80
test eax, eax
je 0x10011d52
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x75970]
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x84]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
call fcn.10004fa0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
cmp word [esp + 0x1c], cx
jne 0x10011bc5
cmp word [esp + 0x20], dx
jne 0x10011bc5
movsx edi, byte [esp + 0x10]
mov eax, dword [esp + 0x3c]
cmp edi, eax
je 0x10011d52
jmp 0x10011bc9
mov eax, dword [esp + 0x3c]
cmp word [esi + 0x12c], cx
jne 0x10011bea
cmp word [esi + 0x12e], dx
jne 0x10011bea
movsx edi, byte [esi + 0x130]
cmp edi, eax
je 0x10011d52
mov word [esi + 0x12c], cx
push 1
mov ecx, esi
mov word [esi + 0x12e], dx
mov byte [esi + 0x130], al
call fcn.1001e9a0
mov ax, word [esi + 0x75952]
xor edi, edi
cmp ax, di
jl 0x10011c3f
cmp ax, 9
jg 0x10011c3f
push 0x12
call dword [sym.imp.user32.dll_GetAsyncKeyState]
call fcn.100db0f1
nop
je 0x10011c3f
cmp dword [esi + 0xbf438], edi
jbe 0x10011c3f
mov dword [esi + 0x134], 1
jmp 0x10011c45
mov dword [esi + 0x134], edi
mov dword [esi + 0x138], edi
mov eax, dword [esi + 0x75db8]
cmp eax, edi
jbe 0x10011d52
mov ebx, dword [sym.imp.msvcrt.dll__mbsicmp]
lea ebp, [esi + 0x75db0]
push edi
mov ecx, ebp
call fcn.10002d10
test eax, eax
jne 0x10011d1a
lea edx, [esp + 0x3c]
push edi
push edx
mov ecx, ebp
call fcn.10002d50
push 0
push 0
lea eax, [esp + 0x44]
push 0x100c4b98
lea ecx, [esp + 0x44]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.staff.dll_class_CString___cdecl_STAFFGetFirstWord_class_CString___char_const___char___int_]
mov edx, dword [esp + 0x4c]
push 0x100c4ba4
push edx
mov byte [esp + 0x48], 1
call ebx
add esp, 0x1c
test eax, eax
jne 0x10011cc4
cmp dword [esi + 0x134], 1
je 0x10011ce1
mov eax, dword [esp + 0x38]
push 0x100c4b9c
push eax
call ebx
add esp, 8
test eax, eax
jne 0x10011cf5
mov eax, dword [esi + 0x134]
test eax, eax
jne 0x10011cf5
mov ebx, dword [esi]
push edi
mov ecx, ebp
call fcn.10002cf0
push eax
push edi
mov ecx, esi
call dword [ebx + 0x3c0]
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 0xffffffff
call sub.mfc42.dll_CString::CString
mov ebx, dword [sym.imp.msvcrt.dll__mbsicmp]
mov eax, dword [esi + 0x75db8]
inc edi
cmp edi, eax
jb 0x10011c65
jmp 0x10011d52
push 0
push 0xbe
push 0
call dword [sym.imp.message.dll_char_const____cdecl_MESSAGEGetString_int__int_]
add esp, 4
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call sub.mfc42.dll_CString::CString_1
push 6
mov ecx, esi
call fcn.1001be90
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0xc