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

Disassembly:
jmp 0x10131a80
mov eax, 0x130
call fcn.10001f96
mov eax, dword [0x1025e3d4]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x144]
push ebx
mov ebx, dword [esp + 0x138]
push ebp
mov ebp, dword [esp + 0x140]
push esi
mov esi, dword [esp + 0x148]
push edi
mov edi, dword [esp + 0x150]
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov dword [esp + 0x18], 0
test edi, edi
je 0x10131ae9
cmp edi, eax
je 0x10131ae5
test ebp, ebp
je 0x10131d72
test esi, esi
js 0x10131d72
mov dword [ebx], edi
jmp 0x10131af3
test eax, eax
je 0x10131d72
mov edi, eax
push edi
call sym.libcrypto_1_1.dll_EVP_MD_meth_get_flags
add esp, 4
test al, 2
jne 0x10131d72
test ebp, ebp
je 0x10131d25
push edi
mov dword [esp + 0x1c], 1
call sym.libcrypto_1_1.dll_EVP_MD_block_size
add esp, 4
cmp eax, 0x90
jg 0x10131d72
cmp eax, esi
jge 0x10131b7c
push dword [esp + 0x14]
push edi
push dword [ebx + 4]
call sym.libcrypto_1_1.dll_EVP_DigestInit_ex
add esp, 0xc
test eax, eax
je 0x10131d72
push esi
push ebp
push dword [ebx + 4]
call sym.libcrypto_1_1.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x10131d72
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push dword [ebx + 4]
call sym.libcrypto_1_1.dll_EVP_DigestFinal_ex
add esp, 0xc
test eax, eax
je 0x10131d72
mov esi, dword [esp + 0x10]
jmp 0x10131b9b
cmp esi, 0x90
ja 0x10131d72
push esi
lea eax, [esp + 0x20]
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esp + 0x10], esi
cmp esi, 0x90
je 0x10131bbc
mov eax, 0x90
sub eax, esi
push eax
lea eax, [esp + 0x20]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
movaps xmm1, xmmword [str.6666666666666666]
xor ecx, ecx
movups xmm0, xmmword [esp + ecx + 0x1c]
pxor xmm0, xmm1
movups xmmword [esp + ecx + 0xac], xmm0
movups xmm0, xmmword [esp + ecx + 0x2c]
pxor xmm0, xmm1
movups xmmword [esp + ecx + 0xbc], xmm0
movups xmm0, xmmword [esp + ecx + 0x3c]
pxor xmm0, xmm1
movups xmmword [esp + ecx + 0xcc], xmm0
movups xmm0, xmmword [esp + ecx + 0x4c]
pxor xmm0, xmm1
movups xmmword [esp + ecx + 0xdc], xmm0
add ecx, 0x40
cmp ecx, 0x80
jl 0x10131bc5
cmp ecx, 0x90
jge 0x10131c36
nop dword [eax]
mov al, byte [esp + ecx + 0x1c]
xor al, 0x36
mov byte [esp + ecx + 0xac], al
inc ecx
cmp ecx, 0x90
jl 0x10131c20
mov ebp, dword [esp + 0x14]
push ebp
push edi
push dword [ebx + 8]
call sym.libcrypto_1_1.dll_EVP_DigestInit_ex
add esp, 0xc
test eax, eax
je 0x10131d48
push edi
call sym.libcrypto_1_1.dll_EVP_MD_block_size
push eax
lea eax, [esp + 0xb4]
push eax
push dword [ebx + 8]
call sym.libcrypto_1_1.dll_EVP_DigestUpdate
add esp, 0x10
test eax, eax
je 0x10131d48
movaps xmm1, xmmword [0x10207b10]
xor ecx, ecx
nop word [eax + eax]
movups xmm0, xmmword [esp + ecx + 0x1c]
pxor xmm0, xmm1
movups xmmword [esp + ecx + 0xac], xmm0
movups xmm0, xmmword [esp + ecx + 0x2c]
pxor xmm0, xmm1
movups xmmword [esp + ecx + 0xbc], xmm0
movups xmm0, xmmword [esp + ecx + 0x3c]
pxor xmm0, xmm1
movups xmmword [esp + ecx + 0xcc], xmm0
movups xmm0, xmmword [esp + ecx + 0x4c]
pxor xmm0, xmm1
movups xmmword [esp + ecx + 0xdc], xmm0
add ecx, 0x40
cmp ecx, 0x80
jl 0x10131c80
cmp ecx, 0x90
jge 0x10131cf6
nop word [eax + eax]
mov al, byte [esp + ecx + 0x1c]
xor al, 0x5c
mov byte [esp + ecx + 0xac], al
inc ecx
cmp ecx, 0x90
jl 0x10131ce0
push ebp
push edi
push dword [ebx + 0xc]
call sym.libcrypto_1_1.dll_EVP_DigestInit_ex
add esp, 0xc
test eax, eax
je 0x10131d48
push edi
call sym.libcrypto_1_1.dll_EVP_MD_block_size
push eax
lea eax, [esp + 0xb4]
push eax
push dword [ebx + 0xc]
call sym.libcrypto_1_1.dll_EVP_DigestUpdate
add esp, 0x10
test eax, eax
je 0x10131d48
push dword [ebx + 8]
push dword [ebx + 4]
call sym.libcrypto_1_1.dll_EVP_MD_CTX_copy_ex
xor ebx, ebx
add esp, 8
test eax, eax
mov ecx, 1
cmovne ebx, ecx
cmp dword [esp + 0x18], 0
je 0x10131d6e
jmp 0x10131d4a
xor ebx, ebx
lea eax, [esp + 0x1c]
push 0x90
push eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
lea eax, [esp + 0xb4]
push 0x90
push eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
add esp, 0x10
mov eax, ebx
jmp 0x10131d74
xor eax, eax
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100032f1
add esp, 0x130
ret