Function at 0x1094754
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [esi + 0x20]
mov ebx, ecx
xor eax, eax
and ebx, 0xf
mov dword [ebp - 4], eax
cmp ebx, 0xb
ja case.default.0x109477a
jmp dword [ebx*4 + 0x10949eb]
xor eax, eax
jmp 0x10949e4
mov ecx, dword [edi + 0x4c]
cmp ecx, eax
je case.default.0x109477a
mov eax, dword [ecx]
lea edx, [ebp - 0xc]
push edx
push 0x10697c8
push ecx
call dword [eax]
test eax, eax
jl case.default.0x109477a
mov eax, dword [ebp - 0xc]
or dword [ebp - 8], 0xffffffff
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push dword [esi + 0x18]
push dword [esi + 0x14]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x10947df
mov eax, dword [ebp - 8]
xor ecx, ecx
test eax, eax
setge cl
test byte [esi + 0x20], 0x10
mov dword [ebp - 4], ecx
je 0x1094833
mov dword [edi + 0xa8], eax
jmp 0x1094833
test byte [esi + 0x20], 0x10
je 0x10947f8
mov eax, dword [esi + 0xc]
cmp dword [eax + 4], 0x201
jne 0x10947f8
mov dword [ebp - 4], 1
mov edi, dword [edi + 0x4c]
lea ecx, [ebp + 8]
push ecx
xor ebx, ebx
push 0x10697b8
mov dword [ebp + 8], ebx
mov eax, dword [edi]
push edi
call dword [eax]
test eax, eax
jl 0x109481f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push 4
push ebx
push eax
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
or dword [esi + 0x20], 0x2000
cmp eax, ebx
je 0x1094833
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp case.default.0x109477a
mov edi, dword [edi + 0x4c]
cmp edi, eax
je case.default.0x109477a
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0xc], 1
cmp ecx, 0x26
je 0x1094869
cmp ecx, 0x28
jne 0x10948b9
lea ecx, [ebp + 8]
push ecx
push 0x1034a40
mov dword [ebp + 8], eax
mov eax, dword [edi]
push edi
call dword [eax]
test eax, eax
jl 0x10948a4
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 0xc]
xor ecx, ecx
cmp ebx, 5
sete cl
mov dword [eax + 0xc], ecx
mov eax, dword [ebp + 8]
push dword [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 0xc], edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x10948b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x10948bf
xor eax, eax
or dword [esi + 0x10], 0xffffffff
jmp 0x10948cc
and dword [esi + 0x20], 0xfffff6ff
and dword [esi + 0x10], 0
xor eax, eax
xor ecx, ecx
cmp dword [esi + 0x10], eax
setge cl
mov dword [ebp - 4], ecx
jmp case.default.0x109477a
cmp dword [edi + 0x90], eax
jne 0x109491e
cmp dword [edi + 0x80], eax
jne 0x109491e
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
inc ebx
push 0x10
mov dword [edi + 0x94], ebx
call esi
test ax, ax
jge 0x1094911
push 0x11
call esi
test ax, ax
jge 0x1094911
mov eax, ebx
jmp 0x1094913
xor eax, eax
mov dword [edi + 0x98], eax
jmp case.default.0x109477a
mov edx, dword [edi + 0x4c]
cmp edx, eax
je case.default.0x109477a
or dword [ebp + 8], 0xffffffff
test ecx, 0x400
je 0x1094941
mov ecx, edi
call fcn.01092c29
mov dword [ebp + 8], eax
jmp 0x109496f
mov eax, dword [edx]
lea ecx, [ebp - 0xc]
push ecx
push 0x10697c8
push edx
call dword [eax]
test eax, eax
jl 0x109496f
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push dword [esi + 0x18]
push dword [esi + 0x14]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 8], 0
jl case.default.0x109477a
push dword [ebp + 8]
mov ecx, edi
call fcn.01094201
test eax, eax
jge 0x10949da
jmp case.default.0x109477a
mov dword [ebp - 4], eax
jmp case.default.0x109477a
push eax
push eax
push eax
push 0x136
push 0x103be90
push 0x10128f0
push dword [edi + 0x18]
call dword [sym.imp.SHLWAPI.dll_Ordinal_484]
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10949bb
mov dword [ecx], eax
or dword [esi + 0x20], 0x1000
and dword [ebp - 4], 0
jmp case.default.0x109477a
mov esi, dword [esi + 0xc]
cmp esi, eax
je 0x10949da
cmp dword [esi + 4], 0x100
jne 0x10949da
cmp dword [esi + 8], 0x20
mov dword [ebp - 4], eax
je case.default.0x109477a
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4