Function at 0x1400a7c78
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x110
mov r14, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
mov dword [rsp + 0xa0], 4
mov dword [rsp + 0xe8], 0x400010
mov rax, qword [rdx]
test rax, rax
je 0x1400a7ced
mov ecx, dword [rdx + 0x10]
mov dword [rsp + 0xc8], ecx
mov qword [rsp + 0xd0], rax
mov r8, qword [rdx + 0x18]
test r8, r8
je 0x1400a7d3e
mov rcx, qword [rdx + 0x28]
xor ebx, ebx
lea r9, [0x1400a7fbc]
xor esi, esi
cmp rcx, rbx
je case.default.0x1400a7d1b
movzx edi, byte [r8 + rbx]
mov eax, 0x20
movsxd rdi, dword [r9 + rdi*4]
add rdi, r9
jmp rdi
mov eax, 0x80
jmp case.0x1400a7d1b.0
mov eax, 0x200
jmp case.0x1400a7d1b.0
mov eax, 0x800
or esi, eax
inc rbx
jmp 0x1400a7d05
mov dword [rsp + 0xd8], esi
mov rsi, qword [rdx + 0x30]
mov r12, qword [rdx + 0x40]
mov rcx, r12
call fcn.1400a7238
test rdx, rdx
je 0x1400a7f9a
mov r15, rax
mov rdi, rdx
mov rcx, rax
call fcn.14000d734
test rax, rax
je 0x1400a7fa1
mov rbx, rax
mov r13, rdx
mov rdi, rdx
shr rdi, 3
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdi
cmp rdi, r12
jae 0x1400a7dd1
lea rax, [rdi + rdi]
cmp rax, r12
cmovbe rax, r12
cmp rax, 4
mov ecx, 4
cmova rcx, rax
call fcn.1400a7238
mov r8, rdx
test rdi, rdi
je 0x1400a7dd5
and r13, 0xfffffffffffffff8
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], 8
jmp 0x1400a7dde
xor ecx, ecx
jmp 0x1400a7e1f
and qword [rsp + 0x88], 0
lea rdi, [rsp + 0xf8]
lea r9, [rsp + 0x88]
mov rcx, rdi
mov rdx, rax
call fcn.1400a6fc7
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov ecx, 1
cmp qword [rdi], 1
je 0x1400a7e1f
mov qword [rsp + 0x58], rdx
shr r8, 3
mov qword [rsp + 0x60], r8
xor ecx, ecx
mov rbx, rdx
call fcn.14000d937
movabs rax, 0x1fffffffffffffff
and rax, r12
lea rcx, [r12*8]
xor edx, edx
cmp rcx, rdx
je 0x1400a7e4e
mov rdi, qword [rsi + rdx]
mov qword [rbx + rdx], rdi
add rdx, 8
jmp 0x1400a7e3b
mov qword [rsp + 0x68], rax
mov dword [rsp + 0xa4], r12d
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa8], rax
lea rax, [0x140202b40]
mov qword [rsp + 0x50], rax
mov rax, qword [0x140202b58]
cmp rax, 3
jne 0x1400a7f4b
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rax, [rsp + 0xa0]
and qword [rsp + 0x40], 0
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.Secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x1400a7eda
shl rax, 0x20
mov qword [r14 + 8], rax
and qword [r14 + 0x10], 0
mov eax, 1
jmp 0x1400a7f16
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov ecx, 0x20
mov edx, 8
call fcn.14000d734
test rax, rax
je 0x1400a7fa9
mov ecx, 1
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [r14 + 8], rax
xor eax, eax
mov qword [r14], rax
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1400a7f37
shl rdx, 3
mov rcx, qword [rsp + 0x58]
mov r8d, 8
call fcn.140002a93
nop
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
lea r8, [rsp + 0x88]
mov qword [r8], rcx
lea rcx, [0x140202b58]
lea r9, [0x1401b4a68]
xor edx, edx
call fcn.1400ec220
jmp 0x1400a7e85
lea rcx, str.internal_error:_entered_unreachable_codewaker_missing
lea r8, str.C:Usersyyy.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.19_src_schannel_cred.rs
mov edx, 0x28
call fcn.1400ea240
ud2
call fcn.14000b880
ud2
mov rcx, r15
mov rdx, rdi
jmp 0x1400a7fb3
mov ecx, 0x20
mov edx, 8
call fcn.1400e9eb0
ud2