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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x65fec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, 0x67452301
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x150], esi
mov ebx, 0xefcdab89
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov dword [ebp - 0x148], ebx
mov edi, 0x10325476
mov dword [ebp - 0x14c], 0xc3d2e1f0
add esi, 2
nop dword [eax]
movzx edx, byte [esi - 2]
lea esi, [esi + 4]
movzx ecx, byte [esi - 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi - 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi - 3]
shl edx, 8
or edx, ecx
mov dword [ebp + eax*4 - 0x144], edx
inc eax
cmp eax, 0x10
jb 0x46e210
lea edx, [ebp - 0x13c]
mov ebx, 0x40
mov eax, 0x98badcfe
mov esi, 0x67452301
mov ecx, dword [edx + 0x2c]
lea edx, [edx + 4]
xor ecx, dword [edx + 0x14]
xor ecx, dword [edx - 0xc]
xor ecx, dword [edx - 4]
ror ecx, 0x1f
mov dword [edx + 0x34], ecx
sub ebx, 1
jne 0x46e254
mov dword [ebp - 0x154], ebx
mov ebx, dword [ebp - 0x148]
nop word [eax + eax]
mov edx, ebx
ror esi, 0x1b
not edx
mov dword [ebp - 0x148], eax
mov ecx, eax
and edx, edi
and ecx, ebx
mov eax, ebx
or edx, ecx
shr ebx, 2
mov ecx, dword [ebp - 0x14c]
add esi, edx
mov edx, dword [ebp - 0x154]
add ecx, 0x5a827999
shl eax, 0x1e
or eax, ebx
mov dword [ebp - 0x14c], edi
mov ebx, dword [ebp - 0x150]
add esi, dword [ebp + edx*4 - 0x144]
inc edx
mov edi, dword [ebp - 0x148]
add esi, ecx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], edx
cmp edx, 0x14
jb 0x46e280
mov dword [ebp - 0x150], 0x14
nop word [eax + eax]
mov edi, dword [ebp - 0x148]
mov edx, esi
mov ecx, edi
ror edx, 0x1b
xor ecx, eax
mov dword [ebp - 0x148], eax
xor ecx, ebx
mov eax, ebx
add edx, ecx
shr ebx, 2
mov ecx, dword [ebp - 0x150]
shl eax, 0x1e
or eax, ebx
mov ebx, esi
add edx, dword [ebp + ecx*4 - 0x144]
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x14c], edi
lea esi, [ecx + 0x6ed9eba1]
mov ecx, dword [ebp - 0x150]
inc ecx
add esi, edx
mov dword [ebp - 0x150], ecx
cmp ecx, 0x28
jb 0x46e2f0
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], 0x28
nop dword [eax + eax]
mov edi, dword [ebp - 0x148]
mov edx, eax
or edx, ebx
ror esi, 0x1b
add esi, dword [ebp - 0x14c]
mov ecx, eax
and ecx, ebx
mov dword [ebp - 0x148], eax
and edx, edi
mov dword [ebp - 0x14c], edi
or edx, ecx
mov eax, ebx
mov ecx, dword [ebp - 0x154]
shr ebx, 2
shl eax, 0x1e
or eax, ebx
mov ebx, dword [ebp - 0x150]
add edx, dword [ebp + ecx*4 - 0x144]
lea ecx, [esi - 0x70e44324]
add ecx, edx
mov esi, ecx
mov dword [ebp - 0x150], ecx
mov ecx, dword [ebp - 0x154]
inc ecx
mov dword [ebp - 0x154], ecx
cmp ecx, 0x3c
jb 0x46e360
mov ecx, dword [ebp - 0x148]
mov edi, 0x3c
mov dword [ebp - 0x154], edi
xor ecx, eax
mov edx, esi
xor ecx, ebx
ror edx, 0x1b
add edx, dword [ebp - 0x14c]
add ecx, 0xca62c1d6
add ecx, dword [ebp + edi*4 - 0x144]
mov edi, dword [ebp - 0x148]
add edx, ecx
mov ecx, eax
mov dword [ebp - 0x14c], edi
mov edi, dword [ebp - 0x154]
mov eax, ebx
shr ebx, 2
inc edi
shl eax, 0x1e
or eax, ebx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x154], edi
mov ebx, esi
mov esi, edx
cmp edi, 0x50
jb 0x46e3d7
mov esi, dword [ebp - 0x158]
add ecx, 0x10325476
mov dword [ebp - 0x148], ecx
add edx, 0x67452301
mov ecx, edx
sub dword [ebp - 0x14c], 0x3c2d1e10
shr ecx, 0x18
sub ebx, 0x10325477
mov byte [esi], cl
sub eax, 0x67452302
mov ecx, edx
mov byte [esi + 0xb], al
shr ecx, 0x10
mov byte [esi + 1], cl
mov ecx, edx
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, ebx
shr ecx, 0x18
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 5], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 6], cl
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 8], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 9], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + 0xa], cl
mov ecx, dword [ebp - 0x148]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xe], al
mov byte [esi + 0xf], cl
mov ecx, dword [ebp - 0x14c]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x10], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x11], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x13], cl
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 7], bl
xor ecx, ebp
mov byte [esi + 3], dl
mov byte [esi + 0x12], al
pop esi
pop ebx
call fcn.0059c3d3
mov esp, ebp
pop ebp
ret