Function at 0x41f8b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f070
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x57146c]
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 0x420038
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x41f972
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.00460170
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 0x41fc69
mov eax, 1
jmp 0x42003a
cmp edi, 2
jne 0x41fa04
mov eax, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esi + 0x28], 1
cmp dword [esi + 0x4c], 0
je 0x41f9cb
push dword [esi + 4]
call eax
test eax, eax
je 0x41f9be
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
mov dword [ebp - 0x30], eax
cmp eax, ecx
je 0x41f9be
push dword [eax + 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebp - 0x30]
call fcn.0041d450
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + 0x48]
jne 0x41f9a2
lea ecx, [esi + 0x48]
call fcn.004200c0
mov eax, dword [sym.imp.USER32.dll_IsWindow]
push dword [esi + 0x50]
call eax
test eax, eax
je 0x41f9dd
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esi + 0x54]
mov dword [esi + 0x50], 0
call fcn.0041dc40
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 0x41f955
cmp edi, 5
jne 0x41fa5e
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 0x41f955
cmp edi, 0x113
jne 0x41fa89
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 0x41f955
cmp edi, 0x84
jne 0x41fbf3
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 0x41fade
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 0x41fae1
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 0x41fbe6
cmp dword [esi + 0x68], 0
je 0x41fbe6
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 0x41fb32
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
test eax, eax
je 0x41fbe6
push 1
mov dword [ebp - 0x30], 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x41fb70
cmp dword [esi + 0x58], 0
jne 0x41fb76
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 0x41fb8a
cmp dword [esi + 0x58], 0
je 0x41fb8a
cmp dword [esi + 0x5c], 0
jne 0x41fb8a
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x41fbcc
cmp dword [esi + 0x60], 0
jne 0x41fbd2
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 0x41f95e
cmp dword [esi + 0x60], 0
je 0x41fbe6
cmp dword [esi + 0x5c], 0
jne 0x41fbe6
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 0x41f95e
cmp edi, 0x20
jne 0x41fd19
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 0x41fc37
mov edx, 1
jmp 0x41fc57
mov eax, dword [esi + 0x18]
xor edx, edx
test eax, eax
je 0x41fc57
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 0x41f968
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x40]
movzx edx, cx
mov eax, edx
cmp edi, 0x2a1
jne 0x41fe94
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 0x41f968
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 0xc]
cmp eax, 0x2a3
jne 0x41feaa
cmp dword [esi + 0x40], 0
mov dword [esi + 0x28], 1
jne 0x41fcff
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 0x420038
mov eax, 1
jmp 0x42003a
cmp edi, 0x14
jne 0x41fd2c
mov dword [eax], 1
lea eax, [edi - 0x13]
jmp 0x42003a
cmp edi, 0xf
jne 0x41fd4c
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.0041e6c0
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
lea eax, [edi - 0xe]
jmp 0x42003a
cmp edi, 0x318
jne 0x41fd71
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.0041e6c0
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, 1
jmp 0x42003a
cmp edi, 0x3400
jne 0x41fdb4
push 0
call fcn.00466140
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 0x41fda1
push 0x10
push edi
call fcn.00477d79
add esp, 8
mov ecx, dword [ebp - 0x34]
mov eax, 1
mov dword [ecx], 0
jmp 0x42003a
lea eax, [edi - 0x200]
cmp eax, 0xd
ja 0x41fe0a
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 0x41fdfe
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 0x41fc69
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 0x41fe65
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 0x41f968
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 0x41fcca
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 0x41fcca
cmp eax, 0x201
jne 0x41ff10
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 0x420038
mov eax, 1
jmp 0x42003a
cmp eax, 0x202
jne 0x41ff59
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 0x41fef3
cmp eax, 0x203
jne 0x41ff9f
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 0x41fef3
cmp eax, 0x204
jne 0x41ffe5
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 0x41fef3
cmp eax, 0x205
jne 0x42002b
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 0x41fef3
cmp eax, 0x31a
jne 0x420038
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.00477d68
mov esp, ebp
pop ebp
ret 0x18