Function at 0x10e96b9
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x127cf00
call fcn.01160458
sub esp, 0x15c
push esi
mov esi, ecx
mov eax, dword [esi + 0xf8]
test eax, eax
jne 0x10e96e0
mov eax, 0x80004003
jmp 0x10e9f8b
mov eax, dword [esi + 0xbc]
push edi
lea ecx, [ebp - 0xc0]
push ecx
push eax
mov ecx, esi
call fcn.010de5de
lea ecx, [esi + 0x80]
mov eax, dword [ecx]
call dword [eax]
fld qword [ebp + 0x14]
mov ecx, dword [ebp - 0xb8]
fadd qword [ebp + 0x24]
add ecx, eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0xc0]
fstp qword [ebp - 0xa8]
fld qword [ebp - 0xa8]
mov dword [ebp - 0x68], ecx
mov ecx, dword [esi + 0xf8]
push ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
push ecx
fstp qword [esp]
call dword [eax + 0x2c]
mov ecx, dword [esi + 0xf8]
fld qword [ebp + 0x14]
fsub qword [ebp + 0x24]
push ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ecx]
push ecx
fstp qword [esp]
call dword [eax + 0x2c]
fld qword [ebp + 0x14]
mov ecx, dword [esi + 0xf8]
fadd qword [ebp + 0x2c]
mov eax, dword [ecx]
push ecx
push ecx
fstp qword [ebp - 0xb0]
fld qword [ebp - 0xb0]
fstp qword [esp]
call dword [eax + 0x2c]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x80]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x2c], eax
and dword [ebp - 4], 0
push 0xf040
lea ecx, [ebp - 0x2c]
call fcn.01032a72
push 0xb
xor eax, eax
pop ecx
lea edi, [ebp - 0x164]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x168]
lea edi, [esi + 0x104]
push eax
mov ecx, edi
mov dword [ebp - 0x168], 0x30
mov dword [ebp - 0x15c], 0x7cf
call fcn.010b7fd2
lea eax, [ebp - 0x168]
push eax
push 1
push 0x411
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0xc0]
cmp ecx, eax
mov dword [ebp - 0x3c], ecx
jg 0x10e9804
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xb8]
cmp ecx, eax
mov dword [ebp - 0x34], ecx
jl 0x10e981d
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
xor eax, eax
cmp dword [ebp - 0x34], ecx
setg al
test eax, eax
jne 0x10e983c
mov edi, 0x80004005
jmp 0x10e9f7c
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
push ebx
push 2
lea eax, [ebp - 0x3c]
push eax
push 0
push dword [esi + 8]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetParent]
lea eax, [ebp - 0xa0]
push eax
push dword [esi + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0xa0]
push eax
push 0
push dword [esi + 8]
call ebx
push eax
call edi
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x38], eax
jg 0x10e988a
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x30], eax
jl 0x10e9898
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x138]
call fcn.010e26da
mov byte [ebp - 4], 1
push 0x80028
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 8]
lea ecx, [ebp - 0x138]
call fcn.010e61f1
neg eax
sbb eax, eax
neg eax
mov dword [ebp + 0x28], eax
jne 0x10e98d7
mov edi, 0x80004005
jmp 0x10e9f6c
cmp dword [ebp - 0x118], 0
jne 0x10e98ea
mov edi, 0x80004003
jmp 0x10e9f6c
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [esi + 0xbc]
and dword [ebp + 0x30], 0
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x48]
call fcn.0106307f
mov byte [ebp - 4], 2
mov eax, dword [esi + 0xf4]
test eax, eax
mov edi, 0x438
jne 0x10e9921
cmp dword [ebp - 0x48], eax
je 0x10e9926
cmp eax, 4
jne 0x10e996f
push dword [esi + 0xbc]
lea ecx, [ebp - 0x54]
call fcn.010562c1
mov byte [ebp - 4], 3
cmp dword [ebp - 0x54], 0
je 0x10e995c
mov eax, dword [esi + 0xbc]
push dword [esi + 8]
mov dword [ebp + 0x28], eax
call ebx
push dword [ebp + 0x28]
push 2
push edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp + 0x30], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x10e9992
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10e9992
cmp eax, 2
jne 0x10e9992
mov eax, dword [esi + 0xbc]
push dword [esi + 8]
mov dword [ebp + 0x28], eax
call ebx
push dword [ebp + 0x28]
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp + 0x30], eax
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0xf0], edi
mov byte [ebp - 4], 4
and dword [ebp - 0x20], 0
mov byte [ebp - 4], 5
push 0x800000
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x80]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [ebp - 0x138]
call fcn.010de8c1
push 0x4e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push dword [esi + 8]
mov dword [ebp - 0x70], eax
call dword [sym.imp.USER32.dll_SetCapture]
push 0x1b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
push 0xf
push 0xf
xor edi, edi
push edi
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10e9a12
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0x1b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, 0x7fff
jne 0x10e9ebb
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x18], ecx
lea edi, [ebp - 0x14]
push 1
stosd dword es:[edi], eax
mov eax, 0x113
push eax
push eax
push dword [esi + 8]
mov dword [ebp + 0x28], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x24], ecx
call ebx
push eax
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10e9b6e
push 0
push 0
push 0x113
push dword [esi + 8]
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x90]
push eax
push dword [esi + 8]
mov dword [ebp + 0x28], 1
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x90]
push eax
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x8c], eax
jg 0x10e9abc
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x94]
jl 0x10e9ad6
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x8c]
sub eax, ecx
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x30]
test eax, eax
mov dword [ebp - 0x100], ecx
je 0x10e9b6e
and dword [ebp + 0x30], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xf4]
test eax, eax
jne 0x10e9b4b
push dword [esi + 0xbc]
lea ecx, [ebp - 0x5c]
call fcn.010562c1
mov byte [ebp - 4], 6
cmp dword [ebp - 0x5c], 0
je 0x10e9b38
mov eax, dword [esi + 0xbc]
push dword [esi + 8]
mov dword [ebp + 0x30], eax
call ebx
push dword [ebp + 0x30]
push 2
push 0x438
push eax
call edi
mov dword [ebp + 0x30], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10e9b6e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10e9b6e
cmp eax, 2
jne 0x10e9b6e
mov eax, dword [esi + 0xbc]
push dword [esi + 8]
mov dword [ebp + 0x30], eax
call ebx
push dword [ebp + 0x30]
push 0
push 0x438
push eax
call edi
mov dword [ebp + 0x30], eax
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
mov eax, 0x200
push eax
push eax
push dword [esi + 8]
lea eax, [ebp - 0xdc]
push eax
call edi
test eax, eax
je 0x10e9baa
mov ecx, dword [ebp - 0xc8]
xor eax, eax
inc eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0xc4]
mov dword [ebp + 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], eax
jmp 0x10e9bad
xor eax, eax
inc eax
push eax
mov eax, 0x202
push eax
push eax
push dword [esi + 8]
lea eax, [ebp - 0xdc]
push eax
call edi
test eax, eax
je 0x10e9be0
xor eax, eax
inc eax
mov dword [ebp - 0x6c], eax
mov dword [ebp + 0x28], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x28], 0
je 0x10e99eb
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x14]
push 1
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push dword [esi + 8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea ecx, [esi + 0x80]
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
jge 0x10e9c49
cmp dword [esi + 0xf4], 4
jne 0x10e9c49
sub eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0xf8]
mov edx, dword [ecx]
push 1
push eax
call dword [edx + 0x40]
mov edi, dword [ebp - 0x64]
jmp 0x10e9c94
mov dword [ebp + 0x28], edi
jmp 0x10e9cb4
sub eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0xf8]
mov edx, dword [ecx]
push 1
push eax
call dword [edx + 0x40]
mov edi, dword [ebp - 0x64]
cmp eax, edi
jge 0x10e9c77
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
mov ecx, dword [esi + 0xf8]
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 0x40]
jmp 0x10e9c79
mov eax, edi
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
jle 0x10e9cb1
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
mov ecx, dword [esi + 0xf8]
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 0x40]
cmp eax, edi
jge 0x10e9c44
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
mov ecx, dword [esi + 0xf8]
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 0x40]
mov dword [ebp + 0x28], eax
jmp 0x10e9cb4
mov dword [ebp + 0x28], ecx
mov ecx, dword [ebp + 0x28]
mov eax, ecx
sub eax, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
jne 0x10e9ccc
fld qword [ebp - 0xa8]
jmp 0x10e9ce7
cmp dword [ebp + 0x28], edi
jne 0x10e9cd9
fld qword [ebp - 0xb0]
jmp 0x10e9ce7
mov ecx, dword [esi + 0xf8]
push dword [ebp + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x50]
cmp dword [ebp - 0x6c], 0
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
jne 0x10e9ebf
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp + 0x14]
fstp qword [esp]
call fcn.010865ed
test al, al
je 0x10e9d1a
cmp dword [esi + 0xf4], 1
je 0x10e9d1a
and dword [ebp - 0x24], 0
xor eax, eax
cmp dword [ebp - 0x24], eax
je 0x10e9d32
fld qword [ebp - 0x44]
push eax
push ecx
push ecx
fstp qword [esp]
push eax
mov ecx, esi
call fcn.010de74b
mov ecx, dword [esi + 0xf8]
fld qword [ebp + 0x1c]
fsub qword [ebp - 0x44]
mov eax, dword [ecx]
push ecx
push ecx
lea edx, [ebp - 0x4c]
fstp qword [esp]
push edx
call dword [eax + 0x30]
mov byte [ebp - 4], 7
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
push dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.01032a1b
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x144], eax
add esp, 0x10
lea eax, [ebp - 0x168]
lea edi, [esi + 0x104]
push eax
mov ecx, edi
call fcn.010b8012
lea eax, [ebp - 0xec]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0xe4]
mov eax, dword [0x100d260]
mov ecx, dword [ebp - 0x18]
sub edi, dword [ebp - 0xec]
mov edx, dword [ebp - 0x70]
add ecx, eax
add edi, ecx
cmp edi, edx
jle 0x10e9dce
mov ecx, dword [ebp - 0xec]
sub ecx, dword [ebp - 0xe4]
lea ecx, [ecx + edx - 1]
mov edx, dword [ebp - 0x14]
add edx, eax
push edx
push ecx
lea ecx, [esi + 0x104]
call fcn.01075c2a
push dword [esi + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0x10]
neg eax
cmp dword [ebp - 0x60], eax
jne 0x10e9e01
push 1
push 1
push 0x42e
jmp 0x10e9e0a
push 0
push 0
push 0x42f
push dword [esi + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x58]
add eax, dword [ebp - 0x60]
add ecx, edx
cmp dword [ebp - 0x68], ecx
mov dword [ebp - 0x18], eax
jge 0x10e9e2f
mov ecx, dword [ebp - 0x68]
sub ecx, dword [ebp + 0x28]
cmp dword [ebp + 0x28], edx
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0x104], eax
jge 0x10e9e59
mov ecx, dword [ebp + 0x28]
sub eax, dword [ebp + 0x28]
sub ecx, edx
add dword [ebp - 0xfc], ecx
add eax, edx
mov dword [ebp - 0x104], eax
lea ecx, [ebp - 0x138]
call fcn.010de8c1
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x10e9e82
mov eax, dword [ebp - 0xfc]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0x104]
mov dword [ecx + 0x34], eax
call fcn.010de8c1
cmp dword [ebp - 0x1c], 0
je 0x10e9e9e
mov ecx, dword [ebp - 0x1c]
call fcn.010de8ea
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.010e2775
and dword [ebp - 0x1c], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.010328fe
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.010328fe
jmp 0x10e99eb
fldz
jmp 0x10e9ec4
fsub qword [ebp + 0x14]
xor edi, edi
mov eax, dword [ebp + 0x34]
push edi
fstp qword [eax]
push edi
push 0x42f
push dword [esi + 8]
call ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
lea eax, [ebp - 0x168]
push eax
push edi
push 0x411
push dword [esi + 0x104]
call ebx
call dword [sym.imp.USER32.dll_ReleaseCapture]
lea ecx, [ebp - 0x138]
call fcn.010de8ea
cmp dword [ebp + 0x30], edi
je 0x10e9f1b
mov ecx, dword [ebp + 0x30]
call fcn.010de8ea
mov ecx, dword [ebp + 0x30]
push 1
call fcn.010e2775
cmp dword [esi + 0xbc], edi
je 0x10e9f4a
mov eax, dword [esi + 0xf4]
cmp eax, 1
je 0x10e9f4a
cmp eax, 3
je 0x10e9f4a
cmp eax, 4
je 0x10e9f4a
fld qword [ebp + 0x14]
push 1
push ecx
push ecx
fstp qword [esp]
push edi
mov ecx, esi
call fcn.010de74b
mov byte [ebp - 4], 4
cmp dword [ebp - 0x20], edi
je 0x10e9f5b
lea ecx, [ebp - 0x20]
call fcn.0103d890
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
cmp eax, edi
je 0x10e9f6c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.010e271d
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.010328fe
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x30