Function at 0x1401f6ea0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rcx
test edx, edx
jne 0x1401f6ed6
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_OK
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 1
jne 0x1401f6efd
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_CANCEL
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 2
jne 0x1401f6f24
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_HOST_MEMORY
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 3
jne 0x1401f6f4b
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_SLOT_ID_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 5
jne 0x1401f6f72
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_GENERAL_ERROR
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 6
jne 0x1401f6f99
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_FUNCTION_FAILED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 7
jne 0x1401f6fc0
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_ARGUMENTS_BAD
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 8
jne 0x1401f6fe7
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_NO_EVENT
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 9
jne 0x1401f700e
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_NEED_TO_CREATE_THREADS
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xa
jne 0x1401f7035
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_CANT_LOCK
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x10
jne 0x1401f705c
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_ATTRIBUTE_READ_ONLY
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x11
jne 0x1401f7083
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_ATTRIBUTE_SENSITIVE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x12
jne 0x1401f70aa
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_ATTRIBUTE_TYPE_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x13
jne 0x1401f70d1
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_ATTRIBUTE_VALUE_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x1b
jne 0x1401f70f8
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_ACTION_PROHIBITED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x20
jne 0x1401f711f
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_DATA_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x21
jne 0x1401f7146
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_DATA_LEN_RANGE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x30
jne 0x1401f716d
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_DEVICE_ERROR
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x31
jne 0x1401f7194
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_DEVICE_MEMORY
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x32
jne 0x1401f71bb
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_DEVICE_REMOVED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x40
jne 0x1401f71e2
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_ENCRYPTED_DATA_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x41
jne 0x1401f7209
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_ENCRYPTED_DATA_LEN_RANGE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x42
jne 0x1401f7230
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_AEAD_DECRYPT_FAILED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x50
jne 0x1401f7257
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_FUNCTION_CANCELED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x51
jne 0x1401f727e
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_FUNCTION_NOT_PARALLEL
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x54
jne 0x1401f72a5
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_FUNCTION_NOT_SUPPORTED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x60
jne 0x1401f72cc
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_KEY_HANDLE_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x62
jne 0x1401f72f3
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_KEY_SIZE_RANGE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x63
jne 0x1401f731a
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_KEY_TYPE_INCONSISTENT
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x64
jne 0x1401f7341
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_KEY_NOT_NEEDED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x65
jne 0x1401f7368
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_KEY_CHANGED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x66
jne 0x1401f738f
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_KEY_NEEDED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x67
jne 0x1401f73b6
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_KEY_INDIGESTIBLE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x68
jne 0x1401f73dd
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_KEY_FUNCTION_NOT_PERMITTED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x69
jne 0x1401f7404
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_KEY_NOT_WRAPPABLE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x6a
jne 0x1401f742b
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_KEY_UNEXTRACTABLE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x70
jne 0x1401f7452
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_MECHANISM_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x71
jne 0x1401f7479
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_MECHANISM_PARAM_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x82
jne 0x1401f74a3
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_OBJECT_HANDLE_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x90
jne 0x1401f74cd
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_OPERATION_ACTIVE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x91
jne 0x1401f74f7
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_OPERATION_NOT_INITIALIZED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xa0
jne 0x1401f7521
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_PIN_INCORRECT
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xa1
jne 0x1401f754b
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_PIN_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xa2
jne 0x1401f7575
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_PIN_LEN_RANGE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xa3
jne 0x1401f759f
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_PIN_EXPIRED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xa4
jne 0x1401f75c9
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_PIN_LOCKED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xb0
jne 0x1401f75f3
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_SESSION_CLOSED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xb1
jne 0x1401f761d
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_SESSION_COUNT
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xb3
jne 0x1401f7647
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_SESSION_HANDLE_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xb4
jne 0x1401f7671
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_SESSION_PARALLEL_NOT_SUPPORTED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xb5
jne 0x1401f769b
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_SESSION_READ_ONLY
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xb6
jne 0x1401f76c5
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_SESSION_EXISTS
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xb7
jne 0x1401f76ef
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_SESSION_READ_ONLY_EXISTS
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xb8
jne 0x1401f7719
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_SESSION_READ_WRITE_SO_EXISTS
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xc0
jne 0x1401f7743
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_SIGNATURE_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xc1
jne 0x1401f776d
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_SIGNATURE_LEN_RANGE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xd0
jne 0x1401f7797
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_TEMPLATE_INCOMPLETE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xd1
jne 0x1401f77c1
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_TEMPLATE_INCONSISTENT
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xe0
jne 0x1401f77fb
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_TOKEN_NOT_PRESENT
mov rcx, rbx
call qword [rax + 0x58]
mov rax, qword [rbx]
lea rdx, str._There_is_no_smart_card_in_the_reader_
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x28]
cmp edx, 0xe1
jne 0x1401f7825
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_TOKEN_NOT_RECOGNIZED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xe2
jne 0x1401f784f
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_TOKEN_WRITE_PROTECTED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xf0
jne 0x1401f7879
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_UNWRAPPING_KEY_HANDLE_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xf1
jne 0x1401f78a3
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_UNWRAPPING_KEY_SIZE_RANGE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0xf2
jne 0x1401f78cd
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x100
jne 0x1401f78f7
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_USER_ALREADY_LOGGED_IN
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x101
jne 0x1401f7928
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_USER_NOT_LOGGED_IN
mov rcx, rbx
call qword [rax + 0x58]
mov byte [rdi + 0x8dd], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp edx, 0x102
jne 0x1401f7952
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_USER_PIN_NOT_INITIALIZED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x103
jne 0x1401f797c
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_USER_TYPE_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x104
jne 0x1401f79a6
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_USER_ANOTHER_ALREADY_LOGGED_IN
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x105
jne 0x1401f79d0
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_USER_TOO_MANY_TYPES
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x110
jne 0x1401f79fa
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_WRAPPED_KEY_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x112
jne 0x1401f7a24
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_WRAPPED_KEY_LEN_RANGE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x113
jne 0x1401f7a4e
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_WRAPPING_KEY_HANDLE_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x114
jne 0x1401f7a78
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_WRAPPING_KEY_SIZE_RANGE
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x115
jne 0x1401f7aa2
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_WRAPPING_KEY_TYPE_INCONSISTENT
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x120
jne 0x1401f7acc
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_RANDOM_SEED_NOT_SUPPORTED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x121
jne 0x1401f7af6
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_RANDOM_NO_RNG
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x130
jne 0x1401f7b20
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_DOMAIN_PARAMS_INVALID
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x140
jne 0x1401f7b4a
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_CURVE_NOT_SUPPORTED
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x150
jne 0x1401f7b74
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_BUFFER_TOO_SMALL
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
mov rcx, rbx
cmp edx, 0x160
jne 0x1401f7b9e
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_SAVED_STATE_INVALID
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x170
jne 0x1401f7bc5
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_INFORMATION_SENSITIVE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x180
jne 0x1401f7bec
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_STATE_UNSAVEABLE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x190
jne 0x1401f7c13
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_CRYPTOKI_NOT_INITIALIZED
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x191
jne 0x1401f7c3a
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_CRYPTOKI_ALREADY_INITIALIZED
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x1a0
jne 0x1401f7c61
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_MUTEX_BAD
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x1a1
jne 0x1401f7c88
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_MUTEX_NOT_LOCKED
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x1b0
jne 0x1401f7caf
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_NEW_PIN_MODE
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x1b1
jne 0x1401f7cd6
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_NEXT_OTP
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x1b5
jne 0x1401f7cfd
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_EXCEEDED_MAX_ITERATIONS
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x1b6
jne 0x1401f7d24
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_FIPS_SELF_TEST_FAILED
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x1b7
jne 0x1401f7d4b
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_LIBRARY_LOAD_FAILED
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x1b8
jne 0x1401f7d72
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_PIN_TOO_WEAK
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x1b9
jne 0x1401f7d99
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_PUBLIC_KEY_INVALID
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x200
jne 0x1401f7dc0
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_FUNCTION_REJECTED
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x201
jne 0x1401f7de7
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_TOKEN_RESOURCE_EXCEEDED
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
cmp edx, 0x202
jne 0x1401f7e0e
mov rax, qword [r8]
lea rdx, str.pkcs11_error_code
lea r8, str.CKR_OPERATION_CANCEL_FAILED
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
mov r8d, edx
lea rdx, str.pkcs11_error_code
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400f7610