Function at 0x100b4dd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x1013c014]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x48], 0
jne 0x100b4dfd
mov dword [eax], 0
jmp 0x100b515f
mov ecx, dword [ebp + 0x10]
xorps xmm0, xmm0
movsx eax, cx
mov dword [esp + 0x14], eax
shr ecx, 0x10
movsx eax, cx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x54]
push eax
mov dword [esi + 0x60], 0
mov dword [esi + 0x68], 0
push dword [esi + 4]
movq qword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x111c
push dword [esi + 4]
call edi
mov edx, dword [esp + 0x18]
or ecx, 0xffffffff
xor ebx, ebx
cmp edx, eax
cmovl ebx, ecx
mov ecx, dword [esp + 0x60]
sub ecx, eax
mov eax, 1
cmp edx, ecx
cmovg ebx, eax
cmp dword [esi + 0x6c], ebx
je 0x100b4e93
mov dword [esi + 0x6c], ebx
mov eax, dword [esi + 4]
test ebx, ebx
je 0x100b4e86
push 0
push 0x64
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x100b4e8f
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esp + 0x18]
push edx
push dword [esp + 0x18]
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
sete bl
mov byte [esp + 0x13], bl
test eax, eax
je 0x100b503d
push 0
push 0xa
push 0x110a
push dword [esi + 4]
call edi
mov ebx, eax
test ebx, ebx
je 0x100b4f0a
lea eax, [esp + 0x54]
mov dword [esp + 0x54], ebx
push eax
push 0
push 0x1104
push dword [esi + 4]
call edi
lea eax, [esp + 0x14]
push eax
push 0
push 0x1111
push dword [esi + 4]
call edi
test eax, eax
je 0x100b4efb
mov eax, dword [esp + 0x20]
mov dword [esi + 0x60], eax
jmp 0x100b4f17
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x60]
jl 0x100b4f17
mov dword [esi + 0x60], ebx
jmp 0x100b4f17
cmp dword [esi + 0x74], 0
je 0x100b4f17
mov dword [esi + 0x68], 4
mov eax, dword [esi + 0x60]
test eax, eax
je 0x100b4f54
cmp dword [esi + 0x74], 0
jne 0x100b4f54
push eax
push 3
push 0x110a
push dword [esi + 4]
call edi
test eax, eax
je 0x100b4f54
cmp eax, dword [esi + 0x5c]
je 0x100b4f4d
push eax
push 3
push 0x110a
push dword [esi + 4]
call edi
test eax, eax
jne 0x100b4f35
jmp 0x100b4f54
mov dword [esi + 0x60], 0
mov eax, dword [esi + 0x60]
test eax, eax
je 0x100b5039
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
push eax
push 0
push 0x1104
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x60]
xorps xmm0, xmm0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0x113e
push dword [esi + 4]
mov dword [esp + 0x3c], 4
movups xmmword [esp + 0x44], xmm0
movups xmmword [esp + 0x54], xmm0
call edi
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x50]
sub eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
sub eax, ecx
mov dword [esp + 0x24], eax
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x60]
sar eax, 2
sub edx, eax
sub edx, ecx
test ebx, ebx
je 0x100b4fdf
mov ecx, dword [ebx + 0x20]
cmp dword [ecx + 0xc], 0
jne 0x100b4ff0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
sar eax, 1
sub edx, eax
sub edx, ecx
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jge 0x100b5001
mov dword [esi + 0x68], 2
jmp 0x100b5039
cmp ecx, edx
jl 0x100b500e
mov dword [esi + 0x68], 3
jmp 0x100b5039
test ebx, ebx
je 0x100b5032
mov eax, dword [ebx + 0x20]
cmp dword [eax + 0xc], 0
je 0x100b5032
mov eax, dword [esi + 0x60]
cmp eax, dword [esi + 0x5c]
jne 0x100b5029
cmp dword [esi + 0x74], 0
je 0x100b5032
mov dword [esi + 0x68], 1
jmp 0x100b5039
mov dword [esi + 0x60], 0
mov bl, byte [esp + 0x13]
cmp dword [esi + 0x60], 0
jne 0x100b50ae
push 0
push 8
push 0x110b
push dword [esi + 4]
call edi
push 0
push 0
push 0x111a
push dword [esi + 4]
call edi
cmp dword [esi + 0x68], 4
jne 0x100b507a
push dword [esi + 0x54]
mov dword [esi + 0x48], 4
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x100b5121
xor ecx, ecx
movzx eax, bl
cmp dword [esi + 0x74], ecx
cmove ecx, eax
movzx eax, cl
xor eax, 1
inc eax
mov dword [esi + 0x48], eax
test cl, cl
je 0x100b50a2
mov eax, dword [esi + 0x58]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x100b5121
mov eax, dword [esi + 0x4c]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x100b5121
cmp dword [esi + 0x74], 0
jne 0x100b50c6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, 3
jns 0x100b50cb
mov eax, 4
mov dword [esi + 0x48], eax
cmp eax, 4
jne 0x100b50d8
mov eax, dword [esi + 0x54]
jmp 0x100b50db
mov eax, dword [esi + 0x50]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [esi + 0x68], 1
mov eax, dword [esi + 4]
jne 0x100b50fe
push dword [esi + 0x60]
push 8
push 0x110b
push eax
call edi
push 0
push 0
jmp 0x100b5117
push 0
push 8
push 0x110b
push eax
call edi
push dword [esi + 0x60]
xor eax, eax
cmp dword [esi + 0x68], 3
sete al
push eax
push 0x111a
push dword [esi + 4]
call edi
cmp dword [esi + 0x68], 1
mov eax, dword [esi + 0x70]
jne 0x100b5149
cmp eax, dword [esi + 0x60]
je 0x100b515f
push 0
push 0x190
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi + 0x60]
mov dword [esi + 0x70], eax
jmp 0x100b515f
test eax, eax
je 0x100b515f
push 2
mov dword [esi + 0x70], 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esp + 0x64]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d4906
mov esp, ebp
pop ebp
ret 0x10