Function at 0x457260
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47942d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
push 0x18
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.0046c08a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
mov eax, dword [edi + 0x24]
push ecx
push esi
mov dword [ebp - 0x14], 0
mov ecx, dword [eax + 0x14]
call fcn.0046b7f0
test eax, eax
je 0x457303
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x24]
movss xmm0, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
movss dword [ebp - 0x1c], xmm0
push eax
call fcn.00443b30
mov eax, dword [ebp - 0x20]
test eax, eax
setne bl
mov byte [ebp - 0x25], bl
test eax, eax
je 0x4576ed
mov eax, dword [ebp - 0x24]
xorps xmm0, xmm0
push 0xc
mov eax, dword [eax]
mov ebx, dword [eax + 0x14]
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0046c08a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
mov ecx, 0xff80
test cx, ax
je 0x4574eb
mov eax, dword [edi + 0x30]
mov esi, dword [eax]
cmp esi, eax
je 0x457388
nop
cmp dword [esi + 8], ebx
lea eax, [esi + 8]
je 0x457381
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041ccb0
mov esi, dword [esi]
cmp esi, dword [edi + 0x30]
jne 0x457370
cmp dword [ebp - 0x18], 0
je 0x45743f
mov ebx, dword [0x49fbb0]
mov esi, dword [ebx + 0x43c]
test esi, esi
jne 0x4573c7
push 0x34
call fcn.0046c08a
push 0x34
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00416a80
mov dword [ebx + 0x43c], eax
mov esi, eax
mov eax, dword [esi]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], edi
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
add eax, 8
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004244f0
mov ecx, eax
mov byte [ebp - 4], 3
mov edx, esp
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], esp
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov byte [ebp - 4], 4
cmp dword [edx], 0
je 0x457836
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
mov ecx, esi
call ebx
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x34]
jmp 0x45768d
cmp dword [edi + 0x34], 0
je 0x4576b2
mov ebx, dword [0x49fbb0]
mov esi, dword [ebx + 0x43c]
test esi, esi
jne 0x45747e
push 0x34
call fcn.0046c08a
push 0x34
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00416a80
mov dword [ebx + 0x43c], eax
mov esi, eax
mov eax, dword [esi]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], edi
mov ebx, dword [eax + 4]
call fcn.00457c70
mov ecx, eax
mov byte [ebp - 4], 6
sub esp, 8
mov edx, esp
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x2c], edx
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov byte [ebp - 4], 7
cmp dword [edx], 0
je 0x457836
mov byte [ebp - 4], 8
mov byte [ebp - 4], 6
mov ecx, esi
call ebx
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x34]
jmp 0x45768d
push 0x11
call esi
mov ecx, 0xff80
test cx, ax
je 0x4575d0
mov eax, dword [edi + 0x30]
mov esi, dword [eax]
cmp esi, eax
je 0x457519
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041ccb0
mov esi, dword [esi]
cmp esi, dword [edi + 0x30]
jne 0x457506
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x5c]
cmp eax, ebx
je 0x4576b2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041ccb0
mov ebx, dword [0x49fbb0]
mov esi, dword [ebx + 0x43c]
test esi, esi
jne 0x457569
push 0x34
call fcn.0046c08a
push 0x34
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00416a80
mov dword [ebx + 0x43c], eax
mov esi, eax
mov eax, dword [esi]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], edi
mov ebx, dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004244f0
mov ecx, eax
mov byte [ebp - 4], 9
mov edx, esp
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], esp
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov byte [ebp - 4], 0xa
cmp dword [edx], 0
je 0x457836
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 9
jmp 0x457682
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x5c]
cmp eax, ebx
je 0x4576b2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041ccb0
mov ebx, dword [0x49fbb0]
mov esi, dword [ebx + 0x43c]
test esi, esi
jne 0x457620
push 0x34
call fcn.0046c08a
push 0x34
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00416a80
mov dword [ebx + 0x43c], eax
mov esi, eax
mov eax, dword [esi]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], edi
mov ebx, dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004244f0
mov ecx, eax
mov byte [ebp - 4], 0xc
mov edx, esp
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esp
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov byte [ebp - 4], 0xd
cmp dword [edx], 0
je 0x457836
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xc
mov ecx, esi
call ebx
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x4576b2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4576b2
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4576b2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x4576db
mov esi, dword [eax]
push 0xc
push eax
call fcn.0046c0ba
add esp, 8
mov eax, esi
test esi, esi
jne 0x4576c8
push 0xc
push dword [ebp - 0x1c]
call fcn.0046c0ba
add esp, 8
jmp 0x4577cf
cmp dword [edi + 0x34], 0
je 0x4577d2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff80
test cx, ax
jne 0x4577d2
mov ebx, dword [0x49fbb0]
mov esi, dword [ebx + 0x43c]
test esi, esi
jne 0x457742
push 0x34
call fcn.0046c08a
push 0x34
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00416a80
mov dword [ebx + 0x43c], eax
mov esi, eax
mov eax, dword [esi]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], edi
mov ebx, dword [eax + 4]
call fcn.00457c70
mov ecx, eax
mov byte [ebp - 4], 0xf
sub esp, 8
mov edx, esp
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x30], edx
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov byte [ebp - 4], 0x10
cmp dword [edx], 0
je 0x457836
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xf
mov ecx, esi
call ebx
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x4577cf
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4577cf
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4577cf
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov bl, byte [ebp - 0x25]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x45780b
push dword [esi + 8]
lea eax, [ebp - 0x24]
push eax
mov ecx, eax
call fcn.0040cb90
mov eax, esi
mov esi, dword [esi]
push 0x18
push eax
call fcn.0046c0ba
add esp, 8
cmp byte [esi + 0xd], 0
je 0x4577e5
mov eax, dword [ebp - 0x24]
push 0x18
push eax
call fcn.0046c0ba
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c079
mov esp, ebp
pop ebp
ret 4
call fcn.00416620
int3