Function at 0x1400984f0
Capabilities:
Prompt user for credentials

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x980]
sub rsp, 0xa80
mov rax, qword [0x1403aa6c8]
xor rax, rsp
mov qword [rbp + 0x970], rax
mov edi, r8d
mov dword [rbp - 0x80], r8d
mov rbx, rdx
mov qword [rbp - 0x78], rdx
mov r14, rcx
mov qword [rsp + 0x58], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
xor esi, esi
mov qword [rbp - 0x60], rsi
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x78], 0x202
mov dword [rsp + 0x70], 0x101
mov dword [rsp + 0x74], 0x152
mov dword [rbp - 0x58], 0x28
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rbp - 0x50], rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400985b6
mov r8, qword [rdx + 8]
test r8, r8
je 0x1400985b6
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], si
mov rdx, qword [rdx]
lea rcx, [rbp + 0x30]
call fcn.140082e10
mov r15, qword [rbp + 0x48]
mov r12, qword [rbp + 0x40]
jmp 0x1400985cb
mov r12, rsi
mov qword [rbp + 0x40], rsi
mov r15d, 7
mov qword [rbp + 0x48], r15
mov word [rbp + 0x30], si
lea r9, [rbp + 0x9a]
test edi, edi
jns 0x140098620
neg edi
nop dword [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub di, cx
add di, 0x30
mov word [r9], di
mov edi, edx
test edx, edx
jne 0x1400985e0
add r9, 0xfffffffffffffffe
mov eax, 0x2d
mov word [r9], ax
jmp 0x14009864c
sub r9, 2
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub di, cx
add di, 0x30
mov word [r9], di
mov edi, edx
test edx, edx
jne 0x140098620
mov r13, rsi
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], si
lea rax, [rbp + 0x9a]
cmp r9, rax
je 0x140098688
lea r8, [rbp + 0x9a]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rbp + 0x10]
call fcn.140082e10
mov r13, qword [rbp + 0x20]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, 1
jb 0x140098e27
lea rdx, [rbp + 0x30]
mov rbx, qword [rbp + 0x30]
cmp r15, 8
cmovae rdx, rbx
mov qword [rsp + 0x58], rdx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
lea rax, [r12 + 1]
mov edi, 7
lea rsi, [rbp - 0x30]
cmp rax, rdi
jbe 0x140098775
mov rdi, rax
or rdi, 7
cmp rdi, rcx
jbe 0x1400986ee
mov rdi, rcx
mov rcx, 0xfffffffffffffffe
jmp 0x14009871d
mov ecx, 0xa
cmp rdi, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
movabs r8, 0x7fffffffffffffff
cmp rcx, r8
ja 0x140098e21
add rcx, rcx
cmp rcx, 0x1000
jb 0x140098756
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140098e21
mov rcx, rax
call fcn.140229738
test rax, rax
je 0x14009874f
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
lea rax, [r12 + 1]
mov rdx, qword [rsp + 0x58]
jmp 0x140098771
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14009876f
call fcn.140229738
mov rsi, rax
lea rax, [r12 + 1]
mov rdx, qword [rsp + 0x58]
jmp 0x140098771
xor esi, esi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdi
lea rdi, [r12 + r12]
mov r8, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x3a
mov word [rsi + rdi], ax
xor eax, eax
mov word [rsi + r12*2 + 2], ax
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rdx, qword [rbp + 0x10]
mov r8, r13
lea rcx, [rbp - 0x30]
call fcn.1400964e0
xor r13d, r13d
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea r8d, [r13 + 0x1e]
lea rdx, str._require_username_and_password
lea rcx, [rbp + 0x50]
call fcn.1400964e0
mov qword [rbp], r13
mov qword [rbp + 8], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x14009885f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009885a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009885a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140229774
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r13w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400988b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400988ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400988ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140229774
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rax, qword [rbp - 0x10]
mov qword [rbp - 0x48], rax
lea rax, [0x140245338]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], r13
mov dword [rsp + 0x40], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [rsp + 0x6c]
xor edx, edx
lea rcx, [rbp - 0x58]
call qword [sym.imp.credui.dll_CredUIPromptForWindowsCredentialsW]
test eax, eax
jne 0x140098ab7
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x6c0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x2b0]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.credui.dll_CredUnPackAuthenticationBufferW]
mov ecx, dword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x60], r13
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r13w
lea rax, [rbp + 0x2b0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x1400989c0
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0x70]
call fcn.140082e10
nop
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
lea rax, [rbp + 0xa0]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400989f4
mov r8, rdi
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x30]
call fcn.140082e10
nop
cmp qword [rbp + 0x80], 0
jne 0x140098bc8
mov r8d, dword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
mov rcx, r14
call fcn.1400984f0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140098a72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098a6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098cf0
call fcn.140229774
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140098acd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098ab0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098d3a
call fcn.140229774
jmp 0x140098acd
cmp eax, 0x4c7
jne 0x14009897b
mov qword [r14], r13
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], r13
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140098b0d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140098b08
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098d7e
call fcn.140229774
mov word [rbp - 0x10], r13w
mov qword [rbp + 8], 7
mov qword [rbp], r13
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x140098b5f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140098b59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098dd2
call fcn.140229774
nop
cmp r15, 8
jb 0x140098b9b
lea rdx, [r15*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140098b92
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098e1a
mov rcx, rbx
call fcn.140229774
nop
mov rax, r14
mov rcx, qword [rbp + 0x970]
xor rcx, rsp
call fcn.140229810
mov rbx, qword [rsp + 0xad8]
add rsp, 0xa80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp + 0x70]
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140096720
mov rdi, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x60]
mov qword [rbp - 0x80], rcx
cmp rdi, rcx
je 0x140098c92
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
lea rax, [rbp - 0x30]
mov rsi, qword [rbp - 0x30]
mov r12, qword [rbp - 0x18]
cmp r12, 8
cmovae rax, rsi
mov qword [rbp - 0x78], rax
mov rdx, qword [rbp - 0x20]
mov qword [rsp + 0x58], rdx
cmp rdx, 8
jae 0x140098c38
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
mov r13d, 7
mov qword [rdi + 0x10], rdx
mov qword [rdi + 0x18], r13
add rdi, 0x20
xor r13d, r13d
jmp 0x140098cb2
mov r13, rdx
or r13, 7
movabs rax, 0x7ffffffffffffffe
cmp r13, rax
cmova r13, rax
lea rdx, [r13 + 1]
mov rcx, rdi
call fcn.1400383e0
mov qword [rdi], rax
mov r8, qword [rsp + 0x58]
lea r8, [r8*2 + 2]
mov rdx, qword [rbp - 0x78]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x58]
mov qword [rdi + 0x10], rdx
mov qword [rdi + 0x18], r13
add rdi, 0x20
xor r13d, r13d
jmp 0x140098cb2
lea r8, [rbp - 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140096720
mov rcx, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
mov r12, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x30]
mov rax, qword [rbp - 0x70]
mov qword [r14], rax
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], rcx
cmp r12, 8
jb 0x140098d00
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140098cf7
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140098cf7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140229774
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140098d47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098d41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140098d41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140229774
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140098d8a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098d85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140098d85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140229774
mov qword [rbp], r13
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r13w
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x140098ddf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098dd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140098dd9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140229774
nop
cmp r15, 8
jb 0x140098b9b
lea rdx, [r15*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140098b92
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140098b92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140054bd0
int3
call fcn.140054bf0
int3