Function at 0x54074b
Capabilities:
Prompt user for credentials

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c8
mov eax, dword [0x6029bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x9a4], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x9b4], eax
xor edi, edi
mov eax, dword [ebp + 0x14]
push 0x404
mov dword [ebp - 0x9ac], eax
lea eax, [ebp - 0x60c]
push edi
push eax
mov dword [ebp - 0x998], edi
mov dword [ebp - 0x9a0], edi
mov dword [ebp - 0x99c], edi
call fcn.004d19ad
push 0x202
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.004d19ad
xor eax, eax
mov dword [ebp - 0x9b0], edi
mov dword [ebp - 0x9a8], edi
add esp, 0x18
lea edi, [ebp - 0x9c4]
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 [ebp - 0x9a4]
mov dword [ebp - 0x9c4], eax
lea eax, [ebp - 0x99c]
push eax
lea eax, [ebp - 0x9a0]
mov dword [ebp - 0x9c8], 0x14
push eax
lea eax, [ebp - 0x998]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryAuthSchemes]
test eax, eax
je 0x540973
test byte [ebp - 0x998], 4
jne 0x54083e
push str.Passport_is_not_supported_by_the_server
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8d
lea ecx, [ebp - 0x994]
call fcn.00535dab
jmp 0x54098f
cmp byte [ebp + 0x18], 0
mov ecx, 0x4008a
je 0x540851
inc ecx
mov edx, 0x52e
jmp 0x540857
mov edx, dword [ebp - 0x9a8]
mov eax, dword [ebp - 0x9ac]
cmp dword [eax + 0x14], 8
jb 0x540865
mov eax, dword [eax]
push ecx
lea ecx, [ebp - 0x9b0]
xor edi, edi
push ecx
push 0x101
lea ecx, [ebp - 0x208]
push ecx
push 0x202
lea ecx, [ebp - 0x60c]
push ecx
push edx
push edi
push eax
lea eax, [ebp - 0x9c8]
push eax
call dword [sym.imp.credui.dll_CredUIPromptForCredentialsW]
test eax, eax
je 0x5408bc
push str.Failed_to_obtain_the_user_credentials
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x8e
lea ecx, [ebp - 0x994]
call fcn.00405cf8
jmp 0x54098f
push edi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x60c]
push eax
push 4
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x5408fa
push str.Failed_to_Set_the_credentials
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x85
lea ecx, [ebp - 0x994]
call fcn.00515239
jmp 0x54098f
mov dword [ebx + 0x10], edi
cmp dword [ebx + 0x14], 8
jb 0x540907
mov eax, dword [ebx]
jmp 0x540909
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x60c]
push eax
call fcn.00407e75
pop ecx
push eax
lea eax, [ebp - 0x60c]
mov ecx, ebx
push eax
call fcn.004078f8
mov ebx, dword [ebp - 0x9b4]
mov dword [ebx + 0x10], edi
cmp dword [ebx + 0x14], 8
jb 0x54093d
mov eax, dword [ebx]
jmp 0x54093f
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x208]
push eax
call fcn.00407e75
pop ecx
push eax
lea eax, [ebp - 0x208]
mov ecx, ebx
push eax
call fcn.004078f8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cd104
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, [ebp - 0x994]
call fcn.0053ce00
push 0x5d6094
lea eax, [ebp - 0x994]
push eax
call fcn.004cea74
int3