Function at 0x2d70e1
Capabilities:
Prompt user for credentials

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x87c
mov eax, dword [0x2db084]
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 [0x2d11b0]
push eax
call edi
test eax, eax
je 0x2d7344
push ebx
lea eax, [ebp - 0x61c]
push eax
push 0xbc1
push 0
call esi
push eax
call edi
test eax, eax
je 0x2d7344
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 0x2d7344
push ebx
lea eax, [ebp - 0x414]
push eax
push 0xbc3
push 0
call esi
push eax
call edi
test eax, eax
je 0x2d7344
xor esi, esi
mov eax, dword [0x2db080]
mov edi, 0x2db080
cmp eax, edi
je 0x2d7214
test byte [eax + 0x1c], 2
je 0x2d7214
push 0x2d2a3c
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d6af4
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 0x2d72fa
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x2d7268
push 8
pop esi
jmp 0x2d71ee
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.002d7062
mov esi, eax
test esi, esi
jne 0x2d7327
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.002d895b
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x2d72c0
mov esi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x2db080]
jmp 0x2d72ee
mov eax, dword [0x2db080]
cmp eax, 0x2db080
je 0x2d72e9
test byte [eax + 0x1c], 2
je 0x2d72e9
push 0x2d2a3c
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d6af4
mov eax, dword [0x2db080]
mov esi, 0x4c7
cmp esi, 0x57
jne 0x2d7321
mov esi, 0x52e
jmp 0x2d7321
mov eax, dword [0x2db080]
cmp eax, edi
je 0x2d7321
test byte [eax + 0x1c], 2
je 0x2d7321
push esi
push 0x2d2a3c
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d7fdf
mov eax, dword [0x2db080]
test esi, esi
jne 0x2d732c
jmp 0x2d7340
mov eax, dword [0x2db080]
cmp esi, 0x4c7
je 0x2d7340
cmp esi, 0x578
jne 0x2d71f3
mov eax, esi
jmp 0x2d734a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.002d235b
leave
ret 0x20