Function at 0x427ff0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4a6620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
cmp dword [edi + 4], 0x100
jne 0x428536
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x428536
mov eax, dword [edi + 8]
cmp eax, 9
je 0x428383
cmp eax, 0x1b
je 0x428184
cmp eax, 0x2e
jne 0x428536
mov eax, dword [esi + 0xba4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov eax, dword [eax + 0x1c]
push 0x157
push eax
call edi
cmp eax, 1
jne 0x4280f8
mov ecx, dword [esi + 0xda4]
push 0
push 0
push 0x147
push ecx
call edi
mov ebx, eax
test ebx, ebx
jl 0x428536
push ebx
lea ecx, [esi + 0xd88]
call fcn.0048913c
lea ebp, [esi + 0x258]
push ebx
mov ecx, ebp
call fcn.0048a19e
test eax, eax
je 0x4280b2
push eax
mov ecx, ebp
call fcn.0048a167
test ebx, ebx
jle 0x4280cd
mov edx, dword [esi + 0xda4]
push 0
push 0
push 0x146
push edx
call edi
cmp ebx, eax
jl 0x4280cd
dec ebx
mov eax, dword [esi + 0xda4]
push 0
push ebx
push 0x14e
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov eax, dword [esi + 0xba0]
push 0
push 0
push 0x157
mov ecx, dword [eax + 0x1c]
push ecx
call edi
cmp eax, 1
jne 0x428536
mov edx, dword [esi + 0xc98]
push 0
push 0
push 0x147
push edx
call edi
mov ebx, eax
test ebx, ebx
jl 0x428536
push ebx
lea ecx, [esi + 0xc7c]
call fcn.0048913c
test ebx, ebx
jle 0x428159
mov eax, dword [esi + 0xc98]
push 0
push 0
push 0x146
push eax
call edi
cmp ebx, eax
jl 0x428159
dec ebx
mov ecx, dword [esi + 0xc98]
push 0
push ebx
push 0x14e
push ecx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov eax, dword [esi + 0xba0]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov edx, dword [eax + 0x1c]
push 0x157
push edx
call edi
cmp eax, 1
jne 0x4281d3
mov eax, dword [esi + 0xba0]
push 0
push 0
push 0x14f
mov ecx, dword [eax + 0x1c]
push ecx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov eax, dword [esi + 0xba4]
push 0
push 0
push 0x157
mov edx, dword [eax + 0x1c]
push edx
call edi
cmp eax, 1
jne 0x42821c
mov eax, dword [esi + 0xba4]
push 0
push 0
push 0x14f
mov ecx, dword [eax + 0x1c]
push ecx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov ebp, dword [sym.imp.USER32.dll_GetFocus]
call ebp
push eax
call fcn.0048bd5a
mov ebx, eax
mov eax, dword [esi + 0xba0]
push 0
push 0
mov edx, dword [eax + 0x1c]
push 0x407
push edx
call edi
push eax
call fcn.0048bd5a
cmp ebx, eax
jne 0x428335
push 0
mov ecx, esi
call fcn.0049c4d4
mov ebx, eax
test ebx, ebx
je 0x428335
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x428335
mov ecx, dword [eax + 0x1f4]
test ecx, ecx
je 0x428335
mov eax, dword [0x4d8094]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xba0]
push 0
push 0
push 0x407
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x28], 0
push ecx
call edi
push eax
call fcn.0048bd5a
lea edx, [esp + 0x10]
mov ecx, eax
push edx
call fcn.0048c724
mov ebp, dword [ebx + 0xf8]
mov eax, dword [esp + 0x10]
mov edi, dword [ebp + 0x1f4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4282ea
test cl, cl
je 0x4282e6
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4282ea
add eax, 2
add edi, 2
test cl, cl
jne 0x4282c6
xor eax, eax
jmp 0x4282ef
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x428303
mov eax, dword [ebp + 0x1f4]
mov ecx, esi
push eax
call fcn.00418c40
jmp 0x42830a
mov ecx, ebx
call fcn.00406210
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048f641
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
call ebp
push eax
call fcn.0048bd5a
mov ebx, eax
mov eax, dword [esi + 0xba4]
push 0
push 0
mov eax, dword [eax + 0x1c]
push 0x407
push eax
call edi
push eax
call fcn.0048bd5a
cmp ebx, eax
jne 0x428536
mov ecx, esi
call fcn.004416c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov eax, dword [esi + 0xba4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov ecx, dword [eax + 0x1c]
push 0x407
push ecx
call edi
push eax
call fcn.0048bd5a
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
mov ebp, eax
call ebx
push eax
call fcn.0048bd5a
cmp ebp, eax
je 0x428362
mov eax, dword [esi + 0xba4]
push 0
push 0
push 0x406
mov edx, dword [eax + 0x1c]
push edx
call edi
push eax
call fcn.0048bd5a
mov ebp, eax
call ebx
push eax
call fcn.0048bd5a
cmp ebp, eax
je 0x428362
mov eax, dword [esi + 0xba0]
push 0
push 0
push 0x157
mov eax, dword [eax + 0x1c]
push eax
call edi
cmp eax, 1
jne 0x42841c
mov ecx, esi
call fcn.00418fc0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
call ebx
push eax
call fcn.0048bd5a
mov ebx, eax
mov eax, dword [esi + 0xba0]
push 0
push 0
mov ecx, dword [eax + 0x1c]
push 0x407
push ecx
call edi
push eax
call fcn.0048bd5a
cmp ebx, eax
jne 0x428536
push 0
mov ecx, esi
call fcn.0049c4d4
mov ebp, eax
test ebp, ebp
je 0x428536
mov eax, dword [ebp + 0xf8]
test eax, eax
je 0x428536
mov ecx, dword [eax + 0x1f4]
test ecx, ecx
je 0x428536
mov edx, dword [0x4d8094]
mov dword [esp + 0x24], edx
mov esi, dword [esi + 0xba0]
push 0
push 0
push 0x407
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x28], 1
push eax
call edi
push eax
call fcn.0048bd5a
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.0048c724
mov eax, dword [ebp + 0xf8]
mov ecx, dword [esp + 0x24]
add eax, 0x1f4
mov esi, dword [eax]
mov dl, byte [ecx]
mov bl, byte [esi]
mov al, dl
cmp dl, bl
jne 0x4284ea
test al, al
je 0x4284e6
mov dl, byte [ecx + 1]
mov bl, byte [esi + 1]
mov al, dl
cmp dl, bl
jne 0x4284ea
add ecx, 2
add esi, 2
test al, al
jne 0x4284c2
xor eax, eax
jmp 0x4284ef
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x428525
mov ecx, ebp
call fcn.00406210
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048f641
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048f641
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4