Function at 0x54cf10
Capabilities:
Authenticate hmac

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54d1d0
sub esp, 0x24
lea eax, [0x7ec960]
mov dword [esp], eax
call fcn.00409f80
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
call ecx
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x20]
mov dword [edx + 0x20], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x54d1b3
mov dword [edx + 0x24], ecx
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov ebx, dword [esp + 0x20]
mov dword [ebx + 0x28], ecx
mov ebp, dword [0xb91180]
test ebp, ebp
jne 0x54d1a6
mov dword [ebx + 0x2c], eax
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
mov eax, dword [eax + 0x10]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov dword [ecx + 4], eax
lea edx, [0x7ac140]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0043a890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x54d199
mov dword [ecx + 0x14], eax
mov eax, dword [ecx + 4]
lea edx, [0x7ac140]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0043a890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x54d18c
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x30]
cmp dword [ecx + 4], eax
jl 0x54d12f
mov edx, dword [esp + 0x2c]
mov ebx, dword [ecx + 0x14]
mov ebp, dword [ecx + 0x18]
cmp ebp, eax
jle 0x54d124
mov ebp, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x2c], edx
cmp edx, ebx
je 0x54d068
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0044f8d0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 0x1c]
cmp edx, ebx
jle 0x54d11d
mov edx, dword [esp + 0x2c]
cmp ecx, edx
je 0x54d096
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0044f8d0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x18]
xor edx, edx
jmp 0x54d0ae
movzx ebp, byte [edx + ebx]
xor ebp, 0x36
xchg ebp, eax
mov byte [ebx + edx], al
xchg ebp, eax
inc edx
cmp edx, ecx
jge 0x54d0bf
mov ebx, dword [eax + 0x14]
cmp dword [eax + 0x18], edx
ja 0x54d0a1
jmp 0x54d1c9
mov ecx, dword [eax + 0xc]
xor edx, edx
jmp 0x54d0d3
movzx ebp, byte [edx + ebx]
xor ebp, 0x5c
xchg ebp, eax
mov byte [ebx + edx], al
xchg ebp, eax
inc edx
cmp edx, ecx
jge 0x54d0e4
mov ebx, dword [eax + 8]
cmp dword [eax + 0xc], edx
ja 0x54d0c6
jmp 0x54d1c2
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x20]
mov ebx, dword [eax + 0x1c]
mov ebp, dword [eax + 0x18]
mov esi, dword [eax + 0x14]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call ecx
lea eax, [0x8b9100]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
add esp, 0x24
ret
mov ebx, edx
jmp 0x54d07e
mov esi, ebp
mov ebp, eax
mov eax, esi
jmp 0x54d04c
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x24]
mov edx, dword [edx + 0x20]
mov dword [esp], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
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 + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
jmp 0x54d03c
lea edi, [ecx + 8]
call fcn.0044f0d0
jmp 0x54d02b
lea edi, [ecx + 0x14]
call fcn.0044f0d0
jmp 0x54cff0
lea edi, [ebx + 0x2c]
call fcn.0044f0d0
jmp 0x54cf8d
lea edi, [edx + 0x24]
mov eax, ecx
call fcn.0044f0d0
jmp 0x54cf66
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.0054cf10