Function at 0x4fe850
Capabilities:
Authenticate hmac

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4feaf7
sub esp, 0x30
lea eax, [0x52b860]
mov dword [esp], eax
call fcn.0040b6d0
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 [0x652970]
test ecx, ecx
jne 0x4fe8a4
mov dword [edx + 0x1c], eax
jmp 0x4fe8ac
lea edi, [edx + 0x1c]
call fcn.00464560
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 [0x652970]
test ecx, ecx
jne 0x4fe8d1
mov dword [ebx + 0x24], eax
jmp 0x4fe8d9
lea edi, [ebx + 0x24]
call fcn.00464560
mov byte [esp + 0x1f], 1
mov dword [esp], ebx
lea eax, [esp + 0x1f]
mov dword [esp + 4], eax
call fcn.004feb10
movzx eax, byte [esp + 0x1f]
test al, al
je 0x4feade
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, [0x51ed20]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.0044b8b0
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 [0x652970]
test ebx, ebx
jne 0x4fe948
mov dword [edx + 0xc], eax
jmp 0x4fe950
lea edi, [edx + 0xc]
call fcn.00464560
lea eax, [0x51ed20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044b8b0
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 [0x652970]
test edx, edx
jne 0x4fe986
mov dword [edi], eax
jmp 0x4fe98b
call fcn.00464560
mov edx, dword [esp + 0x3c]
cmp edx, ecx
jg 0x4fe999
mov eax, dword [esp + 0x38]
jmp 0x4fe9f3
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 0x4fea01
mov ecx, edx
jmp 0x4fea05
mov ecx, edx
mov edx, ebp
cmp eax, ebx
je 0x4fea2d
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.00464e70
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 0x4fea38
mov ecx, ebx
cmp eax, edx
je 0x4fea50
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00464e70
mov edi, dword [esp + 0x28]
mov edx, dword [edi + 0x10]
xor eax, eax
jmp 0x4fea66
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 0x4fea76
mov ebx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
jb 0x4fea57
jmp 0x4fead9
mov edx, dword [edi + 4]
xor eax, eax
jmp 0x4fea8c
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 0x4fea9b
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, ecx
jb 0x4fea7d
jmp 0x4fead4
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, [0x56eb74]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
add esp, 0x30
ret
call fcn.004645e0
call fcn.004645e0
lea eax, [0x51eb60]
mov dword [esp], eax
lea eax, [0x56e1e4]
mov dword [esp + 4], eax
call fcn.00436fe0
nop
call fcn.00463190
jmp fcn.004fe850