Function at 0x14005b500
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 [0x140102058]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, 1
mov edx, 0x10
xor r8d, r8d
call fcn.1400416b0
mov r15, rax
mov rcx, qword [0x140105f08]
test rcx, rcx
jne 0x14005b561
lea rcx, str.kernel32.dll
call fcn.140043cd0
mov rcx, rax
mov qword [0x140105f08], rax
test rax, rax
je 0x14005ba2f
lea rdx, str.AddDllDirectory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140105f10], rax
mov ecx, 3
mov edx, 0xc8
xor r8d, r8d
call fcn.1400416b0
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 0x14005b869
mov rcx, qword [rsp + 0x40]
lea rsi, [rsp + 0x38]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0
lea rdx, str.InstallDir
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14005b85e
cmp dword [rsp + 0x3c], 1
jne 0x14005b85e
mov ecx, dword [rsp + 0x38]
add ecx, 0x14
xor ebx, ebx
mov edx, 1
xor r8d, r8d
call fcn.1400416b0
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 0x14005b71f
cmp dword [rsp + 0x3c], 1
jne 0x14005b71f
mov rcx, rdi
call fcn.1400b6330
mov dword [rdi + rax], 0x6e69625c
mov byte [rdi + rax + 4], 0
cmp qword [0x140105f10], 0
je 0x14005b681
xor ecx, ecx
xor edx, edx
mov r8, rdi
call fcn.140040b30
mov rbx, rax
mov rcx, rax
call qword [0x140105f10]
mov rcx, rbx
call fcn.140041750
mov rcx, rdi
call fcn.1400b6330
movabs rcx, 0x366970617373675c
mov qword [rdi + rax], rcx
movabs rcx, 0x6c6c642e343669
mov qword [rdi + rax + 6], rcx
mov rcx, rdi
xor edx, edx
mov r8d, 0xd00
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rbx, rax
mov rcx, qword [0x140105f58]
test rcx, rcx
jne 0x14005b6dc
lea rcx, [0x14002c030]
call fcn.140042470
mov rcx, rax
mov qword [0x140105f58], rax
mov rdx, rbx
xor r8d, r8d
call fcn.140043230
test rax, rax
je 0x14005b6f5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [0x140105f58]
test rcx, rcx
jne 0x14005b717
lea rcx, [0x14002c030]
call fcn.140042470
mov rcx, rax
mov qword [0x140105f58], rax
mov rdx, rbx
call fcn.140042550
mov rcx, rdi
call fcn.140041750
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x14005b869
mov rsi, qword [r15]
movsxd rax, dword [r15 + 8]
lea ecx, [rax + 1]
mov dword [r15 + 8], ecx
imul rdi, rax, 0xc8
lea r12, [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, r12
call fcn.14007d160
jmp 0x14005b869
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.secur32.dll
call fcn.140043cd0
test rax, rax
je 0x14005b9dc
mov rdi, rax
mov rsi, qword [r15]
movsxd rax, dword [r15 + 8]
lea ecx, [rax + 1]
mov dword [r15 + 8], ecx
imul rbx, rax, 0xc8
mov dword [rsi + rbx], 1
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 r12, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
call r12
mov qword [0x140105f18], rax
lea rdx, str.InitializeSecurityContextA
mov rcx, rdi
call r12
mov qword [0x140105f20], rax
lea rdx, str.FreeContextBuffer
mov rcx, rdi
call r12
mov qword [0x140105f28], rax
lea rdx, str.FreeCredentialsHandle
mov rcx, rdi
call r12
mov qword [0x140105f30], rax
lea rdx, str.DeleteSecurityContext
mov rcx, rdi
call r12
mov qword [0x140105f38], rax
lea rdx, str.QueryContextAttributesA
mov rcx, rdi
call r12
mov qword [0x140105f40], rax
lea rdx, str.MakeSignature
mov rcx, rdi
call r12
mov qword [0x140105f48], rax
lea rdx, str.VerifySignature
mov rcx, rdi
call r12
mov qword [0x140105f50], rax
lea rax, [0x14005bc90]
mov qword [rsi + rbx + 0x10], rax
lea rax, [0x14005bca0]
mov qword [rsi + rbx + 0x18], rax
lea rax, [0x14005bce0]
mov qword [rsi + rbx + 0x20], rax
lea rax, [0x14005bd10]
mov qword [rsi + rbx + 0x28], rax
lea rax, [0x14005bfa0]
mov qword [rsi + rbx + 0x30], rax
lea rax, [0x14005bfd0]
mov qword [rsi + rbx + 0x38], rax
lea rax, [0x14005c080]
mov qword [rsi + rbx + 0x40], rax
lea rax, [0x14005c0d0]
mov qword [rsi + rbx + 0x48], rax
lea rax, [0x14005c1e0]
mov qword [rsi + rbx + 0x50], rax
lea rax, [0x14005c290]
mov qword [rsi + rbx + 0x58], rax
lea rax, [0x14005c2b0]
mov qword [rsi + rbx + 0x60], rax
mov rcx, r14
mov edx, 0x2e
call fcn.14003fb40
mov rdi, qword [rax]
cmp byte [rdi], 0
je 0x14005bbaf
cmp qword [0x140105f10], 0
je 0x14005ba74
mov rcx, rdi
call fcn.1400b6330
mov edx, eax
nop dword [rax]
test edx, edx
jle 0x14005ba74
movzx eax, byte [rdi + rdx - 1]
add rdx, 0xffffffffffffffff
cmp al, 0x5c
je 0x14005ba36
cmp al, 0x3a
jne 0x14005ba10
lea eax, [rdx + 1]
cmp eax, 1
jg 0x14005ba3a
jmp 0x14005ba74
xor eax, eax
jmp 0x14005b56e
add rdx, 1
lea rcx, [0x1400e38bf]
mov r8, rdi
call fcn.140040ac0
mov rbx, rax
xor ecx, ecx
xor edx, edx
mov r8, rax
call fcn.140040b30
mov rsi, rax
mov rcx, rax
call qword [0x140105f10]
mov rcx, rsi
call fcn.140041750
mov rcx, rbx
call fcn.140041750
mov rcx, rdi
xor edx, edx
mov r8d, 0xd00
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test rax, rax
je 0x14005bbaf
mov r12, rax
mov rsi, qword [r15]
movsxd rax, dword [r15 + 8]
lea ecx, [rax + 1]
mov dword [r15 + 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.140040ac0
mov qword [rsi + rbx + 8], rax
mov qword [rsi + rbx + 0xc0], 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 + 0x68], rax
lea rdx, str.gss_display_status
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x70], rax
lea rdx, str.gss_get_mic
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x78], rax
lea rdx, str.gss_verify_mic
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x80], rax
lea rdx, str.gss_import_name
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x88], rax
lea rdx, str.gss_init_sec_context
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x90], rax
lea rdx, str.gss_release_buffer
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0x98], rax
lea rdx, str.gss_release_cred
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0xa0], rax
lea rdx, str.gss_release_name
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0xa8], rax
lea rdx, str.gss_acquire_cred
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0xb0], rax
lea rdx, str.gss_inquire_cred_by_mech
mov rcx, r12
call rdi
mov qword [rsi + rbx + 0xb8], rax
mov rcx, r14
call fcn.14007d160
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a5f20
mov rax, r15
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret