Function at 0xc670e1
Capabilities:
Prompt user for credentials

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x87c
mov eax, dword [0xc6b084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x24]
push ebx
push esi
push edi
mov dword [ebp - 0x830], eax
xor eax, eax
lea edi, [ebp - 0x850]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edx, edx
xor eax, eax
mov dword [ebp - 0x840], edx
lea edi, [ebp - 0x83c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
stosd dword es:[edi], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x87c]
rep stosd dword es:[edi], eax
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x824]
push eax
push 0xbc0
push edx
mov dword [ebp - 0x828], edx
mov dword [ebp - 0x82c], edx
mov dword [ebp - 0x87c], 0xd
mov dword [ebp - 0x854], 0x14
mov dword [ebp - 0x850], edx
call esi
mov edi, dword [0xc611b0]
push eax
call edi
test eax, eax
je 0xc67344
push ebx
lea eax, [ebp - 0x61c]
push eax
push 0xbc1
push 0
call esi
push eax
call edi
test eax, eax
je 0xc67344
lea eax, [ebp - 0x824]
mov dword [ebp - 0x848], eax
lea eax, [ebp - 0x61c]
push ebx
mov dword [ebp - 0x84c], eax
lea eax, [ebp - 0x20c]
push eax
push 0xbc2
push 0
call esi
push eax
call edi
test eax, eax
je 0xc67344
push ebx
lea eax, [ebp - 0x414]
push eax
push 0xbc3
push 0
call esi
push eax
call edi
test eax, eax
je 0xc67344
xor esi, esi
mov eax, dword [0xc6b080]
mov edi, 0xc6b080
cmp eax, edi
je 0xc67214
test byte [eax + 0x1c], 2
je 0xc67214
push 0xc62a3c
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00c66af4
push 0x20
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x834]
push eax
push 0x28
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x82c]
push eax
push esi
lea eax, [ebp - 0x854]
push eax
call dword [sym.imp.credui.dll_CredUIPromptForWindowsCredentialsW]
mov esi, eax
test esi, esi
jne 0xc672fa
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0xc67268
push 8
pop esi
jmp 0xc671ee
mov ebx, dword [ebp - 0x830]
push edi
push ebx
push dword [ebp + 0x20]
lea eax, [ebp - 0x840]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
call fcn.00c67062
mov esi, eax
test esi, esi
jne 0xc67327
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00c6895b
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0xc672c0
mov esi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0xc6b080]
jmp 0xc672ee
mov eax, dword [0xc6b080]
cmp eax, 0xc6b080
je 0xc672e9
test byte [eax + 0x1c], 2
je 0xc672e9
push 0xc62a3c
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00c66af4
mov eax, dword [0xc6b080]
mov esi, 0x4c7
cmp esi, 0x57
jne 0xc67321
mov esi, 0x52e
jmp 0xc67321
mov eax, dword [0xc6b080]
cmp eax, edi
je 0xc67321
test byte [eax + 0x1c], 2
je 0xc67321
push esi
push 0xc62a3c
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00c67fdf
mov eax, dword [0xc6b080]
test esi, esi
jne 0xc6732c
jmp 0xc67340
mov eax, dword [0xc6b080]
cmp esi, 0x4c7
je 0xc67340
cmp esi, 0x578
jne 0xc671f3
mov eax, esi
jmp 0xc6734a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00c6235b
leave
ret 0x20