Function at 0x545770
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
jne 0x545795
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_OK
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 1
jne 0x5457b2
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_CANCEL
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 2
jne 0x5457cf
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_HOST_MEMORY
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 3
jne 0x5457ec
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_SLOT_ID_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 5
jne 0x545809
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_GENERAL_ERROR
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 6
jne 0x545826
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_FUNCTION_FAILED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 7
jne 0x545843
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_ARGUMENTS_BAD
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 8
jne 0x545860
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_NO_EVENT
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 9
jne 0x54587d
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_NEED_TO_CREATE_THREADS
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xa
jne 0x54589a
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_CANT_LOCK
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x10
jne 0x5458b7
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_ATTRIBUTE_READ_ONLY
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x11
jne 0x5458d4
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_ATTRIBUTE_SENSITIVE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x12
jne 0x5458f1
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_ATTRIBUTE_TYPE_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x13
jne 0x54590e
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_ATTRIBUTE_VALUE_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x1b
jne 0x54592b
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_ACTION_PROHIBITED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x20
jne 0x545948
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_DATA_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x21
jne 0x545965
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_DATA_LEN_RANGE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x30
jne 0x545982
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_DEVICE_ERROR
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x31
jne 0x54599f
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_DEVICE_MEMORY
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x32
jne 0x5459bc
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_DEVICE_REMOVED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x40
jne 0x5459d9
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_ENCRYPTED_DATA_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x41
jne 0x5459f6
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_ENCRYPTED_DATA_LEN_RANGE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x42
jne 0x545a13
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_AEAD_DECRYPT_FAILED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x50
jne 0x545a30
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_FUNCTION_CANCELED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x51
jne 0x545a4d
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_FUNCTION_NOT_PARALLEL
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x54
jne 0x545a6a
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_FUNCTION_NOT_SUPPORTED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x60
jne 0x545a87
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_KEY_HANDLE_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x62
jne 0x545aa4
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_KEY_SIZE_RANGE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x63
jne 0x545ac1
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_KEY_TYPE_INCONSISTENT
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x64
jne 0x545ade
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_KEY_NOT_NEEDED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x65
jne 0x545afb
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_KEY_CHANGED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x66
jne 0x545b18
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_KEY_NEEDED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x67
jne 0x545b35
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_KEY_INDIGESTIBLE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x68
jne 0x545b52
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_KEY_FUNCTION_NOT_PERMITTED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x69
jne 0x545b6f
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_KEY_NOT_WRAPPABLE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x6a
jne 0x545b8c
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_KEY_UNEXTRACTABLE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x70
jne 0x545ba9
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_MECHANISM_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x71
jne 0x545bc6
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_MECHANISM_PARAM_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x82
jne 0x545be5
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_OBJECT_HANDLE_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x90
jne 0x545c04
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_OPERATION_ACTIVE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x91
jne 0x545c23
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_OPERATION_NOT_INITIALIZED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xa0
jne 0x545c42
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_PIN_INCORRECT
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xa1
jne 0x545c61
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_PIN_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xa2
jne 0x545c80
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_PIN_LEN_RANGE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xa3
jne 0x545c9f
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_PIN_EXPIRED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xa4
jne 0x545cbe
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_PIN_LOCKED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xb0
jne 0x545cdd
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_SESSION_CLOSED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xb1
jne 0x545cfc
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_SESSION_COUNT
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xb3
jne 0x545d1b
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_SESSION_HANDLE_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xb4
jne 0x545d3a
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_SESSION_PARALLEL_NOT_SUPPORTED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xb5
jne 0x545d59
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_SESSION_READ_ONLY
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xb6
jne 0x545d78
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_SESSION_EXISTS
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xb7
jne 0x545d97
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_SESSION_READ_ONLY_EXISTS
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xb8
jne 0x545db6
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_SESSION_READ_WRITE_SO_EXISTS
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xc0
jne 0x545dd5
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_SIGNATURE_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xc1
jne 0x545df4
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_SIGNATURE_LEN_RANGE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xd0
jne 0x545e13
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_TEMPLATE_INCOMPLETE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xd1
jne 0x545e32
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_TEMPLATE_INCONSISTENT
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xe0
jne 0x545e5e
mov esi, dword [ebp + 0xc]
mov ecx, esi
push str.CKR_TOKEN_NOT_PRESENT
push str.pkcs11_error_code
mov eax, dword [esi]
call dword [eax + 0x2c]
mov eax, dword [esi]
mov ecx, esi
push str._There_is_no_smart_card_in_the_reader_
call dword [eax + 0x14]
pop esi
pop ebp
ret 8
cmp eax, 0xe1
jne 0x545e7d
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_TOKEN_NOT_RECOGNIZED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xe2
jne 0x545e9c
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_TOKEN_WRITE_PROTECTED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xf0
jne 0x545ebb
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_UNWRAPPING_KEY_HANDLE_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xf1
jne 0x545eda
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_UNWRAPPING_KEY_SIZE_RANGE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0xf2
jne 0x545ef9
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x100
jne 0x545f18
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_USER_ALREADY_LOGGED_IN
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x101
jne 0x545f3d
mov ecx, dword [ebp + 0xc]
push str.CKR_USER_NOT_LOGGED_IN
push str.pkcs11_error_code
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov byte [esi + 0x711], 0
pop esi
pop ebp
ret 8
cmp eax, 0x102
jne 0x545f5c
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_USER_PIN_NOT_INITIALIZED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x103
jne 0x545f7b
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_USER_TYPE_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x104
jne 0x545f9a
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_USER_ANOTHER_ALREADY_LOGGED_IN
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x105
jne 0x545fb9
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_USER_TOO_MANY_TYPES
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x110
jne 0x545fd8
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_WRAPPED_KEY_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x112
jne 0x545ff7
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_WRAPPED_KEY_LEN_RANGE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x113
jne 0x546016
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_WRAPPING_KEY_HANDLE_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x114
jne 0x546035
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_WRAPPING_KEY_SIZE_RANGE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x115
jne 0x546054
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_WRAPPING_KEY_TYPE_INCONSISTENT
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x120
jne 0x546073
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_RANDOM_SEED_NOT_SUPPORTED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x121
jne 0x546092
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_RANDOM_NO_RNG
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x130
jne 0x5460b1
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_DOMAIN_PARAMS_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x140
jne 0x5460d0
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_CURVE_NOT_SUPPORTED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x150
jne 0x5460ef
mov ecx, dword [ebp + 0xc]
pop esi
mov eax, dword [ecx]
mov dword [ebp + 0xc], str.CKR_BUFFER_TOO_SMALL
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
mov ecx, dword [ebp + 0xc]
cmp eax, 0x160
jne 0x54610e
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_SAVED_STATE_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x170
jne 0x54612a
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_INFORMATION_SENSITIVE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x180
jne 0x546146
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_STATE_UNSAVEABLE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x190
jne 0x546162
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_CRYPTOKI_NOT_INITIALIZED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x191
jne 0x54617e
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_CRYPTOKI_ALREADY_INITIALIZED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x1a0
jne 0x54619a
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_MUTEX_BAD
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x1a1
jne 0x5461b6
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_MUTEX_NOT_LOCKED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x1b0
jne 0x5461d2
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_NEW_PIN_MODE
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x1b1
jne 0x5461ee
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_NEXT_OTP
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x1b5
jne 0x54620a
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_EXCEEDED_MAX_ITERATIONS
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x1b6
jne 0x546226
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_FIPS_SELF_TEST_FAILED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x1b7
jne 0x546242
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_LIBRARY_LOAD_FAILED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x1b8
jne 0x54625e
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_PIN_TOO_WEAK
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x1b9
jne 0x54627a
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_PUBLIC_KEY_INVALID
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x200
jne 0x546296
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_FUNCTION_REJECTED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x201
jne 0x5462b2
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_TOKEN_RESOURCE_EXCEEDED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
cmp eax, 0x202
jne 0x5462ce
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], str.CKR_OPERATION_CANCEL_FAILED
mov dword [ebp + 8], str.pkcs11_error_code
pop ebp
jmp dword [eax + 0x2c]
push eax
push str.pkcs11_error_code
call fcn.00449250
pop esi
pop ebp
ret 8