Function at 0x769b1810
Capabilities:
Acquire credentials from windows credential manager
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
mov ebx, edx
sub esp, 0x444
mov dword [ebp - 0x428], eax
mov dword [esp + 4], 0x65
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [ebp - 0x42c], eax
mov dword [esp + 4], 0x66
mov dword [esp], edi
call sym._GetDlgItem_8
sub esp, 8
mov dword [ebp - 0x424], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 8
mov dword [esp], edi
call sym._SetWindowLongW_12
mov esi, dword [ebx + 0xc]
sub esp, 0xc
test esi, esi
je 0x769b18a8
mov dword [esp + 4], 0xc8
mov dword [esp], edi
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x172
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov eax, dword [ebx + 4]
test eax, eax
je 0x769b1c10
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x428]
mov dword [esp + 4], 0x67
mov dword [esp], eax
call sym._SetDlgItemTextW_12
lea eax, [ebp - 0x410]
mov dword [ebp - 0x434], eax
sub esp, 0xc
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x42c]
mov dword [esp], eax
call sym._SetWindowTextW_8
mov eax, dword [ebx + 0x18]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x424]
mov dword [esp], eax
call sym._SetWindowTextW_8
mov eax, dword [ebp - 0x434]
sub esp, 8
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x420]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.advapi32.dll_CredEnumerateW]
sub esp, 0x10
test eax, eax
je 0x769b1a63
mov esi, dword [ebp - 0x420]
mov eax, dword [ebp - 0x410]
xor edi, edi
test esi, esi
je 0x769b1a57
mov dword [ebp - 0x438], ebx
jmp 0x769b197f
cmp dword [ebp - 0x430], 1
je 0x769b19b0
mov dword [ecx + 0x30], 0
add edi, 1
cmp edi, dword [ebp - 0x420]
jae 0x769b1a51
lea esi, [edi*4]
lea edx, [eax + esi]
mov ecx, dword [edx]
mov ebx, dword [ecx + 0x30]
test ebx, ebx
je 0x769b1970
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x430], ebx
mov ebx, dword [ebp - 0x438]
test byte [ebx + 0x26], 4
jne 0x769b1960
cmp dword [ebp - 0x430], 1
je 0x769b1969
xor ebx, ebx
test edi, edi
je 0x769b19f2
lea esi, [esi]
lea esi, [esi]
mov ecx, dword [eax + ebx*4]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
je 0x769b19eb
mov dword [esp + 4], ecx
mov eax, dword [edx]
mov eax, dword [eax + 0x30]
mov dword [esp], eax
call sym._lstrcmpW_8
sub esp, 8
test eax, eax
mov eax, dword [ebp - 0x410]
je 0x769b1970
lea edx, [eax + esi]
add ebx, 1
cmp ebx, edi
jne 0x769b19c0
mov dword [ebp - 0x210], 1
add edi, 1
mov dword [ebp - 0x20c], 0xffffffff
mov eax, dword [edx]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40b
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x210]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x42c]
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [ebp - 0x410]
sub esp, 0x10
cmp edi, dword [ebp - 0x420]
jb 0x769b197f
mov ebx, dword [ebp - 0x438]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CredFree]
sub esp, 4
mov eax, dword [ebx + 0x10]
cmp word [eax], 0
jne 0x769b1b11
mov eax, dword [ebp - 0x42c]
mov dword [esp], eax
call sym._SetFocus_4
mov eax, dword [ebx + 8]
sub esp, 4
test eax, eax
je 0x769b1b3b
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x428]
mov dword [esp], eax
call sym._SetWindowTextW_8
mov eax, dword [ebx + 0x24]
sub esp, 8
test ah, 0x10
jne 0x769b1ba0
and eax, 0x42
cmp eax, 2
je 0x769b1ba0
mov edx, dword [ebx + 0x20]
test edx, edx
jne 0x769b1cf4
mov eax, dword [ebp - 0x424]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], sym._CredDialogPasswordSubclassProc_24
mov dword [esp], eax
call sym._SetWindowSubclass_16
sub esp, 0x10
test byte [ebx + 0x24], 1
je 0x769b1bd1
mov eax, dword [ebx + 0x10]
cmp word [eax], 0
je 0x769b1b07
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x769b1c80
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x424]
mov dword [ebx + 0x2c], 1
mov dword [esp], eax
call sym._SetFocus_4
mov eax, dword [ebx + 8]
mov dword [ebx + 0x2c], 0
sub esp, 4
test eax, eax
jne 0x769b1a8c
mov esi, dword [ebp - 0x434]
mov eax, dword [section..bss]
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], 0x12c
mov dword [esp + 8], esi
mov dword [esp], eax
call sym._LoadStringW_16
mov eax, dword [ebx]
sub esp, 0x10
mov dword [esp + 4], esi
lea esi, [ebp - 0x210]
mov dword [esp + 8], eax
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_swprintf]
mov eax, dword [ebp - 0x428]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._SetWindowTextW_8
mov eax, dword [ebx + 0x24]
sub esp, 8
test ah, 0x10
je 0x769b1aad
nop
mov eax, dword [ebp - 0x428]
mov dword [esp + 4], 0x68
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
jmp 0x769b1ac4
call sym._GetFocus_0
cmp eax, dword [ebp - 0x424]
jne 0x769b1b07
mov dword [esp], 0x14
call sym._GetKeyState_4
sub esp, 4
test al, 1
je 0x769b1b07
mov eax, dword [ebp - 0x428]
mov edx, ebx
call sym._CredDialogShowCapsLockBalloon
jmp 0x769b1b07
mov eax, dword [section..bss]
lea esi, [ebp - 0x410]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], esi
mov dword [esp + 4], 0x12d
mov dword [esp], eax
mov dword [ebp - 0x434], esi
call sym._LoadStringW_16
mov eax, dword [ebx]
sub esp, 0x10
mov dword [esp + 4], esi
lea esi, [ebp - 0x210]
mov dword [esp + 8], eax
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_swprintf]
mov eax, dword [ebp - 0x428]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x67
mov dword [esp], eax
call sym._SetDlgItemTextW_12
sub esp, 0xc
jmp 0x769b18dc
mov eax, dword [section..bss]
lea esi, [ebp - 0x210]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], esi
mov dword [esp + 4], 0x12e
mov dword [esp], eax
call sym._LoadStringW_16
sub esp, 0x10
test eax, eax
jne 0x769b1d20
test byte [0x769b7040], 2
je 0x769b1b07
mov dword [esp + 0x14], str.failed_to_load_IDS_INCORRECTPASSWORDTITLE_n
mov dword [esp + 0x10], 0x109
mov dword [esp + 0xc], str.CredDialogShowIncorrectPasswordBalloon
mov dword [esp + 8], 0x769b805d
mov dword [esp + 4], 0x769b7040
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x769b1b07
mov eax, dword [ebp - 0x428]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x68
mov dword [esp], eax
call sym._CheckDlgButton_12
sub esp, 0xc
jmp 0x769b1ac4
mov eax, dword [ebp - 0x428]
lea edx, [ebx + 0x28]
call sym._CredDialogCreateBalloonTip.isra.2
lea edx, [ebp - 0x40c]
xor eax, eax
mov ecx, 0xb
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], esi
mov edi, dword [ebp - 0x428]
mov dword [esp + 8], 3
mov dword [esp + 4], 0x421
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x410], 0x30
mov dword [esp], eax
mov dword [ebp - 0x408], edi
mov dword [ebp - 0x404], 1
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 4], 0x66
mov dword [esp], edi
call sym._GetDlgItem_8
lea edx, [ebp - 0x420]
sub esp, 8
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._GetWindowRect_8
mov eax, dword [ebp - 0x414]
add eax, dword [ebp - 0x41c]
mov edx, eax
mov ecx, dword [ebp - 0x418]
shr eax, 0x1f
sub esp, 8
add eax, edx
mov dword [esp + 8], 0
lea edx, [ecx - 0xc]
sar eax, 1
mov dword [esp + 4], 0x412
movzx edx, dx
shl eax, 0x10
or eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [ebp - 0x434]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x411
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call sym._SendMessageW_16
mov dword [ebx + 0x2c], 1
sub esp, 0x10
jmp 0x769b1b07