Function at 0x100f0680
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1021f955
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
inc ebx
push edi
mov edi, dword [ebp + 0xc]
push ebx
mov ecx, dword [ecx + 8]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1dc]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test al, al
jne 0x100f06dc
push dword [edi + 0x74]
push dword [edi + 0x70]
push ecx
push 0x20
call fcn.100022cf
add esp, 0x10
test al, al
je 0x100f0bab
push dword [ebp + 8]
lea ecx, [esp + 0x2c]
push edi
push esi
call fcn.100eec0c
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [esp + 0x44], ecx
cmp dword [eax + 4], 2
jne 0x100f0877
cmp dword [eax + 0xc], 0x7f
je 0x100f0b99
push edi
call fcn.100bd6d8
test al, al
je 0x100f0b99
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x10], 4
je 0x100f0b99
cmp dword [eax + 0xc], 0x20
jl 0x100f0870
xor ecx, ecx
cmp dword [esi + 0x20], ecx
jge 0x100f0736
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
test edx, edx
je 0x100f0740
mov ecx, dword [edx - 4]
mov edx, dword [esi + 0x20]
cmp edx, ecx
jge 0x100f0b99
movzx eax, word [eax + 0xc]
imul ecx, edx, 0x30
push eax
add ecx, dword [esi + 0x10]
mov dword [esp + 0x20], ecx
call fcn.100f189c
test al, al
je 0x100f0868
xor edi, edi
mov dword [esp + 0x10], edi
mov ecx, dword [ebp + 0x10]
mov byte [esp + 0x44], bl
movzx eax, word [ecx + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.10010758
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push 3
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0xdc]
xor eax, eax
mov cl, al
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100f07b6
mov edx, dword [ecx - 4]
jmp 0x100f07b8
mov edx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
test edx, edx
je 0x100f0851
xor edi, edi
test edx, edx
mov eax, 0x102b8f50
cmovne eax, ecx
mov ecx, dword [esp + 0x1c]
movzx eax, word [eax]
push eax
call fcn.100f1929
mov ecx, dword [esp + 0x14]
test al, al
movzx ecx, cl
cmovne ecx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
call fcn.100eebdf
test al, al
je 0x100f081a
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100f080a
mov eax, dword [eax - 4]
jmp 0x100f080c
mov eax, edi
mov ecx, dword [esi + 0x20]
dec eax
cmp ecx, eax
jge 0x100f081a
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
push edi
push ebx
lea ecx, [esp + 0x28]
call fcn.100f23d1
mov edx, dword [esp + 0x24]
test edx, edx
je 0x100f0833
mov ecx, dword [esp + 0x20]
jmp 0x100f07ca
mov ecx, dword [esp + 0x14]
test cl, cl
je 0x100f084d
mov eax, dword [esi]
mov ecx, esi
push 3
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [eax + 0xd8]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100f099c
lea eax, [ecx - 8]
push eax
call fcn.101dad34
pop ecx
jmp 0x100f099c
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
xor bl, bl
jmp 0x100f099c
cmp dword [eax + 4], ecx
jne 0x100f0b95
mov dl, byte [eax + 0x10]
mov eax, dword [eax + 0x10]
and dl, bl
mov ebx, eax
mov dword [esp + 0x1c], eax
shr ebx, 1
mov dword [esp + 0x14], ebx
xor ebx, ebx
mov eax, dword [esp + 0x14]
inc ebx
and al, bl
mov byte [esp + 0x20], dl
mov dword [esp + 0x14], eax
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x1c]
shr eax, 2
and al, bl
jne 0x100f0965
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
cmp eax, 0x2e
jg 0x100f0a88
je 0x100f0a67
sub eax, 8
je 0x100f0a43
sub eax, 8
je 0x100f09a5
sub eax, 0x15
je 0x100f095e
dec eax
dec eax
je 0x100f0922
sub eax, 6
jne 0x100f0b0c
cmp byte [esp + 0x14], cl
je 0x100f0a9e
push edi
call fcn.100bd6d8
test al, al
je 0x100f0917
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp + 8]
call dword [eax + 0xb8]
test al, al
jne 0x100f0919
xor bl, bl
mov byte [esp + 0x18], bl
jmp 0x100f0b99
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100f092e
mov eax, dword [eax - 4]
jmp 0x100f0930
mov eax, ecx
mov edx, dword [esi + 0x20]
dec eax
cmp edx, eax
je 0x100f099e
cmp edx, 0xffffffff
jne 0x100f0955
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100f0949
mov eax, dword [eax - 4]
jmp 0x100f094b
mov eax, ecx
test eax, eax
je 0x100f0955
push ecx
jmp 0x100f0b28
lea eax, [edx + 1]
push eax
jmp 0x100f0b28
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x100f0969
mov bl, cl
jmp 0x100f099c
cmp eax, 0xffffffff
jne 0x100f098f
mov edx, dword [esi + 0x10]
test edx, edx
je 0x100f097a
mov edx, dword [edx - 4]
jmp 0x100f097c
mov edx, ecx
test edx, edx
je 0x100f098f
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100f098a
mov ecx, dword [eax - 4]
lea eax, [ecx - 1]
jmp 0x100f0990
dec eax
push eax
push edi
push dword [ebp + 8]
mov ecx, esi
call fcn.100ef6e7
mov cl, bl
mov bl, cl
jmp 0x100f0b33
test dl, dl
je 0x100f0b0c
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x100f09bb
mov eax, dword [0x102b7738]
jmp 0x100f09cf
cmp eax, dword [0x102b7738]
jne 0x100f09cf
push ecx
push ecx
push dword [ebp + 8]
mov ecx, edi
call fcn.10079533
cmp dword [eax + 0x44], 0xff
je 0x100f0b0c
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov edx, 0x1025d560
mov eax, 0x1025d540
sets cl
test cl, cl
push ecx
cmove eax, edx
lea ecx, [esp + 0x20]
push eax
call fcn.10131390
lea eax, [esp + 0x1c]
push eax
push ecx
mov eax, esp
lea ecx, [edi + 0x14]
mov dword [eax], 0x3e
call fcn.1002b367
lea ecx, [esp + 0x1c]
call fcn.100026e7
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x40c]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp + 8]
call dword [eax + 0x430]
jmp 0x100f0919
push edi
call fcn.100bd6d8
test al, al
je 0x100f0a60
push edi
push dword [ebp + 8]
mov ecx, esi
call fcn.100f0608
test al, al
jne 0x100f0b33
xor bl, bl
jmp 0x100f0b33
push edi
call fcn.100bd6d8
test al, al
je 0x100f0a81
push edi
push dword [ebp + 8]
mov ecx, esi
call fcn.100f033c
jmp 0x100f0b33
xor eax, eax
jmp 0x100f0b3e
sub eax, 0x41
je 0x100f0b22
dec eax
dec eax
je 0x100f0ae6
sub eax, 0x13
je 0x100f0ac8
dec eax
dec eax
jne 0x100f0b0c
test dl, dl
je 0x100f0b0c
push edi
call fcn.100bd6d8
test al, al
je 0x100f0b0c
push ecx
mov ecx, esi
call fcn.100f14c5
test al, al
jne 0x100f0b0c
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp + 8]
call dword [eax + 0xb4]
jmp 0x100f0b04
test dl, dl
je 0x100f0b0c
push edi
call fcn.100bd6d8
test al, al
je 0x100f0b0c
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp + 8]
call dword [eax + 0xb8]
jmp 0x100f0b04
test dl, dl
je 0x100f0b0c
push ecx
mov ecx, esi
call fcn.100f14c5
test al, al
jne 0x100f0b0c
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp + 8]
call dword [eax + 0xb0]
test al, al
jne 0x100f0919
xor eax, eax
cmp dword [esi + 0x20], eax
jge 0x100f0b16
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x100f0b37
mov ecx, dword [ecx - 4]
jmp 0x100f0b39
test dl, dl
je 0x100f0b0c
push 0xffffffffffffffff
push edi
push dword [ebp + 8]
mov ecx, esi
call fcn.100ef6e7
mov al, bl
jmp 0x100f0b3e
mov ecx, eax
cmp dword [esi + 0x20], ecx
jl 0x100f0b45
mov bl, al
jmp 0x100f0919
push edi
call fcn.100bd6d8
test al, al
je 0x100f0917
push dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
push dword [esp + 0x24]
mov eax, dword [esi]
push dword [ecx + 0xc]
mov ecx, esi
push edi
push dword [ebp + 8]
call dword [eax + 0xc4]
test al, al
je 0x100f0917
mov ecx, dword [ebp + 8]
push edi
call fcn.10013630
mov eax, dword [esi]
mov ecx, esi
push 3
push edi
push dword [ebp + 8]
call dword [eax + 0xd8]
jmp 0x100f0919
mov dword [esp + 0x18], ecx
or dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.100eec44
mov al, byte [esp + 0x18]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc