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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x101620c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x170], eax
mov eax, dword [ecx]
mov dword [ebp - 0x16c], eax
push ebx
push esi
mov esi, eax
mov dword [ebp - 0x174], ecx
mov eax, dword [ecx + 8]
lea ebx, [edx + 8]
mov dword [ebp - 0x148], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x144]
sub eax, edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x140]
sub eax, edx
push edi
mov edi, dword [ecx + 4]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x154], ecx
xor ecx, ecx
sub eax, edx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], eax
nop dword [eax + eax]
mov edx, dword [ebx - 8]
lea ebx, [ebx + 0x14]
mov eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x148]
mov dword [ebp + ecx*4 - 0x144], edx
and eax, edi
xor eax, dword [ebp - 0x14c]
mov ecx, esi
rol ecx, 5
add ecx, edx
rol edi, 0x1e
add eax, ecx
mov edx, dword [ebx - 0x18]
mov ecx, dword [ebp - 0x154]
add ecx, 0x5a827999
add ecx, eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x154], ecx
rol ecx, 5
add ecx, edx
mov dword [ebp + eax*4 - 0x140], edx
mov eax, dword [ebp - 0x148]
xor eax, edi
mov edx, dword [ebx - 0x14]
and eax, esi
rol esi, 0x1e
xor eax, dword [ebp - 0x148]
add eax, ecx
mov ecx, dword [ebp - 0x14c]
add ecx, 0x5a827999
add ecx, eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x14c], ecx
rol ecx, 5
add ecx, edx
mov dword [eax + ebx - 0x14], edx
mov eax, edi
xor eax, esi
mov edx, dword [ebx - 0x10]
and eax, dword [ebp - 0x154]
xor eax, edi
add eax, ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x5a827999
add ecx, eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x148], ecx
mov ecx, dword [ebp - 0x150]
rol eax, 0x1e
mov dword [ebp - 0x154], eax
xor eax, esi
and eax, dword [ebp - 0x14c]
rol dword [ebp - 0x14c], 0x1e
xor eax, esi
mov dword [ecx + ebx - 0x14], edx
add esi, 0x5a827999
mov ecx, dword [ebp - 0x148]
rol ecx, 5
add ecx, 0x5a827999
add ecx, edx
mov edx, dword [ebx - 0xc]
add eax, ecx
add edi, eax
mov eax, dword [ebp - 0x158]
mov ecx, edi
rol ecx, 5
add ecx, edx
mov dword [eax + ebx - 0x14], edx
mov eax, dword [ebp - 0x154]
xor eax, dword [ebp - 0x14c]
and eax, dword [ebp - 0x148]
xor eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x148]
add eax, ecx
mov ecx, dword [ebp - 0x15c]
add esi, eax
rol edx, 0x1e
add ecx, 5
mov dword [ebp - 0x148], edx
cmp ecx, 0xf
mov dword [ebp - 0x15c], ecx
jb 0x100175f0
mov ebx, dword [ebp - 0x164]
mov ecx, esi
mov eax, dword [ebp - 0x14c]
xor eax, edx
rol ecx, 5
mov edx, dword [ebp - 0x144]
and eax, edi
xor eax, dword [ebp - 0x14c]
xor edx, dword [ebp - 0x13c]
mov ebx, dword [ebx + 0x3c]
add ecx, ebx
xor edx, dword [ebp - 0x124]
add eax, ecx
xor edx, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x154]
add ecx, 0x5a827999
rol edx, 1
add eax, ecx
rol edi, 0x1e
mov dword [ebp - 0x154], eax
mov ecx, eax
mov eax, dword [ebp - 0x148]
xor eax, edi
rol ecx, 5
add ecx, edx
mov dword [ebp - 0x164], edx
and eax, esi
mov dword [ebp - 0x104], edx
xor eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x140]
add eax, ecx
xor edx, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x14c]
xor edx, dword [ebp - 0x120]
add ecx, 0x5a827999
xor edx, dword [ebp - 0x10c]
add eax, ecx
mov dword [ebp - 0x158], eax
mov ecx, eax
rol esi, 0x1e
mov eax, edi
xor eax, esi
rol edx, 1
and eax, dword [ebp - 0x154]
rol dword [ebp - 0x154], 0x1e
xor eax, edi
rol ecx, 5
add ecx, edx
mov dword [ebp - 0x100], edx
mov edx, dword [ebp - 0x134]
add eax, ecx
mov ecx, dword [ebp - 0x148]
xor edx, dword [ebp - 0x11c]
add ecx, 0x5a827999
add eax, ecx
mov dword [ebp - 0x15c], edi
mov edi, dword [ebp - 0x154]
mov ecx, eax
mov dword [ebp - 0x148], eax
xor edx, ebx
xor edx, dword [ebp - 0x13c]
mov eax, edi
xor eax, esi
mov dword [ebp - 0x108], ebx
mov ebx, dword [ebp - 0x158]
and eax, ebx
rol edx, 1
xor eax, esi
rol ecx, 5
add ecx, edx
mov dword [ebp - 0xfc], edx
mov edx, dword [ebp - 0x130]
add eax, ecx
mov ecx, dword [ebp - 0x15c]
add ecx, 0x5a827999
rol ebx, 0x1e
add eax, ecx
mov dword [ebp - 0x150], esi
xor edx, dword [ebp - 0x118]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x158], ebx
xor edx, dword [ebp - 0x138]
mov ecx, eax
xor edx, dword [ebp - 0x164]
mov eax, edi
xor eax, ebx
rol ecx, 5
mov ebx, dword [ebp - 0x148]
and eax, ebx
rol edx, 1
xor eax, edi
add ecx, edx
mov dword [ebp - 0xf8], edx
add eax, ecx
mov dword [ebp - 0x160], 4
mov ecx, esi
lea esi, [ebp - 0x12c]
add ecx, 0x5a827999
mov dword [ebp - 0x15c], esi
add ecx, eax
rol ebx, 0x1e
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x148], ebx
nop
mov edx, dword [esi + 0x2c]
xor edx, dword [esi + 0x18]
xor edx, dword [esi - 8]
mov ebx, dword [esi]
xor edx, ebx
mov eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x148]
xor eax, dword [ebp - 0x14c]
rol dword [ebp - 0x14c], 0x1e
add eax, 0x6ed9eba1
rol edx, 1
mov dword [esi + 0x38], edx
rol ecx, 5
add ecx, edx
mov dword [ebp - 0x164], edx
mov edx, dword [esi + 0x30]
add eax, ecx
xor edx, dword [esi + 0x1c]
add edi, eax
xor edx, dword [esi - 4]
mov eax, dword [ebp - 0x148]
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x150]
mov dword [ebp - 0x154], edi
mov edi, dword [esi + 4]
xor edx, edi
mov ecx, dword [ebp - 0x154]
rol edx, 1
rol ecx, 5
add ecx, edx
rol dword [ebp - 0x150], 0x1e
add eax, ecx
mov dword [esi + 0x3c], edx
mov ecx, dword [ebp - 0x158]
mov esi, dword [esi + 8]
add ecx, 0x6ed9eba1
add ecx, eax
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x158], ecx
rol ecx, 5
mov edx, dword [eax + 0x34]
xor edx, dword [eax + 0x20]
xor edx, esi
xor edx, ebx
mov ebx, eax
mov eax, dword [ebp - 0x154]
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x150]
rol dword [ebp - 0x154], 0x1e
rol edx, 1
add ecx, edx
mov dword [ebx + 0x40], edx
mov edx, dword [ebx + 0x24]
add eax, ecx
xor edx, dword [ebx + 0xc]
xor edx, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x148]
xor edx, edi
mov edi, dword [ebp - 0x154]
add ecx, 0x6ed9eba1
add ecx, eax
rol edx, 1
mov dword [ebp - 0x148], ecx
mov eax, edi
xor eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x150]
rol dword [ebp - 0x158], 0x1e
rol ecx, 5
add ecx, edx
mov dword [ebx + 0x44], edx
mov edx, dword [ebx + 0x28]
add eax, ecx
xor edx, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x14c]
xor edx, dword [ebp - 0x168]
add ecx, 0x6ed9eba1
add ecx, eax
xor edx, esi
mov dword [ebp - 0x14c], ecx
rol edx, 1
rol ecx, 5
mov eax, edi
xor eax, dword [ebp - 0x158]
add ecx, edx
xor eax, dword [ebp - 0x148]
mov esi, ebx
add eax, ecx
mov ecx, dword [ebp - 0x150]
add ecx, 0x6ed9eba1
add ecx, eax
mov eax, dword [ebp - 0x148]
mov dword [esi + 0x48], edx
add esi, 0x14
rol eax, 0x1e
sub dword [ebp - 0x160], 1
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x15c], esi
jne 0x100178f0
lea edx, [ebp - 0xdc]
mov dword [ebp - 0x160], 4
mov dword [ebp - 0x15c], edx
jmp 0x10017aa6
mov edi, dword [ebp - 0x154]
mov esi, dword [edx + 0x2c]
xor esi, dword [edx + 0x18]
xor esi, dword [edx - 8]
mov ebx, dword [edx]
xor esi, ebx
rol esi, 1
mov dword [edx + 0x38], esi
mov edx, ecx
mov ecx, eax
rol edx, 5
or ecx, dword [ebp - 0x14c]
and ecx, dword [ebp - 0x158]
and eax, dword [ebp - 0x14c]
or ecx, eax
mov dword [ebp - 0x168], esi
add ecx, esi
lea eax, [edx - 0x70e44324]
add ecx, edi
mov edi, dword [ebp - 0x14c]
add eax, ecx
rol edi, 0x1e
mov ecx, dword [ebp - 0x15c]
mov edx, eax
mov dword [ebp - 0x154], eax
mov eax, edi
mov dword [ebp - 0x14c], edi
rol edx, 5
mov esi, dword [ecx + 0x30]
xor esi, dword [ecx + 0x1c]
xor esi, dword [ecx - 4]
xor esi, dword [ecx + 4]
rol esi, 1
mov dword [ecx + 0x3c], esi
mov ecx, edi
or ecx, dword [ebp - 0x150]
and ecx, dword [ebp - 0x148]
mov edi, dword [ebp - 0x150]
and eax, edi
or eax, ecx
mov dword [ebp - 0x164], esi
add esi, 0x8f1bbcdc
rol edi, 0x1e
add eax, esi
mov dword [ebp - 0x150], edi
add eax, dword [ebp - 0x158]
add eax, edx
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x158], eax
mov esi, dword [edx + 0x34]
xor esi, dword [edx + 0x20]
mov edi, dword [edx + 8]
xor esi, ebx
mov ebx, dword [ebp - 0x154]
xor esi, edi
rol esi, 1
mov ecx, ebx
or ecx, dword [ebp - 0x150]
and ecx, dword [ebp - 0x14c]
mov dword [edx + 0x40], esi
mov edx, eax
mov eax, ebx
rol edx, 5
and eax, dword [ebp - 0x150]
or ecx, eax
rol ebx, 0x1e
add ecx, esi
mov dword [ebp - 0x154], ebx
add ecx, dword [ebp - 0x148]
lea eax, [edx - 0x70e44324]
add eax, ecx
mov ecx, dword [ebp - 0x15c]
mov edx, eax
mov dword [ebp - 0x148], eax
mov esi, dword [ecx + 0x24]
xor esi, dword [ecx + 0xc]
xor esi, dword [ebp - 0x168]
xor esi, dword [ecx + 4]
rol esi, 1
mov dword [ecx + 0x44], esi
mov ecx, ebx
rol edx, 5
or ecx, dword [ebp - 0x158]
mov eax, ebx
and ecx, dword [ebp - 0x150]
add edx, 0x8f1bbcdc
and eax, dword [ebp - 0x158]
or ecx, eax
mov eax, dword [ebp - 0x158]
add ecx, esi
rol eax, 0x1e
add ecx, dword [ebp - 0x14c]
add ecx, edx
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x14c], ecx
mov esi, dword [edx + 0x28]
xor esi, dword [edx + 0x10]
xor esi, dword [ebp - 0x164]
xor esi, edi
rol esi, 1
mov dword [edx + 0x48], esi
mov edx, ecx
mov ecx, eax
rol edx, 5
or ecx, dword [ebp - 0x148]
add edx, 0x8f1bbcdc
and eax, dword [ebp - 0x148]
and ecx, ebx
or ecx, eax
mov eax, dword [ebp - 0x148]
add ecx, esi
rol eax, 0x1e
add ecx, dword [ebp - 0x150]
add ecx, edx
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x15c]
add edx, 0x14
mov dword [ebp - 0x150], ecx
sub dword [ebp - 0x160], 1
mov dword [ebp - 0x15c], edx
jne 0x10017aa0
lea esi, [ebp - 0x8c]
mov dword [ebp - 0x160], 4
mov dword [ebp - 0x15c], esi
jmp 0x10017c9a
mov ecx, dword [ebp - 0x150]
mov edx, dword [esi + 0x2c]
xor edx, dword [esi + 0x18]
xor edx, dword [esi - 8]
mov edi, dword [esi]
xor edx, edi
mov eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x148]
xor eax, dword [ebp - 0x14c]
rol dword [ebp - 0x14c], 0x1e
rol edx, 1
add eax, edx
mov dword [esi + 0x38], edx
add eax, ebx
mov dword [ebp - 0x168], edx
mov edx, dword [esi + 0x30]
xor edx, dword [esi + 0x1c]
xor edx, dword [esi - 4]
mov ebx, dword [esi + 4]
xor edx, ebx
rol ecx, 5
add ecx, 0xca62c1d6
rol edx, 1
add eax, ecx
mov dword [esi + 0x3c], edx
mov dword [ebp - 0x154], eax
mov ecx, eax
mov eax, dword [ebp - 0x148]
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x150]
add eax, edx
mov esi, dword [esi + 8]
add eax, dword [ebp - 0x158]
rol dword [ebp - 0x150], 0x1e
rol ecx, 5
mov dword [ebp - 0x164], edx
add ecx, 0xca62c1d6
add ecx, eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x158], ecx
rol ecx, 5
add ecx, 0xca62c1d6
mov edx, dword [eax + 0x34]
xor edx, dword [eax + 0x20]
xor edx, edi
mov edi, eax
mov eax, dword [ebp - 0x154]
xor edx, esi
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x150]
rol dword [ebp - 0x154], 0x1e
rol edx, 1
add eax, edx
mov dword [edi + 0x40], edx
add eax, dword [ebp - 0x148]
mov edx, dword [edi + 0x24]
add eax, ecx
xor edx, dword [edi + 0xc]
mov ecx, eax
xor edx, dword [ebp - 0x168]
xor edx, ebx
mov dword [ebp - 0x148], eax
mov ebx, dword [ebp - 0x154]
mov eax, ebx
xor eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x150]
rol dword [ebp - 0x158], 0x1e
rol edx, 1
add eax, edx
mov dword [edi + 0x44], edx
mov edx, dword [edi + 0x28]
xor edx, dword [edi + 0x10]
xor edx, dword [ebp - 0x164]
add eax, dword [ebp - 0x14c]
xor edx, esi
rol ecx, 5
mov esi, edi
add ecx, 0xca62c1d6
add eax, ecx
rol edx, 1
mov dword [ebp - 0x14c], eax
mov dword [esi + 0x48], edx
mov edi, dword [ebp - 0x158]
mov ecx, eax
mov eax, ebx
rol ecx, 5
xor eax, edi
add ecx, 0xca62c1d6
xor eax, dword [ebp - 0x148]
add esi, 0x14
add eax, edx
mov dword [ebp - 0x15c], esi
add eax, dword [ebp - 0x150]
add eax, ecx
mov ecx, dword [ebp - 0x148]
rol ecx, 0x1e
sub dword [ebp - 0x160], 1
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x148], ecx
jne 0x10017c94
add eax, dword [ebp - 0x16c]
mov esi, dword [ebp - 0x170]
mov edx, dword [ebp - 0x174]
mov dword [esi], eax
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x14c]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
add eax, ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 8], eax
xor ecx, ebp
mov eax, dword [edx + 0xc]
add eax, edi
mov dword [esi + 0xc], eax
mov eax, dword [edx + 0x10]
add eax, ebx
pop edi
mov dword [esi + 0x10], eax
pop esi
pop ebx
call fcn.100e0010
mov esp, ebp
pop ebp
ret 4