Function at 0x42ad80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517780
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5746cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x34], eax
jne 0x42b508
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x42ae42
lea eax, [ebp - 0x20]
mov dword [esi + 0x28], edi
push eax
push dword [esi + 4]
xorps xmm0, xmm0
mov dword [esi + 0x40], edi
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
movups xmm0, xmmword [ebp - 0x20]
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.0046e940
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [esi + 0x24]
lea eax, [esi + 0x24]
push edi
push 0
push eax
call dword [ecx + 0x20]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], 0
cmp dword [esi + 0x28], 0
je 0x42b139
mov eax, 1
jmp 0x42b50a
cmp edi, 2
jne 0x42aed4
mov eax, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esi + 0x28], 1
cmp dword [esi + 0x4c], 0
je 0x42ae9b
push dword [esi + 4]
call eax
test eax, eax
je 0x42ae8e
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
mov dword [ebp - 0x30], eax
cmp eax, ecx
je 0x42ae8e
push dword [eax + 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebp - 0x30]
call fcn.00428960
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + 0x48]
jne 0x42ae72
lea ecx, [esi + 0x48]
call fcn.0042b590
mov eax, dword [sym.imp.USER32.dll_IsWindow]
push dword [esi + 0x50]
call eax
test eax, eax
je 0x42aead
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esi + 0x54]
mov dword [esi + 0x50], 0
call fcn.00429160
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 0x42ae25
cmp edi, 5
jne 0x42af2e
mov eax, dword [ebp - 0x40]
sub esp, 0x10
movsx ecx, cx
shr eax, 0x10
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 0x44]
cwde
mov dword [ebp - 0x14], eax
mov eax, esp
mov dword [esi + 0x28], 1
mov edx, dword [ecx]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movups xmm0, xmmword [ebp - 0x20]
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0xac]
movups xmm0, xmmword [ebp - 0x20]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call dword [edx + 0x18]
jmp 0x42ae25
cmp edi, 0x113
jne 0x42af59
mov eax, dword [esi + 0x44]
mov dword [esi + 0x28], 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x38]
call dword [eax + 0x1c]
jmp 0x42ae25
cmp edi, 0x84
jne 0x42b0c3
mov eax, ecx
movsx edx, cx
shr eax, 0x10
movsx ecx, ax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x28], 1
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x30], 0
test eax, eax
je 0x42afae
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 - 0x30], eax
mov eax, dword [ebp - 0x18]
jmp 0x42afb1
mov eax, dword [ebp - 0x3c]
mov edx, dword [esi]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x40]
cmp dword [ebp - 0x30], 1
jne 0x42b0b6
cmp dword [esi + 0x68], 0
je 0x42b0b6
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0x44]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf4]
test eax, eax
je 0x42b002
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
test eax, eax
je 0x42b0b6
push 1
mov dword [ebp - 0x30], 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x42b040
cmp dword [esi + 0x58], 0
jne 0x42b046
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 0x42b05a
cmp dword [esi + 0x58], 0
je 0x42b05a
cmp dword [esi + 0x5c], 0
jne 0x42b05a
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x42b09c
cmp dword [esi + 0x60], 0
jne 0x42b0a2
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 ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [ecx], eax
jmp 0x42ae2e
cmp dword [esi + 0x60], 0
je 0x42b0b6
cmp dword [esi + 0x5c], 0
jne 0x42b0b6
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 1
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [ecx], eax
jmp 0x42ae2e
cmp edi, 0x20
jne 0x42b1e9
mov edi, ecx
movzx eax, cx
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x28], 1
mov dword [ebp - 0x30], 0
shr edi, 0x10
mov edx, dword [ecx]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [esi + 0x44]
push edi
push eax
push dword [ebp - 0x38]
push ecx
call dword [edx + 0xb8]
cmp dword [ebp - 0x30], 0
je 0x42b107
mov edx, 1
jmp 0x42b127
mov eax, dword [esi + 0x18]
xor edx, edx
test eax, eax
je 0x42b127
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 edx, eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], edx
cmp dword [esi + 0x28], 0
jne 0x42ae38
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x40]
movzx edx, cx
mov eax, edx
cmp edi, 0x2a1
jne 0x42b364
mov eax, ecx
movsx edx, dx
shr eax, 0x10
movsx edi, ax
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x44]
push edi
push edx
push dword [ebp - 0x38]
mov dword [esi + 0x28], 1
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x3c], edx
call dword [ecx + 0xc0]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
call dword [eax + 0x24]
mov edi, dword [ebp - 0x34]
mov dword [edi], 0
cmp dword [esi + 0x28], 0
jne 0x42ae38
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 0xc]
cmp eax, 0x2a3
jne 0x42b37a
cmp dword [esi + 0x40], 0
mov dword [esi + 0x28], 1
jne 0x42b1cf
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
cmp dword [esi + 0x28], 0
je 0x42b508
mov eax, 1
jmp 0x42b50a
cmp edi, 0x14
jne 0x42b1fc
mov dword [eax], 1
lea eax, [edi - 0x13]
jmp 0x42b50a
cmp edi, 0xf
jne 0x42b21c
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.00429c60
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
lea eax, [edi - 0xe]
jmp 0x42b50a
cmp edi, 0x318
jne 0x42b241
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.00429c60
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, 1
jmp 0x42b50a
cmp edi, 0x3400
jne 0x42b284
push 0
call fcn.00475590
mov edi, dword [ebp - 0x40]
add esp, 4
push 0
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
test edi, edi
je 0x42b271
push 0x10
push edi
call fcn.004864f3
add esp, 8
mov ecx, dword [ebp - 0x34]
mov eax, 1
mov dword [ecx], 0
jmp 0x42b50a
lea eax, [edi - 0x200]
cmp eax, 0xe
ja 0x42b2da
mov eax, dword [esi + 4]
xorps xmm0, xmm0
push dword [esi + 0x50]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42b2ce
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x407
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], 1
mov ecx, dword [ebp - 0x40]
cmp edi, 0x200
jne 0x42b139
movzx eax, cx
movsx edx, ax
mov dword [ebp - 0x30], eax
mov eax, ecx
shr eax, 0x10
movsx edi, ax
mov eax, dword [esi + 0x44]
push edi
push edx
push dword [ebp - 0x38]
mov dword [esi + 0x28], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xbc]
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
push edi
movsx ecx, dx
push ecx
push dword [ebp - 0x38]
mov ecx, esi
call dword [eax + 0x20]
cmp dword [esi + 0x40], 0
je 0x42b335
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 - 0x30]
movzx eax, ax
mov dword [edi], 0
cmp dword [esi + 0x28], 0
jne 0x42ae38
mov ecx, dword [ebp - 0x40]
movsx edx, ax
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], eax
jmp 0x42b19a
mov edi, dword [ebp - 0x34]
movsx edx, ax
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], eax
jmp 0x42b19a
cmp eax, 0x201
jne 0x42b3e0
push dword [esi + 4]
shr ecx, 0x10
mov dword [esi + 0x28], 1
movsx edi, cx
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esi + 0x44]
lea edx, [ebp - 0x30]
push edx
push edi
push dword [ebp - 0x3c]
mov dword [ebp - 0x30], 1
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], 0
cmp dword [esi + 0x28], 0
je 0x42b508
mov eax, 1
jmp 0x42b50a
cmp eax, 0x202
jne 0x42b429
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x3c]
movsx edi, ax
mov eax, dword [esi + 0x44]
push edi
push edx
push dword [ebp - 0x38]
mov dword [esi + 0x28], 1
mov dword [ebp - 0x30], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xcc]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
call dword [eax + 0x30]
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x42b3c3
cmp eax, 0x203
jne 0x42b46f
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x3c]
movsx edi, ax
mov eax, dword [esi + 0x44]
push edi
push edx
push dword [ebp - 0x38]
mov dword [esi + 0x28], 1
mov dword [ebp - 0x30], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
call dword [eax + 0x34]
jmp 0x42b3c3
cmp eax, 0x204
jne 0x42b4b5
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x3c]
movsx edi, ax
mov eax, dword [esi + 0x44]
push edi
push edx
push dword [ebp - 0x38]
mov dword [esi + 0x28], 1
mov dword [ebp - 0x30], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd4]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
call dword [eax + 0x38]
jmp 0x42b3c3
cmp eax, 0x205
jne 0x42b4fb
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x40]
push edx
mov edx, dword [ebp - 0x3c]
movsx edi, ax
mov eax, dword [esi + 0x44]
push edi
push edx
push dword [ebp - 0x38]
mov dword [esi + 0x28], 1
mov dword [ebp - 0x40], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd8]
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
call dword [eax + 0x3c]
jmp 0x42b3c3
cmp eax, 0x31a
jne 0x42b508
mov dword [edi], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004864b8
mov esp, ebp
pop ebp
ret 0x18