Function at 0x1001a5bf
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x100476ec
call fcn.10008950
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 4]
cmp esi, 0x200
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], esi
je 0x1001a609
cmp esi, 0xa0
je 0x1001a609
cmp esi, 0x202
je 0x1001a609
cmp esi, 0x205
je 0x1001a609
cmp esi, 0x208
jne 0x1001a8d2
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call esi
test ax, ax
jl 0x1001a8cf
push 2
call esi
test ax, ax
jl 0x1001a8cf
push 4
call esi
test ax, ax
jl 0x1001a8cf
call fcn.100365d4
push dword [ebx]
mov esi, eax
mov dword [ebp - 0x18], esi
jmp 0x1001a656
test word [eax + 0x38], 0x401
jne 0x1001a65f
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1001e758
test eax, eax
jne 0x1001a644
cmp eax, edi
je 0x1001a677
test eax, eax
jne 0x1001a9a0
and dword [esi + 0x40], eax
or dword [esi + 0x44], 0xffffffff
jmp 0x1001a9a0
mov ebx, dword [esi + 0x3c]
mov ecx, edi
call fcn.1001ea48
test ebx, ebx
mov dword [ebp - 0x14], eax
je 0x1001a6ad
mov ecx, ebx
call fcn.10006474
cmp eax, dword [ebp - 0x14]
je 0x1001a6a9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x60]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
xor ebx, ebx
mov dword [esi + 0x3c], ebx
test ebx, ebx
jne 0x1001a707
push 0x6c
call fcn.1001cd75
pop ecx
mov dword [ebp - 0x1c], eax
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x1001a6ca
mov ecx, eax
call fcn.1001a2eb
mov ebx, eax
mov eax, dword [ebx]
or dword [ebp - 4], 0xffffffff
push 1
push dword [ebp - 0x14]
mov ecx, ebx
call dword [eax + 0x130]
test eax, eax
jne 0x1001a6ef
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
jmp 0x1001a9a0
push 0
push 0
push 0x401
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [ebp - 0x10]
mov dword [esi + 0x3c], ebx
push 0x30
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.100088f0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
add esp, 0xc
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 0x1c]
mov dword [ebp - 0x28], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x30
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.100088f0
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x58]
push ecx
push dword [ebp - 0x24]
mov ecx, edi
push dword [ebp - 0x28]
mov dword [ebp - 0x58], 0x28
call dword [eax + 0x6c]
mov ecx, eax
inc ecx
neg ecx
sbb ecx, ecx
and ecx, edi
cmp dword [esi + 0x44], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ecx
jne 0x1001a7c1
cmp dword [esi + 0x40], ecx
jne 0x1001a7c1
test byte [edi + 0x39], 4
je 0x1001a7aa
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
movzx eax, word [ebp - 0x1c]
movzx ecx, word [ebp - 0x20]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x412
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1001a899
cmp eax, 0xffffffff
je 0x1001a899
push dword [ebp + 8]
push ebx
call fcn.1001a53d
jmp 0x1001a899
cmp eax, 0xffffffff
je 0x1001a8bb
mov eax, dword [ebp - 0x10]
push 0xc
pop ecx
lea esi, [ebp - 0x58]
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
and byte [ebp - 0x81], 0x3f
mov edi, 0x400
test dword [eax + 0x38], edi
je 0x1001a7f3
or dword [ebp - 0x84], 0x20
lea eax, [ebp - 0x88]
push eax
xor esi, esi
push esi
push 0x404
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
test byte [ebp - 0x51], 0x40
jne 0x1001a81d
mov ecx, dword [ebp - 0x10]
call fcn.1001f6fd
test eax, eax
je 0x1001a860
push esi
push 1
push 0x401
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x10]
test dword [eax + 0x38], edi
je 0x1001a84d
lea eax, [ebp - 0x88]
push eax
push 1
push 0x411
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x213
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebp - 0x18]
push dword [ebp + 8]
push ebx
call fcn.1001a53d
lea edi, [esi + 0x48]
cmp dword [edi], 0x28
jb 0x1001a885
push edi
push 0
push 0x405
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x44], eax
push 0xc
pop ecx
lea esi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x34], 0xffffffff
je 0x1001a9a0
cmp dword [ebp - 0x38], 0
jne 0x1001a9a0
push dword [ebp - 0x34]
call fcn.10007458
pop ecx
jmp 0x1001a9a0
push 0
push 0
push 0x401
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1001a863
mov esi, dword [ebp - 0x1c]
test word [edi + 0x38], 0x401
je 0x1001a9a0
push dword [ebx]
jmp 0x1001a8f8
cmp eax, edi
je 0x1001a909
test word [eax + 0x38], 0x401
jne 0x1001a901
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1001e758
test eax, eax
jne 0x1001a8e2
cmp eax, edi
jne 0x1001a9a0
cmp esi, 0x100
jb 0x1001a919
cmp esi, 0x109
jbe 0x1001a929
cmp esi, 0x104
jb 0x1001a92e
cmp esi, 0x107
ja 0x1001a92e
xor eax, eax
inc eax
jmp 0x1001a930
xor eax, eax
test byte [edi + 0x39], 4
jne 0x1001a9a0
test eax, eax
jne 0x1001a99a
cmp esi, 0x201
je 0x1001a99a
cmp esi, 0x203
je 0x1001a99a
cmp esi, 0x204
je 0x1001a99a
cmp esi, 0x206
je 0x1001a99a
cmp esi, 0x207
je 0x1001a99a
cmp esi, 0x209
je 0x1001a99a
cmp esi, 0xa1
je 0x1001a99a
cmp esi, 0xa3
je 0x1001a99a
cmp esi, 0xa4
je 0x1001a99a
cmp esi, 0xa6
je 0x1001a99a
cmp esi, 0xa7
je 0x1001a99a
cmp esi, 0xa9
jne 0x1001a9a0
push eax
call fcn.1001db57
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4