Function at 0x568f60
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x138
call fcn.004d28e0
mov eax, dword [0x7c9564]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x9c], 0
cmp dword [ebp + 0x14], 0
je 0x568fae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax]
je 0x568fae
cmp dword [ebp + 0xc], 0
je 0x568fa7
cmp dword [ebp + 0x10], 0
jge 0x568fae
xor eax, eax
jmp 0x569262
cmp dword [ebp + 0x14], 0
je 0x568fbe
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x568fd7
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x568fd0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp + 0x14], eax
jmp 0x568fd7
xor eax, eax
jmp 0x569262
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0053a690
add esp, 4
and eax, 2
je 0x568fef
xor eax, eax
jmp 0x569262
cmp dword [ebp + 0xc], 0
je 0x569205
mov dword [ebp - 0x9c], 1
mov edx, dword [ebp + 0x14]
push edx
call fcn.0053a5f0
add esp, 4
mov dword [ebp - 0x138], eax
xor eax, eax
cmp dword [ebp - 0x138], 0x90
setle al
test eax, eax
jne 0x56902f
xor eax, eax
jmp 0x569262
cmp dword [ebp - 0x138], 0
jge 0x56903f
xor eax, eax
jmp 0x569262
mov ecx, dword [ebp - 0x138]
cmp ecx, dword [ebp + 0x10]
jge 0x5690aa
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.00527d00
add esp, 0xc
test eax, eax
je 0x5690a1
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.00527d20
add esp, 0xc
test eax, eax
je 0x5690a1
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.00527ef0
add esp, 0xc
test eax, eax
jne 0x5690a8
xor eax, eax
jmp 0x569262
jmp 0x5690e0
cmp dword [ebp + 0x10], 0
jl 0x5690b9
cmp dword [ebp + 0x10], 0x90
jle 0x5690c0
xor eax, eax
jmp 0x569262
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.004cfb70
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 0x90
je 0x569110
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.004d1020
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x569122
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x90
jge 0x569145
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 0x569119
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.00527d00
add esp, 0xc
test eax, eax
je 0x569187
mov edx, dword [ebp + 0x14]
push edx
call fcn.0053a5f0
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.00527d20
add esp, 0xc
test eax, eax
jne 0x56918c
jmp 0x56922b
mov dword [ebp - 4], 0
jmp 0x56919e
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x90
jge 0x5691c1
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 0x569195
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.00527d00
add esp, 0xc
test eax, eax
je 0x569203
mov edx, dword [ebp + 0x14]
push edx
call fcn.0053a5f0
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.00527d20
add esp, 0xc
test eax, eax
jne 0x569205
jmp 0x56922b
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.00528320
add esp, 8
test eax, eax
jne 0x569221
jmp 0x56922b
mov dword [ebp - 0x134], 1
cmp dword [ebp - 0x9c], 0
je 0x56925c
push 0x90
lea ecx, [ebp - 0x98]
push ecx
call fcn.005494a0
add esp, 8
push 0x90
lea edx, [ebp - 0x130]
push edx
call fcn.005494a0
add esp, 8
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d0e4d
mov esp, ebp
pop ebp
ret