Function at 0x18019f9f0
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.1801312a0
sub rsp, rax
mov rax, qword [0x180357448]
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 0x18019fa5b
cmp r9, rax
je 0x18019fa51
test rdx, rdx
je 0x1801a0286
test r8d, r8d
js 0x1801a0286
mov ecx, 1
mov qword [rdi], r9
jmp 0x18019fa67
test rax, rax
je 0x1801a0286
mov rbp, rax
test r14, r14
je 0x18019fb3e
mov rcx, rbp
call fcn.1801567c0
mov r15d, eax
cmp eax, 0x80
jle 0x18019fa9a
lea r8, str.j____int_sizeof_ctx__key_
mov edx, reloc.WS2_32.dll_WSACleanup
lea rcx, str..cryptohmachmac.c
call fcn.180135ee0
cmp r15d, esi
jge 0x18019faf4
mov r8, r12
lea rcx, [rdi + 8]
mov rdx, rbp
call fcn.180173a90
test eax, eax
je 0x1801a0286
mov r8, rsi
lea rcx, [rdi + 8]
mov rdx, r14
call fcn.180173ce0
test eax, eax
je 0x1801a0286
lea r8, [rdi + 0x98]
lea rdx, [rdi + 0x9c]
lea rcx, [rdi + 8]
call fcn.180173d00
test eax, eax
je 0x1801a0286
mov esi, dword [rdi + 0x98]
jmp 0x18019fb18
cmp esi, 0x80
ja 0x1801a0286
mov r8, rsi
lea rcx, [rdi + 0x9c]
mov rdx, r14
call fcn.1801ad3b0
mov dword [rdi + 0x98], esi
cmp esi, 0x80
je 0x18019fb46
mov r8d, 0x80
mov eax, esi
lea rcx, [rdi + 0x9c]
sub r8d, esi
add rcx, rax
xor edx, edx
call fcn.1801ada60
jmp 0x18019fb46
test ecx, ecx
je 0x1801a026e
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 0x18019fb54
mov r8, r12
lea rcx, [rdi + 0x38]
mov rdx, rbp
call fcn.180173a90
test eax, eax
je 0x1801a0286
mov rcx, rbp
call fcn.1801567c0
movsxd r8, eax
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x38]
call fcn.180173ce0
test eax, eax
je 0x1801a0286
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 0x18019fee5
mov r8, r12
lea rcx, [rdi + 0x68]
mov rdx, rbp
call fcn.180173a90
test eax, eax
je 0x1801a0286
mov rcx, rbp
call fcn.1801567c0
movsxd r8, eax
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 0x68]
call fcn.180173ce0
test eax, eax
je 0x1801a0286
lea rdx, [rdi + 0x38]
lea rcx, [rdi + 8]
call fcn.1801738c0
test eax, eax
je 0x1801a0286
mov eax, 1
jmp 0x1801a0288
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180137fb0
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret