Function at 0x10e87c6
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x127cd2e
call fcn.01160168
sub esp, 0x15c
push esi
mov esi, ecx
mov eax, dword [esi + 0xf8]
test eax, eax
jne 0x10e87ed
mov eax, 0x80004003
jmp 0x10e90c9
mov eax, dword [esi + 0xbc]
push edi
lea ecx, [ebp - 0xc0]
push ecx
push eax
mov ecx, esi
call fcn.010de173
lea ecx, [esi + 0x80]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xc0]
lea edi, [esi + 0xc8]
push dword [edi]
add ecx, eax
mov dword [ebp - 0x9c], ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10e8860
lea eax, [ebp - 0x7c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x7c]
push eax
push dword [esi + 8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0x7c]
jl 0x10e8866
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xb8], eax
jmp 0x10e8866
mov eax, dword [ebp - 0xb8]
fld qword [ebp + 0x1c]
mov ecx, dword [esi + 0xf8]
fadd qword [ebp + 0x24]
sub eax, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x68], eax
mov eax, dword [ecx]
fstp qword [ebp - 0x94]
fld qword [ebp - 0x94]
push ecx
fstp qword [esp]
call dword [eax + 0x2c]
push 8
pop ecx
cmp eax, ecx
jge 0x10e889a
mov dword [ebp - 0x14], ecx
jmp 0x10e88b3
mov ecx, dword [esi + 0xf8]
fld qword [ebp - 0x94]
mov eax, dword [ecx]
push ecx
push ecx
fstp qword [esp]
call dword [eax + 0x2c]
mov dword [ebp - 0x14], eax
fld qword [ebp + 0x2c]
fcomp qword [0x1003fb0]
fnstsw ax
test ah, 5
jp 0x10e88cc
mov dword [ebp - 0x24], 0x7fffffff
jmp 0x10e88e5
mov ecx, dword [esi + 0xf8]
fld qword [ebp + 0x1c]
fadd qword [ebp + 0x2c]
mov eax, dword [ecx]
push ecx
push ecx
fstp qword [esp]
call dword [eax + 0x2c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x8c]
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.01032a95
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 edi, [esi + 0x104]
lea eax, [ebp - 0x168]
push eax
mov ecx, edi
mov dword [ebp - 0x168], 0x30
mov dword [ebp - 0x15c], 0x7cf
mov dword [ebp - 0x38], edi
call fcn.010b79e7
lea eax, [ebp - 0x168]
push eax
push 1
push 0x411
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xc0]
cmp ecx, eax
mov dword [ebp - 0x48], ecx
jg 0x10e897b
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xb8]
cmp ecx, eax
mov dword [ebp - 0x40], ecx
jl 0x10e899a
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
xor eax, eax
cmp dword [ebp - 0x40], ecx
setg al
test eax, eax
jne 0x10e89b9
mov edi, 0x80004005
jmp 0x10e90ba
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
push ebx
push 2
lea eax, [ebp - 0x48]
push eax
push 0
push dword [esi + 8]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetParent]
lea eax, [ebp - 0xb0]
push eax
push dword [esi + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0xb0]
push eax
push 0
push dword [esi + 8]
call ebx
push eax
call edi
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x44], eax
jg 0x10e8a07
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x3c], eax
jl 0x10e8a15
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x138]
call fcn.010e2296
mov byte [ebp - 4], 1
push 0x80028
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [esi + 8]
lea ecx, [ebp - 0x138]
call fcn.010e5dad
neg eax
sbb eax, eax
neg eax
mov dword [ebp + 0x28], eax
jne 0x10e8a57
mov edi, 0x80004005
jmp 0x10e90aa
cmp dword [ebp - 0x118], 0
jne 0x10e8a6a
mov edi, 0x80004003
jmp 0x10e90aa
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [esi + 0xbc]
and dword [ebp + 0x28], 0
and dword [ebp - 0x20], 0
lea ecx, [ebp - 0x54]
call fcn.01062aea
mov byte [ebp - 4], 2
mov eax, dword [esi + 0xf4]
test eax, eax
mov edi, 0x438
jne 0x10e8aea
cmp dword [ebp - 0x54], eax
jne 0x10e8aea
push dword [esi + 0xbc]
lea ecx, [ebp - 0x6c]
call fcn.01055c97
mov byte [ebp - 4], 3
cmp dword [ebp - 0x6c], 0
je 0x10e8ad7
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 + 0x28], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x10e8b0d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10e8b0d
cmp eax, 2
jne 0x10e8b0d
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 + 0x28], eax
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0xf0], edi
mov byte [ebp - 4], 4
and dword [ebp - 0x34], 0
mov byte [ebp - 4], 5
push 0x800000
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x8c]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [ebp - 0x138]
call fcn.010de456
push 0x4e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push dword [esi + 8]
mov dword [ebp - 0x98], 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 - 0xec]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10e8b93
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0x1b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, 0x7fff
jne 0x10e9026
xor eax, eax
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x18]
push 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x5c], eax
stosd dword es:[edi], eax
mov eax, 0x113
push eax
push eax
push dword [esi + 8]
call ebx
push eax
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10e8ced
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 - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xd0]
push eax
push dword [esi + 8]
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0xd0]
push eax
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0xcc], eax
jg 0x10e8c3b
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0xa4]
jl 0x10e8c55
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xcc]
sub eax, ecx
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x28]
test eax, eax
mov dword [ebp - 0x100], ecx
je 0x10e8ced
and dword [ebp + 0x28], 0
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xf4]
test eax, eax
jne 0x10e8cca
push dword [esi + 0xbc]
lea ecx, [ebp - 0x58]
call fcn.01055c97
mov byte [ebp - 4], 6
cmp dword [ebp - 0x58], 0
je 0x10e8cb7
mov eax, dword [esi + 0xbc]
push dword [esi + 8]
mov dword [ebp + 0x28], eax
call ebx
push dword [ebp + 0x28]
push 2
push 0x438
push eax
call edi
mov dword [ebp + 0x28], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x10e8ced
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10e8ced
cmp eax, 2
jne 0x10e8ced
mov eax, dword [esi + 0xbc]
push dword [esi + 8]
mov dword [ebp + 0x28], eax
call ebx
push dword [ebp + 0x28]
push 0
push 0x438
push eax
call edi
mov dword [ebp + 0x28], eax
xor edi, edi
inc edi
push edi
mov eax, 0x200
push eax
push eax
push dword [esi + 8]
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10e8d24
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], edi
push edi
mov eax, 0x202
push eax
push eax
push dword [esi + 8]
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10e8d58
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], 0
je 0x10e8b6c
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x18]
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]
add dword [ebp + 0xc], eax
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x68]
mov ecx, dword [esi + 0xf8]
push 1
add edx, edi
mov dword [ebp - 0x64], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x40]
cmp dword [ebp - 0x14], eax
jle 0x10e8daf
mov eax, dword [ebp - 0x14]
jmp 0x10e8dc2
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0xf8]
mov eax, dword [ecx]
push 1
add edx, edi
push edx
call dword [eax + 0x40]
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x84]
add ecx, edx
mov edx, dword [ebp - 0x24]
cmp edx, ecx
jl 0x10e8dd6
mov edx, ecx
cmp eax, edx
jge 0x10e8e0f
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0xf8]
mov eax, dword [ecx]
push 1
add edx, edi
push edx
call dword [eax + 0x40]
cmp dword [ebp - 0x14], eax
jle 0x10e8dfa
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x10e8e1c
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0xf8]
mov eax, dword [ecx]
push 1
add edx, edi
push edx
call dword [eax + 0x40]
jmp 0x10e8df5
mov eax, dword [ebp - 0x24]
cmp eax, ecx
mov dword [ebp - 0x10], eax
jl 0x10e8e1c
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ecx
sub eax, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa0], eax
jne 0x10e8e37
fld qword [ebp - 0x94]
jmp 0x10e8e65
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x10], eax
jne 0x10e8e57
fld qword [ebp + 0x2c]
fcomp qword [0x1003fb0]
fnstsw ax
test ah, 1
jne 0x10e8e57
fld qword [ebp + 0x1c]
fadd qword [ebp + 0x2c]
jmp 0x10e8e65
mov ecx, dword [esi + 0xf8]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x50]
xor edi, edi
fstp qword [ebp - 0x50]
cmp dword [ebp - 0x5c], edi
jne 0x10e902a
fld qword [ebp + 0x1c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x50]
fstp qword [esp]
call fcn.01085e6b
test al, al
je 0x10e8e8f
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x30], edi
je 0x10e8ea5
fld qword [ebp - 0x50]
push edi
push ecx
push ecx
fstp qword [esp]
push edi
mov ecx, esi
call fcn.010de2e0
mov ecx, dword [esi + 0xf8]
fld qword [ebp - 0x50]
fsub qword [ebp + 0x14]
mov eax, dword [ecx]
push ecx
push ecx
lea edx, [ebp - 0x60]
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 - 0x60]
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.01032a3e
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x144], eax
add esp, 0x10
lea eax, [ebp - 0x168]
push eax
mov ecx, edi
call fcn.010b7a27
lea eax, [ebp - 0x7c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x74]
mov eax, dword [0x100d260]
mov ecx, dword [ebp - 0x1c]
sub edi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x98]
add ecx, eax
add edi, ecx
cmp edi, edx
jle 0x10e8f32
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 0x74]
lea ecx, [ecx + edx - 1]
mov edx, dword [ebp - 0x18]
add edx, eax
push edx
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.0107534b
push dword [esi + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x68]
mov edi, dword [ebp - 0x9c]
add eax, ecx
cmp edi, eax
jge 0x10e8f6a
push 1
push 1
push 0x42e
jmp 0x10e8f73
push 0
push 0
push 0x42f
push dword [esi + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x64]
add ecx, dword [ebp - 0xa0]
add eax, edx
cmp edi, eax
mov dword [ebp - 0x1c], ecx
jg 0x10e8f9c
mov edi, eax
mov eax, dword [ebp - 0x10]
sub eax, edi
sub ecx, eax
cmp dword [ebp - 0x10], edx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x104], ecx
jge 0x10e8fc4
sub edx, dword [ebp - 0x10]
and dword [ebp - 0xfc], 0
add dword [ebp - 0x104], edx
lea ecx, [ebp - 0x138]
call fcn.010de456
mov ecx, dword [ebp + 0x28]
test ecx, ecx
je 0x10e8fed
mov eax, dword [ebp - 0xfc]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0x104]
mov dword [ecx + 0x34], eax
call fcn.010de456
cmp dword [ebp - 0x20], 0
je 0x10e9009
mov ecx, dword [ebp - 0x20]
call fcn.010de47f
mov ecx, dword [ebp - 0x20]
push 1
call fcn.010e2331
and dword [ebp - 0x20], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.010328fa
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60]
call fcn.010328fa
jmp 0x10e8b6c
fldz
jmp 0x10e9032
fld qword [ebp - 0x50]
xor edi, edi
fsub qword [ebp + 0x1c]
mov eax, dword [ebp + 0x34]
push edi
fstp qword [eax]
push edi
push 0x42f
push dword [esi + 8]
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call esi
lea eax, [ebp - 0x168]
push eax
mov eax, dword [ebp - 0x38]
push edi
push 0x411
push dword [eax]
call esi
call dword [sym.imp.USER32.dll_ReleaseCapture]
lea ecx, [ebp - 0x138]
call fcn.010de47f
cmp dword [ebp + 0x28], edi
je 0x10e9088
mov ecx, dword [ebp + 0x28]
call fcn.010de47f
mov ecx, dword [ebp + 0x28]
push 1
call fcn.010e2331
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], edi
je 0x10e9099
lea ecx, [ebp - 0x34]
call fcn.01032e74
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x54]
cmp eax, edi
je 0x10e90aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.010e22d9
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.010328fa
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x30