Function at 0x576f70
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 0x576f98
xor eax, eax
jmp 0x5771ce
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00547a7c
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.0058b8e0
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x14]
jbe 0x577015
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0056da50
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.00576d40
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.0056da50
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.0054e420
add esp, 0xc
jmp 0x57704b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0056da50
push eax
call fcn.0054c600
add esp, 0xc
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp + 0x10]
push edx
push 0
lea ecx, [ebp - 0x10]
call fcn.0056da50
add eax, dword [ebp + 0x10]
push eax
call fcn.0054e420
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
call fcn.00547a7c
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 4]
call fcn.0058b8e0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00547a7c
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 8]
call fcn.0058b8e0
mov dword [ebp - 0x18], 0
jmp 0x577093
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jae 0x5770dd
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0059ef50
movzx ebx, byte [eax]
xor ebx, 0x5c
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 4]
call fcn.0059ef50
mov byte [eax], bl
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.0059ef50
movzx ebx, byte [eax]
xor ebx, 0x36
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
call fcn.0059ef50
mov byte [eax], bl
jmp 0x57708a
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.00547a7c
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0058b8e0
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 8]
call fcn.0056da50
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.0056da50
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.0056da50
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.0056da50
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.005a24d0
lea ecx, [ebp - 8]
call fcn.005a24d0
lea ecx, [ebp - 4]
call fcn.005a24d0
lea ecx, [ebp - 0x10]
call fcn.005a24d0
mov eax, dword [ebp - 0x2c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret