Function at 0x5bed90
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 0x5bedb5
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 0x5bedd2
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 0x5bedef
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 0x5bee0c
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 0x5bee29
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 0x5bee46
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 0x5bee63
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 0x5bee80
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 0x5bee9d
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 0x5beeba
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 0x5beed7
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 0x5beef4
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 0x5bef11
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 0x5bef2e
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 0x5bef4b
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 0x5bef68
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 0x5bef85
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 0x5befa2
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 0x5befbf
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 0x5befdc
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 0x5beff9
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 0x5bf016
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 0x5bf033
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 0x5bf050
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 0x5bf06d
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 0x5bf08a
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 0x5bf0a7
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 0x5bf0c4
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 0x5bf0e1
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 0x5bf0fe
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 0x5bf11b
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 0x5bf138
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 0x5bf155
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 0x5bf172
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 0x5bf18f
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 0x5bf1ac
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 0x5bf1c9
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 0x5bf1e6
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 0x5bf205
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 0x5bf224
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 0x5bf243
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 0x5bf262
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 0x5bf281
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 0x5bf2a0
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 0x5bf2bf
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 0x5bf2de
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 0x5bf2fd
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 0x5bf31c
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 0x5bf33b
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 0x5bf35a
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 0x5bf379
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 0x5bf398
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 0x5bf3b7
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 0x5bf3d6
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 0x5bf3f5
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 0x5bf414
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 0x5bf433
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 0x5bf452
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 0x5bf47e
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 0x5bf49d
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 0x5bf4bc
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 0x5bf4db
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 0x5bf4fa
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 0x5bf519
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 0x5bf538
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 0x5bf55d
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 0x5bf57c
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 0x5bf59b
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 0x5bf5ba
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 0x5bf5d9
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 0x5bf5f8
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 0x5bf617
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 0x5bf636
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 0x5bf655
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 0x5bf674
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 0x5bf693
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 0x5bf6b2
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 0x5bf6d1
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 0x5bf6f0
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 0x5bf70f
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 0x5bf72e
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 0x5bf74a
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 0x5bf766
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 0x5bf782
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 0x5bf79e
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 0x5bf7ba
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 0x5bf7d6
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 0x5bf7f2
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 0x5bf80e
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 0x5bf82a
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 0x5bf846
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 0x5bf862
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 0x5bf87e
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 0x5bf89a
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 0x5bf8b6
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 0x5bf8d2
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 0x5bf8ee
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.004b35d0
pop esi
pop ebp
ret 8