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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x4745fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, 0x40
push ebx
mov ebx, dword [ebp + 8]
push esi
movups xmm0, xmmword [eax]
push edi
mov dword [ebp - 0x154], ebx
movups xmmword [ebp - 0x144], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x134], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x124], xmm0
movups xmm0, xmmword [eax + 0x30]
lea eax, [ebp - 0x13c]
movups xmmword [ebp - 0x114], xmm0
nop dword [eax + eax]
mov ecx, dword [eax + 0x2c]
lea eax, [eax + 4]
xor ecx, dword [eax + 0x14]
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
rol ecx, 1
mov dword [eax + 0x34], ecx
sub edx, 1
jne 0x41a410
mov eax, dword [ebx]
mov edx, eax
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], 0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x150], eax
nop dword [eax + eax]
mov ecx, edi
rol edx, 5
not ecx
mov eax, esi
and ecx, ebx
and eax, edi
or ecx, eax
mov eax, dword [ebp - 0x150]
add edx, ecx
mov dword [ebp - 0x150], ebx
mov ecx, dword [ebp - 0x14c]
mov ebx, esi
add eax, 0x5a827999
mov esi, edi
mov edi, dword [ebp - 0x148]
ror esi, 2
add edx, dword [ebp + ecx*4 - 0x144]
inc ecx
add edx, eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], edx
cmp ecx, 0x14
jl 0x41a460
mov dword [ebp - 0x148], 0x14
nop word [eax + eax]
mov eax, ebx
mov ecx, edx
xor eax, esi
rol ecx, 5
xor eax, edi
add ecx, eax
mov eax, dword [ebp - 0x148]
add ecx, dword [ebp + eax*4 - 0x144]
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x150], ebx
mov ebx, esi
mov esi, edi
mov edi, edx
ror esi, 2
lea edx, [eax + 0x6ed9eba1]
mov eax, dword [ebp - 0x148]
inc eax
add edx, ecx
mov dword [ebp - 0x148], eax
cmp eax, 0x28
jl 0x41a4c0
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], 0x28
nop dword [eax]
mov ecx, esi
rol edx, 5
or ecx, edi
mov eax, esi
and eax, edi
and ecx, ebx
or ecx, eax
add edx, 0x8f1bbcdc
mov eax, dword [ebp - 0x14c]
add edx, dword [ebp - 0x150]
mov dword [ebp - 0x150], ebx
mov ebx, esi
mov esi, edi
mov edi, dword [ebp - 0x148]
add ecx, dword [ebp + eax*4 - 0x144]
inc eax
add edx, ecx
ror esi, 2
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], eax
cmp eax, 0x3c
jl 0x41a520
mov dword [ebp - 0x14c], 0x3c
nop dword [eax]
mov ecx, edx
mov eax, ebx
mov edx, dword [ebp - 0x14c]
xor eax, esi
rol ecx, 5
xor eax, edi
add ecx, 0xca62c1d6
add ecx, dword [ebp - 0x150]
add eax, dword [ebp + edx*4 - 0x144]
add eax, ecx
mov ecx, ebx
mov ebx, esi
mov dword [ebp - 0x158], eax
mov esi, edi
mov dword [ebp - 0x150], ecx
mov edi, dword [ebp - 0x148]
mov edx, eax
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x14c]
inc eax
ror esi, 2
mov dword [ebp - 0x14c], eax
cmp eax, 0x50
jl 0x41a580
mov eax, edx
mov edx, dword [ebp - 0x154]
add eax, dword [ebp - 0x15c]
add dword [edx + 4], edi
add dword [edx + 0x10], ecx
add dword [edx + 8], esi
mov ecx, dword [ebp - 4]
add dword [edx + 0xc], ebx
xor ecx, ebp
pop edi
pop esi
mov dword [edx], eax
pop ebx
call fcn.0041f285
mov esp, ebp
pop ebp
ret