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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x4f0840]
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]
ror ecx, 0x1f
mov dword [eax + 0x34], ecx
sub edx, 1
jne 0x43f7f0
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]
mov ecx, edi
ror edx, 0x1b
not ecx
mov eax, esi
and eax, edi
and ecx, ebx
or ecx, eax
mov eax, dword [ebp - 0x150]
add edx, ecx
mov dword [ebp - 0x150], ebx
mov ecx, dword [ebp - 0x14c]
mov ebx, esi
mov esi, edi
add eax, 0x5a827999
shr edi, 2
shl esi, 0x1e
add edx, dword [ebp + ecx*4 - 0x144]
or esi, edi
mov edi, dword [ebp - 0x148]
inc ecx
add edx, eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], edx
cmp ecx, 0x14
jl 0x43f840
mov dword [ebp - 0x148], 0x14
nop
mov eax, ebx
mov ecx, edx
xor eax, esi
ror ecx, 0x1b
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
shr edi, 2
shl esi, 0x1e
or esi, edi
mov edi, edx
lea edx, [eax + 0x6ed9eba1]
mov eax, dword [ebp - 0x148]
inc eax
add edx, ecx
mov dword [ebp - 0x148], eax
cmp eax, 0x28
jl 0x43f8a0
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], 0x28
nop
mov ecx, esi
ror edx, 0x1b
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
shr edi, 2
add ecx, dword [ebp + eax*4 - 0x144]
inc eax
shl esi, 0x1e
add edx, ecx
or esi, edi
mov dword [ebp - 0x14c], eax
mov edi, dword [ebp - 0x148]
mov dword [ebp - 0x148], edx
cmp eax, 0x3c
jl 0x43f900
mov dword [ebp - 0x14c], 0x3c
nop
mov ecx, edx
mov eax, ebx
mov edx, dword [ebp - 0x14c]
xor eax, esi
xor eax, edi
ror ecx, 0x1b
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
shr edi, 2
mov edx, eax
shl esi, 0x1e
or esi, edi
mov edi, dword [ebp - 0x148]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x14c], eax
cmp eax, 0x50
jl 0x43f960
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.00466875
mov esp, ebp
pop ebp
ret