Function at 0x464510
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x68f014]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
mov ebx, dword [ebp + 0x14]
mov eax, ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ecx
push esi
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x28], esi
push edi
test eax, eax
je 0x464958
test ebx, ebx
je 0x464958
test ecx, ecx
je 0x464958
test esi, esi
je 0x464958
mov eax, dword [ebp + 0x10]
mov ecx, 0
test al, 7
mov dword [esi], 0
setne cl
shr eax, 3
add ecx, eax
mov dword [esp + 0x14], ecx
lea eax, [ecx - 2]
cmp eax, 0x28
jbe 0x46493e
cmp edx, ecx
jne 0x46493e
mov eax, dword [0x690954]
test eax, eax
je 0x4645d8
push ecx
call eax
mov esi, eax
add esp, 4
mov eax, dword [0x690954]
test eax, eax
je 0x4645da
mov ecx, dword [esp + 0x14]
push ecx
call eax
mov dword [esp + 0x10], eax
add esp, 4
mov eax, dword [0x690954]
test eax, eax
je 0x4645e2
push 0x14
call eax
add esp, 4
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0x4645e8
xor esi, esi
mov dword [esp + 0xc], 0
xor edi, edi
mov dword [esp + 0x10], edi
test esi, esi
je 0x4648fa
cmp dword [esp + 0xc], 0
je 0x4648eb
test edi, edi
je 0x4648eb
mov eax, dword [esp + 0x20]
cmp byte [eax], 0
jne 0x464898
sub eax, edi
mov ecx, edi
mov edx, 0x14
lea edi, [eax + 1]
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x464620
mov edi, dword [esp + 0x14]
mov ecx, esi
lea edx, [edi - 0x15]
test edx, edx
je 0x464650
mov ebx, dword [esp + 0x20]
sub ebx, esi
mov al, byte [ebx + ecx + 0x15]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x464641
push 0x14
push dword [esp + 0x10]
lea edx, [edi - 0x15]
mov ecx, esi
call fcn.00466450
mov edi, eax
add esp, 8
test edi, edi
jne 0x46489a
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
lea eax, [edx + 0x13]
lea ecx, [edi + 0x13]
cmp edi, eax
ja 0x464683
cmp ecx, edx
jae 0x464697
movups xmm1, xmmword [edi]
mov eax, 0x10
movups xmm0, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [edi], xmm1
jmp 0x464699
xor eax, eax
mov ebx, edx
lea ecx, [eax + edi]
sub ebx, edi
mov edi, 0x14
sub edi, eax
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x4646a7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add eax, 0xffffffeb
push eax
push edx
lea edx, [edi + 0x14]
call fcn.00466450
mov edi, eax
add esp, 8
test edi, edi
jne 0x46489a
mov edx, dword [esp + 0x14]
add edx, 0xffffffeb
je 0x464795
cmp edx, 0x40
jb 0x46477c
mov ecx, dword [esp + 0xc]
lea eax, [ecx - 1]
add eax, edx
cmp esi, eax
ja 0x464703
lea eax, [edx - 1]
add eax, esi
cmp eax, ecx
jae 0x46477c
mov eax, edx
and eax, 0xffffffc0
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0x30]
sub ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
lea eax, [esi + 0x10]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
movups xmm0, xmmword [eax - 0x10]
add edi, 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edi, dword [esp + 0x1c]
jb 0x464724
mov dword [esp + 0x1c], edi
cmp edi, edx
jae 0x464795
mov ebx, dword [esp + 0xc]
lea ecx, [edi + esi]
sub ebx, esi
sub edx, edi
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x464787
xorps xmm0, xmm0
mov dword [esp + 0x38], 0x67452301
push 0
mov edx, esi
mov dword [esp + 0x40], 0xefcdab89
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], 0x98badcfe
mov dword [esp + 0x48], 0x10325476
mov dword [esp + 0x4c], 0xc3d2e1f0
mov dword [esp + 0x50], 0
movlpd qword [esp + 0x34], xmm0
call fcn.00460e60
mov edi, eax
add esp, 4
test edi, edi
jne 0x46489a
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
call fcn.00460d00
mov edi, eax
test edi, edi
jne 0x46489a
mov edx, dword [esp + 0x10]
lea edi, [eax + 0x14]
mov ecx, esi
sub ecx, edx
mov dword [esp + 0x1c], ecx
nop
mov al, byte [edx]
add ecx, edx
dec edi
inc edx
cmp al, byte [ecx]
jne 0x464898
mov ecx, dword [esp + 0x1c]
test edi, edi
jne 0x464810
mov edi, dword [esp + 0x14]
mov edx, 0x14
lea eax, [edi - 0x15]
cmp eax, edx
jbe 0x46483d
cmp byte [edx + esi], 0
jne 0x46483d
inc edx
cmp edx, eax
jb 0x464832
cmp edx, eax
je 0x4648e4
cmp byte [edx + esi], 1
jne 0x4648e4
mov eax, dword [esp + 0x24]
inc edx
mov ebx, dword [esp + 0x24]
sub edi, edx
mov eax, dword [eax]
lea ecx, [edi - 0x15]
mov dword [ebx], ecx
mov ebx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x464870
mov edi, 6
jmp 0x46489a
lea ecx, [edi - 0x15]
test ecx, ecx
je 0x46488e
sub edx, ebx
add edx, esi
nop dword [eax + eax]
mov al, byte [edx + ebx]
lea ebx, [ebx + 1]
mov byte [ebx - 1], al
sub ecx, 1
jne 0x464880
mov eax, dword [esp + 0x2c]
mov dword [eax], 1
xor edi, edi
mov eax, dword [0x690958]
test eax, eax
je 0x4648cd
push dword [esp + 0x10]
call eax
mov eax, dword [0x690958]
add esp, 4
test eax, eax
je 0x4648cd
push dword [esp + 0xc]
call eax
mov eax, dword [0x690958]
add esp, 4
test eax, eax
je 0x4648cd
push esi
call eax
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.005cf250
mov esp, ebp
pop ebp
ret
mov edi, 7
jmp 0x46489a
mov eax, dword [0x690958]
test eax, eax
je 0x4648ff
push esi
call eax
add esp, 4
mov eax, dword [0x690958]
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x464916
test eax, eax
je 0x464916
push ebx
call eax
mov eax, dword [0x690958]
add esp, 4
test edi, edi
je 0x464924
test eax, eax
je 0x464924
push edi
call eax
add esp, 4
mov eax, 0xd
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.005cf250
mov esp, ebp
pop ebp
ret
mov eax, 0x16
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.005cf250
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x94]
mov eax, 0x10
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005cf250
mov esp, ebp
pop ebp
ret