Function at 0x14009cdc0
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 r14, rcx
mov rax, qword [0x14002e420]
mov qword [rsp + 0x48], rax
mov ecx, 1
mov edx, 0x10
call fcn.14004723d
mov r15, rax
mov rcx, qword [0x14002b330]
test rcx, rcx
jne 0x14009ce1b
lea rcx, str.kernel32.dll
call fcn.14009f5be
mov rcx, rax
mov qword [0x14002b330], rcx
test rcx, rcx
je 0x14009d211
lea rdx, str.AddDllDirectory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14002b338], rax
mov ecx, 3
mov edx, 0xa8
call fcn.14004723d
mov qword [r15], rax
mov dword [r15 + 8], 0
lea rdx, str.SOFTWAREMITKerberos
lea r8, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x14009d063
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 0x14009cf70
cmp dword [rsp + 0x3c], 1
jne 0x14009cf70
mov ecx, dword [rsp + 0x38]
add ecx, 0x14
mov edx, 1
call fcn.14004723d
mov rdi, rax
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
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 0x14009cf68
cmp dword [rsp + 0x3c], 1
jne 0x14009cf68
mov rcx, rdi
call fcn.1400b93d0
mov byte [rdi + rax + 4], 0
mov dword [rdi + rax], 0x6e69625c
cmp qword [0x14002b338], 0
je 0x14009cf2f
xor ecx, ecx
xor edx, edx
mov r8, rdi
call fcn.140048177
mov rbx, rax
mov rcx, rbx
call qword [0x14002b338]
mov rcx, rbx
call fcn.140047430
mov rcx, rdi
call fcn.1400b93d0
movabs rcx, 0x6c6c642e323369
mov qword [rdi + rax + 6], rcx
movabs rcx, 0x336970617373675c
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.140047430
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x14009d063
mov rsi, qword [r15]
movsxd rax, dword [r15 + 8]
lea ecx, [rax + 1]
mov dword [r15 + 8], ecx
imul rdi, rax, 0xa8
lea r12, [rsi + rdi]
mov dword [rsi + rdi], 0
lea rax, str.Using_GSSAPI_from_GSSAPI32.DLL
mov qword [rsi + rdi + 8], rax
mov qword [rsi + rdi + 0xa0], 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 + 0x60], rax
lea rdx, str.gss_display_status
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x68], rax
lea rdx, str.gss_get_mic
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x70], rax
lea rdx, str.gss_import_name
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x78], rax
lea rdx, str.gss_init_sec_context
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x80], rax
lea rdx, str.gss_release_buffer
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x88], rax
lea rdx, str.gss_release_cred
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x90], rax
lea rdx, str.gss_release_name
mov rcx, rbx
call r13
mov qword [rsi + rdi + 0x98], rax
mov rcx, r12
call fcn.140071d64
lea rcx, str.secur32.dll
call fcn.14009f5be
mov rdi, rax
test rdi, rdi
je 0x14009d1c1
mov rbx, qword [r15]
movsxd rax, dword [r15 + 8]
lea ecx, [rax + 1]
mov dword [r15 + 8], ecx
imul rsi, rax, 0xa8
mov eax, 1
mov dword [rbx + rsi], eax
lea rax, str.Using_SSPI_from_SECUR32.DLL
mov qword [rbx + rsi + 8], rax
mov qword [rbx + rsi + 0xa0], rdi
lea rdx, str.AcquireCredentialsHandleA
mov r12, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
call r12
mov qword [0x14002b340], rax
lea rdx, str.InitializeSecurityContextA
mov rcx, rdi
call r12
mov qword [0x14002b348], rax
lea rdx, str.FreeContextBuffer
mov rcx, rdi
call r12
mov qword [0x14002b350], rax
lea rdx, str.FreeCredentialsHandle
mov rcx, rdi
call r12
mov qword [0x14002b358], rax
lea rdx, str.DeleteSecurityContext
mov rcx, rdi
call r12
mov qword [0x14002b360], rax
lea rdx, str.QueryContextAttributesA
mov rcx, rdi
call r12
mov qword [0x14002b368], rax
lea rdx, str.MakeSignature
mov rcx, rdi
call r12
mov qword [0x14002b370], rax
lea rax, [0x14009d3d8]
mov qword [rbx + rsi + 0x10], rax
lea rax, [0x14009d3e5]
mov qword [rbx + rsi + 0x18], rax
lea rax, [0x14009d417]
mov qword [rbx + rsi + 0x20], rax
lea rax, [0x14009d442]
mov qword [rbx + rsi + 0x28], rax
lea rax, [0x14009d573]
mov qword [rbx + rsi + 0x30], rax
lea rax, [0x14009d61b]
movq xmm0, rax
lea rax, [0x14009d59f]
movq xmm1, rax
punpcklqdq xmm1, xmm0
movdqu xmmword [rbx + rsi + 0x38], xmm1
lea rax, [0x14009d65f]
mov qword [rbx + rsi + 0x48], rax
lea rax, [0x14009d756]
mov qword [rbx + rsi + 0x50], rax
lea rax, [0x14009d76c]
mov qword [rbx + rsi + 0x58], rax
mov edx, 0x2a
mov rcx, r14
call fcn.140039e41
mov rdi, qword [rax]
cmp byte [rdi], 0
je 0x14009d351
cmp qword [0x14002b338], 0
je 0x14009d255
mov rcx, rdi
call fcn.1400b93d0
movsxd rdx, eax
lea eax, [rdx + 1]
test rdx, rdx
jle 0x14009d255
mov cl, byte [rdi + rdx - 1]
dec rdx
cmp cl, 0x5c
je 0x14009d218
dec eax
cmp cl, 0x3a
jne 0x14009d1f2
cmp eax, 1
jg 0x14009d21b
jmp 0x14009d255
xor eax, eax
jmp 0x14009ce28
inc rdx
lea rcx, str._.s
mov r8, rdi
call fcn.14004714e
mov r14, rax
xor ecx, ecx
xor edx, edx
mov r8, r14
call fcn.140048177
mov rbx, rax
mov rcx, rbx
call qword [0x14002b338]
mov rcx, rbx
call fcn.140047430
mov rcx, r14
call fcn.140047430
xor edx, edx
mov r8d, 0xd00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r12, rax
test r12, r12
je 0x14009d351
mov rsi, qword [r15]
movsxd rax, dword [r15 + 8]
lea ecx, [rax + 1]
mov dword [r15 + 8], ecx
imul rbx, rax, 0xa8
lea r14, [rsi + rbx]
mov dword [rsi + rbx], 2
lea rcx, str.Using_GSSAPI_from_user_specified_library__s
mov rdx, rdi
call fcn.14004714e
mov qword [rsi + rbx + 8], rax
mov qword [rsi + rbx + 0xa0], r12
lea rdx, str.gss_delete_sec_context
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x60], rax
lea rdx, str.gss_display_status
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x68], rax
lea rdx, str.gss_get_mic
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x70], rax
lea rdx, str.gss_import_name
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x78], rax
lea rdx, str.gss_init_sec_context
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x80], rax
lea rdx, str.gss_release_buffer
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x88], rax
lea rdx, str.gss_release_cred
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x90], rax
lea rdx, str.gss_release_name
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x98], rax
mov rcx, r14
call fcn.140071d64
mov rcx, qword [rsp + 0x48]
call fcn.1400a8e70
mov rax, r15
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret