Function at 0x1400716d8
Capabilities:
Link many functions at runtime
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r15, rcx
mov rax, qword [0x1400cb0e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, 1
mov edx, 0x10
xor r8d, r8d
call fcn.140011888
mov r12, rax
mov rcx, qword [0x1400cecf8]
test rcx, rcx
jne 0x140071739
lea rcx, str.kernel32.dll
call fcn.140074344
mov rcx, rax
mov qword [0x1400cecf8], rax
test rax, rax
je 0x140071b9f
lea rdx, str.AddDllDirectory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ced00], rax
mov ecx, 3
mov edx, 0xc8
xor r8d, r8d
call fcn.140011888
mov qword [r12], rax
mov dword [r12 + 8], 0
lea rdx, str.SOFTWAREMITKerberos
lea r8, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1400719ce
mov rcx, qword [rsp + 0x40]
lea rsi, [rsp + 0x38]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0
lea rdx, str.InstallDir
xor ebx, ebx
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140071896
cmp dword [rsp + 0x3c], 1
jne 0x140071896
mov ecx, dword [rsp + 0x38]
add ecx, 0x14
xor ebx, ebx
mov edx, 1
xor r8d, r8d
call fcn.140011888
mov rdi, rax
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea rdx, str.InstallDir
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14007188e
cmp dword [rsp + 0x3c], 1
jne 0x14007188e
mov rcx, rdi
call fcn.14008d450
mov byte [rdi + rax + 4], 0
mov dword [rdi + rax], 0x6e69625c
cmp qword [0x1400ced00], 0
je 0x140071855
xor ecx, ecx
xor edx, edx
mov r8, rdi
call fcn.140014acb
mov rbx, rax
mov rcx, rax
call qword [0x1400ced00]
mov rcx, rbx
call fcn.140011913
mov rcx, rdi
call fcn.14008d450
movabs rcx, 0x6c6c642e343669
mov qword [rdi + rax + 6], rcx
movabs rcx, 0x366970617373675c
mov qword [rdi + rax], rcx
xor edx, edx
mov r8d, 0xd00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rbx, rax
mov rcx, rdi
call fcn.140011913
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x1400719ce
mov rsi, qword [r12]
movsxd rax, dword [r12 + 8]
lea ecx, [rax + 1]
mov dword [r12 + 8], ecx
imul rdi, rax, 0xc8
lea r14, [rsi + rdi]
mov dword [rsi + rdi], 0
lea rax, str.Using_GSSAPI_from_GSSAPI64.DLL
mov qword [rsi + rdi + 8], rax
mov qword [rsi + rdi + 0xc0], rbx
lea rdx, str.gss_delete_sec_context
mov r13, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x68], rax
lea rdx, str.gss_display_status
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x70], rax
lea rdx, str.gss_get_mic
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x78], rax
lea rdx, str.gss_verify_mic
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x80], rax
lea rdx, str.gss_import_name
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x88], rax
lea rdx, str.gss_init_sec_context
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x90], rax
lea rdx, str.gss_release_buffer
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x98], rax
lea rdx, str.gss_release_cred
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0xa0], rax
lea rdx, str.gss_release_name
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0xa8], rax
lea rdx, str.gss_acquire_cred
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0xb0], rax
lea rdx, str.gss_inquire_cred_by_mech
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0xb8], rax
mov rcx, r14
call fcn.14004299c
lea rcx, str.secur32.dll
call fcn.140074344
test rax, rax
je 0x140071b4f
mov rdi, rax
mov rsi, qword [r12]
movsxd rax, dword [r12 + 8]
lea ecx, [rax + 1]
mov dword [r12 + 8], ecx
imul rbx, rax, 0xc8
mov eax, 1
mov dword [rsi + rbx], eax
lea rax, str.Using_SSPI_from_SECUR32.DLL
mov qword [rsi + rbx + 8], rax
mov qword [rsi + rbx + 0xc0], rdi
lea rdx, str.AcquireCredentialsHandleA
mov r14, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
call r14
mov qword [0x1400ced08], rax
lea rdx, str.InitializeSecurityContextA
mov rcx, rdi
call r14
mov qword [0x1400ced10], rax
lea rdx, str.FreeContextBuffer
mov rcx, rdi
call r14
mov qword [0x1400ced18], rax
lea rdx, str.FreeCredentialsHandle
mov rcx, rdi
call r14
mov qword [0x1400ced20], rax
lea rdx, str.DeleteSecurityContext
mov rcx, rdi
call r14
mov qword [0x1400ced28], rax
lea rdx, str.QueryContextAttributesA
mov rcx, rdi
call r14
mov qword [0x1400ced30], rax
lea rdx, str.MakeSignature
mov rcx, rdi
call r14
mov qword [0x1400ced38], rax
lea rdx, str.VerifySignature
mov rcx, rdi
call r14
mov qword [0x1400ced40], rax
lea rax, [0x140071dab]
mov qword [rsi + rbx + 0x10], rax
lea rax, [0x140071db8]
mov qword [rsi + rbx + 0x18], rax
lea rax, [0x140071dea]
mov qword [rsi + rbx + 0x20], rax
lea rax, [0x140071e15]
mov qword [rsi + rbx + 0x28], rax
lea rax, [0x140072043]
mov qword [rsi + rbx + 0x30], rax
lea rax, [0x14007206f]
mov qword [rsi + rbx + 0x38], rax
lea rax, [0x140072114]
mov qword [rsi + rbx + 0x40], rax
lea rax, [0x140072258]
movq xmm0, rax
lea rax, [0x140072158]
movq xmm1, rax
punpcklqdq xmm1, xmm0
movdqu xmmword [rsi + rbx + 0x48], xmm1
lea rax, [0x1400722f2]
mov qword [rsi + rbx + 0x58], rax
lea rax, [0x140072308]
mov qword [rsi + rbx + 0x60], rax
mov edx, 0x2c
mov rcx, r15
call fcn.1400038ef
mov rdi, qword [rax]
cmp byte [rdi], 0
je 0x140071d21
cmp qword [0x1400ced00], 0
je 0x140071be3
mov rcx, rdi
call fcn.14008d450
movsxd rdx, eax
lea eax, [rdx + 1]
test rdx, rdx
jle 0x140071be3
mov cl, byte [rdi + rdx - 1]
dec rdx
cmp cl, 0x5c
je 0x140071ba6
dec eax
cmp cl, 0x3a
jne 0x140071b80
cmp eax, 1
jg 0x140071ba9
jmp 0x140071be3
xor eax, eax
jmp 0x140071746
inc rdx
lea rcx, [0x1400b1d65]
mov r8, rdi
call fcn.14005f835
mov r14, rax
xor ecx, ecx
xor edx, edx
mov r8, rax
call fcn.140014acb
mov rbx, rax
mov rcx, rax
call qword [0x1400ced00]
mov rcx, rbx
call fcn.140011913
mov rcx, r14
call fcn.140011913
xor edx, edx
mov r8d, 0xd00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test rax, rax
je 0x140071d21
mov r15, rax
mov rsi, qword [r12]
movsxd rax, dword [r12 + 8]
lea ecx, [rax + 1]
mov dword [r12 + 8], ecx
imul rbx, rax, 0xc8
lea r14, [rsi + rbx]
mov dword [rsi + rbx], 2
lea rcx, str.Using_GSSAPI_from_user_specified_library__s
mov rdx, rdi
call fcn.14005f835
mov qword [rsi + rbx + 8], rax
mov qword [rsi + rbx + 0xc0], r15
lea rdx, str.gss_delete_sec_context
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r15
call rdi
mov qword [rsi + rbx + 0x68], rax
lea rdx, str.gss_display_status
mov rcx, r15
call rdi
mov qword [rsi + rbx + 0x70], rax
lea rdx, str.gss_get_mic
mov rcx, r15
call rdi
mov qword [rsi + rbx + 0x78], rax
lea rdx, str.gss_verify_mic
mov rcx, r15
call rdi
mov qword [rsi + rbx + 0x80], rax
lea rdx, str.gss_import_name
mov rcx, r15
call rdi
mov qword [rsi + rbx + 0x88], rax
lea rdx, str.gss_init_sec_context
mov rcx, r15
call rdi
mov qword [rsi + rbx + 0x90], rax
lea rdx, str.gss_release_buffer
mov rcx, r15
call rdi
mov qword [rsi + rbx + 0x98], rax
lea rdx, str.gss_release_cred
mov rcx, r15
call rdi
mov qword [rsi + rbx + 0xa0], rax
lea rdx, str.gss_release_name
mov rcx, r15
call rdi
mov qword [rsi + rbx + 0xa8], rax
lea rdx, str.gss_acquire_cred
mov rcx, r15
call rdi
mov qword [rsi + rbx + 0xb0], rax
lea rdx, str.gss_inquire_cred_by_mech
mov rcx, r15
call rdi
mov qword [rsi + rbx + 0xb8], rax
mov rcx, r14
call fcn.14004299c
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14007de70
mov rax, r12
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret