Function at 0x14000b564
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400537d8]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov sil, r9b
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor r15d, r15d
mov qword [rcx], r15
lea rcx, [0x140041600]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop dword [rax + rax]
mov qword [rbx + 8], rax
test rax, rax
je 0x14000b85f
mov byte [rbx + 0x10], sil
mov dword [rbx + 0x14], 1
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r15
mov qword [rbx + 0x30], r15
mov qword [rbx + 0x38], r15
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x48], r15
mov qword [rbx + 0x50], r15
mov qword [rbx + 0x58], r15
mov qword [rbx + 0x60], r15
lea rdx, str.CryptCATAdminReleaseContext
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x14000b8ac
lea rdx, [0x140041630]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x14000b8f0
lea rdx, [0x140041648]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rbx + 0x40], rax
test rax, rax
je 0x14000b934
lea rdx, [0x140041670]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rbx + 0x38], rax
test rax, rax
je 0x14000b978
lea rdx, [0x140041690]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rbx + 0x48], rax
test rax, rax
je 0x14000b9bc
lea rdx, str.CryptCATAdminCalcHashFromFileHandle2
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rbx + 0x50], rax
lea rdx, [0x1400416e0]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rbx + 0x58], rax
test rax, rax
je 0x14000ba00
lea rdx, str.CryptCATCatalogInfoFromContext
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rbx + 0x60], rax
test rax, rax
je 0x14000ba44
lea rdx, [0x140041728]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x14000b770
cmp qword [rdi + 0x10], r15
jbe 0x14000b74c
cmp qword [rdi + 0x18], 8
jb 0x14000b74f
mov rdi, qword [rdi]
jmp 0x14000b74f
mov rdi, r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call qword [case.0x140036da7.0]
test eax, eax
je 0x14000b822
jmp 0x14000b7a7
lea rdx, [0x1400417b0]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x14000ba88
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [case.0x140036da7.0]
test eax, eax
je 0x14000b7e4
cmp qword [rbx + 0x20], r15
je 0x14000b7ba
cmp qword [rbx + 0x50], r15
je 0x14000b7ba
mov dword [rbx + 0x14], 2
mov rax, rbx
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.140039fa0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
nop
mov edx, eax
lea rcx, str.CryptCATAdminAcquireContext
call fcn.14000c5f8
lea rdx, str.CryptCATAdminAcquireContext_failed
lea rcx, [rsp + 0x50]
call fcn.140008bd8
lea rdx, [0x140050178]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
lea rcx, str.CryptCATAdminAcquireContext2
call fcn.14000c5f8
lea rdx, str.CryptCATAdminAcquireContext2_failed
lea rcx, [rsp + 0x50]
call fcn.140008bd8
lea rdx, [0x140050178]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.LoadLibrary
lea rcx, [rbp - 8]
call fcn.1400094c0
nop
lea rcx, [rbp + 0x70]
call fcn.140001a54
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8d, eax
mov r9, rbx
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x20]
call fcn.14000b2e0
lea rdx, [0x140050300]
lea rcx, [rbp + 0x20]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.CryptCATAdminReleaseContext
lea rcx, [rsp + 0x50]
call fcn.1400094c0
nop
lea rcx, [rbp - 0x30]
call fcn.140001a54
nop
mov r9, rax
mov r8d, 0x7f
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.14000b2e0
lea rdx, [0x140050300]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, [0x140041630]
lea rcx, [rsp + 0x50]
call fcn.1400094c0
nop
lea rcx, [rbp - 0x30]
call fcn.140001a54
nop
mov r9, rax
mov r8d, 0x7f
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.14000b2e0
lea rdx, [0x140050300]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, [0x140041648]
lea rcx, [rsp + 0x50]
call fcn.1400094c0
nop
lea rcx, [rbp - 0x30]
call fcn.140001a54
nop
mov r9, rax
mov r8d, 0x7f
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.14000b2e0
lea rdx, [0x140050300]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, [0x140041670]
lea rcx, [rsp + 0x50]
call fcn.1400094c0
nop
lea rcx, [rbp - 0x30]
call fcn.140001a54
nop
mov r9, rax
mov r8d, 0x7f
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.14000b2e0
lea rdx, [0x140050300]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, [0x140041690]
lea rcx, [rsp + 0x50]
call fcn.1400094c0
nop
lea rcx, [rbp - 0x30]
call fcn.140001a54
nop
mov r9, rax
mov r8d, 0x7f
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.14000b2e0
lea rdx, [0x140050300]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, [0x1400416e0]
lea rcx, [rsp + 0x50]
call fcn.1400094c0
nop
lea rcx, [rbp - 0x30]
call fcn.140001a54
nop
mov r9, rax
mov r8d, 0x7f
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.14000b2e0
lea rdx, [0x140050300]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.CryptCATCatalogInfoFromContext
lea rcx, [rsp + 0x50]
call fcn.1400094c0
nop
lea rcx, [rbp - 0x30]
call fcn.140001a54
nop
mov r9, rax
mov r8d, 0x7f
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.14000b2e0
lea rdx, [0x140050300]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, [0x1400417b0]
lea rcx, [rsp + 0x50]
call fcn.1400094c0
nop
lea rcx, [rbp - 0x30]
call fcn.140001a54
nop
mov r9, rax
mov r8d, 0x7f
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.14000b2e0
lea rdx, [0x140050300]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll__CxxThrowException
int3