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

Disassembly:
push rbx
movzx eax, word [rcx + 0x270]
mov r10, rcx
mov r11d, dword [rcx + 0x54]
xor r9d, r9d
movss xmm1, dword [0x180074be8]
mov word [rcx + 0x150], ax
mov ecx, 0x20b
cmp ax, cx
je 0x18001b891
test ax, ax
je 0x18001b7fe
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x18001b801
movaps xmm0, xmm1
cmp qword [0x180080ca0], 0x10
lea r8, [0x180080c88]
mov rbx, qword [0x180080c98]
mov ecx, r9d
cmovae r8, qword [0x180080c88]
mov rdx, r9
test rbx, rbx
je 0x18001b84c
nop word [rax + rax]
movzx eax, byte [rdx + r8]
inc rdx
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
cmp rdx, rbx
jne 0x18001b830
lea eax, [rcx + rcx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov eax, 0x446f8657
imul r8d, ecx, 0x8001
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 7
imul eax, eax, 0xca
sub r8d, eax
mov rax, qword [r10 + 0x278]
add r8d, 0x36
addss xmm0, dword [rax + r8*4]
movss dword [rax + r8*4], xmm0
mov rdx, qword [r10]
lea eax, [r11 + 0x1a]
mov r8, qword [rdx]
test r8, r8
je 0x18001bf93
lea rcx, [rax + 1]
mov ebx, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
movzx eax, byte [rbx + r8]
mov byte [r10 + 0x152], al
lea eax, [r11 + 0x1b]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
movzx eax, byte [r8 + rbx]
mov byte [r10 + 0x153], al
lea eax, [r11 + 0x1c]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov eax, dword [r8 + rbx]
mov dword [r10 + 0x154], eax
lea eax, [r11 + 0x20]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov eax, dword [r8 + rbx]
mov dword [r10 + 0x158], eax
lea eax, [r11 + 0x24]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov eax, dword [r8 + rbx]
mov dword [r10 + 0x15c], eax
lea eax, [r11 + 0x28]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov eax, dword [r8 + rbx]
mov dword [r10 + 0x160], eax
lea eax, [r11 + 0x2c]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov eax, dword [r8 + rbx]
mov dword [r10 + 0x164], eax
lea eax, [r11 + 0x30]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov rax, qword [r8 + rbx]
mov qword [r10 + 0x168], rax
lea eax, [r11 + 0x38]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov eax, dword [r8 + rbx]
mov dword [r10 + 0x170], eax
lea eax, [r11 + 0x3c]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov eax, dword [r8 + rbx]
mov dword [r10 + 0x174], eax
lea eax, [r11 + 0x40]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
movzx eax, word [r8 + rbx]
mov word [r10 + 0x178], ax
lea eax, [r11 + 0x42]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
movzx eax, word [r8 + rbx]
mov word [r10 + 0x17a], ax
lea eax, [r11 + 0x44]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
movzx eax, word [r8 + rbx]
mov word [r10 + 0x17c], ax
lea eax, [r11 + 0x46]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
movzx eax, word [r8 + rbx]
mov word [r10 + 0x17e], ax
lea eax, [r11 + 0x48]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
movzx eax, word [r8 + rbx]
mov word [r10 + 0x180], ax
lea eax, [r11 + 0x4a]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
movzx eax, word [r8 + rbx]
mov word [r10 + 0x182], ax
lea eax, [r11 + 0x4c]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov eax, dword [r8 + rbx]
mov dword [r10 + 0x184], eax
lea eax, [r11 + 0x50]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov eax, dword [r8 + rbx]
mov dword [r10 + 0x188], eax
lea eax, [r11 + 0x54]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov eax, dword [r8 + rbx]
mov dword [r10 + 0x18c], eax
lea eax, [r11 + 0x58]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov eax, dword [r8 + rbx]
mov dword [r10 + 0x190], eax
lea eax, [r11 + 0x5c]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
movzx eax, word [rbx + r8]
mov word [r10 + 0x194], ax
lea eax, [r11 + 0x5e]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
movzx eax, word [rbx + r8]
mov word [r10 + 0x196], ax
lea eax, [r11 + 0x60]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov rax, qword [rbx + r8]
mov qword [r10 + 0x198], rax
lea eax, [r11 + 0x68]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov rax, qword [rbx + r8]
mov qword [r10 + 0x1a0], rax
lea eax, [r11 + 0x70]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov rax, qword [rbx + r8]
mov qword [r10 + 0x1a8], rax
lea eax, [r11 + 0x78]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov rax, qword [r8 + rbx]
mov qword [r10 + 0x1b0], rax
lea eax, [r11 + 0x80]
mov rbx, qword [rdx]
test rbx, rbx
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov eax, dword [r8 + rbx]
mov dword [r10 + 0x1b8], eax
lea eax, [r11 + 0x84]
mov r11, qword [rdx]
test r11, r11
je 0x18001bf93
lea rcx, [rax + 1]
mov r8d, eax
mov eax, dword [rdx + 0x10]
cmp rcx, rax
jae 0x18001bf93
mov eax, dword [r8 + r11]
mov ecx, 0x10
cmp eax, ecx
mov qword [rsp + 0x18], rdi
mov rbx, r9
mov qword [rsp + 0x10], rsi
cmova eax, ecx
lea r8, [r10 + 0x1c4]
mov dword [r10 + 0x1bc], eax
mov r11d, 0x11
nop word [rax + rax]
mov eax, dword [r10 + 0x54]
lea edx, [rax + r11*8]
mov rax, qword [r10]
mov rdi, qword [rax]
test rdi, rdi
je 0x18001beec
mov ecx, dword [rax + 0x10]
lea rax, [rdx + 1]
cmp rax, rcx
jae 0x18001beec
mov eax, dword [rdx + rdi]
add edx, 4
mov dword [r8 - 4], eax
mov rax, qword [r10]
mov rsi, qword [rax]
test rsi, rsi
je 0x18001be4c
mov ecx, dword [rax + 0x10]
lea rax, [rdx + 1]
cmp rax, rcx
jae 0x18001be4c
mov eax, dword [rdx + rsi]
inc r11d
mov dword [r8], eax
inc rbx
add r8, 8
cmp rbx, 0x10
jl 0x18001bde0
mov rsi, qword [rsp + 0x10]
mov al, 1
mov rdi, qword [rsp + 0x18]
pop rbx
ret
test edx, edx
je 0x18001be5a
mov eax, edx
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
cmp qword [0x1800801a0], 0x10
lea rdx, [0x180080188]
mov r8, qword [0x180080198]
mov rcx, r9
cmovae rdx, qword [0x180080188]
test r8, r8
je 0x18001be9f
movzx eax, byte [rcx + rdx]
inc rcx
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
cmp rcx, r8
jne 0x18001be80
mov rsi, qword [rsp + 0x10]
lea ecx, [r9 + r9*8]
mov rdi, qword [rsp + 0x18]
mov edx, ecx
shr edx, 0xb
mov eax, 0x446f8657
xor edx, ecx
imul ecx, edx, 0x8001
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 7
imul eax, eax, 0xca
sub ecx, eax
mov rax, qword [r10 + 0x278]
add ecx, 0x36
addss xmm1, dword [rax + rcx*4]
movss dword [rax + rcx*4], xmm1
xor al, al
pop rbx
ret
test edx, edx
je 0x18001befa
mov eax, edx
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
cmp qword [0x1800801a0], 0x10
lea rdx, [0x180080188]
mov r8, qword [0x180080198]
mov rcx, r9
cmovae rdx, qword [0x180080188]
test r8, r8
je 0x18001bf3f
movzx eax, byte [rcx + rdx]
inc rcx
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
cmp rcx, r8
jne 0x18001bf20
mov rsi, qword [rsp + 0x10]
lea eax, [r9 + r9*8]
mov rdi, qword [rsp + 0x18]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov eax, 0x446f8657
imul r8d, ecx, 0x8001
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 7
imul eax, eax, 0xca
sub r8d, eax
mov rax, qword [r10 + 0x278]
add r8d, 0x36
addss xmm1, dword [rax + r8*4]
movss dword [rax + r8*4], xmm1
xor al, al
pop rbx
ret
xor al, al
pop rbx
ret