Function at 0x10146b50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov eax, dword [esi]
mov eax, dword [eax + 0x128]
call eax
mov ebx, dword [ebp + 8]
test al, al
jne 0x10146b9f
mov eax, dword [ebx]
sub eax, 9
cmp eax, 9
ja 0x10146b9f
mov ecx, dword [esi + 0x48]
push ebx
test ecx, ecx
je 0x10146b90
mov eax, dword [ecx]
call dword [eax + 0x15c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.1013f860
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
cmp eax, 0x15
jne 0x10146bb5
mov byte [esi + 0x1ad], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x14
jne 0x10146bc9
mov byte [esi + 0x1ad], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0xd
jne 0x10146bec
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
call dword [eax + 0x40]
mov ecx, esi
call fcn.10120450
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
cmp eax, 3
je 0x10146cae
cmp eax, 0x12
jne case.0x10146cc5.14
movzx eax, word [ebx + 0x18]
sub eax, 0
je 0x10146c4e
sub eax, 1
jne case.0x10146cc5.14
cmp byte [esi + 0x5bc], al
je 0x10146c3b
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
mov eax, dword [eax + 0x38]
call eax
test al, al
jne 0x10146c3b
mov eax, dword [esi + 0x5c0]
push 1
push 1
inc eax
jmp 0x10146c77
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1d4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x5bc], 0
je 0x10146c9b
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
mov eax, dword [eax + 0x38]
call eax
test al, al
jne 0x10146c9b
mov eax, dword [esi + 0x5c0]
push 1
push 0
dec eax
mov edx, dword [esi]
mov ecx, esi
mov edi, dword [esi + 0x5b8]
push eax
call dword [edx + 0x1b0]
push eax
lea ecx, [esi + 0x5b8]
call dword [edi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1d0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, word [ebx + 0x14]
add eax, 0xfffffff3
cmp eax, 0x36
ja case.0x10146cc5.14
movzx eax, byte [eax + 0x10147144]
jmp dword [eax*4 + 0x1014711c]
lea ebx, [esi + 0xa7c]
mov ecx, ebx
mov dword [ebp - 8], ebx
call fcn.1010b840
test eax, eax
jle 0x10147112
mov ecx, ebx
call fcn.1010b840
test eax, eax
jg 0x10146cf4
or edi, 0xffffffff
jmp 0x10146d2f
push 0
mov ecx, ebx
call fcn.1010b790
lea ecx, [esi + 0xa7c]
mov edi, eax
xor ebx, ebx
call fcn.1010b840
test eax, eax
jle 0x10146d2f
mov esi, dword [ebp - 8]
push ebx
mov ecx, esi
call fcn.1010b790
cmp edi, eax
mov ecx, esi
cmovg edi, eax
inc ebx
call fcn.1010b840
cmp ebx, eax
jl 0x10146d13
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
dec edi
call dword [eax + 0x40]
mov ecx, esi
call fcn.1011aa40
test al, al
je 0x10146df4
test edi, edi
jns 0x10146df4
mov ecx, dword [esi + 0x5d0]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1b4]
mov ecx, dword [esi + 0x5d0]
add ecx, 0x558
push 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi + 0x5d0]
mov ebx, eax
add ecx, 0x558
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [ebx]
mov ecx, ebx
lea edi, [eax - 1]
call dword [edx + 0x40]
mov edx, dword [ebp - 8]
mov ecx, dword [esi + 0x5d0]
imul eax, edi
sub edx, eax
mov eax, 0
cmovs edx, eax
mov dword [ebp - 8], edx
mov eax, dword [ecx]
push edx
push dword [ebp - 0xc]
call dword [eax + 0x1bc]
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
push 1
push 0
call dword [eax + 8]
mov ecx, dword [esi + 0x5d0]
add ecx, 0x558
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.1013f860
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
push 1
mov eax, dword [eax + 8]
test edi, edi
jle 0x10146e15
push edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ebx, [esi + 0xa7c]
mov ecx, ebx
mov dword [ebp - 8], ebx
call fcn.1010b840
test eax, eax
jle 0x10147112
mov ecx, ebx
call fcn.1010b840
test eax, eax
jg 0x10146e4a
or edi, 0xffffffff
jmp 0x10146e8c
push 0
mov ecx, ebx
call fcn.1010b790
lea ecx, [esi + 0xa7c]
mov edi, eax
xor ebx, ebx
call fcn.1010b840
test eax, eax
jle 0x10146e8c
mov esi, dword [ebp - 8]
nop dword [eax]
push ebx
mov ecx, esi
call fcn.1010b790
cmp edi, eax
mov ecx, esi
cmovl edi, eax
inc ebx
call fcn.1010b840
cmp ebx, eax
jl 0x10146e70
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x5b8]
inc edi
mov dword [ebp - 8], edi
call dword [eax + 0x40]
inc edi
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.1011aa40
test al, al
je 0x10146f95
mov ecx, dword [esi + 0x5d0]
add ecx, 0x558
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp edi, eax
jle 0x10146f95
mov ecx, dword [esi + 0x5d0]
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1b4]
mov ecx, dword [esi + 0x5d0]
add ecx, 0x558
push 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi + 0x5d0]
mov ebx, eax
add ecx, 0x558
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [ebx]
mov ecx, ebx
lea edi, [eax - 1]
call dword [edx + 0x40]
mov edx, dword [ebp - 0x10]
mov ecx, dword [esi + 0x5d0]
imul eax, edi
add edx, eax
mov dword [ebp - 0x10], edx
mov eax, dword [ecx]
push edx
push dword [ebp - 0x14]
call dword [eax + 0x1bc]
mov ecx, dword [esi + 0x5d0]
add ecx, 0x558
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [esi + 0x5b8]
push 1
cmp dword [ebp - 4], eax
jle 0x10146f75
mov eax, dword [esi + 0x558]
lea ecx, [esi + 0x558]
call dword [eax + 0xc]
dec eax
lea ecx, [esi + 0x5b8]
push eax
call dword [ebx + 8]
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.1013f860
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 8]
lea ecx, [esi + 0x5b8]
call dword [ebx + 8]
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.1013f860
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x5d0]
add ecx, 0x558
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [esi + 0x5b8]
push 1
cmp dword [ebp - 4], eax
jle 0x10146fd6
mov eax, dword [esi + 0x558]
lea ecx, [esi + 0x558]
call dword [eax + 0xc]
dec eax
lea ecx, [esi + 0x5b8]
push eax
call dword [edi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 8]
lea ecx, [esi + 0x5b8]
call dword [edi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1d8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1dc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov ecx, esi
mov ebx, dword [esi + 0x5b8]
push 1
push 0
push 0
call dword [eax + 0x1b0]
push eax
lea ecx, [esi + 0x5b8]
call dword [ebx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x5b8]
lea ecx, [esi + 0x558]
mov edi, dword [esi]
add eax, 8
mov dword [ebp + 8], eax
mov eax, dword [ecx]
push 1
push 1
call dword [eax + 0xc]
dec eax
mov ecx, esi
push eax
call dword [edi + 0x1b0]
push eax
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x5b8]
call dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x5c0]
cmp edx, 0xffffffff
je 0x10147112
mov eax, dword [esi + 0x558]
lea ecx, [esi + 0x558]
push edx
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x5b8]
lea edi, [esi + 0x5b8]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x10147112
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10147112
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
lea eax, [esi + 0xaac]
push eax
lea ecx, [esi + 0xa8c]
call fcn.10146720
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.control_c
push esi
call fcn.100ff830
push ebx
mov ecx, esi
call fcn.1013f860
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4