Function at 0x14004b964
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x30
xor r8d, r8d
mov rbp, rcx
lea r12d, [r8 + 1]
mov ecx, r12d
lea edx, [r8 + 0x10]
call fcn.140008cbc
mov r14, rax
mov rax, qword [0x1400f3110]
test rax, rax
jne 0x14004b9b1
lea rcx, str.kernel32.dll
call fcn.14004d7a8
mov qword [0x1400f3110], rax
test rax, rax
je 0x14004b9c1
lea rdx, str.AddDllDirectory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov qword [0x1400f3108], rax
mov edx, 0xc8
lea ecx, [r8 + 3]
call fcn.140008cbc
and dword [r14 + 8], 0
lea r8, [rsp + 0x78]
lea rdx, str.SOFTWAREMITKerberos
mov qword [r14], rax
mov rcx, 0xffffffff80000002
xor esi, esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x14004bc25
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
and qword [rsp + 0x20], rsi
lea rdx, str.InstallDir
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14004baec
cmp dword [rsp + 0x68], r12d
jne 0x14004baec
mov ecx, dword [rsp + 0x70]
xor r8d, r8d
add ecx, 0x14
mov rdx, r12
call fcn.140008cbc
mov rcx, qword [rsp + 0x78]
lea r9, [rsp + 0x68]
mov rdi, rax
lea rdx, str.InstallDir
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14004bae4
cmp dword [rsp + 0x68], r12d
jne 0x14004bae4
lea rdx, str._bin
mov rcx, rdi
call fcn.140084250
cmp qword [0x1400f3108], rsi
je 0x14004bac1
mov r8, rdi
xor edx, edx
xor ecx, ecx
call fcn.140009310
mov rcx, rax
mov rbx, rax
call qword [0x1400f3108]
mov rcx, rbx
call fcn.140008bbc
lea rdx, str.gssapi64.dll
mov rcx, rdi
call fcn.140084250
xor edx, edx
mov r8d, 0xd00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rsi, rax
mov rcx, rdi
call fcn.140008bbc
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rsi, rsi
je 0x14004bc25
movsxd rax, dword [r14 + 8]
lea rdx, str.gss_delete_sec_context
imul rbx, rax, 0xc8
mov rcx, rsi
add rbx, qword [r14]
inc eax
mov dword [r14 + 8], eax
lea rax, str.Using_GSSAPI_from_GSSAPI64.DLL
and dword [rbx], 0
mov qword [rbx + 8], rax
mov qword [rbx + 0xc0], rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_display_status
mov rcx, rsi
mov qword [rbx + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_get_mic
mov rcx, rsi
mov qword [rbx + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_verify_mic
mov rcx, rsi
mov qword [rbx + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_import_name
mov rcx, rsi
mov qword [rbx + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_init_sec_context
mov rcx, rsi
mov qword [rbx + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_release_buffer
mov rcx, rsi
mov qword [rbx + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_release_cred
mov rcx, rsi
mov qword [rbx + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_release_name
mov rcx, rsi
mov qword [rbx + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_acquire_cred
mov rcx, rsi
mov qword [rbx + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_inquire_cred_by_mech
mov rcx, rsi
mov qword [rbx + 0xb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [rbx + 0xb8], rax
call fcn.140037ee4
lea rcx, str.secur32.dll
call fcn.14004d7a8
mov rdi, rax
test rax, rax
je 0x14004bd27
movsxd rdx, dword [r14 + 8]
lea rax, str.Using_SSPI_from_SECUR32.DLL
imul rbx, rdx, 0xc8
lea ecx, [rdx + 1]
add rbx, qword [r14]
lea rdx, str.AcquireCredentialsHandleA
mov dword [r14 + 8], ecx
mov rcx, rdi
mov dword [rbx], r12d
mov qword [rbx + 8], rax
mov qword [rbx + 0xc0], rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.InitializeSecurityContextA
mov rcx, rdi
mov qword [0x1400f30c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.FreeContextBuffer
mov rcx, rdi
mov qword [0x1400f30d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.FreeCredentialsHandle
mov rcx, rdi
mov qword [0x1400f30d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.DeleteSecurityContext
mov rcx, rdi
mov qword [0x1400f30e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.QueryContextAttributesA
mov rcx, rdi
mov qword [0x1400f30e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.MakeSignature
mov rcx, rdi
mov qword [0x1400f30f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.VerifySignature
mov rcx, rdi
mov qword [0x1400f30f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x1400f3100], rax
call fcn.14004bfec
mov edx, 0x2d
mov rcx, rbp
call fcn.140003224
mov rsi, qword [rax]
cmp byte [rsi], 0
je 0x14004bf13
cmp qword [0x1400f3108], 0
je 0x14004bdc4
mov rcx, rsi
call fcn.140066d10
mov rcx, rax
cdqe
test ecx, ecx
jle 0x14004bdc4
cmp byte [rsi + rax - 1], 0x3a
je 0x14004bd74
cmp byte [rsi + rax - 1], 0x5c
je 0x14004bd74
sub ecx, r12d
sub rax, r12
test rax, rax
jg 0x14004bd5b
test ecx, ecx
jle 0x14004bdc4
movsxd rax, ecx
lea edx, [rcx - 1]
cmp byte [rax + rsi - 1], 0x5c
cmove edx, ecx
test edx, edx
jle 0x14004bdc4
mov r8, rsi
lea rcx, [0x1400c08b4]
call fcn.14004989c
mov r8, rax
xor edx, edx
xor ecx, ecx
mov rdi, rax
call fcn.140009310
mov rcx, rax
mov rbx, rax
call qword [0x1400f3108]
mov rcx, rbx
call fcn.140008bbc
mov rcx, rdi
call fcn.140008bbc
xor edx, edx
mov r8d, 0xd00
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdi, rax
test rax, rax
je 0x14004bf13
movsxd r8, dword [r14 + 8]
mov rdx, rsi
imul rbx, r8, 0xc8
lea ecx, [r8 + 1]
add rbx, qword [r14]
mov dword [r14 + 8], ecx
lea rcx, str.Using_GSSAPI_from_user_specified_library__s
mov dword [rbx], 2
call fcn.14004989c
lea rdx, str.gss_delete_sec_context
mov qword [rbx + 8], rax
mov rcx, rdi
mov qword [rbx + 0xc0], rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_display_status
mov rcx, rdi
mov qword [rbx + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_get_mic
mov rcx, rdi
mov qword [rbx + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_verify_mic
mov rcx, rdi
mov qword [rbx + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_import_name
mov rcx, rdi
mov qword [rbx + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_init_sec_context
mov rcx, rdi
mov qword [rbx + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_release_buffer
mov rcx, rdi
mov qword [rbx + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_release_cred
mov rcx, rdi
mov qword [rbx + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_release_name
mov rcx, rdi
mov qword [rbx + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_acquire_cred
mov rcx, rdi
mov qword [rbx + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gss_inquire_cred_by_mech
mov rcx, rdi
mov qword [rbx + 0xb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [rbx + 0xb8], rax
call fcn.140037ee4
mov rbx, qword [rsp + 0x60]
mov rax, r14
add rsp, 0x30
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret