Function at 0x5d7920
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13c
call fcn.007081d0
mov eax, dword [0x7d0e44]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
cmp dword [ebp + 0x14], 0
je 0x5d796e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax]
je 0x5d796e
cmp dword [ebp + 0xc], 0
je 0x5d7967
cmp dword [ebp + 0x10], 0
jge 0x5d796e
xor eax, eax
jmp 0x5d7c5e
cmp dword [ebp + 0x14], 0
je 0x5d797e
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x5d7997
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x5d7990
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp + 0x14], eax
jmp 0x5d7997
xor eax, eax
jmp 0x5d7c5e
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004be940
add esp, 4
and eax, 2
je 0x5d79af
xor eax, eax
jmp 0x5d7c5e
cmp dword [ebp + 0xc], 0
je 0x5d7c01
mov dword [ebp - 0x138], 1
mov edx, dword [ebp + 0x14]
push edx
call fcn.00555110
add esp, 4
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0x90
jg 0x5d79ed
mov dword [ebp - 0x134], 1
jmp 0x5d79f7
mov dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0
jne 0x5d7a07
xor eax, eax
jmp 0x5d7c5e
cmp dword [ebp - 0x130], 0
jge 0x5d7a17
xor eax, eax
jmp 0x5d7c5e
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp + 0x10]
jge 0x5d7a82
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.00559fe0
add esp, 0xc
test eax, eax
je 0x5d7a79
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.0055a020
add esp, 0xc
test eax, eax
je 0x5d7a79
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.00559df0
add esp, 0xc
test eax, eax
jne 0x5d7a80
xor eax, eax
jmp 0x5d7c5e
jmp 0x5d7ab8
cmp dword [ebp + 0x10], 0
jl 0x5d7a91
cmp dword [ebp + 0x10], 0x90
jle 0x5d7a98
xor eax, eax
jmp 0x5d7c5e
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x94]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x12c], ecx
cmp dword [ebp - 0x12c], 0x90
je 0x5d7ae8
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 sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x128], 0
jmp 0x5d7b03
mov edx, dword [ebp - 0x128]
add edx, 1
mov dword [ebp - 0x128], edx
cmp dword [ebp - 0x128], 0x90
jge 0x5d7b2f
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 0x5d7af4
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.00559fe0
add esp, 0xc
test eax, eax
je 0x5d7b71
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00555110
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.0055a020
add esp, 0xc
test eax, eax
jne 0x5d7b76
jmp 0x5d7c27
mov dword [ebp - 0x128], 0
jmp 0x5d7b91
mov edx, dword [ebp - 0x128]
add edx, 1
mov dword [ebp - 0x128], edx
cmp dword [ebp - 0x128], 0x90
jge 0x5d7bbd
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 0x5d7b82
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.00559fe0
add esp, 0xc
test eax, eax
je 0x5d7bff
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00555110
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.0055a020
add esp, 0xc
test eax, eax
jne 0x5d7c01
jmp 0x5d7c27
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.0055a1e0
add esp, 8
test eax, eax
jne 0x5d7c1d
jmp 0x5d7c27
mov dword [ebp - 0x13c], 1
cmp dword [ebp - 0x138], 0
je 0x5d7c58
push 0x90
lea eax, [ebp - 0x94]
push eax
call fcn.00401320
add esp, 8
push 0x90
lea ecx, [ebp - 0x124]
push ecx
call fcn.00401320
add esp, 8
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.007081b5
mov esp, ebp
pop ebp
ret