Function at 0x453340
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x548f28
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
cmp edi, 0x14
je 0x4533c2
cmp edi, 0x100
jne 0x45346d
mov eax, dword [ebp + 0xc]
cmp eax, 0x41
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
je 0x453395
cmp eax, 0x61
jne 0x4533dc
push 0x11
call ebx
test ax, ax
jns 0x4533dc
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push ecx
call edi
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
jne 0x45344a
push 0x11
call ebx
test ax, ax
js 0x453565
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x453400
mov edx, dword [esi + 0x20]
push 1
push 0x102
push 0x102
push edx
lea eax, [esp + 0x38]
push eax
call edi
cmp eax, 1
je 0x453400
mov esi, dword [esi + 0x54]
test esi, esi
je 0x453433
push 0
push 0
push 0x404
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x1b
jne 0x453565
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 0xf
jne 0x453549
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push edi
mov ecx, esi
call fcn.004ebd7d
mov ecx, esi
mov ebx, eax
call fcn.004f3fea
test eax, eax
jg 0x453532
push esi
lea ecx, [esp + 0x2c]
call fcn.004ea297
push 0
push 0
mov dword [esp + 0x58], 0
mov eax, dword [esi + 0x20]
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.004ea4bd
push eax
lea ecx, [esp + 0x2c]
call fcn.004ea5a3
push 0xc8c6c5
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.004e9bfd
push 1
lea ecx, [esp + 0x2c]
call fcn.004e9ba1
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esi + 0x58]
add dword [esp + 0x18], 4
mov eax, dword [esi - 0xc]
mov edx, dword [esp + 0x28]
push 0x824
lea ecx, [esp + 0x1c]
push ecx
push eax
mov eax, dword [edx + 0x68]
push esi
lea ecx, [esp + 0x38]
call eax
push edi
lea ecx, [esp + 0x2c]
call fcn.004ea5a3
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], 0xffffffff
call fcn.004ea2eb
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 8
jne 0x45358a
mov eax, dword [esi + 0x54]
test eax, eax
je 0x453565
push 0
push 0
push 0x40d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
push edi
mov ecx, esi
call fcn.004ebd7d
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 0x201
jne 0x4535b3
mov eax, dword [esi + 0x54]
test eax, eax
je 0x4535a9
push 0
push 0
push 0x40d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
jmp 0x453565
cmp edi, 0x7b
jne 0x4535e5
mov eax, dword [ebp + 0x10]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push eax
push ecx
mov eax, esi
call fcn.00453100
lea eax, [edi - 0x7a]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 0xbb8
je 0x453565
cmp edi, 0xbb9
jne 0x453627
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 4]
push 0
push 1
call fcn.004fe37c
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 0xbba
jne 0x4536b3
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
push 0
push 1
call fcn.004fe37c
cmp eax, 1
jne 0x453433
mov ecx, dword [edi + 4]
push 0
push eax
call fcn.004fe402
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [esp + 0x18]
call fcn.00416910
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jle 0x453690
mov esi, dword [esi + 0x54]
test esi, esi
je 0x453690
push 0
push eax
push 0x405
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x14]
call fcn.004165f0
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 0xbbb
jne 0x4536d3
or eax, 0xffffffff
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 0xbbc
je 0x453565
cmp edi, 1
jne 0x453565
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
push edi
call fcn.004ebd7d
mov ecx, dword [esi + 0x20]
push 0
push 0x1f4
push 0xc5
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc