Function at 0x1401636b0
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 0x1401636e6
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 0x14016370d
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 0x140163734
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 0x14016375b
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 0x140163782
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 0x1401637a9
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 0x1401637d0
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 0x1401637f7
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 0x14016381e
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 0x140163845
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 0x14016386c
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 0x140163893
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 0x1401638ba
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 0x1401638e1
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 0x140163908
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 0x14016392f
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 0x140163956
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 0x14016397d
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 0x1401639a4
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 0x1401639cb
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 0x1401639f2
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 0x140163a19
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 0x140163a40
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 0x140163a67
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 0x140163a8e
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 0x140163ab5
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 0x140163adc
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 0x140163b03
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 0x140163b2a
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 0x140163b51
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 0x140163b78
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 0x140163b9f
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 0x140163bc6
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 0x140163bed
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 0x140163c14
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 0x140163c3b
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 0x140163c62
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 0x140163c89
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 0x140163cb3
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 0x140163cdd
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 0x140163d07
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 0x140163d31
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 0x140163d5b
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 0x140163d85
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 0x140163daf
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 0x140163dd9
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 0x140163e03
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 0x140163e2d
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 0x140163e57
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 0x140163e81
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 0x140163eab
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 0x140163ed5
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 0x140163eff
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 0x140163f29
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 0x140163f53
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 0x140163f7d
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 0x140163fa7
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 0x140163fd1
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 0x14016400b
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 0x140164035
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 0x14016405f
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 0x140164089
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 0x1401640b3
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 0x1401640dd
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 0x140164107
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 0x140164138
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 + 0x97d], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp edx, 0x102
jne 0x140164162
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 0x14016418c
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 0x1401641b6
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 0x1401641e0
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 0x14016420a
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 0x140164234
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 0x14016425e
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 0x140164288
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 0x1401642b2
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 0x1401642dc
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 0x140164306
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 0x140164330
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 0x14016435a
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 0x140164384
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 0x1401643ae
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 0x1401643d5
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 0x1401643fc
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 0x140164423
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 0x14016444a
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 0x140164471
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 0x140164498
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 0x1401644bf
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 0x1401644e6
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 0x14016450d
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 0x140164534
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 0x14016455b
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 0x140164582
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 0x1401645a9
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 0x1401645d0
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 0x1401645f7
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 0x14016461e
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.140055bf0