Function at 0x14000b2ec
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rbp, rcx
lea r13, str.Crypt32
mov rcx, r13
mov r15, rdx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor esi, esi
xor r12d, r12d
and dword [rsp + 0x40], esi
xor edi, edi
and qword [rsp + 0x48], rsi
mov rbx, rax
mov dword [rsp + 0xa0], r12d
test rax, rax
jne 0x14000b353
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
jne 0x14000b353
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
lea rdx, str.CertOpenStore
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x14000b394
mov qword [rsp + 0x20], r13
lea r9, str.CertOpenStore
lea r8, str.Unable_to_locate__s___in__s_n
mov ecx, 3
lea rdx, str.RemoveCertFromStore
call fcn.1400082ac
jmp 0x14000b682
test rbx, rbx
jne 0x14000b3b6
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
jne 0x14000b3b6
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
lea rdx, str.CertFindCertificateInStore
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
jne 0x14000b3e3
lea rax, str.Crypt32
mov qword [rsp + 0x20], rax
lea r9, str.CertFindCertificateInStore
jmp 0x14000b377
test rbx, rbx
jne 0x14000b40c
lea r12, str.Crypt32
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
jne 0x14000b40c
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
lea rdx, str.CertDeleteCertificateFromStore
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
jne 0x14000b457
lea r9, str.CertDeleteCertificateFromStore
lea rax, str.Crypt32
mov ecx, 3
lea r8, str.Unable_to_locate__s___in__s_n
mov qword [rsp + 0x20], rax
lea rdx, str.RemoveCertFromStore
call fcn.1400082ac
mov r12d, esi
jmp 0x14000b682
test rbx, rbx
jne 0x14000b480
lea rdi, str.Crypt32
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
jne 0x14000b480
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
lea rdx, str.CertCloseStore
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
mov rdi, rax
test rax, rax
jne 0x14000b4a9
lea r9, str.CertCloseStore
jmp 0x14000b42b
test rbx, rbx
jne 0x14000b4d2
lea rdi, str.Crypt32
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
jne 0x14000b4d2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
lea rdx, str.CertStrToNameA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x14000b51b
lea rax, str.Crypt32
lea r9, str.CertStrToNameA
mov qword [rsp + 0x20], rax
lea r8, str.Unable_to_locate__s___in__s_n
lea rdx, str.RemoveCertFromStore
lea ecx, [rdi + 3]
call fcn.1400082ac
mov r12d, esi
jmp 0x14000b67a
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov r9d, 0x20000
lea edx, [r8 + 1]
lea ecx, [rdx + 8]
call r14
mov rsi, rax
test rax, rax
jne 0x14000b551
xor ecx, ecx
call fcn.14000bf20
mov r9, r15
lea r8, str.failed_to_open_system_store__s:__s
jmp 0x14000b65c
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov rdx, rbp
lea r14d, [r9 + 1]
mov ecx, r14d
lea r8d, [r9 + 3]
call rdi
test eax, eax
je 0x14000b64b
mov ecx, dword [rsp + 0x40]
call fcn.14001b04c
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000b64b
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea r8d, [r14 + 2]
mov ecx, r14d
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rdx, rbp
call rdi
test eax, eax
je 0x14000b64b
mov edi, 0x20007
jmp 0x14000b5f4
mov rcx, rax
call r12
test eax, eax
je 0x14000b61d
mov r9, rbp
mov qword [rsp + 0x20], r15
lea r8, str.Deleted_existing_certificate__s_from__s_store
mov ecx, r14d
lea rdx, str.RemoveCertFromStore
call fcn.1400082ac
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x40]
mov r9d, edi
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, r14d
mov rcx, rsi
call r13
test rax, rax
jne 0x14000b5cc
mov r12d, r14d
jmp 0x14000b67a
xor ecx, ecx
call fcn.14000bf20
mov qword [rsp + 0x28], rax
lea r8, str.Failed_to_delete_certificate__s_from__s_store:__s
mov r9, rbp
mov qword [rsp + 0x20], r15
lea rdx, str.RemoveCertFromStore
mov ecx, 2
call fcn.1400082ac
jmp 0x14000b672
xor ecx, ecx
call fcn.14000bf20
mov r9, rbp
lea r8, str.Failed_to_encode__s:__s
lea rdx, str.RemoveCertFromStore
mov qword [rsp + 0x20], rax
mov ecx, 2
call fcn.1400082ac
mov r12d, dword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
call fcn.14001b038
test rsi, rsi
je 0x14000b698
xor edx, edx
mov rcx, rsi
call rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [rsp + 0x90]
mov eax, r12d
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret