Function at 0x140180b40
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1f8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x200]
mov qword [rax], 0
mov rax, qword [rsp + 0x200]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x200]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x200]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x200]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x200]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x200]
mov qword [rax + 0x30], 0
mov rax, qword [rsp + 0x200]
mov qword [rax + 0x38], 0
mov rax, qword [rsp + 0x200]
mov qword [rax + 0x40], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x30], MsiVerifyPackageW
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x140180c11
jmp 0x140180e43
cmp dword [rsp + 0x40], 2
jne 0x140180c3c
cmp dword [rsp + 0x34], 4
jne 0x140180c3c
cmp dword [rsp + 0x38], 0
jne 0x140180c3c
lea rdx, str.security.dll
lea rcx, [rsp + 0xd0]
call fcn.140237950
jmp 0x140180c50
lea rdx, str.secur32.dll
lea rcx, [rsp + 0xd0]
call fcn.140237950
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, qword [rsp + 0x200]
mov qword [rcx + 0x40], rax
mov rax, qword [rsp + 0x200]
cmp qword [rax + 0x40], 0
jne 0x140180c7e
jmp 0x140180e43
lea rdx, str.AcceptSecurityContext
mov rax, qword [rsp + 0x200]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x200]
mov qword [rcx], rax
mov rax, qword [rsp + 0x200]
cmp qword [rax], 0
jne 0x140180cb5
jmp 0x140180e2f
lea rdx, str.AcquireCredentialsHandleA
mov rax, qword [rsp + 0x200]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x200]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x200]
cmp qword [rax + 8], 0
jne 0x140180cee
jmp 0x140180e2f
lea rdx, str.CompleteAuthToken
mov rax, qword [rsp + 0x200]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x200]
mov qword [rcx + 0x10], rax
lea rdx, str.DeleteSecurityContext
mov rax, qword [rsp + 0x200]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x200]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x200]
cmp qword [rax + 0x18], 0
jne 0x140180d4c
jmp 0x140180e2f
lea rdx, str.FreeContextBuffer
mov rax, qword [rsp + 0x200]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x200]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x200]
cmp qword [rax + 0x20], 0
jne 0x140180d85
jmp 0x140180e2f
lea rdx, str.FreeCredentialsHandle
mov rax, qword [rsp + 0x200]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x200]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x200]
cmp qword [rax + 0x28], 0
jne 0x140180dbb
jmp 0x140180e2f
lea rdx, str.InitializeSecurityContextA
mov rax, qword [rsp + 0x200]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x200]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x200]
cmp qword [rax + 0x30], 0
jne 0x140180df1
jmp 0x140180e2f
lea rdx, str.QuerySecurityPackageInfoA
mov rax, qword [rsp + 0x200]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x200]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0x200]
cmp qword [rax + 0x38], 0
jne 0x140180e27
jmp 0x140180e2f
mov dword [rsp + 0x20], 1
cmp dword [rsp + 0x20], 0
jne 0x140180e43
mov rcx, qword [rsp + 0x200]
call fcn.140181350
mov rax, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x1f8
ret