Function at 0x64287d7c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x458
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x288]
mov edi, ecx
push eax
mov dword [esp + 0x20], edi
call fcn.642882d1
lea eax, [esp + 0x288]
mov edx, 0x356a0397
mov dword [esp + 0x18], eax
xor esi, esi
mov dword [esp + 0x10], eax
mov ecx, edx
shl ecx, 0xd
xor ecx, edx
mov eax, ecx
shr eax, 0x11
xor ecx, eax
mov eax, dword [esp + 0x18]
mov edx, ecx
shl edx, 5
xor edx, ecx
mov ecx, dword [eax + esi]
mov eax, dword [esp + 0x10]
bswap edx
xor ecx, edx
mov dword [eax + esi], ecx
add esi, 4
cmp esi, 0x94
jb 0x64287daf
lea eax, [esp + 0x288]
push eax
lea ecx, [esp + 0x3c]
call fcn.64273fc0
push str.0
lea ecx, [esp + 0x6c]
call fcn.64273fc0
lea eax, [edi + 0x1c]
push eax
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x3c]
call fcn.6427e830
pop ecx
lea ecx, [esp + 0x68]
call fcn.64274031
push 0x6c
pop ebx
push ebx
lea eax, [esp + 0x220]
push 0
push eax
call fcn.642922b1
add esp, 0xc
lea eax, [esp + 0x3fc]
mov edx, 0x7ebc348b
push eax
call fcn.642883e9
mov dword [esp + 0x10], eax
xor esi, esi
lea eax, [esp + 0x21c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
imul edx, edx, 0x41c64e6d
mov ecx, dword [eax + esi]
mov eax, dword [esp + 0x18]
add edx, 0x3039
rol edx, 1
xor ecx, edx
mov dword [eax + esi], ecx
add esi, 4
cmp esi, ebx
jb 0x64287e54
lea eax, [esp + 0x21c]
push eax
lea ecx, [esp + 0x24]
call fcn.64273fc0
lea eax, [esp + 0x21c]
mov byte [eax], 0
inc eax
sub ebx, 1
jne 0x64287e91
lea eax, [edi + 0x7c]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x64287ea8
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.6427554f
push 0x648ace04
lea ecx, [esp + 0x24]
call fcn.64275272
xor edx, edx
cmp dword [edi + 0x44], edx
je 0x64288006
lea eax, [esp + 0x35a]
push eax
lea ebx, [edi + 0x34]
call fcn.642884ac
push 0x46
pop ebp
mov esi, eax
lea eax, [esp + 0x17a]
push ebp
push edx
push eax
mov dword [esp + 0x20], esi
call fcn.642922b1
add esp, 0xc
mov dword [esp + 0x10], esi
lea eax, [esp + 0x17a]
mov edx, 0xf3185f49
mov dword [esp + 0x18], eax
xor edi, edi
push 0x44
pop esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + edi]
mov eax, dword [esp + 0x18]
xor ecx, edx
mov dword [eax + edi], ecx
mov ecx, edx
shr ecx, 7
add edi, 4
xor ecx, edx
mov eax, ecx
shl eax, 9
xor ecx, eax
mov edx, ecx
shr edx, 0xd
xor edx, ecx
not edx
cmp edi, esi
jb 0x64287f10
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x17a]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov cl, byte [eax + esi]
mov eax, dword [esp + 0x10]
xor cl, dl
shr edx, 8
mov byte [eax + esi], cl
inc esi
cmp esi, ebp
jb 0x64287f55
lea eax, [esp + 0x17a]
push eax
lea ecx, [esp + 0x11c]
call fcn.64273fc0
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x64287f8c
mov ebx, dword [ebx]
push ecx
push ebx
mov ecx, eax
call fcn.6427554f
push eax
lea ecx, [esp + 0x84]
call fcn.642744d1
push 0x648ace08
lea edx, [esp + 0x84]
lea ecx, [esp + 0x104]
call fcn.642759d1
pop ecx
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x64287fc6
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.6427554f
lea ecx, [esp + 0x100]
call fcn.64274031
lea ecx, [esp + 0x80]
call fcn.64274031
lea ecx, [esp + 0x118]
call fcn.64274031
lea eax, [esp + 0x17a]
xor edx, edx
mov byte [eax], dl
inc eax
sub ebp, 1
jne 0x64287ffe
cmp dword [edi + 0x5c], edx
je 0x64288109
push 0x5c
pop ebx
push ebx
push edx
lea eax, [esp + 0x1c8]
push eax
lea esi, [edi + 0x4c]
call fcn.642922b1
add esp, 0xc
lea eax, [esp + 0x3a0]
mov edx, 0x96a272b3
push eax
call fcn.64288532
mov dword [esp + 0x14], eax
xor ebp, ebp
lea eax, [esp + 0x1c0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul edx, edx, 0x43fd43fd
mov ecx, dword [eax + ebp]
mov eax, dword [esp + 0x10]
add edx, 0xc39ec3
ror edx, 2
xor ecx, edx
mov dword [eax + ebp], ecx
add ebp, 4
cmp ebp, ebx
jb 0x6428804a
lea eax, [esp + 0x1c0]
push eax
lea ecx, [esp + 0x14c]
call fcn.64273fc0
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x6428808f
mov esi, dword [esi]
push ecx
push esi
mov ecx, eax
call fcn.6427554f
push eax
lea ecx, [esp + 0x9c]
call fcn.642744d1
push 0x648ace08
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x134]
call fcn.642759d1
pop ecx
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x642880c9
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.6427554f
lea ecx, [esp + 0x130]
call fcn.64274031
lea ecx, [esp + 0x98]
call fcn.64274031
lea ecx, [esp + 0x148]
call fcn.64274031
lea eax, [esp + 0x1c0]
xor edx, edx
mov byte [eax], dl
inc eax
sub ebx, 1
jne 0x64288101
cmp dword [edi + 0x74], edx
je 0x64288227
lea eax, [esp + 0x324]
push eax
lea ebx, [edi + 0x64]
call fcn.642885d9
push 0x36
pop ebp
mov esi, eax
lea eax, [esp + 0xca]
push ebp
push edx
push eax
mov dword [esp + 0x24], esi
call fcn.642922b1
add esp, 0xc
mov dword [esp + 0x14], esi
lea eax, [esp + 0xca]
mov edx, 0xc5f4f2cb
mov dword [esp + 0x10], eax
xor edi, edi
push 0x34
pop esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + edi]
mov eax, dword [esp + 0x10]
xor ecx, edx
mov dword [eax + edi], ecx
mov ecx, edx
shl ecx, 0xd
add edi, 4
xor ecx, edx
mov eax, ecx
shr eax, 0x11
xor ecx, eax
mov edx, ecx
shl edx, 5
xor edx, ecx
ror edx, 3
cmp edi, esi
jb 0x64288156
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xca]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov cl, byte [eax + esi]
mov eax, dword [esp + 0x10]
xor cl, dl
shr edx, 8
mov byte [eax + esi], cl
inc esi
cmp esi, ebp
jb 0x6428819c
lea eax, [esp + 0xca]
push eax
lea ecx, [esp + 0x164]
call fcn.64273fc0
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x642881d3
mov ebx, dword [ebx]
push ecx
push ebx
mov ecx, eax
call fcn.6427554f
push eax
lea ecx, [esp + 0x54]
call fcn.642744d1
cmp dword [esp + 0x64], 8
lea eax, [esp + 0x50]
push dword [esp + 0x60]
cmovae eax, dword [esp + 0x54]
lea ecx, [esp + 0x24]
push eax
call fcn.6427554f
lea ecx, [esp + 0x50]
call fcn.64274031
lea ecx, [esp + 0x160]
call fcn.64274031
lea eax, [esp + 0xca]
mov byte [eax], 0
inc eax
sub ebp, 1
jne 0x6428821e
push str.1
lea ecx, [esp + 0xb4]
call fcn.64273fc0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x3c]
call fcn.6427e830
pop ecx
lea ecx, [esp + 0xb0]
call fcn.64274031
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x38]
not eax
ror eax, 7
cmp dword [esp + 0x4c], 8
not eax
push 0x201
cmovae ecx, dword [esp + 0x3c]
push ecx
push 0x648acbf0
push 0
call eax
mov ecx, dword [esp + 0x46c]
mov dword [ecx], eax
test eax, eax
je 0x64288292
xor esi, esi
jmp 0x6428829b
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
lea ecx, [esp + 0x20]
call fcn.64274031
lea ecx, [esp + 0x38]
call fcn.64274031
lea ecx, [esp + 0x288]
mov eax, 0x94
mov byte [ecx], 0
inc ecx
sub eax, 1
jne 0x642882b9
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x458
ret 4