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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x4b0408]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x160], edx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx]
mov dword [ebp - 0x164], ebx
lea ecx, [eax + edi*8]
cmp ecx, eax
jge 0x45a0a6
inc dword [ebx + 4]
mov eax, edi
mov dword [ebx], ecx
shr eax, 0x1d
add dword [ebx + 4], eax
movzx eax, word [ebx + 0x48]
test ax, ax
je 0x45a106
movsx ecx, ax
lea eax, [ecx + edi]
cmp eax, 0x40
jb 0x45a106
mov esi, 0x40
mov eax, esi
sub eax, ecx
push eax
lea eax, [ebx + 8]
push edx
add eax, ecx
push eax
call fcn.00431e40
add esp, 0xc
mov ecx, ebx
call fcn.00459dc0
movsx eax, word [ebx + 0x48]
add edi, 0xffffffc0
mov edx, dword [ebp - 0x160]
sub esi, eax
add edx, esi
add edi, eax
xor eax, eax
mov dword [ebp - 0x160], edx
mov dword [ebp + 0xc], edi
mov word [ebx + 0x48], ax
cmp edi, 0x40
jb 0x45a469
mov eax, dword [ebx + 0x4c]
lea ecx, [ebx + 0xa]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x168], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x170], eax
mov eax, dword [ebx + 0x5c]
shr edi, 6
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x178], edi
nop dword [eax + eax]
movups xmm0, xmmword [edx]
lea edi, [ebp - 0x144]
mov esi, ecx
movups xmmword [ebx + 8], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [ebx + 0x18], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [ebx + 0x28], xmm0
movups xmm0, xmmword [edx + 0x30]
movups xmmword [ebx + 0x38], xmm0
mov ebx, 0x10
nop dword [eax]
movzx edx, byte [esi - 2]
lea esi, [esi + 4]
movzx eax, byte [esi - 5]
lea edi, [edi + 4]
movzx ecx, byte [esi - 3]
shl eax, 0x10
shl edx, 0x18
or edx, eax
movzx eax, byte [esi - 4]
shl eax, 8
or ecx, eax
or ecx, edx
mov dword [edi - 4], ecx
sub ebx, 1
jne 0x45a180
lea eax, [ebp - 0x13c]
lea esi, [ebx + 0x40]
mov ecx, dword [eax + 0x2c]
lea eax, [eax + 4]
xor ecx, dword [eax + 0x14]
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
mov edx, ecx
add ecx, ecx
shr edx, 0x1f
or edx, ecx
mov dword [eax + 0x34], edx
sub esi, 1
jne 0x45a1b6
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x168]
mov esi, dword [ebp - 0x16c]
mov ebx, dword [ebp - 0x170]
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x144]
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], 0x14
mov edx, edi
shr ecx, 0x1b
not edx
mov eax, esi
and eax, edi
and edx, ebx
or edx, eax
mov eax, dword [ebp - 0x150]
shl eax, 5
or ecx, eax
mov eax, dword [ebp - 0x14c]
add dword [ebp - 0x14c], 4
add edx, ecx
add edx, dword [eax]
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x154], ebx
add eax, 0x5a827999
mov ebx, esi
add edx, eax
mov esi, edi
mov ecx, edx
shl edi, 0x1e
shr esi, 2
or esi, edi
sub dword [ebp - 0x148], 1
mov edi, dword [ebp - 0x150]
mov dword [ebp - 0x150], ecx
jne 0x45a216
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], eax
mov eax, ebx
mov dword [ebp - 0x158], 0x14
xor eax, esi
mov ecx, edx
shl edx, 5
xor eax, edi
shr ecx, 0x1b
or ecx, edx
mov edx, dword [ebp - 0x154]
add ecx, eax
add edx, 0x6ed9eba1
mov eax, dword [ebp - 0x148]
add dword [ebp - 0x148], 4
add ecx, dword [eax]
mov eax, dword [ebp - 0x14c]
add edx, ecx
mov dword [ebp - 0x154], eax
mov eax, esi
mov esi, edi
mov dword [ebp - 0x14c], eax
shl edi, 0x1e
shr esi, 2
or esi, edi
sub dword [ebp - 0x158], 1
mov edi, dword [ebp - 0x150]
mov dword [ebp - 0x150], edx
jne 0x45a295
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x158], 0x14
mov dword [ebp - 0x148], ecx
nop dword [eax + eax]
mov ecx, esi
or ecx, edi
and ecx, eax
mov eax, esi
and eax, edi
or ecx, eax
mov eax, edx
shr eax, 0x1b
shl edx, 5
or eax, edx
mov edx, dword [ebp - 0x154]
add ecx, eax
add edx, 0x8f1bbcdc
mov eax, dword [ebp - 0x148]
add dword [ebp - 0x148], 4
add ecx, dword [eax]
mov eax, dword [ebp - 0x14c]
add edx, ecx
mov dword [ebp - 0x154], eax
mov eax, esi
mov esi, edi
mov dword [ebp - 0x14c], eax
shl edi, 0x1e
shr esi, 2
or esi, edi
sub dword [ebp - 0x158], 1
mov edi, dword [ebp - 0x150]
mov dword [ebp - 0x150], edx
jne 0x45a310
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x158], 0x14
mov dword [ebp - 0x148], ecx
mov ebx, edx
nop dword [eax]
mov ecx, edx
xor eax, esi
shr ecx, 0x1b
xor eax, edi
shl edx, 5
or ecx, edx
mov edx, dword [ebp - 0x154]
add ecx, eax
add edx, 0xca62c1d6
mov eax, dword [ebp - 0x148]
add dword [ebp - 0x148], 4
add ecx, dword [eax]
mov eax, esi
add edx, ecx
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x14c], esi
mov esi, edi
shl edi, 0x1e
shr esi, 2
or esi, edi
mov dword [ebp - 0x154], ecx
sub dword [ebp - 0x158], 1
mov edi, ebx
mov ebx, edx
jne 0x45a390
add dword [ebp - 0x15c], edx
mov ebx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x15c]
mov dword [ebx + 0x4c], edx
mov edx, dword [ebp - 0x168]
add edx, edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x168], edx
sub edi, 0x40
mov dword [ebx + 0x50], edx
mov edx, dword [ebp - 0x16c]
add edx, esi
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x16c], edx
mov dword [ebx + 0x54], edx
mov edx, dword [ebp - 0x170]
add edx, eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x170], edx
add eax, ecx
mov dword [ebx + 0x58], edx
lea ecx, [ebx + 0xa]
mov edx, dword [ebp - 0x160]
add edx, 0x40
mov dword [ebp - 0x174], eax
sub dword [ebp - 0x178], 1
mov dword [ebx + 0x5c], eax
mov dword [ebp - 0x160], edx
jne 0x45a150
movsx eax, word [ebx + 0x48]
push edi
add eax, 8
push edx
add eax, ebx
push eax
call fcn.00431e40
add word [ebx + 0x48], di
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0042bd08
mov esp, ebp
pop ebp
ret 8