Function at 0x56c2a0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x138
call fcn.004d61c0
mov eax, dword [0x7d3574]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x9c], 0
cmp dword [ebp + 0x14], 0
je 0x56c2ee
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax]
je 0x56c2ee
cmp dword [ebp + 0xc], 0
je 0x56c2e7
cmp dword [ebp + 0x10], 0
jge 0x56c2ee
xor eax, eax
jmp 0x56c5a2
cmp dword [ebp + 0x14], 0
je 0x56c2fe
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x56c317
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x56c310
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp + 0x14], eax
jmp 0x56c317
xor eax, eax
jmp 0x56c5a2
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0053a370
add esp, 4
and eax, 2
je 0x56c32f
xor eax, eax
jmp 0x56c5a2
cmp dword [ebp + 0xc], 0
je 0x56c545
mov dword [ebp - 0x9c], 1
mov edx, dword [ebp + 0x14]
push edx
call fcn.0053a2d0
add esp, 4
mov dword [ebp - 0x138], eax
xor eax, eax
cmp dword [ebp - 0x138], 0x90
setle al
test eax, eax
jne 0x56c36f
xor eax, eax
jmp 0x56c5a2
cmp dword [ebp - 0x138], 0
jge 0x56c37f
xor eax, eax
jmp 0x56c5a2
mov ecx, dword [ebp - 0x138]
cmp ecx, dword [ebp + 0x10]
jge 0x56c3ea
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call fcn.005281f0
add esp, 0xc
test eax, eax
je 0x56c3e1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.00528210
add esp, 0xc
test eax, eax
je 0x56c3e1
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x98]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.005283e0
add esp, 0xc
test eax, eax
jne 0x56c3e8
xor eax, eax
jmp 0x56c5a2
jmp 0x56c420
cmp dword [ebp + 0x10], 0
jl 0x56c3f9
cmp dword [ebp + 0x10], 0x90
jle 0x56c400
xor eax, eax
jmp 0x56c5a2
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.004d3550
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 0x90
je 0x56c450
mov eax, 0x90
sub eax, dword [ebp - 0xa0]
push eax
push 0
mov ecx, dword [ebp - 0xa0]
lea edx, [ebp + ecx - 0x98]
push edx
call fcn.004d4a00
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x56c462
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x90
jge 0x56c485
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp + ecx - 0x98]
xor edx, 0x36
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x130], dl
jmp 0x56c459
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call fcn.005281f0
add esp, 0xc
test eax, eax
je 0x56c4c7
mov edx, dword [ebp + 0x14]
push edx
call fcn.0053a2d0
add esp, 4
push eax
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call fcn.00528210
add esp, 0xc
test eax, eax
jne 0x56c4cc
jmp 0x56c56b
mov dword [ebp - 4], 0
jmp 0x56c4de
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x90
jge 0x56c501
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp + ecx - 0x98]
xor edx, 0x5c
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x130], dl
jmp 0x56c4d5
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.005281f0
add esp, 0xc
test eax, eax
je 0x56c543
mov edx, dword [ebp + 0x14]
push edx
call fcn.0053a2d0
add esp, 4
push eax
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
call fcn.00528210
add esp, 0xc
test eax, eax
jne 0x56c545
jmp 0x56c56b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.00528810
add esp, 8
test eax, eax
jne 0x56c561
jmp 0x56c56b
mov dword [ebp - 0x134], 1
cmp dword [ebp - 0x9c], 0
je 0x56c59c
push 0x90
lea ecx, [ebp - 0x98]
push ecx
call fcn.0054bca0
add esp, 8
push 0x90
lea edx, [ebp - 0x130]
push edx
call fcn.0054bca0
add esp, 8
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d482d
mov esp, ebp
pop ebp
ret