Function at 0x10001b40
Capabilities:
Authenticate hmac
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x1010f16c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, edx
mov dword [ebp - 0xdc], edx
mov edx, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0xd4], ebx
push edi
cmp edx, 0x40
jbe 0x10001c10
xor ecx, ecx
mov dword [ebp - 0xcc], 0x67452301
mov dword [ebp - 0x6c], ecx
lea eax, [edx*8]
mov dword [ebp - 0xc8], 0xefcdab89
mov dword [ebp - 0xc4], 0x98badcfe
mov dword [ebp - 0xc0], 0x10325476
mov dword [ebp - 0xbc], 0xc3d2e1f0
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], ecx
test edx, edx
je 0x10001bf1
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ebp + ecx - 0xac], al
dec edx
mov ecx, dword [ebp - 0x6c]
inc ecx
mov dword [ebp + 8], edx
mov dword [ebp - 0x6c], ecx
cmp ecx, 0x40
jne 0x10001bed
lea ecx, [ebp - 0xcc]
call fcn.10001880
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp + 8]
test edx, edx
jne 0x10001bc0
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0xcc]
call fcn.10001ac0
lea esi, [ebp - 0x60]
mov edx, 0x14
mov dword [ebp - 0xdc], esi
mov dword [ebp + 8], edx
xor edi, edi
mov dword [ebp - 0xd0], edi
test edx, edx
je 0x10001db3
cmp edx, 0x40
jb 0x10001d79
lea eax, [esi - 1]
mov dword [ebp - 0xd0], edi
lea ebx, [ebp - 0xa4]
add eax, edx
cmp ebx, eax
lea ecx, [ebp + edx - 0xa5]
mov ebx, dword [ebp - 0xd4]
ja 0x10001c53
cmp ecx, esi
jae 0x10001d79
lea edi, [ebp - 0x4c]
cmp edi, eax
lea ecx, [ebp + edx - 0x4d]
mov edi, 0
ja 0x10001c6b
cmp ecx, esi
jae 0x10001d79
movaps xmm2, xmmword [0x100f8390]
lea ecx, [esi + 0x20]
movaps xmm3, xmmword [0x100f8400]
mov eax, edx
and eax, 0xffffffc0
lea edx, [ebp - 0x4c]
mov dword [ebp - 0xd0], eax
mov eax, esi
mov ebx, dword [ebp - 0xd0]
sub eax, edx
mov dword [ebp - 0xe0], eax
mov eax, edx
mov edx, dword [ebp - 0xe0]
sub eax, esi
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xa4]
sub eax, esi
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x3c]
sub eax, esi
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x94]
sub eax, esi
mov esi, dword [ebp - 0xe4]
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x4c]
add eax, edi
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [edx + eax]
movaps xmm0, xmm1
pxor xmm1, xmm3
movups xmmword [ebp + edi - 0xa4], xmm1
movups xmm1, xmmword [ecx - 0x50]
pxor xmm0, xmm2
movups xmmword [eax], xmm0
mov eax, dword [ebp - 0xe8]
movaps xmm0, xmm1
pxor xmm1, xmm3
movups xmmword [ebp + edi - 0x94], xmm1
movups xmm1, xmmword [ecx - 0x40]
pxor xmm0, xmm2
movups xmmword [ebp + edi - 0x3c], xmm0
add edi, 0x40
movaps xmm0, xmm1
pxor xmm1, xmm3
pxor xmm0, xmm2
movups xmmword [eax + ecx - 0x40], xmm1
mov eax, dword [ebp - 0xec]
movups xmm1, xmmword [ecx - 0x30]
movups xmmword [esi + ecx - 0x40], xmm0
movaps xmm0, xmm1
pxor xmm1, xmm3
pxor xmm0, xmm2
movups xmmword [eax + ecx - 0x40], xmm0
mov eax, dword [ebp - 0xd8]
movups xmmword [eax + ecx - 0x40], xmm1
cmp edi, ebx
jne 0x10001cd7
mov ebx, dword [ebp - 0xd4]
mov esi, dword [ebp - 0xdc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0xd0], edi
cmp edi, edx
je 0x10001dae
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x4c]
sub esi, eax
lea ecx, [ebp - 0x4c]
add ecx, edi
mov dl, byte [esi + ecx]
mov al, dl
xor dl, 0x5c
mov byte [ebp + edi - 0xa4], dl
xor al, 0x36
inc edi
mov byte [ecx], al
cmp edi, ebx
jne 0x10001d85
mov ebx, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], edi
cmp edi, 0x40
je 0x10001df3
mov esi, 0x40
lea edx, [ebp - 0x4c]
sub esi, edi
mov eax, 0x36363636
add edi, edx
mov ecx, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
lea edi, [ebp - 0xa4]
add edi, dword [ebp - 0xd0]
mov eax, 0x5c5c5c5c
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x60], 0
lea esi, [ebx + 0x68]
mov dword [ebx + 0x18], 0
mov edi, 0x40
mov dword [ebx + 0x1c], 0
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
mov dword [ebx + 0x10], 0xc3d2e1f0
mov dword [esi + 0x60], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
add dword [ebx + 0x18], 0x200
mov dword [ebp - 0xd8], esi
lea esi, [ebp - 0x4c]
adc dword [ebx + 0x1c], 0
nop dword [eax]
mov eax, dword [ebx + 0x60]
lea esi, [esi + 1]
mov cl, byte [esi - 1]
dec edi
mov byte [ebx + eax + 0x20], cl
inc dword [ebx + 0x60]
cmp dword [ebx + 0x60], 0x40
jne 0x10001e9e
mov ecx, ebx
call fcn.10001880
test edi, edi
jne 0x10001e80
mov esi, dword [ebp - 0xd8]
lea ebx, [ebp - 0xa4]
mov edi, 0x40
add dword [esi + 0x18], 0x200
adc dword [esi + 0x1c], 0
nop
mov eax, dword [esi + 0x60]
lea ebx, [ebx + 1]
mov cl, byte [ebx - 1]
dec edi
mov byte [eax + esi + 0x20], cl
inc dword [esi + 0x60]
cmp dword [esi + 0x60], 0x40
jne 0x10001ede
mov ecx, esi
call fcn.10001880
test edi, edi
jne 0x10001ec0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100908e7
mov esp, ebp
pop ebp
ret