Function at 0x1001a4fa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10146780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], ecx
call fcn.100e5ee3
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.100e4efc
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
call fcn.100e4efc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0x100
jb 0x1001a558
cmp dword [ebp - 0x38], 0x108
jbe 0x1001a572
cmp dword [ebp - 0x38], 0x200
jb 0x1001a659
cmp dword [ebp - 0x38], 0x209
ja 0x1001a659
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
je 0x1001a5a1
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x38], 0
jne 0x1001a5a1
mov ecx, dword [ebp - 0x3c]
call fcn.100e63e9
cmp eax, dword [ebp + 8]
je 0x1001a5a1
mov ecx, dword [ebp - 0x3c]
call fcn.100e63e9
mov dword [ebp - 0x3c], eax
jmp 0x1001a578
cmp dword [ebp - 0x3c], 0
je 0x1001a5e6
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x38], 0
je 0x1001a5e6
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x38]
cmp dword [eax + 0x54], 0
je 0x1001a5e6
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x54]
mov edx, dword [ecx]
call dword [edx + 0x14]
test eax, eax
jne 0x1001a5e6
mov eax, 1
jmp 0x1001a9f5
cmp dword [ebp - 0x38], 0x101
je 0x1001a601
cmp dword [ebp - 0x38], 0x100
je 0x1001a601
cmp dword [ebp - 0x38], 0x102
jne 0x1001a659
cmp dword [ebp - 0x3c], 0
je 0x1001a659
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x38], 0
je 0x1001a659
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dx, word [ecx + 8]
cmp edx, 0xd
jne 0x1001a631
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 0x80]
and edx, 1
test edx, edx
jne 0x1001a652
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax + 8]
cmp ecx, 0x1b
jne 0x1001a659
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x80]
and ecx, 2
test ecx, ecx
je 0x1001a659
xor eax, eax
jmp 0x1001a9f5
mov dword [ebp - 0x28], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call fcn.10087b93
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 2
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0x100
je 0x1001a78a
cmp dword [ebp - 0x48], 0x102
je 0x1001a6da
cmp dword [ebp - 0x48], 0x106
je 0x1001a6ad
jmp case.0x1001a7c4.5
cmp dword [ebp - 0x20], 0
jne 0x1001a6c7
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jl 0x1001a6c7
jmp case.0x1001a7c4.5
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax + 8]
cmp ecx, 0x20
jne 0x1001a6da
jmp case.0x1001a7c4.5
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp + 8]
jne 0x1001a6ec
mov eax, 1
jmp 0x1001a9f5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10019c30
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x38], 0x102
jne 0x1001a717
mov edx, dword [ebp - 0x2c]
and edx, 0x84
test edx, edx
je 0x1001a717
jmp case.0x1001a7c4.5
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax + 8]
cmp ecx, 9
jne 0x1001a734
mov edx, dword [ebp - 0x2c]
and edx, 2
test edx, edx
je 0x1001a734
jmp case.0x1001a7c4.5
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax + 8]
cmp ecx, 0x20
jne 0x1001a74c
mov eax, 1
jmp 0x1001a9f5
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10019fcc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1001a785
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x38], 0
je 0x1001a785
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x38]
call fcn.100112e0
mov dword [ebp - 0x28], 1
jmp case.0x1001a7c4.5
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.10019c30
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dx, word [ecx + 8]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
sub eax, 3
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x28
ja case.0x1001a7c4.5
mov edx, dword [ebp - 0x4c]
xor ecx, ecx
mov cl, byte [edx + 0x1001aa20]
jmp dword [ecx*4 + 0x1001aa08]
mov eax, dword [ebp - 0x2c]
and eax, 2
test eax, eax
je 0x1001a7da
jmp case.0x1001a7c4.5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
xor edx, edx
test ecx, ecx
setl dl
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
call fcn.100e60c9
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1001a81b
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10019c7e
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.1001a0f8
add esp, 8
mov dword [ebp - 0x28], 1
jmp case.0x1001a7c4.5
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.10019c30
and eax, 1
test eax, eax
je 0x1001a847
jmp case.0x1001a7c4.5
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100e606b
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1001a879
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x38], 0
je 0x1001a879
mov eax, dword [ebp - 0x1c]
push eax
call fcn.10019c7e
mov dword [ebp - 0x28], 1
jmp case.0x1001a7c4.5
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.1001a29c
add esp, 4
and eax, 0x10
test eax, eax
je 0x1001a8a4
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x1c]
call fcn.1008e8c2
mov dword [ebp - 0x34], eax
jmp case.0x1001a7c4.0
mov eax, dword [ebp + 8]
push eax
call fcn.1001a355
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x1c], 0
jne 0x1001a8d1
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1001a1c1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1001a8d1
jmp case.0x1001a7c4.5
cmp dword [ebp - 0x1c], 0
jne 0x1001a8eb
push 0x24c
push str.occdlg.cpp
call fcn.100e20d0
test eax, eax
je 0x1001a8eb
int3
xor eax, eax
test eax, eax
jne 0x1001a8d1
mov ecx, dword [ebp - 0x1c]
call fcn.1008eb41
test eax, eax
jne 0x1001a907
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
jmp case.0x1001a7c4.5
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x38], 0
je case.0x1001a7c4.5
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 1
push 0xfffffdd9
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1008ec89
add esp, 0x18
jmp 0x1001a96b
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x28], 0
jne 0x1001a9b1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1001a9b1
call fcn.100e5ee3
cmp eax, dword [ebp - 0x20]
je 0x1001a9b1
call fcn.100e5ee3
push eax
call fcn.1001a073
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001a9f2
call fcn.100e5ee3
push eax
mov edx, dword [ebp - 0x20]
push edx
call fcn.1001a0f8
add esp, 8
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001a9f2
call fcn.100e5ee3
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1001a3a4
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8