Function at 0x1400021b0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400391d8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rax, qword [rcx]
mov edi, r9d
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
test rax, rax
jne 0x14000222e
lea r9, str.ucrtbase.dll
mov r8, rdx
lea rcx, [rsp + 0x20]
call fcn.140003ff0
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbx], rax
test rax, rax
jne 0x14000222e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.ucrtbase.dll
lea rcx, str.Can_not_load_library___ls_._GetLastError:__d._Continue._n
call fcn.140003f70
cmp esi, 1
jne 0x140002293
mov rax, qword [rbx + 8]
test rax, rax
jne 0x140002293
lea r9, str.softokn3.dll
mov r8, rbp
lea rcx, [rsp + 0x20]
call fcn.140003ff0
xor edx, edx
lea r8d, [rsi + 7]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbx + 8], rax
test rax, rax
jne 0x140002293
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.softokn3.dll
lea rcx, str.Can_not_load_library___ls_._GetLastError:__d_n
call fcn.140003f70
mov rcx, rbx
call fcn.1400028d0
jmp 0x1400028a8
mov rax, qword [rbx + 0x10]
test rax, rax
jne 0x1400022f3
lea r9, str.nss3.dll
mov r8, rbp
lea rcx, [rsp + 0x20]
call fcn.140003ff0
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1400022f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.nss3.dll
lea rcx, str.Can_not_load_library___ls_._GetLastError:__d_n
call fcn.140003f70
mov rcx, rbx
call fcn.1400028d0
jmp 0x1400028a8
cmp edi, 1
jne 0x14000232a
cmp esi, 0x16
jb 0x140002346
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov rcx, qword [rbx + 0x20]
xor edi, edi
test rcx, rcx
je 0x14000246e
lea rdx, str.PR_Init
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x14000247b
cmp edi, 2
je 0x1400022fd
cmp edi, 0x10000
jne 0x14000233e
cmp esi, 0x1f
jae 0x1400022fd
jmp 0x140002346
cmp edi, 0x20000
je 0x1400022fd
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x1400023a6
lea r9, str.smime3.dll
mov r8, rbp
lea rcx, [rsp + 0x20]
call fcn.140003ff0
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x1400023a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.smime3.dll
lea rcx, str.Can_not_load_library___ls_._GetLastError:__d_n
call fcn.140003f70
mov rcx, rbx
call fcn.1400028d0
jmp 0x1400028a8
mov rax, qword [rbx + 0x20]
test rax, rax
jne 0x140002406
lea r9, str.nspr4.dll
mov r8, rbp
lea rcx, [rsp + 0x20]
call fcn.140003ff0
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x140002406
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.nspr4.dll
lea rcx, str.Can_not_load_library___ls_._GetLastError:__d_n
call fcn.140003f70
mov rcx, rbx
call fcn.1400028d0
jmp 0x1400028a8
mov rax, qword [rbx + 0x28]
test rax, rax
jne 0x140002309
lea r9, str.plds4.dll
mov r8, rbp
lea rcx, [rsp + 0x20]
call fcn.140003ff0
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x140002309
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.plds4.dll
lea rcx, str.Can_not_load_library___ls_._GetLastError:__d_n
call fcn.140003f70
mov rcx, rbx
call fcn.1400028d0
jmp 0x1400028a8
mov ecx, 0xa
call fcn.140001430
mov rax, rdi
mov rcx, qword [rbx + 0x20]
mov qword [rbx + 0x30], rax
test rcx, rcx
je 0x140002497
lea rdx, str.PR_Cleanup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1400024a4
mov ecx, 0xa
call fcn.140001430
mov rax, rdi
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0x38], rax
test rcx, rcx
je 0x1400024c0
lea rdx, str.PL_ArenaFinish
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1400024cd
mov ecx, 0xa
call fcn.140001430
mov rax, rdi
mov rcx, qword [rbx + 0x10]
mov qword [rbx + 0x40], rax
test rcx, rcx
je 0x1400024f2
lea rdx, str.NSS_InitReadWrite
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
test rax, rax
jne 0x140002527
jmp 0x140002500
mov ecx, 0xa
call fcn.140001430
mov qword [rbx + 0x48], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140002887
lea rdx, str.NSS_Initialize
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
test rax, rax
je 0x140002895
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140002870
lea rdx, str.PK11_GetInternalKeySlot
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x60], rax
test rax, rax
je 0x14000287e
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140002566
lea rdx, str.PK11_InitPin
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x140002573
mov ecx, 0xa
call fcn.140001430
mov rax, rdi
mov rcx, qword [rbx + 0x10]
mov qword [rbx + 0x68], rax
test rcx, rcx
je 0x140002859
lea rdx, str.PK11_ImportCert
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x70], rax
test rax, rax
je 0x140002867
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000283f
lea rdx, str.CERT_GetDefaultCertDB
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x80], rax
test rax, rax
je 0x140002850
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140002828
lea rdx, str.CERT_ChangeCertTrust
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x78], rax
test rax, rax
je 0x140002836
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000280e
lea rdx, str.CERT_DestroyCertificate
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x88], rax
test rax, rax
je 0x14000281f
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400027f1
lea rdx, str.PK11_FindCertFromNickname
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x90], rax
test rax, rax
je 0x140002802
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400027d4
lea rdx, str.NSS_Shutdown
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x98], rax
test rax, rax
je 0x1400027e5
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400027b7
lea rdx, str.NSS_Init
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0xa0], rax
test rax, rax
je 0x1400027c8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000279a
lea rdx, str.PK11_FreeSlot
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0xa8], rax
test rax, rax
je 0x1400027ab
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000277d
lea rdx, str.SEC_DeletePermCertificate
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0xb0], rax
test rax, rax
je 0x1400027ab
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140002763
lea rdx, str.CERT_DecodeCertFromPackage
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x58], rax
test rax, rax
je 0x140002771
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000273f
lea rdx, str.PORT_GetError
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0xb8], rax
test rax, rax
jne 0x14000275c
lea rcx, str.Can_not_find_proc_address_PORT_GetError_n
call fcn.140003f70
xor eax, eax
jmp 0x1400028ad
mov ecx, 0xa
call fcn.140001430
lea rcx, str.Can_not_find_proc_address_PORT_GetError_n
mov qword [rbx + 0xb8], rdi
call fcn.140003f70
xor eax, eax
jmp 0x1400028ad
mov ecx, 0xa
call fcn.140001430
mov qword [rbx + 0x58], rdi
lea rdx, str.CERT_DecodeCertFromPackage
jmp 0x14000289c
mov ecx, 0xa
call fcn.140001430
lea rdx, str.PK11_FreeSlot
mov qword [rbx + 0xb0], rdi
jmp 0x14000289c
mov ecx, 0xa
call fcn.140001430
mov qword [rbx + 0xa8], rdi
lea rdx, str.PK11_FreeSlot
jmp 0x14000289c
mov ecx, 0xa
call fcn.140001430
mov qword [rbx + 0xa0], rdi
lea rdx, str.NSS_Init
jmp 0x14000289c
mov ecx, 0xa
call fcn.140001430
mov qword [rbx + 0x98], rdi
lea rdx, str.NSS_Shutdown
jmp 0x14000289c
mov ecx, 0xa
call fcn.140001430
mov qword [rbx + 0x90], rdi
lea rdx, str.PK11_FindCertFromNickname
jmp 0x14000289c
mov ecx, 0xa
call fcn.140001430
mov qword [rbx + 0x88], rdi
lea rdx, str.CERT_DestroyCertificate
jmp 0x14000289c
mov ecx, 0xa
call fcn.140001430
mov qword [rbx + 0x78], rdi
lea rdx, str.CERT_ChangeCertTrust
jmp 0x14000289c
mov ecx, 0xa
call fcn.140001430
mov qword [rbx + 0x80], rdi
lea rdx, str.CERT_GetDefaultCertDB
jmp 0x14000289c
mov ecx, 0xa
call fcn.140001430
mov qword [rbx + 0x70], rdi
lea rdx, str.PK11_ImportCert
jmp 0x14000289c
mov ecx, 0xa
call fcn.140001430
mov qword [rbx + 0x60], rdi
lea rdx, str.PK11_GetInternalKeySlot
jmp 0x14000289c
mov ecx, 0xa
call fcn.140001430
mov qword [rbx + 0x50], rdi
lea rdx, str.NSS_InitReadWrite
lea rcx, str.Can_not_find_proc_address___s__n
call fcn.140003f70
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140005fa0
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret