Function at 0x100b3887
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x101c6dd4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x3c], 0
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [ebx + 0xbf0]
test eax, eax
jns 0x100b38b1
xor edi, edi
jmp 0x100b38c3
push eax
lea ecx, [ebx + 0xc3c]
call fcn.100285f2
mov edi, eax
test edi, edi
jne 0x100b38c7
xor edx, edx
jmp 0x100b38ca
mov edx, dword [edi + 8]
and dword [ebp - 0x28], 0
mov eax, dword [ebx + 0xbf0]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], eax
cmp esi, 9
jne 0x100b38fd
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, edi
test al, al
jns 0x100b38f5
push 0x26
pop esi
jmp 0x100b3c63
push 0x28
pop esi
jmp 0x100b3b7c
mov eax, esi
mov ecx, edi
sub eax, 0xd
je 0x100b3dcd
sub eax, 0x14
je 0x100b3d3c
sub eax, 1
je 0x100b3d3c
sub eax, 1
je 0x100b3c61
sub eax, 1
je 0x100b3b7a
dec eax
sub eax, 1
je 0x100b3c63
dec eax
sub eax, 1
je 0x100b3b7c
cmp dword [0x10225b54], 0
jne 0x100b3e4a
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x100b3e4a
push esi
call fcn.1008a0f4
test eax, eax
je 0x100b3b3e
push esi
call fcn.1008a332
mov esi, eax
lea ecx, [ebx + 0xd20]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x2c], esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10058a5f
test eax, eax
je 0x100b3b3e
mov eax, dword [ebx + 0xc40]
xor esi, esi
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x100b39da
lea eax, [ebx + 0xc3c]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.100135dd
cmp dword [eax], 0
je 0x100b3e5e
cmp dword [eax], edi
je 0x100b3af7
inc esi
lea eax, [ebx + 0xc3c]
cmp dword [ebp - 0x2c], 0
jne 0x100b39b1
push edi
push 0x101c67dc
call fcn.1001027f
mov dword [ebp - 0x2c], eax
pop ecx
pop ecx
test eax, eax
je 0x100b3a2c
mov eax, dword [eax]
push 0
mov esi, dword [eax + 0xcc]
mov ecx, esi
call dword [0x10179940]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
je 0x100b3aff
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x100b3a2c
push 0
push 0x24
push 0x100
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x28]
cmp edi, dword [ebp - 0x38]
je 0x100b3e4a
mov edi, dword [ebp - 0x30]
test eax, eax
je 0x100b3a5d
cmp dword [ebx + 0xd88], 0
jne 0x100b3a5d
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x25c]
mov ecx, esi
call dword [0x10179940]
mov ecx, ebx
call esi
cmp dword [0x10225b54], 0
je 0x100b3a6c
mov dword [ebx + 0xbf4], edi
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
push eax
push dword [ebx + 0x20]
mov dword [ebx + 0xbf0], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x34]
lea edi, [ebp - 0x24]
add esi, 0x54
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10]
jl 0x100b3ada
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
jg 0x100b3ada
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x100b3ac2
push 1
add eax, 0x54
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x20]
cmp ecx, 0xffffffff
je 0x100b3e4a
mov eax, dword [ebx]
push ecx
mov esi, dword [eax + 0x418]
jmp 0x100b3e3e
mov dword [ebp - 0x30], esi
jmp 0x100b39da
test dword [edi + 0x24], 0x40000
je 0x100b3b17
push edi
push 0
mov ecx, ebx
call fcn.100b2cd2
jmp 0x100b3dc5
mov eax, dword [ebx]
push dword [ebp - 0x2c]
mov esi, dword [eax + 0x3e8]
mov ecx, esi
call dword [0x10179940]
mov ecx, ebx
call esi
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x100b3dc5
jmp 0x100b3a2c
cmp dword [0x101c68e4], 0
je 0x100b3e4a
xor edi, edi
cmp dword [ebx + 0xd68], edi
jne 0x100b3e4a
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], edi
push eax
push esi
lea ecx, [ebx + 0xdb4]
call fcn.1003bbc4
test eax, eax
je 0x100b3e4a
push edi
push dword [ebp - 0x38]
jmp 0x100b3b0b
xor edi, edi
cmp dword [ebx + 0xd80], 0
je 0x100b3b96
cmp ecx, dword [ebx + 0xc44]
jne 0x100b3b96
cmp esi, 0x24
jne 0x100b3dc5
xor eax, eax
inc eax
cmp dword [ebx + 0xc48], 0
mov dword [ebp - 0x3c], eax
je 0x100b3e4a
mov dword [ebp - 0x28], edi
lea ecx, [ebx + 0xc3c]
test edi, edi
je 0x100b3bd5
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
push eax
call fcn.100135dd
mov eax, dword [ebp - 0x28]
lea ecx, [ebx + 0xc3c]
test eax, eax
je 0x100b3bd5
mov esi, dword [ebp - 0x30]
inc esi
jmp 0x100b3be3
mov eax, dword [ebx + 0xc40]
xor esi, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
cmp eax, edi
je 0x100b3e4a
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x28]
push eax
call fcn.100135dd
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
test byte [eax + 0x24], 1
jne 0x100b3c1c
add eax, 0x54
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x100b3c1c
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x20], 0xfffffffe
jne 0x100b3c48
mov eax, dword [ebp - 0x28]
inc esi
mov dword [ebp - 0x30], esi
test eax, eax
jne 0x100b3c41
cmp dword [ebx + 0xd80], eax
jne 0x100b3dc5
mov eax, dword [ebx + 0xc40]
xor esi, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x2c]
cmp eax, edi
jne 0x100b3bee
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x100b3e4a
mov edi, dword [eax + 8]
xor eax, eax
mov dword [ebp - 0x34], edi
inc eax
jmp 0x100b3a2f
xor edi, edi
cmp dword [ebx + 0xd80], 0
je 0x100b3c7d
cmp ecx, dword [ebx + 0xc40]
jne 0x100b3c7d
cmp esi, 0x23
jne 0x100b3dc5
xor eax, eax
inc eax
cmp dword [ebx + 0xc48], 0
mov dword [ebp - 0x3c], eax
je 0x100b3e4a
mov dword [ebp - 0x28], edi
lea esi, [ebx + 0xc3c]
test edi, edi
je 0x100b3cb7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
push eax
mov ecx, esi
call fcn.10028615
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100b3cb7
mov esi, dword [ebp - 0x30]
jmp 0x100b3cc9
mov eax, dword [ebx + 0xc44]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebx + 0xc48]
mov dword [ebp - 0x28], eax
dec esi
mov dword [ebp - 0x30], esi
cmp eax, edi
je 0x100b3e4a
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x28]
push eax
call fcn.10028615
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
test byte [eax + 0x24], 1
jne 0x100b3d06
add eax, 0x54
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x100b3d06
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x20], 0xfffffffe
jne 0x100b3d34
mov eax, dword [ebp - 0x28]
dec esi
mov dword [ebp - 0x30], esi
test eax, eax
jne 0x100b3d30
cmp dword [ebx + 0xd80], eax
jne 0x100b3dc5
mov esi, dword [ebx + 0xc48]
mov eax, dword [ebx + 0xc44]
dec esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], esi
cmp eax, edi
jne 0x100b3cd5
mov eax, dword [ebp - 0x34]
jmp 0x100b3c4b
cmp dword [ebx + 0xd80], 0
je 0x100b3e4a
cmp dword [ebx + 0xd84], 0
jle 0x100b3e4a
mov eax, dword [ebx + 0xbf0]
xor ecx, ecx
xor edi, edi
mov dword [ebx + 0xd88], 1
cmp esi, 0x21
mov dword [ebp - 0x38], eax
setne cl
lea ecx, [ecx*2 + 0x26]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebx]
push ecx
mov esi, dword [eax + 0x400]
mov ecx, esi
call dword [0x10179940]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x40]
inc edi
cmp edi, dword [ebx + 0xd84]
jl 0x100b3d7d
and dword [ebx + 0xd88], 0
mov edx, dword [ebx + 0xbf0]
cmp dword [ebp - 0x38], edx
je 0x100b3dc5
mov ecx, dword [ebx]
push edx
mov esi, dword [ecx + 0x25c]
mov ecx, esi
call dword [0x10179940]
mov ecx, ebx
call esi
xor eax, eax
inc eax
jmp 0x100b3e4d
push edx
push 0x101c67dc
mov dword [ebp - 0x3c], 1
call fcn.1001027f
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100b3e4a
mov ecx, dword [edi]
mov esi, dword [ecx + 0xf0]
mov ecx, esi
call dword [0x10179940]
mov ecx, edi
call esi
test eax, eax
jne 0x100b3e19
mov eax, dword [edi]
push 0
mov esi, dword [eax + 0xcc]
mov ecx, esi
call dword [0x10179940]
mov ecx, edi
call esi
test eax, eax
jne 0x100b3e4a
mov ecx, ebx
call fcn.10019d28
push 0
push 0xe001
push 0x362
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x3e8]
mov ecx, esi
call dword [0x10179940]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10143002
leave
ret 4
call fcn.1000fb55
int3