Function at 0x226f70
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 0x226f98
xor eax, eax
jmp 0x2271ce
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.001f7a7c
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.0023b8e0
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x14]
jbe 0x227015
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0021da50
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.00226d40
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.0021da50
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.001fe420
add esp, 0xc
jmp 0x22704b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0021da50
push eax
call fcn.001fc600
add esp, 0xc
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp + 0x10]
push edx
push 0
lea ecx, [ebp - 0x10]
call fcn.0021da50
add eax, dword [ebp + 0x10]
push eax
call fcn.001fe420
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
call fcn.001f7a7c
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 4]
call fcn.0023b8e0
mov edx, dword [ebp - 0x14]
push edx
call fcn.001f7a7c
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 8]
call fcn.0023b8e0
mov dword [ebp - 0x18], 0
jmp 0x227093
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jae 0x2270dd
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0024ef50
movzx ebx, byte [eax]
xor ebx, 0x5c
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 4]
call fcn.0024ef50
mov byte [eax], bl
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.0024ef50
movzx ebx, byte [eax]
xor ebx, 0x36
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
call fcn.0024ef50
mov byte [eax], bl
jmp 0x22708a
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.001f7a7c
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0023b8e0
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 8]
call fcn.0021da50
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.0021da50
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.0021da50
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.0021da50
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.002524d0
lea ecx, [ebp - 8]
call fcn.002524d0
lea ecx, [ebp - 4]
call fcn.002524d0
lea ecx, [ebp - 0x10]
call fcn.002524d0
mov eax, dword [ebp - 0x2c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret