Function at 0x457250
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x2c
mov eax, dword [ecx + 0x200]
test eax, eax
push esi
lea esi, [ecx + 0x1fc]
mov dword [esp + 4], ecx
je 0x457280
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x45728c
mov eax, 1
pop esi
add esp, 0x2c
ret 0xc
push ebx
mov ebx, dword [esp + 0x38]
test ebx, ebx
jl 0x457868
mov eax, dword [esi + 4]
test eax, eax
je 0x4572b6
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x457868
push ebp
xor ebp, ebp
push edi
mov dword [esp + 0x14], ebp
xor edi, edi
mov eax, dword [esi + 4]
test eax, eax
je 0x4572e5
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x45732b
mov eax, dword [esi + 4]
test eax, eax
je 0x45730a
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x45730f
call fcn.0047770d
mov ecx, dword [esi + 4]
test byte [ecx + ebp + 0xb4], 2
jne 0x457327
add edi, 1
add ebp, 0xc0
jmp 0x4572c8
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
lea edx, [esp + 0x2c]
push edx
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 4]
test eax, eax
je 0x45735f
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x457364
call fcn.0047770d
mov edx, dword [esi + 4]
lea edi, [ebx + ebx*2]
shl edi, 6
mov ebp, dword [edi + edx + 0xb4]
mov eax, edx
test eax, eax
mov dword [esp + 0x18], edi
je 0x457398
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x45739d
call fcn.0047770d
mov eax, dword [esi + 4]
or dword [edi + eax + 0xb4], 2
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [edi + eax + 0xb4]
push ebx
call fcn.0044a330
mov eax, dword [esi + 4]
test eax, eax
je 0x4573e1
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4573e6
call fcn.0047770d
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x10]
mov dword [edx + edi + 0xb4], ebp
mov edi, dword [ecx + 0x1bc]
mov ecx, dword [ecx + 0x1c4]
mov ebx, dword [esp + 0x38]
mov edx, edi
sub edx, ecx
lea ebp, [edx + ebx]
xor eax, eax
cmp dword [esp + 0x28], ebp
jle 0x45741d
mov eax, ecx
sub eax, edi
sub eax, ebx
add eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
cmp ebx, edx
jge 0x45742b
sub ecx, edi
add ecx, ebx
mov eax, ecx
mov ebp, dword [esp + 0x10]
push eax
push 0
mov ecx, ebp
call fcn.004568f0
cmp byte [esp + 0x48], 0
je 0x457782
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call edi
test ax, ax
jns 0x4575a4
mov eax, dword [ebp + 0x210]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jge 0x45746f
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], ecx
jmp 0x457477
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x48], edi
lea ecx, [ecx]
mov eax, dword [esi + 4]
test eax, eax
je 0x45749d
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x457844
mov eax, dword [esi + 4]
test eax, eax
je 0x4574c6
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4574cb
call fcn.0047770d
cmp dword [esp + 0x44], edi
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + ecx + 0xb4]
jg 0x4574fa
cmp edi, dword [esp + 0x14]
jg 0x4574fa
mov ebx, eax
or ebx, 1
cmp edi, dword [esp + 0x40]
jne 0x4574f5
or ebx, 2
jmp 0x4574ff
and ebx, 0xfffffffd
jmp 0x4574ff
mov ebx, eax
and ebx, 0xfffffffc
cmp eax, ebx
je 0x457594
test bl, 2
je 0x457540
mov eax, dword [esi + 4]
test eax, eax
je 0x45752d
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x457532
call fcn.0047770d
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x48]
mov dword [eax + edx + 0xb4], ebx
push 0
lea ecx, [esp + 0x20]
push ecx
push edi
mov ecx, ebp
call fcn.0044a330
mov eax, dword [esi + 4]
test eax, eax
je 0x457570
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x457575
call fcn.0047770d
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x48]
push 0
lea ecx, [esp + 0x20]
mov dword [edx + eax + 0xb4], ebx
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
add edi, 1
add dword [esp + 0x48], 0xc0
jmp 0x457480
push 0x11
call edi
test ax, ax
jns 0x45763b
mov edi, dword [esp + 0x14]
push 0
lea eax, [esp + 0x20]
push eax
push edi
mov ecx, ebp
call fcn.0044a330
push edi
mov ecx, esi
call fcn.0040ad50
and dword [eax + 0xb4], 0xfffffffd
mov edx, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
add eax, 0xb4
push 0
lea ecx, [esp + 0x20]
push ecx
push edx
call ebx
cmp byte [esp + 0x44], 0
mov edi, dword [esp + 0x40]
jne 0x457606
push edi
mov ecx, esi
call fcn.0040ad50
add eax, 0xb4
xor dword [eax], 1
push edi
mov ecx, esi
call fcn.0040ad50
or dword [eax + 0xb4], 2
add eax, 0xb4
push 0
lea eax, [esp + 0x20]
push eax
push edi
mov ecx, ebp
call fcn.0044a330
mov edx, dword [ebp + 8]
push 0
lea ecx, [esp + 0x20]
push ecx
push edx
call ebx
jmp 0x457844
mov ebx, dword [esp + 0x40]
xor edi, edi
xor ebp, ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x457660
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x4576e1
mov eax, dword [esi + 4]
test eax, eax
je 0x457685
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x45768a
call fcn.0047770d
mov eax, dword [esi + 4]
test byte [eax + ebp + 0xb4], 3
je 0x4576d3
cmp ebx, edi
je 0x4576d3
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
push edi
call fcn.0044a330
push edi
mov ecx, esi
call fcn.0040ad50
mov dword [eax + 0xb4], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
push 0
lea edx, [esp + 0x20]
push edx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
add edi, 1
add ebp, 0xc0
jmp 0x457643
mov edx, dword [esp + 0x10]
mov dword [edx + 0x210], ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x45770c
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x457711
call fcn.0047770d
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x18]
mov ebp, 3
cmp dword [edi + eax + 0xb4], ebp
je 0x457844
test eax, eax
je 0x457748
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x45774d
call fcn.0047770d
mov ecx, dword [esi + 4]
push 0
lea edx, [esp + 0x20]
push edx
mov dword [edi + ecx + 0xb4], ebp
mov ecx, dword [esp + 0x18]
push ebx
call fcn.0044a330
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
push 0
lea eax, [esp + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x457844
mov edi, dword [esp + 0x14]
push 0
lea eax, [esp + 0x20]
push eax
push edi
mov ecx, ebp
call fcn.0044a330
mov eax, dword [esi + 4]
test eax, eax
je 0x4577b6
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4577bb
call fcn.0047770d
mov edx, dword [esi + 4]
lea ecx, [edi + edi*2]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
shl ecx, 6
and dword [ecx + edx + 0xb4], 0xfffffffd
lea eax, [ecx + edx + 0xb4]
mov ecx, dword [ebp + 8]
push 0
lea eax, [esp + 0x20]
push eax
push ecx
call edi
mov eax, dword [esi + 4]
test eax, eax
je 0x457809
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x40], eax
jb 0x45780e
call fcn.0047770d
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x18]
or dword [eax + edx + 0xb4], 2
push 0
lea eax, [eax + edx + 0xb4]
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
call fcn.0044a330
mov ecx, dword [ebp + 8]
push 0
lea eax, [esp + 0x20]
push eax
push ecx
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xffffffffffffffff
call fcn.0040acd0
add esp, 4
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x2c
ret 0xc
pop ebx
mov eax, 1
pop esi
add esp, 0x2c
ret 0xc