Function at 0x4206b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb3c0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5304cc]
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 0x420e38
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x420772
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.00461550
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 0x420a69
mov eax, 1
jmp 0x420e3a
cmp edi, 2
jne 0x420804
mov eax, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esi + 0x28], 1
cmp dword [esi + 0x4c], 0
je 0x4207cb
push dword [esi + 4]
call eax
test eax, eax
je 0x4207be
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
mov dword [ebp - 0x30], eax
cmp eax, ecx
je 0x4207be
push dword [eax + 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebp - 0x30]
call fcn.0041e550
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + 0x48]
jne 0x4207a2
lea ecx, [esi + 0x48]
call fcn.00420ec0
mov eax, dword [sym.imp.USER32.dll_IsWindow]
push dword [esi + 0x50]
call eax
test eax, eax
je 0x4207dd
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esi + 0x54]
mov dword [esi + 0x50], 0
call fcn.0041ee00
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 0x420755
cmp edi, 5
jne 0x42085e
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 0x420755
cmp edi, 0x113
jne 0x420889
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 0x420755
cmp edi, 0x84
jne 0x4209f3
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 0x4208de
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 0x4208e1
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 0x4209e6
cmp dword [esi + 0x68], 0
je 0x4209e6
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 0x420932
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
test eax, eax
je 0x4209e6
push 1
mov dword [ebp - 0x30], 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x420970
cmp dword [esi + 0x58], 0
jne 0x420976
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 0x42098a
cmp dword [esi + 0x58], 0
je 0x42098a
cmp dword [esi + 0x5c], 0
jne 0x42098a
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
je 0x4209cc
cmp dword [esi + 0x60], 0
jne 0x4209d2
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 0x42075e
cmp dword [esi + 0x60], 0
je 0x4209e6
cmp dword [esi + 0x5c], 0
jne 0x4209e6
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 0x42075e
cmp edi, 0x20
jne 0x420b19
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 0x420a37
mov edx, 1
jmp 0x420a57
mov eax, dword [esi + 0x18]
xor edx, edx
test eax, eax
je 0x420a57
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 0x420768
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x40]
movzx edx, cx
mov eax, edx
cmp edi, 0x2a1
jne 0x420c94
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 0x420768
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 0xc]
cmp eax, 0x2a3
jne 0x420caa
cmp dword [esi + 0x40], 0
mov dword [esi + 0x28], 1
jne 0x420aff
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 0x420e38
mov eax, 1
jmp 0x420e3a
cmp edi, 0x14
jne 0x420b2c
mov dword [eax], 1
lea eax, [edi - 0x13]
jmp 0x420e3a
cmp edi, 0xf
jne 0x420b4c
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.0041f620
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
lea eax, [edi - 0xe]
jmp 0x420e3a
cmp edi, 0x318
jne 0x420b71
lea eax, [ebp - 0x30]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.0041f620
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, 1
jmp 0x420e3a
cmp edi, 0x3400
jne 0x420bb4
push 0
call fcn.00461020
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 0x420ba1
push 0x10
push edi
call fcn.00468db3
add esp, 8
mov ecx, dword [ebp - 0x34]
mov eax, 1
mov dword [ecx], 0
jmp 0x420e3a
lea eax, [edi - 0x200]
cmp eax, 0xd
ja 0x420c0a
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 0x420bfe
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 0x420a69
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 0x420c65
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 0x420768
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 0x420aca
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 0x420aca
cmp eax, 0x201
jne 0x420d10
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 0x420e38
mov eax, 1
jmp 0x420e3a
cmp eax, 0x202
jne 0x420d59
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 0x420cf3
cmp eax, 0x203
jne 0x420d9f
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 0x420cf3
cmp eax, 0x204
jne 0x420de5
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 0x420cf3
cmp eax, 0x205
jne 0x420e2b
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 0x420cf3
cmp eax, 0x31a
jne 0x420e38
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.00468d78
mov esp, ebp
pop ebp
ret 0x18