Function at 0x100c6a10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d14f
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x101e8118]
xor eax, ebp
mov dword [ebp - 0x40], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
je 0x100c7060
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0x100
jne 0x100c7060
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x11e0], 0
je 0x100c7060
movzx edx, byte [0x101e59f3]
test edx, edx
je 0x100c7060
mov byte [0x101e59f3], 0
mov dword [ebp - 0x10], 0
jmp 0x100c6a8d
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x11e0]
mov ecx, dword [edx + 0xbc]
add ecx, 0x10
call fcn.10004710
cmp dword [ebp - 0x10], eax
jae 0x100c6d93
lea ecx, [ebp - 0x14]
call fcn.10005760
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0x30
je 0x100c6ad5
mov ecx, dword [ebp + 8]
add ecx, 0xf4
mov dword [ebp - 0x88], ecx
jmp 0x100c6adf
mov dword [ebp - 0x88], 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x11e0]
mov ecx, dword [ecx + 0xbc]
add ecx, 0x10
call fcn.100045d0
mov edx, dword [eax]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x88]
push eax
push 0x1019c188
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x11e0]
mov ecx, dword [eax + 0xbc]
add ecx, 0x10
call fcn.100045d0
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
push 0x1019c1a0
push str.shortcut
mov edx, dword [ebp - 0x90]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x90]
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.1013e98f
add esp, 4
test eax, eax
je 0x100c6d61
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
call fcn.100057d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.100d4420
lea ecx, [ebp - 0x20]
call fcn.100059c0
sub eax, 1
push eax
lea ecx, [ebp - 0x20]
call fcn.10091e00
mov word [ebp - 0x24], ax
mov dword [ebp - 0x1c], 0
movzx edx, word [ebp - 0x24]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], edx
jne 0x100c6d55
push 0x1019c1b8
lea ecx, [ebp - 0x20]
call fcn.10005d90
cmp eax, 0xffffffff
je 0x100c6c04
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x80
jne 0x100c6c04
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10006030
jmp 0x100c6a84
push 0x1019c1c0
lea ecx, [ebp - 0x20]
call fcn.10005d90
cmp eax, 0xffffffff
je 0x100c6c49
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x80
jne 0x100c6c49
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10006030
jmp 0x100c6a84
push 0x1019c1cc
lea ecx, [ebp - 0x20]
call fcn.10005d90
cmp eax, 0xffffffff
je 0x100c6c8d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x80
jne 0x100c6c8d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10006030
jmp 0x100c6a84
mov ecx, dword [ebp + 8]
add ecx, 0x30
je 0x100c6ca6
mov edx, dword [ebp + 8]
add edx, 0xf4
mov dword [ebp - 0x94], edx
jmp 0x100c6cb0
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x11e0]
mov ecx, dword [edx + 0xbc]
add ecx, 0x10
call fcn.100045d0
mov eax, dword [eax]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x11e0]
mov ecx, dword [eax + 0xbc]
add ecx, 0x10
call fcn.100045d0
mov ecx, dword [eax]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x98]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x98]
mov edx, dword [eax + 0x1c]
call edx
push eax
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x28]
call eax
mov byte [0x101e59f3], 1
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10006030
mov eax, dword [ebp - 0x80]
jmp 0x100c70b5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10006030
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0xf4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xf4]
mov edx, dword [eax + 0xa8]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10006030
jmp 0x100c6a84
mov dword [ebp - 0x10], 0
jmp 0x100c6da5
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x11e0]
add ecx, 0x38
call fcn.1000c730
cmp dword [ebp - 0x10], eax
jae 0x100c7060
lea ecx, [ebp - 0x28]
call fcn.10005760
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x11e0]
add ecx, 0x38
call fcn.1000c770
mov ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
push 0x1019c1d8
push 0x1019c1dc
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa0]
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x2c], eax
push 0x1019c1e8
push 0x1019c1f8
call fcn.1013b348
add esp, 8
test eax, eax
jne 0x100c702e
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x11e0]
add ecx, 0x38
call fcn.1000c770
mov edx, dword [eax]
cmp dword [edx + 0x68], 0
je 0x100c702e
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x11e0]
add ecx, 0x38
call fcn.1000c770
mov edx, dword [eax]
mov ecx, dword [edx + 0x68]
add ecx, 0x94
call fcn.100059e0
test eax, eax
jne 0x100c702e
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x11e0]
add ecx, 0x38
call fcn.1000c770
mov edx, dword [eax]
mov eax, dword [edx + 0x68]
add eax, 0x94
push eax
lea ecx, [ebp - 0x34]
call fcn.10005780
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.100d4420
lea ecx, [ebp - 0x34]
call fcn.100059c0
sub eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.10091e00
mov word [ebp - 0x38], ax
mov dword [ebp - 0x30], 0
movzx ecx, word [ebp - 0x38]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 8], ecx
jne 0x100c7022
push 0x1019c204
lea ecx, [ebp - 0x34]
call fcn.10005d90
cmp eax, 0xffffffff
je 0x100c6f1a
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x80
jne 0x100c6f1a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10006030
jmp 0x100c6d9c
push str.CTRL
lea ecx, [ebp - 0x34]
call fcn.10005d90
cmp eax, 0xffffffff
je 0x100c6f5f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x80
jne 0x100c6f5f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10006030
jmp 0x100c6d9c
push str.SHIFT
lea ecx, [ebp - 0x34]
call fcn.10005d90
cmp eax, 0xffffffff
je 0x100c6fa4
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x80
jne 0x100c6fa4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10006030
jmp 0x100c6d9c
mov eax, dword [ebp - 0x10]
add eax, 0x400
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x30
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1000d000
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x7c]
push edx
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x30
call fcn.100d63d0
mov byte [0x101e59f3], 1
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10006030
mov eax, dword [ebp - 0x84]
jmp 0x100c70b5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.10006030
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xf4]
mov edx, dword [eax + 0xa8]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10006030
jmp 0x100c6d9c
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.100d2820
test eax, eax
je 0x100c70a9
mov byte [0x101e59f3], 1
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.100d2830
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
jmp 0x100c70b5
mov byte [0x101e59f3], 1
mov eax, 0x80004001
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.1013a297
mov esp, ebp
pop ebp
ret 0x10