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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x144]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax]
mov ebx, ecx
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
mov dword [ebp - 0x168], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x154], ecx
mov ecx, dword [ebp + 0xc]
sub edx, ecx
mov dword [ebp - 0x164], edx
lea edx, [ebp - 0x140]
sub edx, ecx
mov dword [ebp - 0x150], eax
xor eax, eax
mov dword [ebp - 0x160], edx
lea edx, [ebp - 0x13c]
mov dword [ebp - 0x14c], eax
lea eax, [ecx + 8]
sub edx, ecx
mov dword [ebp - 0x148], eax
xor ecx, ecx
mov dword [ebp - 0x158], edx
mov edx, dword [eax - 8]
mov eax, dword [ebp - 0x154]
mov dword [ebp + ecx*4 - 0x144], edx
xor eax, esi
and eax, edi
mov ecx, ebx
xor eax, dword [ebp - 0x154]
rol ecx, 5
add ecx, edx
rol edi, 0x1e
add eax, ecx
mov edx, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x150]
add ecx, 0x5a827999
add ecx, eax
mov eax, dword [ebp - 0x14c]
mov edx, dword [edx - 4]
mov dword [ebp - 0x150], ecx
rol ecx, 5
mov dword [ebp + eax*4 - 0x140], edx
add ecx, edx
mov eax, esi
xor eax, edi
and eax, ebx
rol ebx, 0x1e
xor eax, esi
add eax, ecx
mov ecx, dword [ebp - 0x154]
add ecx, 0x5a827999
add ecx, eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x154], ecx
mov ecx, dword [ebp - 0x164]
mov edx, dword [eax]
mov dword [ecx + eax], edx
mov eax, edi
mov ecx, dword [ebp - 0x154]
xor eax, ebx
and eax, dword [ebp - 0x150]
add edx, 0x5a827999
rol dword [ebp - 0x150], 0x1e
xor eax, edi
rol ecx, 5
add ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x160]
add esi, eax
mov eax, dword [ebp - 0x148]
mov edx, dword [eax + 4]
mov dword [ecx + eax], edx
mov ecx, esi
mov eax, dword [ebp - 0x150]
add edx, 0x5a827999
xor eax, ebx
rol ecx, 5
and eax, dword [ebp - 0x154]
add ecx, edx
rol dword [ebp - 0x154], 0x1e
xor eax, ebx
add eax, ecx
mov ecx, dword [ebp - 0x158]
add edi, eax
mov eax, dword [ebp - 0x148]
mov edx, dword [eax + 8]
mov dword [ecx + eax], edx
mov ecx, edi
mov eax, dword [ebp - 0x150]
xor eax, dword [ebp - 0x154]
rol ecx, 5
and eax, esi
xor eax, dword [ebp - 0x150]
add ecx, 0x5a827999
add ecx, edx
rol esi, 0x1e
add eax, ecx
mov ecx, dword [ebp - 0x14c]
add ebx, eax
add ecx, 5
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x14c], ecx
add eax, 0x14
mov dword [ebp - 0x148], eax
cmp ecx, 0xf
jb 0x4f2a35
mov dword [ebp - 0x158], esi
mov ecx, ebx
mov esi, dword [ebp + 0xc]
rol ecx, 5
mov dword [ebp - 0x148], ebx
mov ebx, dword [ebp - 0x154]
mov eax, ebx
xor eax, dword [ebp - 0x158]
mov esi, dword [esi + 0x3c]
and eax, edi
mov edx, dword [ebp - 0x148]
xor ebx, eax
mov eax, dword [ebp - 0x158]
add ecx, esi
add ebx, ecx
rol edi, 0x1e
mov ecx, dword [ebp - 0x150]
add ecx, 0x5a827999
mov dword [ebp - 0x14c], edi
xor eax, dword [ebp - 0x14c]
add ebx, ecx
mov edi, dword [ebp - 0x144]
and eax, edx
xor eax, dword [ebp - 0x158]
mov ecx, ebx
xor edi, dword [ebp - 0x13c]
xor edi, dword [ebp - 0x124]
xor edi, dword [ebp - 0x110]
rol ecx, 5
rol edx, 0x1e
mov dword [ebp - 0x148], edx
mov edx, dword [ebp - 0x140]
xor edx, dword [ebp - 0x138]
xor edx, dword [ebp - 0x120]
xor edx, dword [ebp - 0x10c]
rol edi, 1
add ecx, edi
rol edx, 1
add eax, ecx
mov dword [ebp - 0x100], edx
mov ecx, dword [ebp - 0x154]
add ecx, 0x5a827999
mov dword [ebp - 0x108], esi
add eax, ecx
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x154], eax
mov ecx, eax
mov eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x148]
and eax, ebx
rol ecx, 5
xor eax, dword [ebp - 0x14c]
add ecx, edx
mov edx, dword [ebp - 0x134]
add eax, ecx
mov ecx, dword [ebp - 0x158]
xor edx, dword [ebp - 0x11c]
add ecx, 0x5a827999
xor edx, dword [ebp - 0x13c]
add eax, ecx
mov ecx, eax
mov dword [ebp - 0x158], eax
rol ebx, 0x1e
xor edx, esi
mov esi, dword [ebp - 0x154]
mov eax, ebx
xor eax, dword [ebp - 0x148]
rol ecx, 5
and eax, esi
xor eax, dword [ebp - 0x148]
rol edx, 1
add ecx, edx
mov dword [ebp - 0x150], ebx
add eax, ecx
mov dword [ebp - 0xfc], edx
mov ecx, dword [ebp - 0x14c]
add ecx, 0x5a827999
add eax, ecx
rol esi, 0x1e
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x154], esi
mov edx, dword [ebp - 0x130]
mov ecx, eax
xor edx, dword [ebp - 0x118]
mov eax, ebx
xor edx, dword [ebp - 0x138]
xor eax, esi
and eax, dword [ebp - 0x158]
xor edx, edi
rol ecx, 5
xor eax, ebx
rol edx, 1
add ecx, edx
mov dword [ebp - 0xf8], edx
mov edx, dword [ebp - 0x158]
add eax, ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x5a827999
add ecx, eax
rol edx, 0x1e
push 4
pop ebx
lea eax, [ebp - 0x114]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], ebx
jmp 0x4f2d52
mov esi, dword [ebp - 0x154]
mov edi, dword [eax - 0x20]
lea ebx, [eax + 0x14]
xor edi, dword [ebx]
xor edi, dword [eax - 0x18]
xor edi, dword [eax]
rol ecx, 5
rol edi, 1
mov dword [eax + 0x20], edi
add ecx, edi
mov eax, esi
mov esi, dword [ebp - 0x14c]
xor eax, edx
xor eax, esi
rol esi, 0x1e
add eax, ecx
mov dword [ebp - 0x14c], esi
mov ecx, dword [ebp - 0x150]
add ecx, 0x6ed9eba1
add ecx, eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x150], ecx
rol ecx, 5
mov esi, dword [eax - 0x1c]
xor esi, dword [eax + 0x18]
xor esi, dword [eax + 4]
xor esi, dword [eax - 0x14]
rol esi, 1
mov dword [eax + 0x24], esi
add ecx, esi
mov eax, edx
mov edx, dword [ebp - 0x15c]
xor eax, dword [ebp - 0x14c]
xor eax, edx
rol edx, 0x1e
add eax, ecx
mov dword [ebp - 0x15c], edx
mov ecx, dword [ebp - 0x154]
add ecx, 0x6ed9eba1
add ecx, eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x154], ecx
rol ecx, 5
mov edx, dword [eax + 0x1c]
xor edx, dword [eax + 8]
xor edx, dword [eax - 0x10]
xor edx, dword [eax - 0x18]
rol edx, 1
mov dword [eax + 0x28], edx
add ecx, edx
mov eax, dword [ebp - 0x150]
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x148]
add eax, ecx
mov ecx, dword [ebp - 0x158]
add ecx, 0x6ed9eba1
add ecx, eax
mov eax, dword [ebp - 0x150]
mov edx, dword [edx - 0xc]
rol eax, 0x1e
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x158], ecx
rol ecx, 5
xor edx, dword [eax + 0xc]
xor edx, edi
mov edi, eax
mov eax, dword [ebp - 0x150]
xor edx, dword [edi - 0x14]
rol edx, 1
mov dword [edi + 0x2c], edx
add ecx, edx
mov edi, dword [ebp - 0x154]
xor eax, edi
xor eax, dword [ebp - 0x15c]
add eax, ecx
mov ecx, dword [ebp - 0x14c]
add ecx, 0x6ed9eba1
add ecx, eax
rol edi, 0x1e
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp - 0x148]
rol ecx, 5
mov dword [ebp - 0x154], edi
mov edx, dword [eax + 0x10]
xor edx, dword [eax - 8]
xor edx, esi
mov esi, dword [ebp - 0x150]
xor edx, dword [eax - 0x10]
rol edx, 1
mov dword [eax + 0x30], edx
add ecx, edx
mov edx, dword [ebp - 0x158]
mov eax, esi
xor eax, edi
rol edx, 0x1e
xor eax, dword [ebp - 0x158]
add eax, ecx
mov dword [ebp - 0x158], edx
mov ecx, dword [ebp - 0x15c]
add ecx, 0x6ed9eba1
add ecx, eax
dec dword [ebp - 0x160]
mov eax, ebx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x148], eax
jne 0x4f2d4c
lea edx, [ebp - 0xc4]
mov dword [ebp - 0x160], 4
mov dword [ebp - 0x148], edx
mov ebx, dword [edx - 0x20]
lea eax, [edx + 0x14]
xor ebx, dword [eax]
xor ebx, dword [edx - 0x18]
xor ebx, dword [edx]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x158]
rol ebx, 1
mov dword [edx + 0x20], ebx
mov edx, ecx
mov ecx, eax
rol edx, 5
or ecx, dword [ebp - 0x14c]
and eax, dword [ebp - 0x14c]
and ecx, edi
or ecx, eax
add ecx, ebx
lea eax, [edx - 0x70e44324]
add ecx, esi
mov esi, dword [ebp - 0x14c]
add eax, ecx
rol esi, 0x1e
mov ecx, dword [ebp - 0x148]
mov edx, eax
mov dword [ebp - 0x150], eax
mov eax, esi
mov dword [ebp - 0x14c], esi
rol edx, 5
mov edi, dword [ecx - 0x1c]
xor edi, dword [ecx + 0x18]
xor edi, dword [ecx + 4]
xor edi, dword [ecx - 0x14]
rol edi, 1
mov dword [ecx + 0x24], edi
mov ecx, esi
or ecx, dword [ebp - 0x15c]
and ecx, dword [ebp - 0x158]
mov esi, dword [ebp - 0x15c]
and eax, esi
or eax, ecx
rol esi, 0x1e
mov ecx, dword [ebp - 0x148]
add eax, 0x8f1bbcdc
mov dword [ebp - 0x15c], esi
add eax, edi
add eax, dword [ebp - 0x154]
add eax, edx
mov esi, dword [ecx + 0x1c]
mov edx, eax
xor esi, dword [ecx + 8]
xor esi, dword [ecx - 0x10]
xor esi, dword [ecx - 0x18]
rol esi, 1
mov dword [ecx + 0x28], esi
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x150]
mov ecx, eax
or ecx, dword [ebp - 0x15c]
and ecx, dword [ebp - 0x14c]
and eax, dword [ebp - 0x15c]
or ecx, eax
rol edx, 5
mov eax, dword [ebp - 0x150]
add ecx, esi
add ecx, dword [ebp - 0x158]
add edx, 0x8f1bbcdc
add ecx, edx
rol eax, 0x1e
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x150], eax
mov esi, dword [edx - 0xc]
xor esi, dword [edx + 0xc]
xor esi, ebx
mov ebx, dword [ebp - 0x154]
xor esi, dword [edx - 0x14]
rol esi, 1
mov dword [edx + 0x2c], esi
mov edx, ecx
rol edx, 5
mov ecx, eax
or ecx, ebx
and eax, ebx
and ecx, dword [ebp - 0x15c]
or ecx, eax
rol ebx, 0x1e
add ecx, esi
mov dword [ebp - 0x154], ebx
add ecx, dword [ebp - 0x14c]
lea eax, [edx - 0x70e44324]
add eax, ecx
mov ecx, dword [ebp - 0x148]
mov edx, eax
mov dword [ebp - 0x14c], eax
mov eax, ebx
rol edx, 5
add edx, 0x8f1bbcdc
mov esi, dword [ecx + 0x10]
xor esi, dword [ecx - 8]
xor esi, edi
mov edi, dword [ebp - 0x158]
xor esi, dword [ecx - 0x10]
and eax, edi
rol esi, 1
mov dword [ecx + 0x30], esi
mov ecx, ebx
or ecx, edi
rol edi, 0x1e
and ecx, dword [ebp - 0x150]
or ecx, eax
mov dword [ebp - 0x158], edi
add ecx, esi
mov edi, ebx
add ecx, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x150]
add ecx, edx
dec dword [ebp - 0x160]
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x148], edx
jne 0x4f2f02
lea eax, [ebp - 0x74]
mov dword [ebp - 0x148], eax
mov edi, dword [eax - 0x20]
lea ebx, [eax + 0x14]
xor edi, dword [eax]
xor edi, dword [eax - 0x18]
xor edi, dword [ebx]
rol edi, 1
mov dword [eax + 0x20], edi
mov eax, dword [ebp - 0x154]
xor eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x14c]
add eax, edi
rol dword [ebp - 0x14c], 0x1e
add eax, esi
rol ecx, 5
add ecx, 0xca62c1d6
add eax, ecx
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x150], eax
mov esi, dword [ecx - 0x1c]
xor esi, dword [ecx + 0x18]
xor esi, dword [ecx + 4]
xor esi, dword [ecx - 0x14]
rol esi, 1
mov dword [ecx + 0x24], esi
mov ecx, eax
mov eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x15c]
add eax, esi
rol dword [ebp - 0x15c], 0x1e
add eax, dword [ebp - 0x154]
rol ecx, 5
add ecx, 0xca62c1d6
add eax, ecx
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x154], eax
mov edx, dword [ecx + 0x1c]
xor edx, dword [ecx + 8]
xor edx, dword [ecx - 0x10]
xor edx, dword [ecx - 0x18]
rol edx, 1
mov dword [ecx + 0x28], edx
mov ecx, eax
mov eax, dword [ebp - 0x150]
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x15c]
add eax, 0xca62c1d6
rol ecx, 5
add eax, edx
mov edx, dword [ebp - 0x148]
add eax, dword [ebp - 0x158]
add ecx, eax
mov eax, dword [ebp - 0x150]
rol eax, 0x1e
mov edx, dword [edx - 0xc]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x158], ecx
rol ecx, 5
add ecx, 0xca62c1d6
xor edx, dword [eax + 0xc]
xor edx, edi
mov edi, eax
mov eax, dword [ebp - 0x150]
xor edx, dword [edi - 0x14]
rol edx, 1
mov dword [edi + 0x2c], edx
mov edi, dword [ebp - 0x154]
xor eax, edi
xor eax, dword [ebp - 0x15c]
add eax, edx
rol edi, 0x1e
add eax, dword [ebp - 0x14c]
add eax, ecx
mov dword [ebp - 0x154], edi
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], eax
mov edx, dword [ecx + 0x10]
xor edx, dword [ecx - 8]
xor edx, esi
xor edx, dword [ecx - 0x10]
mov esi, dword [ebp - 0x150]
rol edx, 1
mov dword [ecx + 0x30], edx
mov ecx, eax
mov eax, esi
rol ecx, 5
xor eax, edi
xor eax, dword [ebp - 0x158]
add eax, 0xca62c1d6
add eax, edx
mov edx, dword [ebp - 0x158]
add eax, dword [ebp - 0x15c]
add ecx, eax
rol edx, 0x1e
dec dword [ebp - 0x164]
mov eax, ebx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x148], eax
jne 0x4f30d0
mov ebx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x168]
add eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ebx], eax
mov eax, dword [ecx + 4]
add eax, dword [ebp - 0x14c]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 8]
add eax, edx
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0xc]
add eax, edi
mov dword [ebx + 0xc], eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 4]
add eax, esi
pop edi
pop esi
mov dword [ebx + 0x10], eax
xor ecx, ebp
pop ebx
call fcn.00453c72
mov esp, ebp
pop ebp
ret