Function at 0x4a52e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x61476c]
sub esp, 0xc
push edi
xor edi, edi
cmp eax, edi
je 0x4a55f8
call fcn.00502b30
cmp eax, edi
mov dword [esp + 0xc], eax
je 0x4a55f8
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, edi
sete al
push ebx
push ebp
push esi
mov ebp, eax
cmp dword [esp + 0x24], edi
je 0x4a534b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 0x8000
sub eax, 0x8000
neg eax
sbb eax, eax
inc eax
cmp eax, edi
je 0x4a534b
cmp dword [0x614770], edi
je 0x4a5345
cmp dword [0x614ed0], edi
je 0x4a535f
mov dword [esp + 0x14], edi
jmp 0x4a5367
cmp dword [0x614770], edi
je 0x4a535f
cmp dword [0x614ed0], edi
mov dword [esp + 0x14], edi
je 0x4a5367
mov dword [esp + 0x14], 1
push 0xa
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov esi, eax
cmp esi, edi
je 0x4a55f5
cmp dword [esp + 0x14], edi
mov ebx, dword [sym.imp.USER32.dll_DeferWindowPos]
je 0x4a53d5
mov edi, dword [0x64531c]
test edi, edi
je 0x4a5433
mov ecx, dword [edi + 0xbf4]
cmp ecx, dword [esp + 0x18]
jne 0x4a53c9
mov edx, dword [edi]
push edx
call fcn.00582c10
add esp, 4
test eax, eax
je 0x4a53c9
mov eax, dword [edi]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push eax
push esi
call ebx
mov esi, eax
test esi, esi
je 0x4a55f5
mov edi, dword [edi + 0xe54]
test edi, edi
jne 0x4a5393
jmp 0x4a5433
mov ecx, dword [0x645328]
push 5
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x4a5433
lea ebx, [ebx]
push edi
call fcn.005827d0
add esp, 4
test eax, eax
je 0x4a5424
mov edx, dword [esp + 0x18]
cmp dword [eax + 0xbf4], edx
jne 0x4a5424
mov eax, dword [eax]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push eax
push esi
call ebx
mov esi, eax
test esi, esi
je 0x4a55f5
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x4a53f0
mov eax, dword [0x63c814]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4a551f
jmp 0x4a5450
mov eax, dword [esp + 0x10]
lea ebx, [ebx]
cmp eax, dword [esp + 0x18]
je 0x4a550d
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4a54b2
mov edi, dword [0x64531c]
test edi, edi
je 0x4a550d
cmp dword [edi + 0xbf4], eax
jne 0x4a54a6
mov ecx, dword [edi]
push ecx
call fcn.00582c10
add esp, 4
test eax, eax
je 0x4a54a2
mov edx, dword [edi]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push edx
push esi
call ebx
mov esi, eax
test esi, esi
je 0x4a55f5
mov eax, dword [esp + 0x10]
mov edi, dword [edi + 0xe54]
test edi, edi
jne 0x4a5470
jmp 0x4a550d
mov eax, dword [0x645328]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x4a5509
push edi
call fcn.005827d0
add esp, 4
test eax, eax
je 0x4a54fa
mov ecx, dword [esp + 0x10]
cmp dword [eax + 0xbf4], ecx
jne 0x4a54fa
mov edx, dword [eax]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push edx
push esi
call ebx
mov esi, eax
test esi, esi
je 0x4a55f5
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x4a54c6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x26a0]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4a5446
mov eax, dword [0x63c814]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4a55ea
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a5582
mov edi, dword [0x64531c]
test edi, edi
je 0x4a55d4
mov eax, dword [edi + 0xa44]
test eax, eax
je 0x4a5576
mov eax, dword [edi]
push eax
call fcn.00582c10
add esp, 4
test eax, eax
je 0x4a5576
mov ecx, dword [edi]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push ecx
push esi
call ebx
mov esi, eax
test esi, esi
je 0x4a55f5
mov edi, dword [edi + 0xe54]
test edi, edi
jne 0x4a5546
jmp 0x4a55d4
mov edx, dword [0x645328]
push 5
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x4a55d4
push edi
call fcn.005827d0
add esp, 4
test eax, eax
je 0x4a55c5
mov ecx, dword [eax + 0xa44]
test ecx, ecx
je 0x4a55c5
mov eax, dword [eax]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push eax
push esi
call ebx
mov esi, eax
test esi, esi
je 0x4a55f5
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x4a5597
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x26a0]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4a5530
test esi, esi
je 0x4a55f5
push esi
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret