Function at 0x1401cfc4c
Capabilities:
Prompt user for credentials

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x958]
sub rsp, 0xa58
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rbp + 0x940], rax
mov r15, qword [rbp + 0x9c0]
xor edi, edi
mov rsi, r8
mov dword [rsp + 0x50], edi
mov r13, rdx
mov dword [rsp + 0x58], edi
mov rbx, rcx
mov dword [rsp + 0x54], edi
xor edx, edx
lea rcx, [rbp + 0x530]
mov r8d, 0x404
mov r14, r9
call fcn.1401380c0
xor edx, edx
lea rcx, [rbp + 0x320]
mov r8d, 0x202
call fcn.1401380c0
xor edx, edx
mov dword [rsp + 0x5c], edi
lea r8d, [rdi + 0x20]
mov r12d, edi
lea rcx, [rsp + 0x68]
call fcn.1401380c0
mov rax, qword [rbx + 0x110]
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x60], 0x28
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpQueryAuthSchemes]
test eax, eax
je 0x1401cfe6d
test byte [rsp + 0x50], 4
je 0x1401cfe9c
mov eax, 0x4008a
cmp byte [rbp + 0x9c8], dil
je 0x1401cfd30
mov eax, 0x4008b
mov r12d, 0x52e
cmp qword [r15 + 0x18], 8
jb 0x1401cfd3a
mov r15, qword [r15]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x60]
lea rax, [rsp + 0x5c]
mov r9d, r12d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0x101
lea rax, [rbp + 0x320]
mov qword [rsp + 0x30], rax
mov rdx, r15
lea rax, [rbp + 0x530]
mov dword [rsp + 0x28], 0x202
mov qword [rsp + 0x20], rax
call qword [sym.imp.credui.dll_CredUIPromptForCredentialsW]
test eax, eax
jne 0x1401cfecb
xor edx, edx
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x320]
mov rcx, r13
lea r9, [rbp + 0x530]
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 4]
call qword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
je 0x1401cfefa
mov qword [rsi + 0x10], rdi
cmp qword [rsi + 0x18], 8
jb 0x1401cfdcb
mov rax, qword [rsi]
jmp 0x1401cfdce
mov rax, rsi
or rbx, 0xffffffffffffffff
mov word [rax], di
cmp word [rbp + 0x530], di
jne 0x1401cfde3
mov r8, rdi
jmp 0x1401cfdf7
lea rax, [rbp + 0x530]
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x1401cfded
lea rdx, [rbp + 0x530]
mov rcx, rsi
call fcn.14000b340
mov qword [r14 + 0x10], rdi
cmp qword [r14 + 0x18], 8
jb 0x1401cfe16
mov rax, qword [r14]
jmp 0x1401cfe19
mov rax, r14
mov word [rax], di
cmp word [rbp + 0x320], di
je 0x1401cfe38
lea rax, [rbp + 0x320]
inc rbx
cmp word [rax + rbx*2], di
jne 0x1401cfe2c
mov rdi, rbx
mov r8, rdi
lea rdx, [rbp + 0x320]
mov rcx, r14
call fcn.14000b340
mov rcx, qword [rbp + 0x940]
xor rcx, rsp
call fcn.140135130
add rsp, 0xa58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Failed_to_get_the_server_authentication_schemes
mov edx, 0x8c
mov r8d, eax
lea rcx, [rbp - 0x70]
call fcn.1401ca7e0
lea rdx, [0x140294a58]
lea rcx, [rbp - 0x70]
call fcn.1401377ec
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Passport_is_not_supported_by_the_server
mov edx, 0x8d
mov r8d, eax
lea rcx, [rbp - 0x70]
call fcn.1401bf168
lea rdx, [0x140294a58]
lea rcx, [rbp - 0x70]
call fcn.1401377ec
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Failed_to_obtain_the_user_credentials
mov edx, 0x8e
mov r8d, eax
lea rcx, [rbp - 0x70]
call fcn.1400085e0
lea rdx, [0x140294a58]
lea rcx, [rbp - 0x70]
call fcn.1401377ec
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Failed_to_Set_the_credentials
mov edx, 0x85
mov r8d, eax
lea rcx, [rbp - 0x70]
call fcn.140190fd4
lea rdx, [0x140294a58]
lea rcx, [rbp - 0x70]
call fcn.1401377ec
int3