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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1400b44c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor eax, eax
lea rbx, [0x140089310]
mov qword [rsp + 0x24], rax
mov rdi, r8
mov qword [rbp - 0x7d], rax
mov r14, rdx
mov qword [rbp - 0x75], rax
mov rsi, rcx
mov qword [rbp - 0x6d], rax
mov r10d, select
mov qword [rbp - 0x65], rax
mov r11b, 0x8b
mov dword [rbp - 0x5d], eax
movzx eax, byte [r10 + rbx]
movzx r8d, byte [r10 + rbx + 0x10]
movzx ecx, byte [r10 + rbx + 0x20]
movzx edx, r8b
movzx r9d, byte [r10 + rbx + 0x30]
xor dl, al
xor dl, r11b
xor r9b, cl
movzx r10d, dl
xor r9b, r8b
shr dl, 4
xor r11b, r9b
movzx eax, dl
and r10d, 0xf
not r11b
mov byte [rbp + rax + 0x17], r9b
cmp r10, 0xd
jne 0x140040314
lea rcx, [rbp - 0x39]
call fcn.14003fda0
xor ebx, ebx
movzx edx, byte [rbp + rbx + 0x17]
lea rcx, [rbp - 0x39]
xor dl, 0x36
call fcn.14003fdd0
inc rbx
cmp rbx, 0x10
jb 0x140040364
lea rdx, [0x140040610]
lea rcx, [0x1400b9ad0]
call fcn.1400511b0
mov rax, qword [0x1400b9ab8]
mov dword [rsp + 0x24], 0x2f14
mov ecx, dword [rax + 0x98]
mov dword [rsp + 0x20], ecx
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsp + 0x28], eax
call sub.KERNEL32.dll_GetCurrentThreadId
lea rdx, [0x140040610]
mov dword [rbp - 0x7d], eax
lea rcx, [0x1400b9ad0]
call fcn.1400511b0
mov rax, qword [0x1400b9ab8]
xor ebx, ebx
mov qword [rbp - 0x71], rdi
mov qword [rbp - 0x61], r14
mov rcx, qword [rax + 0x70]
mov rax, qword [rdi + 8]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x79], rcx
nop
movzx edx, byte [rsp + rbx + 0x20]
lea rcx, [rbp - 0x39]
call fcn.14003fdd0
inc rbx
cmp rbx, 0x30
jb 0x1400403f0
lea rdx, [0x140040610]
xor edi, edi
lea rcx, [0x1400b9ad0]
call fcn.1400511b0
mov rcx, qword [0x1400b9ab8]
mov eax, dword [rcx + 0x50]
mov rax, qword [rcx + 0x60]
movsxd rcx, dword [rax]
test rcx, rcx
je 0x140040517
nop word [rax + rax]
xor eax, eax
lea rdx, [0x140040610]
xorps xmm0, xmm0
mov qword [rbp - 0x49], rax
lea rcx, [0x1400b9ad0]
mov dword [rbp - 0x41], eax
movdqu xmmword [rbp - 0x59], xmm0
call fcn.1400511b0
mov rcx, qword [0x1400b9ab8]
mov eax, dword [rcx + 0x50]
mov r9, qword [rcx + 0x60]
xor ecx, ecx
movsxd r8, dword [r9]
test r8, r8
jle 0x140040493
lea rdx, [r9 + 8]
mov rax, qword [rdx]
cmp dword [rax], edi
je 0x14004049d
inc rcx
add rdx, 8
cmp rcx, r8
jl 0x140040480
mov eax, 0x65
jmp 0x140040574
mov rcx, qword [r9 + rcx*8 + 8]
xor ebx, ebx
mov eax, dword [rcx + 0x2a0]
movups xmm0, xmmword [rcx + 0x150]
mov dword [rbp - 0x49], eax
mov eax, dword [rcx + 0x298]
mov dword [rbp - 0x45], eax
mov eax, dword [rcx + 0x29c]
mov dword [rbp - 0x41], eax
movups xmmword [rbp - 0x59], xmm0
nop word [rax + rax]
movzx edx, byte [rbp + rbx - 0x59]
lea rcx, [rbp - 0x39]
call fcn.14003fdd0
inc rbx
cmp rbx, 0x1c
jb 0x1400404d0
lea rdx, [0x140040610]
inc rdi
lea rcx, [0x1400b9ad0]
call fcn.1400511b0
mov rcx, qword [0x1400b9ab8]
mov eax, dword [rcx + 0x50]
mov rax, qword [rcx + 0x60]
movsxd rcx, dword [rax]
cmp rdi, rcx
jb 0x140040440
mov rdx, rsi
lea rcx, [rbp - 0x39]
call fcn.14003fd30
lea rcx, [rbp - 0x39]
call fcn.14003fda0
xor ebx, ebx
nop
movzx edx, byte [rbp + rbx + 0x17]
lea rcx, [rbp - 0x39]
xor dl, 0x5c
call fcn.14003fdd0
inc rbx
cmp rbx, 0x10
jb 0x140040530
xor ebx, ebx
nop dword [rax]
movzx edx, byte [rbx + rsi]
lea rcx, [rbp - 0x39]
call fcn.14003fdd0
inc rbx
cmp rbx, 0x10
jb 0x140040550
mov rdx, rsi
lea rcx, [rbp - 0x39]
call fcn.14003fd30
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14007a0e0
add rsp, 0xe0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret