Function at 0x41c440
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5306d0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x589644]
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 0x41cbc8
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x41c502
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.004a4810
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 0x41c7f9
mov eax, 1
jmp 0x41cbca
cmp edi, 2
jne 0x41c594
mov eax, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esi + 0x28], 1
cmp dword [esi + 0x4c], 0
je 0x41c55b
push dword [esi + 4]
call eax
test eax, eax
je 0x41c54e
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
mov dword [ebp - 0x30], eax
cmp eax, ecx
je 0x41c54e
push dword [eax + 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebp - 0x30]
call fcn.0041ae10
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + 0x48]
jne 0x41c532
lea ecx, [esi + 0x48]
call fcn.0041cc50
mov eax, dword [sym.imp.USER32.dll_IsWindow]
push dword [esi + 0x50]
call eax
test eax, eax
je 0x41c56d
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esi + 0x54]
mov dword [esi + 0x50], 0
call fcn.0041b210
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 0x41c4e5
cmp edi, 5
jne 0x41c5ee
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 0x41c4e5
cmp edi, 0x113
jne 0x41c619
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 0x41c4e5
cmp edi, 0x84
jne 0x41c783
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 0x41c66e
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 0x41c671
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 0x41c776
cmp dword [esi + 0x68], 0
je 0x41c776
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 0x41c6c2
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
test eax, eax
je 0x41c776
push 1
mov dword [ebp - 0x30], 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x41c700
cmp dword [esi + 0x58], 0
jne 0x41c706
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 0x41c71a
cmp dword [esi + 0x58], 0
je 0x41c71a
cmp dword [esi + 0x5c], 0
jne 0x41c71a
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x41c75c
cmp dword [esi + 0x60], 0
jne 0x41c762
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 0x41c4ee
cmp dword [esi + 0x60], 0
je 0x41c776
cmp dword [esi + 0x5c], 0
jne 0x41c776
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 0x41c4ee
cmp edi, 0x20
jne 0x41c8a9
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 0x41c7c7
mov edx, 1
jmp 0x41c7e7
mov eax, dword [esi + 0x18]
xor edx, edx
test eax, eax
je 0x41c7e7
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 0x41c4f8
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x40]
movzx edx, cx
mov eax, edx
cmp edi, 0x2a1
jne 0x41ca24
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 0x41c4f8
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 0xc]
cmp eax, 0x2a3
jne 0x41ca3a
cmp dword [esi + 0x40], 0
mov dword [esi + 0x28], 1
jne 0x41c88f
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 0x41cbc8
mov eax, 1
jmp 0x41cbca
cmp edi, 0x14
jne 0x41c8bc
mov dword [eax], 1
lea eax, [edi - 0x13]
jmp 0x41cbca
cmp edi, 0xf
jne 0x41c8dc
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.0041b810
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
lea eax, [edi - 0xe]
jmp 0x41cbca
cmp edi, 0x318
jne 0x41c901
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.0041b810
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, 1
jmp 0x41cbca
cmp edi, 0x3400
jne 0x41c944
push 0
call fcn.004a38e0
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 0x41c931
push 0x10
push edi
call fcn.004b81da
add esp, 8
mov ecx, dword [ebp - 0x34]
mov eax, 1
mov dword [ecx], 0
jmp 0x41cbca
lea eax, [edi - 0x200]
cmp eax, 0xd
ja 0x41c99a
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 0x41c98e
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 0x41c7f9
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 0x41c9f5
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 0x41c4f8
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 0x41c85a
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 0x41c85a
cmp eax, 0x201
jne 0x41caa0
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 0x41cbc8
mov eax, 1
jmp 0x41cbca
cmp eax, 0x202
jne 0x41cae9
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 0x41ca83
cmp eax, 0x203
jne 0x41cb2f
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 0x41ca83
cmp eax, 0x204
jne 0x41cb75
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 0x41ca83
cmp eax, 0x205
jne 0x41cbbb
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 0x41ca83
cmp eax, 0x31a
jne 0x41cbc8
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.004b85ea
mov esp, ebp
pop ebp
ret 0x18