Function at 0x100b768e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
test eax, eax
je 0x100b76a9
mov dword [eax], 1
call fcn.1006f963
mov ebx, eax
test ebx, ebx
je 0x100b7791
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.10033708
mov edi, eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x208]
mov ecx, esi
call dword [0x101d4b00]
mov ecx, ebx
call esi
test eax, eax
je 0x100b7716
test edi, edi
je 0x100b7700
cmp dword [edi + 0x20], 0
je 0x100b7700
push dword [edi + 0x20]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x100b770f
mov eax, dword [edi + 0x20]
cmp eax, dword [ebx + 0x20]
je 0x100b770f
xor edi, edi
push edi
push edi
push 0x10
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x100b791b
test edi, edi
je 0x100b7730
cmp dword [edi + 0x20], 0
je 0x100b7730
push dword [edi + 0x20]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x100b770f
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c8]
mov ecx, esi
call dword [0x101d4b00]
mov ecx, ebx
call esi
xor edi, edi
push edi
push dword [ebp + 8]
mov esi, dword [eax + 0xd80]
push 0x100
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je 0x100b7918
call fcn.1006f963
push eax
push 0x101f5230
call fcn.1003f243
pop ecx
pop ecx
test eax, eax
je 0x100b7787
mov ecx, eax
call fcn.100b5cd3
test eax, eax
jne 0x100b778a
xor edi, edi
inc edi
mov eax, edi
jmp 0x100b791b
mov eax, dword [edi + 0xb0]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x100b7918
cmp dword [0x10243c94], eax
jne 0x100b770f
mov ecx, dword [0x10243cd4]
xor esi, esi
mov edi, esi
mov dword [ebp - 8], edi
test ecx, ecx
je 0x100b7836
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [ebp - 4], ecx
test ebx, ebx
je 0x100b7953
push dword [ebx + 0x20]
call fcn.10033732
mov ecx, dword [ebp - 4]
test eax, eax
je 0x100b77bc
mov ecx, ebx
mov dword [ebp - 8], esi
call fcn.100583ab
mov ecx, dword [ebp - 4]
test eax, eax
jle 0x100b77bc
push edi
mov ecx, ebx
call fcn.100582a7
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax + 0xa4]
mov ecx, esi
call dword [0x101d4b00]
mov ecx, edi
call esi
test eax, eax
jne 0x100b782e
mov edi, dword [ebp - 8]
mov ecx, ebx
inc edi
mov dword [ebp - 8], edi
call fcn.100583ab
cmp edi, eax
jl 0x100b77f5
mov ecx, dword [ebp - 4]
jmp 0x100b77ba
xor edi, edi
inc edi
xor esi, esi
mov dword [ebp - 8], edi
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
push 0x12
setns bl
dec bl
and bl, 8
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov cl, bl
or cl, 0x10
test ax, ax
movzx edx, cl
movzx ecx, bl
cmovns edx, ecx
push 0x10
mov dword [ebp - 4], edx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, dword [ebp - 4]
mov cl, dl
or cl, 4
test ax, ax
movzx ebx, cl
movzx ecx, dl
cmovns ebx, ecx
mov dword [ebp - 0x10], ebx
test edi, edi
jne 0x100b78de
mov edi, dword [ebp - 0xc]
or ebx, 1
mov eax, dword [ebp + 8]
push 1
movzx eax, ax
push dword [edi + 0xb0]
mov dword [ebp - 4], eax
push ebx
push eax
call fcn.10114869
test eax, eax
jne 0x100b770f
mov edi, dword [edi + 0xb0]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 0x170]
mov ecx, esi
call dword [0x101d4b00]
mov ecx, edi
call esi
push eax
push ebx
push dword [ebp - 4]
call fcn.10114869
test eax, eax
jne 0x100b770f
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x100b7922
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100b7922
cmp bl, 8
jne 0x100b7922
xor edi, edi
cmp dword [ebp + 8], 0x70
jne 0x100b7937
mov ecx, dword [esi + 0xfc]
cmp dword [ecx + 0x7a8], edi
je 0x100b7937
call fcn.10139576
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
cmp bl, 0x10
jne 0x100b7935
push dword [ebp + 8]
mov ecx, esi
call fcn.100b6b11
test eax, eax
jne 0x100b7918
xor edi, edi
cmp dword [ebp - 8], 0
je 0x100b770f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100b770f
mov dword [eax], edi
jmp 0x100b770f
call fcn.1003decd
int3