Function at 0x10155a30
Capabilities:
Check http status code

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
push esi
mov esi, ecx
jne 0x10155a57
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_OK
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 1
jne 0x10155a78
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_CANCEL
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 2
jne 0x10155a99
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_HOST_MEMORY
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 3
jne 0x10155aba
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_SLOT_ID_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 5
jne 0x10155adb
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_GENERAL_ERROR
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 6
jne 0x10155afc
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_FUNCTION_FAILED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 7
jne 0x10155b1d
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_ARGUMENTS_BAD
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 8
jne 0x10155b3e
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_NO_EVENT
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 9
jne 0x10155b5f
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_NEED_TO_CREATE_THREADS
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xa
jne 0x10155b80
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_CANT_LOCK
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x10
jne 0x10155ba1
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_ATTRIBUTE_READ_ONLY
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x11
jne 0x10155bc2
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_ATTRIBUTE_SENSITIVE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x12
jne 0x10155be3
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_ATTRIBUTE_TYPE_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x13
jne 0x10155c04
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_ATTRIBUTE_VALUE_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x1b
jne 0x10155c25
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_ACTION_PROHIBITED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x20
jne 0x10155c46
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_DATA_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x21
jne 0x10155c67
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_DATA_LEN_RANGE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x30
jne 0x10155c88
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_DEVICE_ERROR
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x31
jne 0x10155ca9
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_DEVICE_MEMORY
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x32
jne 0x10155cca
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_DEVICE_REMOVED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x40
jne 0x10155ceb
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_ENCRYPTED_DATA_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x41
jne 0x10155d0c
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_ENCRYPTED_DATA_LEN_RANGE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x42
jne 0x10155d2d
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_AEAD_DECRYPT_FAILED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x50
jne 0x10155d4e
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_FUNCTION_CANCELED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x51
jne 0x10155d6f
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_FUNCTION_NOT_PARALLEL
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x54
jne 0x10155d90
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_FUNCTION_NOT_SUPPORTED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x60
jne 0x10155db1
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_KEY_HANDLE_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x62
jne 0x10155dd2
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_KEY_SIZE_RANGE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x63
jne 0x10155df3
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_KEY_TYPE_INCONSISTENT
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x64
jne 0x10155e14
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_KEY_NOT_NEEDED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x65
jne 0x10155e35
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_KEY_CHANGED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x66
jne 0x10155e56
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_KEY_NEEDED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x67
jne 0x10155e77
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_KEY_INDIGESTIBLE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x68
jne 0x10155e98
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_KEY_FUNCTION_NOT_PERMITTED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x69
jne 0x10155eb9
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_KEY_NOT_WRAPPABLE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x6a
jne 0x10155eda
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_KEY_UNEXTRACTABLE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x70
jne 0x10155efb
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_MECHANISM_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x71
jne 0x10155f1c
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_MECHANISM_PARAM_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x82
jne 0x10155f3f
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_OBJECT_HANDLE_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x90
jne 0x10155f62
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_OPERATION_ACTIVE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x91
jne 0x10155f85
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_OPERATION_NOT_INITIALIZED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xa0
jne 0x10155fa8
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_PIN_INCORRECT
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xa1
jne 0x10155fcb
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_PIN_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xa2
jne 0x10155fee
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_PIN_LEN_RANGE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xa3
jne 0x10156011
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_PIN_EXPIRED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xa4
jne 0x10156034
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_PIN_LOCKED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xb0
jne 0x10156057
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_SESSION_CLOSED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xb1
jne 0x1015607a
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_SESSION_COUNT
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xb3
jne 0x1015609d
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_SESSION_HANDLE_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xb4
jne 0x101560c0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_SESSION_PARALLEL_NOT_SUPPORTED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xb5
jne 0x101560e3
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_SESSION_READ_ONLY
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xb6
jne 0x10156106
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_SESSION_EXISTS
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xb7
jne 0x10156129
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_SESSION_READ_ONLY_EXISTS
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xb8
jne 0x1015614c
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_SESSION_READ_WRITE_SO_EXISTS
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xc0
jne 0x1015616f
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_SIGNATURE_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xc1
jne 0x10156192
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_SIGNATURE_LEN_RANGE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xd0
jne 0x101561b5
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_TEMPLATE_INCOMPLETE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xd1
jne 0x101561d8
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_TEMPLATE_INCONSISTENT
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xe0
jne 0x10156208
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push str.CKR_TOKEN_NOT_PRESENT
push str.pkcs11_error_code
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str._There_is_no_smart_card_in_the_reader_
mov ecx, esi
call edx
pop esi
ret 8
cmp eax, 0xe1
jne 0x1015622b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_TOKEN_NOT_RECOGNIZED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xe2
jne 0x1015624e
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_TOKEN_WRITE_PROTECTED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xf0
jne 0x10156271
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_UNWRAPPING_KEY_HANDLE_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xf1
jne 0x10156294
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_UNWRAPPING_KEY_SIZE_RANGE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0xf2
jne 0x101562b7
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x100
jne 0x101562da
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_USER_ALREADY_LOGGED_IN
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x101
jne 0x10156301
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push str.CKR_USER_NOT_LOGGED_IN
push str.pkcs11_error_code
call edx
mov byte [esi + 0x694], 0
pop esi
ret 8
cmp eax, 0x102
jne 0x10156324
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_USER_PIN_NOT_INITIALIZED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x103
jne 0x10156347
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_USER_TYPE_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x104
jne 0x1015636a
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_USER_ANOTHER_ALREADY_LOGGED_IN
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x105
jne 0x1015638d
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_USER_TOO_MANY_TYPES
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x110
jne 0x101563b0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_WRAPPED_KEY_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x112
jne 0x101563d3
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_WRAPPED_KEY_LEN_RANGE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x113
jne 0x101563f6
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_WRAPPING_KEY_HANDLE_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x114
jne 0x10156419
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_WRAPPING_KEY_SIZE_RANGE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x115
jne 0x1015643c
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_WRAPPING_KEY_TYPE_INCONSISTENT
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x120
jne 0x1015645f
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_RANDOM_SEED_NOT_SUPPORTED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x121
jne 0x10156482
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_RANDOM_NO_RNG
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x130
jne 0x101564a5
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_DOMAIN_PARAMS_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x140
jne 0x101564c8
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_CURVE_NOT_SUPPORTED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x150
jne 0x101564eb
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_BUFFER_TOO_SMALL
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x160
mov ecx, dword [esp + 0xc]
jne 0x1015650e
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_SAVED_STATE_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x170
jne 0x1015652d
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_INFORMATION_SENSITIVE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x180
jne 0x1015654c
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_STATE_UNSAVEABLE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x190
jne 0x1015656b
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_CRYPTOKI_NOT_INITIALIZED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x191
jne 0x1015658a
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_CRYPTOKI_ALREADY_INITIALIZED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x1a0
jne 0x101565a9
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_MUTEX_BAD
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x1a1
jne 0x101565c8
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_MUTEX_NOT_LOCKED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x1b0
jne 0x101565e7
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_NEW_PIN_MODE
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x1b1
jne 0x10156606
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_NEXT_OTP
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x1b5
jne 0x10156625
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_EXCEEDED_MAX_ITERATIONS
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x1b6
jne 0x10156644
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_FIPS_SELF_TEST_FAILED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x1b7
jne 0x10156663
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_LIBRARY_LOAD_FAILED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x1b8
jne 0x10156682
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_PIN_TOO_WEAK
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x1b9
jne 0x101566a1
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_PUBLIC_KEY_INVALID
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x200
jne 0x101566c0
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_FUNCTION_REJECTED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x201
jne 0x101566df
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_TOKEN_RESOURCE_EXCEEDED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
cmp eax, 0x202
jne 0x101566fe
mov eax, dword [ecx]
pop esi
mov dword [esp + 8], str.CKR_OPERATION_CANCEL_FAILED
mov dword [esp + 4], str.pkcs11_error_code
mov edx, dword [eax + 0x2c]
jmp edx
push eax
push str.pkcs11_error_code
call fcn.100613f0
pop esi
ret 8