Function at 0x140177070
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 0x1401770a6
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 0x1401770cd
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 0x1401770f4
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 0x14017711b
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 0x140177142
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 0x140177169
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 0x140177190
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 0x1401771b7
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 0x1401771de
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 0x140177205
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 0x14017722c
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 0x140177253
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 0x14017727a
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 0x1401772a1
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 0x1401772c8
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 0x1401772ef
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 0x140177316
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 0x14017733d
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 0x140177364
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 0x14017738b
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 0x1401773b2
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 0x1401773d9
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 0x140177400
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 0x140177427
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 0x14017744e
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 0x140177475
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 0x14017749c
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 0x1401774c3
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 0x1401774ea
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 0x140177511
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 0x140177538
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 0x14017755f
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 0x140177586
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 0x1401775ad
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 0x1401775d4
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 0x1401775fb
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 0x140177622
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 0x140177649
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 0x140177673
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 0x14017769d
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 0x1401776c7
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 0x1401776f1
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 0x14017771b
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 0x140177745
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 0x14017776f
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 0x140177799
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 0x1401777c3
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 0x1401777ed
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 0x140177817
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 0x140177841
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 0x14017786b
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 0x140177895
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 0x1401778bf
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 0x1401778e9
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 0x140177913
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 0x14017793d
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 0x140177967
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 0x140177991
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 0x1401779cb
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 0x1401779f5
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 0x140177a1f
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 0x140177a49
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 0x140177a73
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 0x140177a9d
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 0x140177ac7
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 0x140177af8
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 0x140177b22
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 0x140177b4c
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 0x140177b76
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 0x140177ba0
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 0x140177bca
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 0x140177bf4
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 0x140177c1e
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 0x140177c48
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 0x140177c72
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 0x140177c9c
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 0x140177cc6
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 0x140177cf0
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 0x140177d1a
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 0x140177d44
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 0x140177d6e
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 0x140177d95
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 0x140177dbc
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 0x140177de3
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 0x140177e0a
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 0x140177e31
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 0x140177e58
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 0x140177e7f
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 0x140177ea6
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 0x140177ecd
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 0x140177ef4
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 0x140177f1b
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 0x140177f42
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 0x140177f69
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 0x140177f90
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 0x140177fb7
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 0x140177fde
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.1400543d0