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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov eax, dword [0x4fa078]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x170], eax
mov eax, dword [ecx]
mov dword [ebp - 0x16c], eax
push ebx
push esi
mov esi, eax
lea ebx, [edx + 8]
mov eax, dword [ecx + 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 - 0x160], eax
lea eax, [ebp - 0x140]
sub eax, edx
push edi
mov edi, dword [ecx + 4]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x154], ecx
xor ecx, ecx
sub eax, edx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x150], eax
mov edx, dword [ebx - 8]
lea eax, [ebp - 0x144]
mov dword [eax + ecx*4], edx
lea ebx, [ebx + 0x14]
mov eax, dword [ebp - 0x14c]
mov ecx, esi
xor eax, dword [ebp - 0x148]
and eax, edi
rol ecx, 5
xor eax, dword [ebp - 0x14c]
add ecx, edx
add eax, ecx
mov edx, dword [ebx - 0x18]
mov ecx, dword [ebp - 0x154]
add ecx, 0x5a827999
rol edi, 0x1e
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 - 0x158]
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 - 0x150]
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
mov dword [ebp - 0x15c], ecx
cmp ecx, 0xf
jb 0x480322
mov eax, dword [ebp - 0x14c]
mov ecx, esi
xor eax, edx
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x144]
and eax, edi
xor eax, dword [ebp - 0x14c]
xor edx, dword [ebp - 0x13c]
mov ebx, dword [ebx + 0x3c]
xor edx, dword [ebp - 0x124]
xor edx, dword [ebp - 0x110]
rol ecx, 5
add ecx, ebx
rol edx, 1
add eax, ecx
rol edi, 0x1e
mov ecx, dword [ebp - 0x154]
add ecx, 0x5a827999
mov dword [ebp - 0x160], edx
add eax, ecx
mov dword [ebp - 0x104], edx
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 - 0x15c], edi
mov edx, dword [ebp - 0x140]
and eax, esi
xor eax, dword [ebp - 0x148]
xor edx, dword [ebp - 0x138]
add eax, ecx
mov ecx, dword [ebp - 0x14c]
xor edx, dword [ebp - 0x120]
add ecx, 0x5a827999
xor edx, dword [ebp - 0x10c]
add eax, ecx
mov dword [ebp - 0x14c], 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
mov edi, dword [ebp - 0x154]
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 - 0x108], ebx
mov ecx, eax
mov dword [ebp - 0x158], eax
xor edx, ebx
rol ecx, 5
xor edx, dword [ebp - 0x13c]
mov eax, edi
mov ebx, dword [ebp - 0x14c]
xor eax, esi
and eax, ebx
rol edx, 1
add ecx, edx
mov dword [ebp - 0xfc], edx
mov edx, dword [ebp - 0x130]
xor eax, esi
add eax, ecx
rol ebx, 0x1e
mov ecx, dword [ebp - 0x15c]
add ecx, 0x5a827999
mov dword [ebp - 0x150], esi
add eax, ecx
mov dword [ebp - 0x14c], ebx
xor edx, dword [ebp - 0x118]
mov dword [ebp - 0x148], eax
xor edx, dword [ebp - 0x138]
mov ecx, eax
xor edx, dword [ebp - 0x160]
mov eax, edi
xor eax, ebx
rol ecx, 5
mov ebx, dword [ebp - 0x158]
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 - 0x158], ebx
mov edx, dword [esi + 0x2c]
xor edx, dword [esi + 0x18]
xor edx, dword [esi - 8]
xor edx, dword [esi]
mov eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x148]
rol dword [ebp - 0x148], 0x1e
add eax, 0x6ed9eba1
rol edx, 1
mov dword [esi + 0x38], edx
mov dword [ebp - 0x164], edx
rol ecx, 5
add ecx, edx
mov edx, dword [esi + 0x30]
xor edx, dword [esi + 0x1c]
add eax, ecx
xor edx, dword [esi - 4]
add edi, eax
xor edx, dword [esi + 4]
mov ecx, edi
mov eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x148]
xor eax, dword [ebp - 0x150]
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 - 0x14c]
add ecx, 0x6ed9eba1
mov dword [ebp - 0x168], edx
add ecx, eax
mov dword [ebp - 0x154], edi
mov eax, dword [ebp - 0x15c]
mov ebx, eax
rol dword [ebp - 0x154], 0x1e
mov dword [ebp - 0x14c], ecx
rol ecx, 5
mov edx, dword [eax + 0x34]
xor edx, dword [eax + 0x20]
mov eax, edi
xor edx, dword [esi + 8]
xor edx, dword [esi]
xor eax, dword [ebp - 0x148]
xor eax, dword [ebp - 0x150]
mov edi, dword [ebp - 0x154]
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]
xor edx, dword [esi + 4]
mov ecx, dword [ebp - 0x158]
add ecx, 0x6ed9eba1
rol edx, 1
add ecx, eax
mov dword [ebx + 0x44], edx
mov dword [ebp - 0x158], ecx
mov eax, edi
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x150]
rol dword [ebp - 0x14c], 0x1e
rol ecx, 5
add ecx, edx
mov edx, dword [ebx + 0x28]
xor edx, dword [ebx + 0x10]
add eax, ecx
xor edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x148]
xor edx, dword [esi + 8]
add ecx, 0x6ed9eba1
mov esi, ebx
rol edx, 1
add ecx, eax
mov dword [ebp - 0x148], ecx
rol ecx, 5
mov dword [esi + 0x48], edx
mov eax, edi
add ecx, edx
xor eax, dword [ebp - 0x14c]
add esi, 0x14
xor eax, dword [ebp - 0x158]
add eax, ecx
mov dword [ebp - 0x15c], esi
mov ecx, dword [ebp - 0x150]
add ecx, 0x6ed9eba1
add ecx, eax
mov eax, dword [ebp - 0x158]
rol eax, 0x1e
sub dword [ebp - 0x160], 1
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x158], eax
jne 0x480620
lea edx, [ebp - 0xdc]
mov dword [ebp - 0x160], 4
mov dword [ebp - 0x15c], edx
nop dword [eax]
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 - 0x148]
and ecx, dword [ebp - 0x14c]
and eax, dword [ebp - 0x148]
or ecx, eax
mov dword [ebp - 0x168], esi
add ecx, esi
lea eax, [edx - 0x70e44324]
add ecx, edi
mov edi, dword [ebp - 0x148]
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 - 0x148], 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 - 0x158]
mov edi, dword [ebp - 0x150]
and eax, edi
or eax, ecx
mov dword [ebp - 0x164], esi
mov ecx, dword [ebp - 0x15c]
add esi, 0x8f1bbcdc
add eax, esi
rol edi, 0x1e
add eax, dword [ebp - 0x14c]
add eax, edx
mov dword [ebp - 0x150], edi
mov esi, dword [ecx + 0x34]
mov edx, eax
xor esi, dword [ecx + 0x20]
mov edi, dword [ecx + 8]
xor esi, ebx
mov ebx, dword [ebp - 0x154]
xor esi, edi
rol esi, 1
mov dword [ecx + 0x40], esi
mov ecx, ebx
or ecx, dword [ebp - 0x150]
and ecx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], eax
mov eax, ebx
and eax, dword [ebp - 0x150]
or ecx, eax
rol edx, 5
add ecx, esi
rol ebx, 0x1e
add ecx, dword [ebp - 0x158]
mov dword [ebp - 0x154], ebx
lea eax, [edx - 0x70e44324]
add eax, ecx
mov ecx, dword [ebp - 0x15c]
mov edx, eax
mov dword [ebp - 0x158], 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 - 0x14c]
mov eax, ebx
and ecx, dword [ebp - 0x150]
mov ebx, dword [ebp - 0x14c]
and eax, ebx
or ecx, eax
rol ebx, 0x1e
add ecx, esi
mov dword [ebp - 0x14c], 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 eax, ebx
rol edx, 5
and eax, dword [ebp - 0x158]
add edx, 0x8f1bbcdc
mov esi, dword [ecx + 0x28]
xor esi, dword [ecx + 0x10]
xor esi, dword [ebp - 0x164]
xor esi, edi
mov edi, dword [ebp - 0x154]
rol esi, 1
mov dword [ecx + 0x48], esi
mov ecx, ebx
or ecx, dword [ebp - 0x158]
and ecx, edi
or ecx, eax
mov eax, dword [ebp - 0x158]
add ecx, esi
rol eax, 0x1e
add ecx, dword [ebp - 0x150]
add ecx, edx
mov dword [ebp - 0x158], 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 0x4807c0
lea esi, [ebp - 0x8c]
mov dword [ebp - 0x160], 4
mov dword [ebp - 0x15c], esi
jmp 0x4809b8
mov ecx, dword [ebp - 0x150]
mov edx, dword [esi + 0x2c]
xor edx, dword [esi + 0x18]
xor edx, dword [esi - 8]
xor edx, dword [esi]
mov eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x148]
rol dword [ebp - 0x148], 0x1e
rol edx, 1
add eax, edx
mov dword [esi + 0x38], edx
add eax, edi
mov dword [ebp - 0x168], edx
mov edx, dword [esi + 0x30]
xor edx, dword [esi + 0x1c]
xor edx, dword [esi - 4]
xor edx, dword [esi + 4]
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 - 0x158]
xor eax, dword [ebp - 0x148]
xor eax, dword [ebp - 0x150]
add eax, edx
rol dword [ebp - 0x150], 0x1e
add eax, dword [ebp - 0x14c]
rol ecx, 5
mov dword [ebp - 0x164], edx
add ecx, 0xca62c1d6
add ecx, eax
mov eax, dword [ebp - 0x15c]
mov ebx, eax
mov dword [ebp - 0x14c], ecx
rol ecx, 5
add ecx, 0xca62c1d6
mov edx, dword [eax + 0x34]
xor edx, dword [eax + 0x20]
xor edx, dword [esi + 8]
xor edx, dword [esi]
mov eax, dword [ebp - 0x154]
xor eax, dword [ebp - 0x148]
xor eax, dword [ebp - 0x150]
rol dword [ebp - 0x154], 0x1e
mov edi, dword [ebp - 0x154]
rol edx, 1
add eax, edx
mov dword [ebx + 0x40], edx
add eax, dword [ebp - 0x158]
mov edx, dword [ebx + 0x24]
add eax, ecx
xor edx, dword [ebx + 0xc]
mov ecx, eax
xor edx, dword [ebp - 0x168]
xor edx, dword [esi + 4]
mov dword [ebp - 0x158], eax
mov eax, edi
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x150]
rol dword [ebp - 0x14c], 0x1e
rol edx, 1
add eax, edx
mov dword [ebx + 0x44], edx
mov edx, dword [ebx + 0x28]
xor edx, dword [ebx + 0x10]
xor edx, dword [ebp - 0x164]
add eax, dword [ebp - 0x148]
xor edx, dword [esi + 8]
mov esi, ebx
rol ecx, 5
add ecx, 0xca62c1d6
rol edx, 1
add eax, ecx
mov ecx, eax
mov dword [ebp - 0x148], eax
mov dword [esi + 0x48], edx
mov eax, edi
rol ecx, 5
mov ebx, dword [ebp - 0x14c]
add ecx, 0xca62c1d6
xor eax, ebx
add esi, 0x14
xor eax, dword [ebp - 0x158]
add eax, edx
mov dword [ebp - 0x15c], esi
add eax, dword [ebp - 0x150]
add eax, ecx
mov ecx, dword [ebp - 0x158]
rol ecx, 0x1e
sub dword [ebp - 0x160], 1
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x158], ecx
jne 0x4809b2
add eax, dword [ebp - 0x16c]
mov esi, dword [ebp - 0x170]
mov edx, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x148]
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, ebx
mov dword [esi + 0xc], eax
mov eax, dword [edx + 0x10]
add eax, edi
pop edi
mov dword [esi + 0x10], eax
pop esi
pop ebx
call fcn.0044b7d5
mov esp, ebp
pop ebp
ret