Function at 0x5712e0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13c
call fcn.006db7b0
mov eax, dword [0x7eba44]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
cmp dword [ebp + 0x14], 0
je 0x57132e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax]
je 0x57132e
cmp dword [ebp + 0xc], 0
je 0x571327
cmp dword [ebp + 0x10], 0
jge 0x57132e
xor eax, eax
jmp 0x57161e
cmp dword [ebp + 0x14], 0
je 0x57133e
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x571357
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x571350
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp + 0x14], eax
jmp 0x571357
xor eax, eax
jmp 0x57161e
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004e3410
add esp, 4
and eax, 2
je 0x57136f
xor eax, eax
jmp 0x57161e
cmp dword [ebp + 0xc], 0
je 0x5715c1
mov dword [ebp - 0x138], 1
mov edx, dword [ebp + 0x14]
push edx
call fcn.00533410
add esp, 4
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0x90
jg 0x5713ad
mov dword [ebp - 0x134], 1
jmp 0x5713b7
mov dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0
jne 0x5713c7
xor eax, eax
jmp 0x57161e
cmp dword [ebp - 0x130], 0
jge 0x5713d7
xor eax, eax
jmp 0x57161e
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp + 0x10]
jge 0x571442
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.00530990
add esp, 0xc
test eax, eax
je 0x571439
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call fcn.005309d0
add esp, 0xc
test eax, eax
je 0x571439
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x94]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.005307a0
add esp, 0xc
test eax, eax
jne 0x571440
xor eax, eax
jmp 0x57161e
jmp 0x571478
cmp dword [ebp + 0x10], 0
jl 0x571451
cmp dword [ebp + 0x10], 0x90
jle 0x571458
xor eax, eax
jmp 0x57161e
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.006dccc0
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x12c], ecx
cmp dword [ebp - 0x12c], 0x90
je 0x5714a8
mov edx, 0x90
sub edx, dword [ebp - 0x12c]
push edx
push 0
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp + eax - 0x94]
push ecx
call fcn.006dca70
add esp, 0xc
mov dword [ebp - 0x128], 0
jmp 0x5714c3
mov edx, dword [ebp - 0x128]
add edx, 1
mov dword [ebp - 0x128], edx
cmp dword [ebp - 0x128], 0x90
jge 0x5714ef
mov eax, dword [ebp - 0x128]
movzx ecx, byte [ebp + eax - 0x94]
xor ecx, 0x36
mov edx, dword [ebp - 0x128]
mov byte [ebp + edx - 0x124], cl
jmp 0x5714b4
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call fcn.00530990
add esp, 0xc
test eax, eax
je 0x571531
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00533410
add esp, 4
push eax
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call fcn.005309d0
add esp, 0xc
test eax, eax
jne 0x571536
jmp 0x5715e7
mov dword [ebp - 0x128], 0
jmp 0x571551
mov edx, dword [ebp - 0x128]
add edx, 1
mov dword [ebp - 0x128], edx
cmp dword [ebp - 0x128], 0x90
jge 0x57157d
mov eax, dword [ebp - 0x128]
movzx ecx, byte [ebp + eax - 0x94]
xor ecx, 0x5c
mov edx, dword [ebp - 0x128]
mov byte [ebp + edx - 0x124], cl
jmp 0x571542
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call fcn.00530990
add esp, 0xc
test eax, eax
je 0x5715bf
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00533410
add esp, 4
push eax
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.005309d0
add esp, 0xc
test eax, eax
jne 0x5715c1
jmp 0x5715e7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call fcn.00530b90
add esp, 8
test eax, eax
jne 0x5715dd
jmp 0x5715e7
mov dword [ebp - 0x13c], 1
cmp dword [ebp - 0x138], 0
je 0x571618
push 0x90
lea eax, [ebp - 0x94]
push eax
call fcn.004017e0
add esp, 8
push 0x90
lea ecx, [ebp - 0x124]
push ecx
call fcn.004017e0
add esp, 8
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dbabd
mov esp, ebp
pop ebp
ret