Function at 0x100b7959
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1023c000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 0x30], eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3c], esi
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x2c], edi
test eax, eax
je 0x100b79c9
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100b79c9
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
mov eax, dword [esi + 0xfc]
movups xmmword [ebp - 0x14], xmm0
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x30]
mov esi, dword [esi + 0xfc]
lea eax, [ebp - 0x14]
push edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
push eax
mov ecx, esi
call fcn.101372b2
cmp dword [ebp + 8], 0x201
jne 0x100b7a4c
cmp dword [0x10243c94], 0
jne 0x100b79e8
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100b7a4c
mov edi, dword [0x10243cd4]
jmp 0x100b7a48
mov esi, dword [edi + 8]
mov edi, dword [edi]
mov dword [ebp - 0x28], esi
test esi, esi
je 0x100b7f99
push dword [esi + 0x20]
call fcn.10033732
test eax, eax
je 0x100b7a48
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov esi, dword [eax + 0x390]
mov ecx, esi
call dword [0x101d4b00]
mov ecx, dword [ebp - 0x28]
call esi
test eax, eax
jns 0x100b7b20
test edi, edi
jne 0x100b79f0
xor esi, esi
mov dword [ebp - 0x28], esi
call fcn.1006f963
mov edi, eax
cmp dword [0x10243c94], esi
jne 0x100b7e43
test edi, edi
je 0x100b7e43
mov eax, dword [ebp - 0x2c]
mov ecx, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1006e357
cmp eax, 4
jne 0x100b7e30
call fcn.1006f7ca
mov esi, eax
mov dword [ebp - 0x40], esi
test esi, esi
je 0x100b7ba7
push dword [esi + 0x1170]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100b7ba7
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x1170]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x30]
lea eax, [ebp - 0x14]
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100b7ba7
push dword [esi + 0x1170]
call fcn.10033732
push eax
push 0x1023b5a0
call fcn.1003f243
pop ecx
pop ecx
xor ecx, ecx
mov esi, eax
mov eax, dword [ebp - 0x40]
push ecx
push ecx
push 0x10
push dword [eax + 0x20]
mov dword [eax + 0x1170], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x1024466c], esi
xor eax, eax
jmp 0x100b7f89
mov edi, dword [ebp - 0x28]
mov ecx, edi
push eax
call fcn.100582a7
mov dword [ebp - 0x28], eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x38]
mov ecx, esi
call dword [0x101d4b00]
mov ecx, dword [ebp - 0x28]
call esi
test eax, eax
je 0x100b7a4c
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0x101d4b00]
mov ecx, dword [ebp - 0x28]
call esi
cmp eax, dword [ebp + 0x14]
jne 0x100b7a4c
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x38]
add eax, 0x54
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100b7a4c
movzx ecx, word [ebp - 0x34]
movzx eax, word [ebp - 0x38]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x201
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
inc eax
jmp 0x100b7f89
cmp dword [0x1024466c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
je 0x100b7d55
xor esi, esi
push esi
call fcn.1003738b
push dword [edi + 0x20]
lea ecx, [eax + 0x1c]
call fcn.1010f3fb
test eax, eax
jne 0x100b7beb
push esi
call fcn.1003738b
push dword [edi + 0x20]
lea ecx, [eax + 0x38]
call fcn.1010f3fb
test eax, eax
je 0x100b7d55
mov eax, dword [edi]
mov esi, dword [eax + 0x1d4]
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call dword [0x101d4b00]
mov ecx, edi
call esi
mov dword [ebp - 0x34], eax
test eax, eax
je 0x100b7d55
push eax
push 0x1023b840
call fcn.1003f243
mov esi, eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
pop ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
pop ecx
push eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], esi
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100b7cb6
test esi, esi
je 0x100b7c6d
mov eax, dword [esi]
mov esi, dword [eax + 0x44c]
mov ecx, esi
call dword [0x101d4b00]
mov ecx, dword [ebp - 0x40]
call esi
test eax, eax
je 0x100b7c8e
mov eax, dword [edi]
mov esi, dword [eax + 0x1cc]
mov ecx, esi
call dword [0x101d4b00]
mov ecx, edi
call esi
test eax, eax
jne 0x100b7c8e
push eax
push eax
push 0x10
jmp 0x100b7b96
cmp dword [ebp + 8], 0x204
je 0x100b7ca4
cmp dword [ebp + 8], 0x205
jne 0x100b7b9f
cmp dword [edi + 0x116c], 0
jne 0x100b7b19
jmp 0x100b7b9f
test esi, esi
je 0x100b7d55
mov eax, dword [esi]
mov esi, dword [eax + 0x44c]
mov ecx, esi
call dword [0x101d4b00]
mov edi, dword [ebp - 0x40]
mov ecx, edi
call esi
test eax, eax
jne 0x100b7d55
mov eax, dword [edi]
mov esi, dword [eax + 0x440]
mov ecx, esi
call dword [0x101d4b00]
mov ecx, edi
call esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.10033708
push eax
push 0x1023b5a0
call fcn.1003f243
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100b7d55
mov eax, dword [ebp - 0x2c]
mov ecx, esi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
call fcn.1006e357
xor ecx, ecx
sub eax, ecx
je 0x100b7b19
sub eax, 1
je 0x100b7e10
sub eax, 1
je 0x100b7e10
sub eax, 1
je 0x100b7b19
dec eax
sub eax, 1
je 0x100b7b19
call fcn.1006f963
mov edi, eax
test edi, edi
je 0x100b7e43
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1cc]
mov ecx, esi
call dword [0x101d4b00]
mov ecx, edi
call esi
test eax, eax
jne 0x100b7e43
mov eax, dword [edi]
mov esi, dword [eax + 0x1dc]
mov ecx, esi
call dword [0x101d4b00]
mov ecx, edi
call esi
push 0
mov esi, eax
xor eax, eax
push 0
test esi, esi
push 0x10
push dword [edi + 0x20]
sete al
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.10033708
test eax, eax
je 0x100b7ddd
push 0x1023b488
mov ecx, eax
call fcn.1003f2e2
test eax, eax
je 0x100b7ddd
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0xb0]
call fcn.100390f0
mov edi, dword [ebp - 0x2c]
test esi, esi
jne 0x100b7e46
push dword [ebp - 0x30]
push edi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call fcn.10033708
push eax
push 0x101d7f68
call fcn.1003f243
pop ecx
pop ecx
test eax, eax
je 0x100b7e0a
cmp dword [eax + 0x20], esi
jne 0x100b7e46
and dword [ebp - 0x28], 0
jmp 0x100b7e46
push ecx
push ecx
push 0x10
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0xb0]
call fcn.100390f0
jmp 0x100b7b9f
cmp eax, 1
je 0x100b7e3a
cmp eax, 2
jne 0x100b7e43
push esi
push esi
push 0x10
push dword [edi + 0x20]
jmp 0x100b7e17
mov edi, dword [ebp - 0x2c]
cmp dword [ebp + 8], 0xa5
jne 0x100b7f86
mov esi, dword [ebp - 0x3c]
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x100b7e63
mov eax, dword [eax + 0x20]
cmp dword [ebp + 0x14], eax
jne 0x100b7f86
mov ecx, esi
call fcn.1004141f
test eax, eax
je 0x100b7f86
push ecx
push ecx
mov ecx, dword [ebp - 0x30]
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, esi
mov dword [eax], edi
call fcn.100b6ff2
cmp eax, 2
je 0x100b7eab
cmp eax, 3
je 0x100b7eab
cmp eax, 8
je 0x100b7eab
cmp eax, 9
je 0x100b7eab
cmp eax, 0x14
jne 0x100b7f86
mov eax, dword [esi + 0xb0]
push 0
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.10068519
mov edi, eax
test edi, edi
je 0x100b7f86
cmp dword [edi + 4], 0
je 0x100b7f86
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x100b7f86
push 0
push 0xf030
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0xf120
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [esi + 0xb0]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x100b7f23
push 3
push 0xf030
jmp 0x100b7f3d
mov eax, dword [esi + 0xb0]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x100b7f46
push 3
push 0xf120
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x100b7f53
mov eax, dword [eax + 0x20]
push 0
push eax
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push 0x100
push dword [edi + 4]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
je 0x100b7f86
push 0
push eax
mov eax, dword [esi + 0xb0]
push 0x112
push dword [eax + 0x20]
jmp 0x100b7b99
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10194762
leave
ret 0x10
call fcn.1003decd
int3