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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
cmp eax, 0x110
je 0x769b1fd0
jbe 0x769b1f31
cmp eax, 0x111
je 0x769b1f70
xor ebx, ebx
cmp eax, 0x113
jne 0x769b1f25
cmp edx, 1
je 0x769b1ff0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp eax, 2
jne 0x769b1f92
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
mov ebx, 1
mov dword [esp], eax
call sym._GetWindowLongW_8
mov eax, dword [eax + 0x28]
sub esp, 8
test eax, eax
je 0x769b1f25
mov dword [esp], eax
call sym._DestroyWindow_4
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp edx, 0x1000066
je 0x769b21d0
jbe 0x769b1fa0
cmp edx, 0x2000066
je 0x769b2020
cmp edx, 0x3000066
je 0x769b1ff0
lea esp, [ebp - 0xc]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp edx, 1
je 0x769b2060
cmp edx, 2
jne 0x769b1f92
mov dword [esp + 4], 2
mov eax, dword [ebp + 8]
mov ebx, 1
mov dword [esp], eax
call sym._EndDialog_8
sub esp, 8
jmp 0x769b1f25
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
call sym._CredDialogInit
lea esp, [ebp - 0xc]
mov ebx, eax
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
mov ebx, 1
mov dword [esp], eax
call sym._GetWindowLongW_8
lea ecx, [eax + 0x2c]
lea edx, [eax + 0x28]
mov eax, dword [ebp + 8]
sub esp, 8
call sym._CredDialogHideBalloonTip.isra.1
jmp 0x769b1f25
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._GetWindowLongW_8
sub esp, 8
mov ebx, eax
mov dword [esp], 2
call sym._LockSetForegroundWindow_4
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x2c]
lea edx, [ebx + 0x28]
sub esp, 4
mov ebx, 1
call sym._CredDialogHideBalloonTip.isra.1
jmp 0x769b1f25
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._GetWindowLongW_8
mov esi, eax
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], 0x65
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [ebp - 0x18], eax
mov dword [esp], eax
call sym._GetWindowTextLengthW_4
sub esp, 4
lea edi, [eax + 1]
mov dword [ebp - 0x14], eax
call sym._GetProcessHeap_0
lea ebx, [edi + edi]
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov dword [esp], eax
call sym._HeapAlloc_12
mov ecx, dword [ebp - 0x18]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym._GetWindowTextW_12
sub esp, 0xc
cmp word [ebx], 0
je 0x769b2200
mov dword [esp + 4], 0x5c
mov dword [esp], ebx
call sym._wcschr
test eax, eax
je 0x769b2252
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
test edi, edi
je 0x769b210d
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call sym._lstrlenW_4
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [esi + 0x14]
sub esp, 4
sub eax, edi
cmp eax, ecx
jbe 0x769b2128
mov eax, ecx
add eax, eax
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x10]
lea eax, [eax + edi*2]
mov dword [esp], eax
call sym._memmove
mov eax, dword [esi + 0x14]
test eax, eax
je 0x769b2160
sub eax, 1
mov ecx, dword [ebp - 0x14]
sub eax, edi
cmp eax, ecx
jbe 0x769b2155
mov eax, ecx
mov ecx, dword [esi + 0x10]
add eax, edi
xor edx, edx
mov word [ecx + eax*2], dx
call sym._GetProcessHeap_0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
mov eax, dword [esi + 0x1c]
sub esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 4], 0x66
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._GetDlgItemTextW_16
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 4], 0x68
mov dword [esp], eax
call sym._IsDlgButtonChecked_8
sub esp, 8
cmp eax, 1
sete al
movzx eax, al
mov dword [esi + 0x20], eax
mov dword [esp + 4], 1
jmp 0x769b1fb6
mov dword [esp], 0x14
call sym._GetKeyState_4
sub esp, 4
test al, 1
jne 0x769b2230
mov dword [esp], 1
mov ebx, 1
call sym._LockSetForegroundWindow_4
sub esp, 4
jmp 0x769b1f25
call sym._GetProcessHeap_0
mov dword [esp + 8], ebx
mov ebx, 1
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
sub esp, 0xc
jmp 0x769b1f25
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._GetWindowLongW_8
mov edx, eax
mov eax, dword [ebp + 8]
sub esp, 8
call sym._CredDialogShowCapsLockBalloon
jmp 0x769b21e3
mov dword [esp + 4], 0x40
mov dword [esp], ebx
call sym._wcschr
test eax, eax
jne 0x769b20fb
mov eax, dword [esi]
mov dword [esp], eax
call sym._lstrlenW_4
mov edi, eax
push edx
mov eax, dword [esi + 0x14]
cmp eax, edi
jbe 0x769b2280
mov eax, edi
add eax, eax
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call sym._memmove
lea ecx, [edi + 1]
cmp ecx, dword [esi + 0x14]
jae 0x769b22a8
mov eax, dword [esi + 0x10]
mov word [eax + edi*2], 0x5c
mov eax, dword [esi + 0x10]
add edi, 2
cmp edi, dword [esi + 0x14]
jae 0x769b210d
mov word [eax + ecx*2], 0
mov eax, dword [esi + 0x10]
jmp 0x769b210d