Function at 0x676720
Capabilities:
Prompt user for credentials

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x749e81
mov eax, dword fs:[0]
push eax
sub esp, 0x940
mov eax, dword [0x857060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [ebp + 0x10]
mov edx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x914]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x930], eax
mov dword [ebp - 0x8e4], 0x202
mov dword [ebp - 0x8dc], 0x202
mov dword [ebp - 0x8e0], 0x152
mov dword [ebp - 0x92c], 0x14
mov dword [ebp - 0x928], 0
call fcn.00676500
push esi
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 4], 0
call fcn.00449230
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x948]
push 3
xor eax, eax
mov dword [ebp - 0x938], 0
push 0x7f6518
mov dword [ebp - 0x934], 7
mov word [ebp - 0x948], ax
call fcn.00426d40
lea eax, [ebp - 0x914]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x948]
lea ecx, [ebp - 0x8fc]
call fcn.0064fb80
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x948]
call fcn.00426ce0
cmp dword [ebp - 0x8e8], 8
lea eax, [ebp - 0x8fc]
cmovae eax, dword [ebp - 0x8fc]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x924], eax
jb 0x676834
mov edi, dword [edi]
mov dword [ebp - 0x920], edi
lea eax, [ebp - 0x624]
mov dword [ebp - 0x91c], 0
mov ecx, 0x404
mov dword [ebp - 0x8d4], 0
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x676860
mov ecx, 0x202
lea eax, [ebp - 0x21c]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x676876
push 1
lea eax, [ebp - 0x8d4]
mov dword [ebp - 0x8d8], ecx
push eax
lea eax, [ebp - 0x8d0]
mov dword [ebp - 0x918], ecx
push eax
lea eax, [ebp - 0x918]
mov dword [ebp - 0x8d0], ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x8d8]
push eax
push ecx
lea eax, [ebp - 0x92c]
push eax
call dword [sym.imp.credui.dll_CredUIPromptForWindowsCredentialsW]
test eax, eax
jne 0x6769cf
lea eax, [ebp - 0x8dc]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x8cc]
push eax
lea eax, [ebp - 0x8e4]
push eax
lea eax, [ebp - 0x624]
push eax
push dword [ebp - 0x8d0]
push dword [ebp - 0x918]
push 0
call dword [sym.imp.credui.dll_CredUnPackAuthenticationBufferW]
test eax, eax
je 0x6769cf
mov ecx, dword [ebp - 0x8d0]
mov eax, dword [ebp - 0x918]
test ecx, ecx
je 0x676931
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x676920
mov eax, dword [ebp - 0x918]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [ebp - 0x624]
mov dword [ebp - 0x918], 0
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x676950
sub edx, esi
lea eax, [ebp - 0x624]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.00426d40
lea edx, [ebp - 0x21c]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x676977
mov ecx, dword [ebp - 0x930]
lea eax, [ebp - 0x21c]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.00426d40
mov ecx, 0x404
lea eax, [ebp - 0x624]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x6769a4
mov ecx, 0x202
lea eax, [ebp - 0x21c]
nop word [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x6769c0
mov bl, 1
jmp 0x6769d1
xor bl, bl
lea ecx, [ebp - 0x8fc]
call fcn.00426ce0
lea ecx, [ebp - 0x914]
call fcn.00426ce0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006d0965
mov esp, ebp
pop ebp
ret