Function at 0x1401603c0
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 0x1401603f6
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 0x14016041d
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 0x140160444
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 0x14016046b
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 0x140160492
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 0x1401604b9
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 0x1401604e0
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 0x140160507
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 0x14016052e
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 0x140160555
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 0x14016057c
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 0x1401605a3
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 0x1401605ca
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 0x1401605f1
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 0x140160618
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 0x14016063f
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 0x140160666
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 0x14016068d
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 0x1401606b4
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 0x1401606db
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 0x140160702
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 0x140160729
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 0x140160750
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 0x140160777
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 0x14016079e
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 0x1401607c5
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 0x1401607ec
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 0x140160813
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 0x14016083a
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 0x140160861
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 0x140160888
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 0x1401608af
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 0x1401608d6
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 0x1401608fd
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 0x140160924
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 0x14016094b
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 0x140160972
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 0x140160999
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 0x1401609c3
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 0x1401609ed
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 0x140160a17
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 0x140160a41
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 0x140160a6b
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 0x140160a95
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 0x140160abf
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 0x140160ae9
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 0x140160b13
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 0x140160b3d
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 0x140160b67
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 0x140160b91
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 0x140160bbb
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 0x140160be5
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 0x140160c0f
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 0x140160c39
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 0x140160c63
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 0x140160c8d
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 0x140160cb7
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 0x140160ce1
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 0x140160d1b
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 0x140160d45
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 0x140160d6f
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 0x140160d99
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 0x140160dc3
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 0x140160ded
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 0x140160e17
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 0x140160e48
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 0x140160e72
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 0x140160e9c
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 0x140160ec6
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 0x140160ef0
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 0x140160f1a
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 0x140160f44
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 0x140160f6e
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 0x140160f98
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 0x140160fc2
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 0x140160fec
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 0x140161016
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 0x140161040
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 0x14016106a
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 0x140161094
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 0x1401610be
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 0x1401610e5
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 0x14016110c
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 0x140161133
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 0x14016115a
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 0x140161181
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 0x1401611a8
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 0x1401611cf
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 0x1401611f6
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 0x14016121d
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 0x140161244
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 0x14016126b
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 0x140161292
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 0x1401612b9
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 0x1401612e0
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 0x140161307
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 0x14016132e
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.1400528a0