Function at 0x18035e930
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0xb0
call fcn.1802f01e0
sub rsp, rax
mov rax, qword [0x1805b2298]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r12, qword [rsp + 0x110]
mov rdi, rcx
xor ebx, ebx
movsxd rsi, r8d
mov rbp, r9
mov r14, rdx
mov ecx, ebx
mov rax, qword [rdi]
test r9, r9
je 0x18035e99b
cmp r9, rax
je 0x18035e991
test rdx, rdx
je 0x18035f1c6
test r8d, r8d
js 0x18035f1c6
mov ecx, 1
mov qword [rdi], r9
jmp 0x18035e9a7
test rax, rax
je 0x18035f1c6
mov rbp, rax
test r14, r14
je 0x18035ea7e
mov rcx, rbp
call fcn.180315700
mov r15d, eax
cmp eax, 0x80
jle 0x18035e9da
lea r8, str.j____int_sizeof_ctx__key_
mov edx, 0x74
lea rcx, str..cryptohmachmac.c
call fcn.1802f4e20
cmp r15d, esi
jge 0x18035ea34
mov r8, r12
lea rcx, [rdi + 8]
mov rdx, rbp
call fcn.1803329d0
test eax, eax
je 0x18035f1c6
mov r8, rsi
lea rcx, [rdi + 8]
mov rdx, r14
call fcn.180332c20
test eax, eax
je 0x18035f1c6
lea r8, [rdi + 0x98]
lea rdx, [rdi + 0x9c]
lea rcx, [rdi + 8]
call fcn.180332c40
test eax, eax
je 0x18035f1c6
mov esi, dword [rdi + 0x98]
jmp 0x18035ea58
cmp esi, 0x80
ja 0x18035f1c6
mov r8, rsi
lea rcx, [rdi + 0x9c]
mov rdx, r14
call fcn.18036c2f0
mov dword [rdi + 0x98], esi
cmp esi, 0x80
je 0x18035ea86
mov r8d, 0x80
mov eax, esi
lea rcx, [rdi + 0x9c]
sub r8d, esi
add rcx, rax
xor edx, edx
call fcn.18036c9a0
jmp 0x18035ea86
test ecx, ecx
je 0x18035f1ae
lea rcx, [rsp + 0x20]
mov r14, rdi
sub r14, rcx
mov rdx, rbx
lea rcx, [rsp + 0x20]
add rcx, rdx
movzx eax, byte [rcx + r14 + 0x9c]
xor al, 0x36
mov byte [rcx], al
movzx eax, byte [rdi + rdx + 0x9d]
xor al, 0x36
mov byte [rcx + 1], al
movzx eax, byte [rdi + rdx + 0x9e]
xor al, 0x36
mov byte [rcx + 2], al
movzx eax, byte [rdi + rdx + 0x9f]
xor al, 0x36
mov byte [rcx + 3], al
movzx eax, byte [rdi + rdx + 0xa0]
xor al, 0x36
mov byte [rcx + 4], al
movzx eax, byte [rdi + rdx + 0xa1]
xor al, 0x36
mov byte [rcx + 5], al
movzx eax, byte [rdi + rdx + 0xa2]
xor al, 0x36
mov byte [rcx + 6], al
movzx eax, byte [rdi + rdx + 0xa3]
xor al, 0x36
mov byte [rcx + 7], al
movzx eax, byte [rdi + rdx + 0xa4]
xor al, 0x36
mov byte [rcx + 8], al
movzx eax, byte [rdi + rdx + 0xa5]
xor al, 0x36
mov byte [rcx + 9], al
movzx eax, byte [rdi + rdx + 0xa6]
xor al, 0x36
mov byte [rcx + 0xa], al
movzx eax, byte [rdi + rdx + 0xa7]
xor al, 0x36
mov byte [rcx + 0xb], al
movzx eax, byte [rdi + rdx + 0xa8]
xor al, 0x36
mov byte [rcx + 0xc], al
movzx eax, byte [rdi + rdx + 0xa9]
xor al, 0x36
mov byte [rcx + 0xd], al
movzx eax, byte [rdi + rdx + 0xaa]
xor al, 0x36
mov byte [rcx + 0xe], al
movzx eax, byte [rdi + rdx + 0xab]
xor al, 0x36
mov byte [rcx + 0xf], al
movzx eax, byte [rdi + rdx + 0xac]
xor al, 0x36
mov byte [rcx + 0x10], al
movzx eax, byte [rdi + rdx + 0xad]
xor al, 0x36
mov byte [rcx + 0x11], al
movzx eax, byte [rdi + rdx + 0xae]
xor al, 0x36
mov byte [rcx + 0x12], al
movzx eax, byte [rdi + rdx + 0xaf]
xor al, 0x36
mov byte [rcx + 0x13], al
movzx eax, byte [rdi + rdx + 0xb0]
xor al, 0x36
mov byte [rcx + 0x14], al
movzx eax, byte [rdi + rdx + 0xb1]
xor al, 0x36
mov byte [rcx + 0x15], al
movzx eax, byte [rdi + rdx + 0xb2]
xor al, 0x36
mov byte [rcx + 0x16], al
movzx eax, byte [rdi + rdx + 0xb3]
xor al, 0x36
mov byte [rcx + 0x17], al
movzx eax, byte [rdi + rdx + 0xb4]
xor al, 0x36
mov byte [rcx + 0x18], al
movzx eax, byte [rdi + rdx + 0xb5]
xor al, 0x36
mov byte [rcx + 0x19], al
movzx eax, byte [rdi + rdx + 0xb6]
xor al, 0x36
mov byte [rcx + 0x1a], al
movzx eax, byte [rdi + rdx + 0xb7]
xor al, 0x36
mov byte [rcx + 0x1b], al
movzx eax, byte [rdi + rdx + 0xb8]
xor al, 0x36
mov byte [rcx + 0x1c], al
movzx eax, byte [rdi + rdx + 0xb9]
xor al, 0x36
mov byte [rcx + 0x1d], al
movzx eax, byte [rdi + rdx + 0xba]
xor al, 0x36
mov byte [rcx + 0x1e], al
movzx eax, byte [rdi + rdx + 0xbb]
xor al, 0x36
mov byte [rcx + 0x1f], al
movzx eax, byte [rdi + rdx + 0xbc]
xor al, 0x36
mov byte [rcx + 0x20], al
movzx eax, byte [rdi + rdx + 0xbd]
xor al, 0x36
mov byte [rcx + 0x21], al
movzx eax, byte [rdi + rdx + 0xbe]
xor al, 0x36
mov byte [rcx + 0x22], al
movzx eax, byte [rdi + rdx + 0xbf]
xor al, 0x36
mov byte [rcx + 0x23], al
movzx eax, byte [rdi + rdx + 0xc0]
xor al, 0x36
mov byte [rcx + 0x24], al
movzx eax, byte [rdi + rdx + 0xc1]
xor al, 0x36
mov byte [rcx + 0x25], al
movzx eax, byte [rdi + rdx + 0xc2]
xor al, 0x36
mov byte [rcx + 0x26], al
movzx eax, byte [rdi + rdx + 0xc3]
xor al, 0x36
mov byte [rcx + 0x27], al
movzx eax, byte [rdi + rdx + 0xc4]
xor al, 0x36
mov byte [rcx + 0x28], al
movzx eax, byte [rdi + rdx + 0xc5]
xor al, 0x36
mov byte [rcx + 0x29], al
movzx eax, byte [rdi + rdx + 0xc6]
xor al, 0x36
mov byte [rcx + 0x2a], al
movzx eax, byte [rdi + rdx + 0xc7]
xor al, 0x36
mov byte [rcx + 0x2b], al
movzx eax, byte [rdi + rdx + 0xc8]
xor al, 0x36
mov byte [rcx + 0x2c], al
movzx eax, byte [rdi + rdx + 0xc9]
xor al, 0x36
mov byte [rcx + 0x2d], al
movzx eax, byte [rdi + rdx + 0xca]
xor al, 0x36
mov byte [rcx + 0x2e], al
movzx eax, byte [rdi + rdx + 0xcb]
xor al, 0x36
mov byte [rcx + 0x2f], al
movzx eax, byte [rdi + rdx + 0xcc]
xor al, 0x36
mov byte [rcx + 0x30], al
movzx eax, byte [rdi + rdx + 0xcd]
xor al, 0x36
mov byte [rcx + 0x31], al
movzx eax, byte [rdi + rdx + 0xce]
xor al, 0x36
mov byte [rcx + 0x32], al
movzx eax, byte [rdi + rdx + 0xcf]
xor al, 0x36
mov byte [rcx + 0x33], al
movzx eax, byte [rdi + rdx + 0xd0]
xor al, 0x36
mov byte [rcx + 0x34], al
movzx eax, byte [rdi + rdx + 0xd1]
xor al, 0x36
mov byte [rcx + 0x35], al
movzx eax, byte [rdi + rdx + 0xd2]
xor al, 0x36
mov byte [rcx + 0x36], al
movzx eax, byte [rdi + rdx + 0xd3]
xor al, 0x36
mov byte [rcx + 0x37], al
movzx eax, byte [rdi + rdx + 0xd4]
xor al, 0x36
mov byte [rcx + 0x38], al
movzx eax, byte [rdi + rdx + 0xd5]
xor al, 0x36
mov byte [rcx + 0x39], al
movzx eax, byte [rdi + rdx + 0xd6]
xor al, 0x36
mov byte [rcx + 0x3a], al
movzx eax, byte [rdi + rdx + 0xd7]
xor al, 0x36
mov byte [rcx + 0x3b], al
movzx eax, byte [rdi + rdx + 0xd8]
xor al, 0x36
mov byte [rcx + 0x3c], al
movzx eax, byte [rdi + rdx + 0xd9]
xor al, 0x36
mov byte [rcx + 0x3d], al
movzx eax, byte [rdi + rdx + 0xda]
xor al, 0x36
mov byte [rcx + 0x3e], al
movzx eax, byte [rdi + rdx + 0xdb]
add rdx, 0x40
xor al, 0x36
mov byte [rcx + 0x3f], al
cmp rdx, 0x80
jl 0x18035ea94
mov r8, r12
lea rcx, [rdi + 0x38]
mov rdx, rbp
call fcn.1803329d0
test eax, eax
je 0x18035f1c6
mov rcx, rbp
call fcn.180315700
movsxd r8, eax
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x38]
call fcn.180332c20
test eax, eax
je 0x18035f1c6
lea rcx, [rsp + 0x20]
add rcx, rbx
movzx eax, byte [rcx + r14 + 0x9c]
xor al, 0x5c
mov byte [rcx], al
movzx eax, byte [rdi + rbx + 0x9d]
xor al, 0x5c
mov byte [rcx + 1], al
movzx eax, byte [rdi + rbx + 0x9e]
xor al, 0x5c
mov byte [rcx + 2], al
movzx eax, byte [rdi + rbx + 0x9f]
xor al, 0x5c
mov byte [rcx + 3], al
movzx eax, byte [rdi + rbx + 0xa0]
xor al, 0x5c
mov byte [rcx + 4], al
movzx eax, byte [rdi + rbx + 0xa1]
xor al, 0x5c
mov byte [rcx + 5], al
movzx eax, byte [rdi + rbx + 0xa2]
xor al, 0x5c
mov byte [rcx + 6], al
movzx eax, byte [rdi + rbx + 0xa3]
xor al, 0x5c
mov byte [rcx + 7], al
movzx eax, byte [rdi + rbx + 0xa4]
xor al, 0x5c
mov byte [rcx + 8], al
movzx eax, byte [rdi + rbx + 0xa5]
xor al, 0x5c
mov byte [rcx + 9], al
movzx eax, byte [rdi + rbx + 0xa6]
xor al, 0x5c
mov byte [rcx + 0xa], al
movzx eax, byte [rdi + rbx + 0xa7]
xor al, 0x5c
mov byte [rcx + 0xb], al
movzx eax, byte [rdi + rbx + 0xa8]
xor al, 0x5c
mov byte [rcx + 0xc], al
movzx eax, byte [rdi + rbx + 0xa9]
xor al, 0x5c
mov byte [rcx + 0xd], al
movzx eax, byte [rdi + rbx + 0xaa]
xor al, 0x5c
mov byte [rcx + 0xe], al
movzx eax, byte [rdi + rbx + 0xab]
xor al, 0x5c
mov byte [rcx + 0xf], al
movzx eax, byte [rdi + rbx + 0xac]
xor al, 0x5c
mov byte [rcx + 0x10], al
movzx eax, byte [rdi + rbx + 0xad]
xor al, 0x5c
mov byte [rcx + 0x11], al
movzx eax, byte [rdi + rbx + 0xae]
xor al, 0x5c
mov byte [rcx + 0x12], al
movzx eax, byte [rdi + rbx + 0xaf]
xor al, 0x5c
mov byte [rcx + 0x13], al
movzx eax, byte [rdi + rbx + 0xb0]
xor al, 0x5c
mov byte [rcx + 0x14], al
movzx eax, byte [rdi + rbx + 0xb1]
xor al, 0x5c
mov byte [rcx + 0x15], al
movzx eax, byte [rdi + rbx + 0xb2]
xor al, 0x5c
mov byte [rcx + 0x16], al
movzx eax, byte [rdi + rbx + 0xb3]
xor al, 0x5c
mov byte [rcx + 0x17], al
movzx eax, byte [rdi + rbx + 0xb4]
xor al, 0x5c
mov byte [rcx + 0x18], al
movzx eax, byte [rdi + rbx + 0xb5]
xor al, 0x5c
mov byte [rcx + 0x19], al
movzx eax, byte [rdi + rbx + 0xb6]
xor al, 0x5c
mov byte [rcx + 0x1a], al
movzx eax, byte [rdi + rbx + 0xb7]
xor al, 0x5c
mov byte [rcx + 0x1b], al
movzx eax, byte [rdi + rbx + 0xb8]
xor al, 0x5c
mov byte [rcx + 0x1c], al
movzx eax, byte [rdi + rbx + 0xb9]
xor al, 0x5c
mov byte [rcx + 0x1d], al
movzx eax, byte [rdi + rbx + 0xba]
xor al, 0x5c
mov byte [rcx + 0x1e], al
movzx eax, byte [rdi + rbx + 0xbb]
xor al, 0x5c
mov byte [rcx + 0x1f], al
movzx eax, byte [rdi + rbx + 0xbc]
xor al, 0x5c
mov byte [rcx + 0x20], al
movzx eax, byte [rdi + rbx + 0xbd]
xor al, 0x5c
mov byte [rcx + 0x21], al
movzx eax, byte [rdi + rbx + 0xbe]
xor al, 0x5c
mov byte [rcx + 0x22], al
movzx eax, byte [rdi + rbx + 0xbf]
xor al, 0x5c
mov byte [rcx + 0x23], al
movzx eax, byte [rdi + rbx + 0xc0]
xor al, 0x5c
mov byte [rcx + 0x24], al
movzx eax, byte [rdi + rbx + 0xc1]
xor al, 0x5c
mov byte [rcx + 0x25], al
movzx eax, byte [rdi + rbx + 0xc2]
xor al, 0x5c
mov byte [rcx + 0x26], al
movzx eax, byte [rdi + rbx + 0xc3]
xor al, 0x5c
mov byte [rcx + 0x27], al
movzx eax, byte [rdi + rbx + 0xc4]
xor al, 0x5c
mov byte [rcx + 0x28], al
movzx eax, byte [rdi + rbx + 0xc5]
xor al, 0x5c
mov byte [rcx + 0x29], al
movzx eax, byte [rdi + rbx + 0xc6]
xor al, 0x5c
mov byte [rcx + 0x2a], al
movzx eax, byte [rdi + rbx + 0xc7]
xor al, 0x5c
mov byte [rcx + 0x2b], al
movzx eax, byte [rdi + rbx + 0xc8]
xor al, 0x5c
mov byte [rcx + 0x2c], al
movzx eax, byte [rdi + rbx + 0xc9]
xor al, 0x5c
mov byte [rcx + 0x2d], al
movzx eax, byte [rdi + rbx + 0xca]
xor al, 0x5c
mov byte [rcx + 0x2e], al
movzx eax, byte [rdi + rbx + 0xcb]
xor al, 0x5c
mov byte [rcx + 0x2f], al
movzx eax, byte [rdi + rbx + 0xcc]
xor al, 0x5c
mov byte [rcx + 0x30], al
movzx eax, byte [rdi + rbx + 0xcd]
xor al, 0x5c
mov byte [rcx + 0x31], al
movzx eax, byte [rdi + rbx + 0xce]
xor al, 0x5c
mov byte [rcx + 0x32], al
movzx eax, byte [rdi + rbx + 0xcf]
xor al, 0x5c
mov byte [rcx + 0x33], al
movzx eax, byte [rdi + rbx + 0xd0]
xor al, 0x5c
mov byte [rcx + 0x34], al
movzx eax, byte [rdi + rbx + 0xd1]
xor al, 0x5c
mov byte [rcx + 0x35], al
movzx eax, byte [rdi + rbx + 0xd2]
xor al, 0x5c
mov byte [rcx + 0x36], al
movzx eax, byte [rdi + rbx + 0xd3]
xor al, 0x5c
mov byte [rcx + 0x37], al
movzx eax, byte [rdi + rbx + 0xd4]
xor al, 0x5c
mov byte [rcx + 0x38], al
movzx eax, byte [rdi + rbx + 0xd5]
xor al, 0x5c
mov byte [rcx + 0x39], al
movzx eax, byte [rdi + rbx + 0xd6]
xor al, 0x5c
mov byte [rcx + 0x3a], al
movzx eax, byte [rdi + rbx + 0xd7]
xor al, 0x5c
mov byte [rcx + 0x3b], al
movzx eax, byte [rdi + rbx + 0xd8]
xor al, 0x5c
mov byte [rcx + 0x3c], al
movzx eax, byte [rdi + rbx + 0xd9]
xor al, 0x5c
mov byte [rcx + 0x3d], al
movzx eax, byte [rdi + rbx + 0xda]
xor al, 0x5c
mov byte [rcx + 0x3e], al
movzx eax, byte [rdi + rbx + 0xdb]
add rbx, 0x40
xor al, 0x5c
mov byte [rcx + 0x3f], al
cmp rbx, 0x80
jl 0x18035ee25
mov r8, r12
lea rcx, [rdi + 0x68]
mov rdx, rbp
call fcn.1803329d0
test eax, eax
je 0x18035f1c6
mov rcx, rbp
call fcn.180315700
movsxd r8, eax
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x68]
call fcn.180332c20
test eax, eax
je 0x18035f1c6
lea rdx, [rdi + 0x38]
lea rcx, [rdi + 8]
call fcn.180332800
test eax, eax
je 0x18035f1c6
mov eax, 1
jmp 0x18035f1c8
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1802f6ef0
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret