Function at 0xaf6f70
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov dword [ebp - 0x14], 0x40
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
cmp eax, 0x20
jbe 0xaf6f98
xor eax, eax
jmp 0xaf71ce
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00ac7a7c
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00b0b8e0
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x14]
jbe 0xaf7015
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00aeda50
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00af6d40
add esp, 0x14
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [ebp - 0x14]
sub ecx, eax
push ecx
push 0
lea ecx, [ebp - 0x10]
call fcn.00aeda50
mov esi, eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 4]
call edx
add esi, eax
push esi
call fcn.00ace420
add esp, 0xc
jmp 0xaf704b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00aeda50
push eax
call fcn.00acc600
add esp, 0xc
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp + 0x10]
push edx
push 0
lea ecx, [ebp - 0x10]
call fcn.00aeda50
add eax, dword [ebp + 0x10]
push eax
call fcn.00ace420
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
call fcn.00ac7a7c
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 4]
call fcn.00b0b8e0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00ac7a7c
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 8]
call fcn.00b0b8e0
mov dword [ebp - 0x18], 0
jmp 0xaf7093
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jae 0xaf70dd
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00b1ef50
movzx ebx, byte [eax]
xor ebx, 0x5c
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 4]
call fcn.00b1ef50
mov byte [eax], bl
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.00b1ef50
movzx ebx, byte [eax]
xor ebx, 0x36
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
call fcn.00b1ef50
mov byte [eax], bl
jmp 0xaf708a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
push eax
call fcn.00ac7a7c
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00b0b8e0
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 8]
call fcn.00aeda50
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
push eax
lea ecx, [ebp - 0xc]
call fcn.00aeda50
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 4]
call fcn.00aeda50
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
push eax
lea ecx, [ebp - 0xc]
call fcn.00aeda50
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0xc]
call fcn.00b224d0
lea ecx, [ebp - 8]
call fcn.00b224d0
lea ecx, [ebp - 4]
call fcn.00b224d0
lea ecx, [ebp - 0x10]
call fcn.00b224d0
mov eax, dword [ebp - 0x2c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret