Function at 0x54be7f
Capabilities:
Prompt user for credentials

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9d4
mov eax, dword [0x6c10c8]
xor eax, esp
mov dword [esp + 0x9d0], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [esp + 0x14], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
push edi
mov dword [esp + 0x28], eax
xor edi, edi
mov eax, dword [ebp + 0x14]
push 0x404
mov dword [esp + 0x24], eax
lea eax, [esp + 0x5d4]
push edi
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
call fcn.00576720
add esp, 0xc
lea eax, [esp + 0x3c8]
push 0x202
push edi
push eax
call fcn.00576720
xor eax, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
add esp, 0xc
lea edi, [esp + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 0xac]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0x14
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryAuthSchemes]
test eax, eax
je 0x54c0a2
test byte [esp + 0xc], 4
jne 0x54bf5d
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.0050b595
push 0x6bd4a4
lea eax, [esp + 0x44]
jmp 0x54c0c5
cmp byte [ebp + 0x18], 0
mov ecx, 0x4008a
je 0x54bf70
inc ecx
mov edx, 0x52e
jmp 0x54bf74
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x14], 8
jb 0x54bf80
mov eax, dword [eax]
push ecx
lea ecx, [esp + 0x28]
xor edi, edi
push ecx
push 0x101
lea ecx, [esp + 0x3d4]
push ecx
push 0x202
lea ecx, [esp + 0x5e4]
push ecx
push edx
push edi
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.credui.dll_CredUIPromptForCredentialsW]
test eax, eax
je 0x54bfdc
push str.Failed_to_obtain_the_user_credentials
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8e
lea ecx, [esp + 0x4c]
call fcn.0040a029
push 0x6bd4a4
lea eax, [esp + 0x44]
jmp 0x54c0c5
push edi
lea eax, [esp + 0x3cc]
push eax
lea eax, [esp + 0x5d8]
push eax
push 4
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x54c023
push str.Failed_to_Set_the_credentials
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x85
lea ecx, [esp + 0x4c]
call fcn.0051d0f0
push 0x6bd4a4
lea eax, [esp + 0x44]
jmp 0x54c0c5
mov dword [ebx + 0x10], edi
cmp dword [ebx + 0x14], 8
jb 0x54c030
mov eax, dword [ebx]
jmp 0x54c032
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x5d0]
push eax
call fcn.00407b9c
pop ecx
push eax
lea eax, [esp + 0x5d4]
mov ecx, ebx
push eax
call fcn.00409919
mov ebx, dword [esp + 0x28]
mov dword [ebx + 0x10], edi
cmp dword [ebx + 0x14], 8
jb 0x54c066
mov eax, dword [ebx]
jmp 0x54c068
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x3c8]
push eax
call fcn.00407b9c
pop ecx
push eax
lea eax, [esp + 0x3cc]
mov ecx, ebx
push eax
call fcn.00409919
mov ecx, dword [esp + 0x9dc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00573599
mov esp, ebp
pop ebp
ret 0x14
push str.Failed_to_get_the_server_authentication_schemes
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8c
lea ecx, [esp + 0x4c]
call fcn.00537c8a
push 0x6bd4a4
lea eax, [esp + 0x44]
push eax
call fcn.00575c7a
int3