Function at 0x42caf0
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x47f0a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x4a4a28]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x42cd32
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0xc], eax
jle 0x42cb47
test eax, eax
jl 0x42cb42
cmp eax, dword [esi + 0xc]
jge 0x42cb42
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + eax*4]
jmp 0x42cb49
call fcn.00442afc
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 0x1c]
push 0
push eax
call edx
test eax, eax
je 0x42cd32
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42cb79
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], 0
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42cbab
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x24], 1
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42cbda
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x190
mov byte [esp + 0x28], 2
call fcn.0044e5af
test eax, eax
je 0x42cc10
push 0x190
push eax
lea ecx, [esp + 0x18]
call fcn.00404b80
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x42cc64
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jbe 0x42cc64
add esi, 0x104
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044288b
add esp, 4
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
lea ecx, [esp + 0x14]
call fcn.00404e00
push edi
call fcn.00442886
mov edi, dword [esp + 0x14]
add esp, 4
push 0x194
call fcn.0044e5af
test eax, eax
je 0x42cc85
push 0x194
push eax
lea ecx, [esp + 0x20]
call fcn.00404b80
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push ebp
lea edx, [esp + 0x20]
push str._s_n_nCommitted:__s__nProcessed:__s_
push edx
call fcn.004048d0
add esp, 0x14
test ebx, ebx
je 0x42ccbc
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42ccbc
mov esi, dword [esp + 0x14]
push 0x20
push edi
push esi
push ebx
jmp 0x42ccc6
mov esi, dword [esp + 0x14]
push 0x20
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cced
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cd0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cd32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 8