Function at 0x1401a0950
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 0x1401a0986
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 0x1401a09ad
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 0x1401a09d4
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 0x1401a09fb
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 0x1401a0a22
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 0x1401a0a49
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 0x1401a0a70
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 0x1401a0a97
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 0x1401a0abe
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 0x1401a0ae5
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 0x1401a0b0c
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 0x1401a0b33
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 0x1401a0b5a
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 0x1401a0b81
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 0x1401a0ba8
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 0x1401a0bcf
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 0x1401a0bf6
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 0x1401a0c1d
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 0x1401a0c44
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 0x1401a0c6b
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 0x1401a0c92
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 0x1401a0cb9
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 0x1401a0ce0
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 0x1401a0d07
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 0x1401a0d2e
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 0x1401a0d55
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 0x1401a0d7c
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 0x1401a0da3
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 0x1401a0dca
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 0x1401a0df1
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 0x1401a0e18
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 0x1401a0e3f
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 0x1401a0e66
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 0x1401a0e8d
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 0x1401a0eb4
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 0x1401a0edb
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 0x1401a0f02
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 0x1401a0f29
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 0x1401a0f53
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 0x1401a0f7d
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 0x1401a0fa7
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 0x1401a0fd1
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 0x1401a0ffb
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 0x1401a1025
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 0x1401a104f
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 0x1401a1079
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 0x1401a10a3
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 0x1401a10cd
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 0x1401a10f7
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 0x1401a1121
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 0x1401a114b
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 0x1401a1175
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 0x1401a119f
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 0x1401a11c9
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 0x1401a11f3
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 0x1401a121d
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 0x1401a1247
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 0x1401a1271
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 0x1401a12ab
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 0x1401a12d5
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 0x1401a12ff
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 0x1401a1329
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 0x1401a1353
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 0x1401a137d
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 0x1401a13a7
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 0x1401a13d8
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 0x1401a1402
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 0x1401a142c
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 0x1401a1456
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 0x1401a1480
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 0x1401a14aa
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 0x1401a14d4
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 0x1401a14fe
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 0x1401a1528
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 0x1401a1552
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 0x1401a157c
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 0x1401a15a6
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 0x1401a15d0
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 0x1401a15fa
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 0x1401a1624
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 0x1401a164e
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 0x1401a1675
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 0x1401a169c
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 0x1401a16c3
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 0x1401a16ea
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 0x1401a1711
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 0x1401a1738
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 0x1401a175f
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 0x1401a1786
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 0x1401a17ad
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 0x1401a17d4
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 0x1401a17fb
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 0x1401a1822
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 0x1401a1849
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 0x1401a1870
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 0x1401a1897
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 0x1401a18be
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.1400a1be0