Function at 0x41de70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523030
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x576644]
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 0x41e5f8
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x41df32
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.00490000
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 0x41e229
mov eax, 1
jmp 0x41e5fa
cmp edi, 2
jne 0x41dfc4
mov eax, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esi + 0x28], 1
cmp dword [esi + 0x4c], 0
je 0x41df8b
push dword [esi + 4]
call eax
test eax, eax
je 0x41df7e
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
mov dword [ebp - 0x30], eax
cmp eax, ecx
je 0x41df7e
push dword [eax + 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebp - 0x30]
call fcn.0041c850
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + 0x48]
jne 0x41df62
lea ecx, [esi + 0x48]
call fcn.0041e680
mov eax, dword [sym.imp.USER32.dll_IsWindow]
push dword [esi + 0x50]
call eax
test eax, eax
je 0x41df9d
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esi + 0x54]
mov dword [esi + 0x50], 0
call fcn.0041cc50
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 0x41df15
cmp edi, 5
jne 0x41e01e
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 0x41df15
cmp edi, 0x113
jne 0x41e049
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 0x41df15
cmp edi, 0x84
jne 0x41e1b3
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 0x41e09e
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 0x41e0a1
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 0x41e1a6
cmp dword [esi + 0x68], 0
je 0x41e1a6
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 0x41e0f2
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
test eax, eax
je 0x41e1a6
push 1
mov dword [ebp - 0x30], 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x41e130
cmp dword [esi + 0x58], 0
jne 0x41e136
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 0x41e14a
cmp dword [esi + 0x58], 0
je 0x41e14a
cmp dword [esi + 0x5c], 0
jne 0x41e14a
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x41e18c
cmp dword [esi + 0x60], 0
jne 0x41e192
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 0x41df1e
cmp dword [esi + 0x60], 0
je 0x41e1a6
cmp dword [esi + 0x5c], 0
jne 0x41e1a6
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 0x41df1e
cmp edi, 0x20
jne 0x41e2d9
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 0x41e1f7
mov edx, 1
jmp 0x41e217
mov eax, dword [esi + 0x18]
xor edx, edx
test eax, eax
je 0x41e217
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 0x41df28
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x40]
movzx edx, cx
mov eax, edx
cmp edi, 0x2a1
jne 0x41e454
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 0x41df28
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 0xc]
cmp eax, 0x2a3
jne 0x41e46a
cmp dword [esi + 0x40], 0
mov dword [esi + 0x28], 1
jne 0x41e2bf
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 0x41e5f8
mov eax, 1
jmp 0x41e5fa
cmp edi, 0x14
jne 0x41e2ec
mov dword [eax], 1
lea eax, [edi - 0x13]
jmp 0x41e5fa
cmp edi, 0xf
jne 0x41e30c
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.0041d240
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
lea eax, [edi - 0xe]
jmp 0x41e5fa
cmp edi, 0x318
jne 0x41e331
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.0041d240
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, 1
jmp 0x41e5fa
cmp edi, 0x3400
jne 0x41e374
push 0
call fcn.00495fb0
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 0x41e361
push 0x10
push edi
call fcn.004a7285
add esp, 8
mov ecx, dword [ebp - 0x34]
mov eax, 1
mov dword [ecx], 0
jmp 0x41e5fa
lea eax, [edi - 0x200]
cmp eax, 0xd
ja 0x41e3ca
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 0x41e3be
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 0x41e229
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 0x41e425
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 0x41df28
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 0x41e28a
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 0x41e28a
cmp eax, 0x201
jne 0x41e4d0
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 0x41e5f8
mov eax, 1
jmp 0x41e5fa
cmp eax, 0x202
jne 0x41e519
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 0x41e4b3
cmp eax, 0x203
jne 0x41e55f
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 0x41e4b3
cmp eax, 0x204
jne 0x41e5a5
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 0x41e4b3
cmp eax, 0x205
jne 0x41e5eb
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 0x41e4b3
cmp eax, 0x31a
jne 0x41e5f8
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.004a7695
mov esp, ebp
pop ebp
ret 0x18