Function at 0x5cdda0
Capabilities:
Authenticate hmac

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ce03b
sub esp, 0x30
lea eax, [0x6e5b80]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
call ecx
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x28]
mov dword [edx + 0x18], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x5cddfa
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [edx + 0x1c]
mov dword [edi + 4], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, eax
call ecx
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x28]
mov dword [ebx + 0x20], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x5cde2c
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [ebx + 0x24]
mov dword [edi + 4], eax
mov dword [ebx + 0x24], ecx
mov byte [esp + 0x1f], 1
mov dword [esp], ebx
lea eax, [esp + 0x1f]
mov dword [esp + 4], eax
call fcn.005ce050
movzx eax, byte [esp + 0x1f]
test al, al
je 0x5ce022
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
lea ecx, [0x6c0100]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004726e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov ebx, dword [0x8c88d8]
test ebx, ebx
je 0x5cdea6
call fcn.004772f0
mov dword [edi], eax
mov ebx, dword [edx + 0xc]
mov dword [edi + 4], ebx
mov dword [edx + 0xc], eax
lea eax, [0x6c0100]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004726e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov ebx, dword [0x8c88d8]
test ebx, ebx
je 0x5cdee7
call fcn.004772f0
mov dword [edi], eax
mov ebx, dword [edx]
mov dword [edi + 4], ebx
mov dword [edx], eax
mov eax, dword [esp + 0x3c]
cmp eax, ecx
jg 0x5cdef7
mov ecx, dword [esp + 0x38]
jmp 0x5cdf55
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x1c]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
call ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x18]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ebx, eax
mov eax, ecx
mov ecx, ebx
mov ebx, dword [edx + 0x10]
cmp eax, ebx
jge 0x5cdf60
mov ebx, eax
jmp 0x5cdf66
mov ebp, ebx
mov ebx, eax
mov eax, ebp
mov ebp, dword [edx + 0xc]
cmp ecx, ebp
je 0x5cdf91
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], ebx
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00477ad0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov eax, dword [edx + 4]
cmp ebx, eax
jl 0x5cdf9a
mov ebx, eax
mov eax, dword [edx]
cmp ecx, eax
je 0x5cdfb4
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00477ad0
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x10]
xor ecx, ecx
jmp 0x5cdfcb
mov ebx, dword [edx + 0xc]
movzx ebp, byte [ecx + ebx]
xor ebp, 0x36
xchg ebp, eax
mov byte [ebx + ecx], al
xchg ebp, eax
inc ecx
cmp ecx, eax
jl 0x5cdfbb
mov eax, dword [edx + 4]
xor ecx, ecx
jmp 0x5cdfe5
mov ebx, dword [edx]
movzx ebp, byte [ecx + ebx]
xor ebp, 0x5c
xchg ebp, eax
mov byte [ebx + ecx], al
xchg ebp, eax
inc ecx
cmp ecx, eax
jl 0x5cdfd6
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov eax, dword [eax + 0x1c]
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 0x10]
mov esi, dword [edx + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call eax
lea eax, [0x735818]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
add esp, 0x30
ret
lea eax, [0x6c0080]
mov dword [esp], eax
lea eax, [0x733f80]
mov dword [esp + 4], eax
call fcn.00470a40
nop
call fcn.00475ee0
jmp fcn.005cdda0