Function at 0x5c3980
Capabilities:
Authenticate hmac

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c3c27
sub esp, 0x30
lea eax, [0x66bc20]
mov dword [esp], eax
call fcn.0040bcc0
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 + 4]
mov ecx, dword [esp]
mov edx, dword [esp + 0x28]
mov dword [edx + 0x18], ecx
mov ecx, dword [0x8b5080]
test ecx, ecx
jne 0x5c39d4
mov dword [edx + 0x1c], eax
jmp 0x5c39dc
lea edi, [edx + 0x1c]
call fcn.00462690
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov ebx, dword [esp + 0x28]
mov dword [ebx + 0x20], ecx
mov ecx, dword [0x8b5080]
test ecx, ecx
jne 0x5c3a01
mov dword [ebx + 0x24], eax
jmp 0x5c3a09
lea edi, [ebx + 0x24]
call fcn.00462690
mov byte [esp + 0x1f], 1
mov dword [esp], ebx
lea eax, [esp + 0x1f]
mov dword [esp + 4], eax
call fcn.005c3c40
movzx eax, byte [esp + 0x1f]
test al, al
je 0x5c3c0e
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
lea ecx, [0x64f480]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.0044a050
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 [0x8b5080]
test ebx, ebx
jne 0x5c3a78
mov dword [edx + 0xc], eax
jmp 0x5c3a80
lea edi, [edx + 0xc]
call fcn.00462690
lea eax, [0x64f480]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a050
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov edx, dword [0x8b5080]
test edx, edx
jne 0x5c3ab6
mov dword [edi], eax
jmp 0x5c3abb
call fcn.00462690
mov edx, dword [esp + 0x3c]
cmp edx, ecx
jg 0x5c3ac9
mov eax, dword [esp + 0x38]
jmp 0x5c3b23
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x1c]
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 edi, dword [esp + 0x28]
mov edx, ecx
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi + 0x10]
cmp edx, ebp
jge 0x5c3b31
mov ecx, edx
jmp 0x5c3b35
mov ecx, edx
mov edx, ebp
cmp eax, ebx
je 0x5c3b5d
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00463000
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov edx, dword [edi]
mov ebx, dword [edi + 4]
cmp ecx, ebx
jl 0x5c3b68
mov ecx, ebx
cmp eax, edx
je 0x5c3b80
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00463000
mov edi, dword [esp + 0x28]
mov edx, dword [edi + 0x10]
xor eax, eax
jmp 0x5c3b96
movzx ebp, byte [eax + ebx]
xor ebp, 0x36
xchg ebp, ecx
mov byte [ebx + eax], cl
xchg ebp, ecx
inc eax
cmp eax, edx
jge 0x5c3ba6
mov ebx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
jb 0x5c3b87
jmp 0x5c3c09
mov edx, dword [edi + 4]
xor eax, eax
jmp 0x5c3bbc
movzx ebp, byte [eax + ebx]
xor ebp, 0x5c
xchg ebp, ecx
mov byte [ebx + eax], cl
xchg ebp, ecx
inc eax
cmp eax, edx
jge 0x5c3bcb
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, ecx
jb 0x5c3bad
jmp 0x5c3c04
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov eax, dword [eax + 0x20]
mov edx, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
mov ebp, dword [edi + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call eax
lea eax, [0x6efc74]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
add esp, 0x30
ret
call fcn.00462710
call fcn.00462710
lea eax, [0x64f280]
mov dword [esp], eax
lea eax, [0x6ee1f0]
mov dword [esp + 4], eax
call fcn.004353d0
nop
call fcn.00461280
jmp fcn.005c3980