Function at 0x1000d240
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1008a268]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edi
jne 0x1000d9dd
mov ebx, dword [ebp + 0xc]
cmp ebx, 1
jne 0x1000d2d3
lea eax, [ebp - 0x1c]
mov dword [esi + 0x28], ebx
push eax
push dword [esi + 4]
xorps xmm0, xmm0
mov dword [esi + 0x40], ebx
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
movups xmm0, xmmword [ebp - 0x1c]
push 0
sub esp, 0x10
mov ecx, esi
mov eax, esp
neg ecx
sbb ecx, ecx
push 0xffffffffffffffff
movups xmmword [eax], xmm0
lea eax, [esi + 0x24]
and ecx, eax
push ecx
push dword [esi + 4]
mov ecx, dword [esi + 0x44]
call fcn.1001a290
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [esi + 0x24]
lea eax, [esi + 0x24]
push ebx
push 0
push eax
call dword [ecx + 0x20]
jmp 0x1000d3e7
cmp ebx, 2
jne 0x1000d365
mov eax, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esi + 0x28], 1
cmp dword [esi + 0x4c], 0
je 0x1000d32c
push dword [esi + 4]
call eax
test eax, eax
je 0x1000d31f
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x1000d31f
push dword [eax + 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebp - 8]
call fcn.100063b0
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x48]
jne 0x1000d303
lea ecx, [esi + 0x48]
call fcn.1000e390
mov eax, dword [sym.imp.USER32.dll_IsWindow]
push dword [esi + 0x50]
call eax
test eax, eax
je 0x1000d33e
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esi + 0x54]
mov dword [esi + 0x50], 0
call fcn.10007af0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esi + 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
jmp 0x1000d3e7
cmp ebx, 5
jne 0x1000d3bb
movsx ecx, dx
mov eax, edx
shr eax, 0x10
sub esp, 0x10
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0x44]
cwde
mov dword [ebp - 0x10], eax
mov eax, esp
mov dword [esi + 0x28], 1
mov edx, dword [ecx]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [ebp - 0x1c]
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0xac]
movups xmm0, xmmword [ebp - 0x1c]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call dword [edx + 0x18]
jmp 0x1000d3e7
cmp ebx, 0x113
jne 0x1000d49a
mov eax, dword [esi + 0x44]
push dword [ebp - 0x2c]
mov dword [esi + 0x28], 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x2c]
call dword [eax + 0x1c]
mov dword [edi], 0
cmp dword [esi + 0x28], 0
jne 0x1000d99e
mov eax, dword [ebp - 0x30]
movzx edx, ax
mov ecx, edx
cmp ebx, 0x2a1
jne 0x1000d833
shr eax, 0x10
movsx edi, ax
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x44]
push edi
movsx edx, dx
push edx
push dword [ebp - 0x2c]
mov dword [esi + 0x28], 1
mov ecx, dword [eax]
push eax
mov dword [ebp - 8], edx
call dword [ecx + 0xc0]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 8]
push dword [ebp - 0x2c]
call dword [eax + 0x24]
mov edi, dword [ebp - 0x34]
mov dword [edi], 0
cmp dword [esi + 0x28], 0
jne 0x1000d99e
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp ebx, 0x2a3
jne 0x1000d843
cmp dword [esi + 0x40], 0
mov dword [esi + 0x28], 1
jne 0x1000d48f
mov eax, dword [esi + 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov dword [esi + 0x40], 1
mov dword [edi], 0
jmp 0x1000d998
cmp ebx, 0x84
jne 0x1000d616
mov eax, edx
movsx ecx, dx
shr eax, 0x10
cwde
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x28], 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
test eax, eax
je 0x1000d4ed
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [esi + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
jmp 0x1000d4f0
mov eax, dword [ebp - 0xc]
mov edx, dword [esi]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x40]
mov eax, dword [ebp - 8]
cmp eax, 1
jne 0x1000d5d3
cmp dword [esi + 0x68], 0
je 0x1000d5d3
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0x44]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf4]
test eax, eax
je 0x1000d543
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
test eax, eax
je 0x1000d5d0
push 1
mov dword [ebp - 8], 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x1000d581
cmp dword [esi + 0x58], 0
jne 0x1000d587
push 1
push 0
push 0x3401
push dword [esi + 4]
mov dword [esi + 0x58], 1
mov dword [esi + 0x5c], 0
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1000d59b
cmp dword [esi + 0x58], 0
je 0x1000d59b
cmp dword [esi + 0x5c], 0
jne 0x1000d59b
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x1000d5f7
cmp dword [esi + 0x60], 0
jne 0x1000d5fd
push 1
push 1
push 0x3401
push dword [esi + 4]
mov dword [esi + 0x60], 1
mov dword [esi + 0x5c], 0
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 8]
mov dword [edi], eax
cmp dword [esi + 0x28], 0
je 0x1000d3f7
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017847
mov esp, ebp
pop ebp
ret 0x18
cmp dword [esi + 0x60], 0
je 0x1000d5d0
cmp dword [esi + 0x5c], 0
mov eax, dword [ebp - 8]
jne 0x1000d5d3
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 1
jmp 0x1000d5d3
cmp ebx, 0x20
jne 0x1000d69d
mov ecx, dword [esi + 0x44]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x30]
shr eax, 0x10
push eax
mov eax, dword [ebp - 0x30]
movzx eax, ax
push eax
push dword [ebp - 0x2c]
mov dword [esi + 0x28], 1
mov dword [ebp - 8], 0
mov edx, dword [ecx]
push ecx
call dword [edx + 0xb8]
cmp dword [ebp - 8], 0
je 0x1000d659
lea ecx, [ebx - 0x1f]
jmp 0x1000d679
mov eax, dword [esi + 0x18]
xor ecx, ecx
test eax, eax
je 0x1000d679
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [esi + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ecx, eax
mov dword [edi], ecx
cmp dword [esi + 0x28], 0
je 0x1000d3f7
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017847
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x14
jne 0x1000d6be
mov dword [edi], 1
lea eax, [ebx - 0x13]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017847
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0xf
jne 0x1000d6e9
lea eax, [ebp - 0xc]
push eax
push edx
push ecx
push ebx
mov ecx, esi
call fcn.100085d0
mov dword [edi], eax
lea eax, [ebx - 0xe]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017847
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x318
jne 0x1000d719
lea eax, [ebp - 0xc]
push eax
push edx
push ecx
push ebx
mov ecx, esi
call fcn.100085d0
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017847
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x3400
jne 0x1000d76c
cmp dword [esi + 0x6c], 0
je 0x1000d734
push 1
call fcn.10019bb0
mov edx, dword [ebp - 0x30]
add esp, 4
push edx
mov ecx, esi
call fcn.1000b0d0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1000d74e
push 0x10
push eax
call fcn.100174d6
add esp, 8
mov dword [edi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017847
mov esp, ebp
pop ebp
ret 0x18
lea eax, [ebx - 0x200]
cmp eax, 0xe
ja 0x1000d7bf
mov eax, dword [esi + 4]
xorps xmm0, xmm0
push dword [esi + 0x50]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000d7b6
lea eax, [ebp - 0x28]
push eax
push 0
push 0x407
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x30]
mov dword [edi], 1
cmp ebx, 0x200
jne 0x1000d3f7
movzx eax, dx
movsx ebx, ax
mov dword [ebp - 0xc], eax
mov eax, edx
shr eax, 0x10
movsx edi, ax
mov eax, dword [esi + 0x44]
push edi
push ebx
push dword [ebp - 0x2c]
mov dword [esi + 0x28], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xbc]
mov eax, dword [esi]
mov ecx, esi
push edi
push ebx
push dword [ebp - 0x2c]
call dword [eax + 0x20]
cmp dword [esi + 0x40], 0
je 0x1000d814
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov dword [esi + 0x40], 0
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
movzx ecx, ax
mov dword [edi], 0
cmp dword [esi + 0x28], 0
jne 0x1000d99e
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x30]
movsx edx, cx
mov ecx, eax
mov dword [ebp - 8], edx
shr ecx, 0x10
jmp 0x1000d45c
cmp ebx, 0x201
jne 0x1000d891
push dword [esi + 4]
shr eax, 0x10
mov dword [esi + 0x28], 1
movsx edi, ax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esi + 0x44]
lea edx, [ebp - 0xc]
mov ebx, dword [ebp - 0x2c]
push edx
push edi
push dword [ebp - 8]
mov dword [ebp - 0xc], 1
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xc8]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 8]
push ebx
call dword [eax + 0x2c]
jmp 0x1000d98f
cmp ebx, 0x202
jne 0x1000d8d7
mov eax, dword [esi + 0x44]
lea ebx, [ebp - 0xc]
push ebx
mov ebx, dword [ebp - 0x2c]
movsx edi, cx
push edi
push edx
mov dword [esi + 0x28], 1
mov dword [ebp - 0xc], 1
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xcc]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 8]
push ebx
call dword [eax + 0x30]
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x1000d98f
cmp ebx, 0x203
jne 0x1000d917
mov eax, dword [esi + 0x44]
lea ebx, [ebp - 0xc]
push ebx
mov ebx, dword [ebp - 0x2c]
movsx edi, cx
push edi
push edx
mov dword [esi + 0x28], 1
mov dword [ebp - 0xc], 1
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xd0]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 8]
push ebx
call dword [eax + 0x34]
jmp 0x1000d98f
cmp ebx, 0x204
jne 0x1000d954
mov eax, dword [esi + 0x44]
lea ebx, [ebp - 0xc]
push ebx
mov ebx, dword [ebp - 0x2c]
movsx edi, cx
push edi
push edx
mov dword [esi + 0x28], 1
mov dword [ebp - 0xc], 1
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xd4]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 8]
push ebx
call dword [eax + 0x38]
jmp 0x1000d98f
cmp ebx, 0x205
jne 0x1000d9b6
mov eax, dword [esi + 0x44]
lea ebx, [ebp - 0xc]
push ebx
mov ebx, dword [ebp - 0x2c]
movsx edi, cx
push edi
push edx
mov dword [esi + 0x28], 1
mov dword [ebp - 0xc], 1
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xd8]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 8]
push ebx
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
cmp dword [esi + 0x28], 0
je 0x1000d9dd
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017847
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x31a
jne 0x1000d9dd
push 0
push 0
push 0x3400
push dword [esi + 4]
mov dword [esi + 0x38], 1
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [edi], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10017847
mov esp, ebp
pop ebp
ret 0x18