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

Disassembly:
sub esp, 0x150
mov eax, dword [esp + 0x154]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
push ebx
mov ebx, dword [eax + 0xc]
mov dword [esp + 8], ecx
mov ecx, dword [eax + 0x10]
push ebp
push esi
mov esi, dword [eax + 4]
mov dword [esp + 0x14], ecx
xor ecx, ecx
push edi
add eax, 0x15
lea esp, [esp]
movzx edi, byte [eax - 1]
movzx ebp, byte [eax]
shl edi, 8
add edi, ebp
movzx ebp, byte [eax + 1]
shl edi, 8
add edi, ebp
movzx ebp, byte [eax + 2]
shl edi, 8
add edi, ebp
movzx ebp, byte [eax + 4]
mov dword [esp + ecx*4 + 0x20], edi
movzx edi, byte [eax + 3]
shl edi, 8
add edi, ebp
movzx ebp, byte [eax + 5]
shl edi, 8
add edi, ebp
movzx ebp, byte [eax + 6]
shl edi, 8
add edi, ebp
movzx ebp, byte [eax + 8]
mov dword [esp + ecx*4 + 0x24], edi
movzx edi, byte [eax + 7]
shl edi, 8
add edi, ebp
movzx ebp, byte [eax + 9]
shl edi, 8
add edi, ebp
movzx ebp, byte [eax + 0xa]
shl edi, 8
add edi, ebp
movzx ebp, byte [eax + 0xc]
mov dword [esp + ecx*4 + 0x28], edi
movzx edi, byte [eax + 0xb]
shl edi, 8
add edi, ebp
movzx ebp, byte [eax + 0xd]
shl edi, 8
add edi, ebp
movzx ebp, byte [eax + 0xe]
shl edi, 8
add edi, ebp
mov dword [esp + ecx*4 + 0x2c], edi
add ecx, 4
add eax, 0x10
cmp ecx, 0x10
jl 0x40e0d0
cmp ecx, 0x50
jge 0x40e199
mov edi, 0x50
lea eax, [esp + ecx*4 - 0x18]
sub edi, ecx
lea ebx, [ebx]
mov ecx, dword [eax + 0x2c]
xor ecx, dword [eax + 0x18]
add eax, 4
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
rol ecx, 1
sub edi, 1
mov dword [eax + 0x34], ecx
jne 0x40e180
lea eax, [esp + 0x24]
mov ebp, 2
mov dword [esp + 0x1c], eax
lea eax, [ebp - 2]
cmp eax, 0x14
jge 0x40e1c4
mov ecx, esi
not ecx
mov eax, edx
and ecx, ebx
and eax, esi
mov dword [esp + 0x10], 0x5a827999
or ecx, eax
jmp 0x40e1fc
cmp eax, 0x28
jge 0x40e1d3
mov dword [esp + 0x10], 0x6ed9eba1
jmp 0x40e1f6
cmp eax, 0x3c
jge 0x40e1ee
mov ecx, edx
or ecx, esi
mov eax, edx
and ecx, ebx
and eax, esi
mov dword [esp + 0x10], 0x8f1bbcdc
or ecx, eax
jmp 0x40e1fc
mov dword [esp + 0x10], 0xca62c1d6
mov ecx, ebx
xor ecx, edx
xor ecx, esi
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
rol eax, 5
add eax, dword [edi - 4]
mov edi, dword [esp + 0x14]
add eax, ecx
add eax, dword [esp + 0x10]
lea ecx, [ebp - 1]
add eax, dword [esp + 0x18]
ror esi, 2
cmp ecx, 0x14
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
jge 0x40e241
mov ecx, edi
not ecx
mov ebx, esi
and ecx, edx
and ebx, edi
mov dword [esp + 0x10], 0x5a827999
or ecx, ebx
jmp 0x40e279
cmp ecx, 0x28
jge 0x40e250
mov dword [esp + 0x10], 0x6ed9eba1
jmp 0x40e273
cmp ecx, 0x3c
jge 0x40e26b
mov ecx, esi
or ecx, edi
mov ebx, esi
and ecx, edx
and ebx, edi
mov dword [esp + 0x10], 0x8f1bbcdc
or ecx, ebx
jmp 0x40e279
mov dword [esp + 0x10], 0xca62c1d6
mov ecx, edx
xor ecx, esi
xor ecx, edi
mov ebx, dword [esp + 0x1c]
rol eax, 5
add eax, dword [ebx]
add eax, ecx
add eax, dword [esp + 0x10]
add eax, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
ror edi, 2
cmp ebp, 0x14
mov dword [esp + 0x14], eax
jge 0x40e2b6
mov ecx, edx
not ecx
mov ebx, edi
and ecx, esi
and ebx, edx
mov dword [esp + 0x10], 0x5a827999
or ecx, ebx
jmp 0x40e2ee
cmp ebp, 0x28
jge 0x40e2c5
mov dword [esp + 0x10], 0x6ed9eba1
jmp 0x40e2e8
cmp ebp, 0x3c
jge 0x40e2e0
mov ecx, edi
or ecx, edx
mov ebx, edi
and ecx, esi
and ebx, edx
mov dword [esp + 0x10], 0x8f1bbcdc
or ecx, ebx
jmp 0x40e2ee
mov dword [esp + 0x10], 0xca62c1d6
mov ecx, esi
xor ecx, edi
xor ecx, edx
mov ebx, dword [esp + 0x1c]
rol eax, 5
add eax, dword [ebx + 4]
add eax, ecx
add eax, dword [esp + 0x10]
lea ecx, [ebp + 1]
add eax, dword [esp + 0x18]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x14]
ror edx, 2
cmp ecx, 0x14
mov dword [esp + 0x14], eax
jge 0x40e32f
mov ecx, esi
not ecx
mov ebx, edx
and ecx, edi
and ebx, esi
mov dword [esp + 0x10], 0x5a827999
or ecx, ebx
jmp 0x40e367
cmp ecx, 0x28
jge 0x40e33e
mov dword [esp + 0x10], 0x6ed9eba1
jmp 0x40e361
cmp ecx, 0x3c
jge 0x40e359
mov ecx, edx
or ecx, esi
mov ebx, edx
and ecx, edi
and ebx, esi
mov dword [esp + 0x10], 0x8f1bbcdc
or ecx, ebx
jmp 0x40e367
mov dword [esp + 0x10], 0xca62c1d6
mov ecx, edi
xor ecx, edx
xor ecx, esi
mov ebx, dword [esp + 0x1c]
rol eax, 5
add eax, dword [ebx + 8]
add eax, ecx
add eax, dword [esp + 0x10]
lea ecx, [ebp + 2]
add eax, dword [esp + 0x18]
mov dword [esp + 0x18], edi
mov edi, edx
mov edx, dword [esp + 0x14]
ror esi, 2
cmp ecx, 0x14
mov dword [esp + 0x14], eax
jge 0x40e3aa
mov ecx, edx
not ecx
mov ebx, esi
and ecx, edi
and ebx, edx
mov dword [esp + 0x10], 0x5a827999
or ecx, ebx
jmp 0x40e3e2
cmp ecx, 0x28
jge 0x40e3b9
mov dword [esp + 0x10], 0x6ed9eba1
jmp 0x40e3dc
cmp ecx, 0x3c
jge 0x40e3d4
mov ecx, esi
or ecx, edx
mov ebx, esi
and ecx, edi
and ebx, edx
mov dword [esp + 0x10], 0x8f1bbcdc
or ecx, ebx
jmp 0x40e3e2
mov dword [esp + 0x10], 0xca62c1d6
mov ecx, edi
xor ecx, esi
xor ecx, edx
mov ebx, dword [esp + 0x1c]
add dword [esp + 0x1c], 0x14
rol eax, 5
add eax, dword [ebx + 0xc]
add ebp, 5
add eax, ecx
add eax, dword [esp + 0x10]
mov ecx, edi
add eax, dword [esp + 0x18]
lea edi, [ebp - 2]
mov ebx, esi
mov esi, dword [esp + 0x14]
ror edx, 2
cmp edi, 0x50
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
jl 0x40e1a6
mov edi, dword [esp + 0x164]
mov edi, dword [edi]
add edi, eax
mov eax, dword [esp + 0x164]
mov dword [eax], edi
mov edi, dword [eax + 4]
add edi, esi
mov esi, dword [eax + 8]
add esi, edx
mov edx, dword [eax + 0xc]
add edx, ebx
mov dword [eax + 4], edi
pop edi
mov dword [eax + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [eax + 8], esi
pop esi
add edx, ecx
pop ebp
mov dword [eax + 0x10], edx
mov dword [eax + 0x54], 0
pop ebx
add esp, 0x150
ret 4