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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x6807dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x168], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x170], ecx
push ebx
mov ecx, dword [eax]
mov ebx, ecx
mov dword [ebp - 0x16c], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x150], ecx
xor ecx, ecx
mov dword [ebp - 0x154], ecx
lea ecx, [ebp - 0x144]
sub ecx, edx
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x164], ecx
lea ecx, [ebp - 0x140]
sub ecx, edx
push esi
mov esi, dword [eax + 8]
mov dword [ebp - 0x160], ecx
lea ecx, [ebp - 0x13c]
push edi
mov edi, dword [eax + 4]
sub ecx, edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14c], eax
lea eax, [edx + 8]
mov dword [ebp - 0x15c], ecx
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], eax
mov edx, dword [eax - 8]
mov eax, dword [ebp - 0x150]
mov dword [ebp + ecx*4 - 0x144], edx
xor eax, esi
and eax, edi
mov ecx, ebx
xor eax, dword [ebp - 0x150]
rol ecx, 5
add ecx, edx
rol edi, 0x1e
add eax, ecx
mov edx, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x14c]
add ecx, 0x5a827999
add ecx, eax
mov eax, dword [ebp - 0x154]
mov edx, dword [edx - 4]
mov dword [ebp - 0x14c], 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 - 0x150]
add ecx, 0x5a827999
add ecx, eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x150], ecx
mov ecx, dword [ebp - 0x164]
mov edx, dword [eax]
mov dword [ecx + eax], edx
mov eax, edi
mov ecx, dword [ebp - 0x150]
xor eax, ebx
and eax, dword [ebp - 0x14c]
add edx, 0x5a827999
rol dword [ebp - 0x14c], 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 - 0x158]
mov edx, dword [eax + 4]
mov dword [ecx + eax], edx
mov ecx, esi
mov eax, dword [ebp - 0x14c]
add edx, 0x5a827999
xor eax, ebx
rol ecx, 5
and eax, dword [ebp - 0x150]
add ecx, edx
rol dword [ebp - 0x150], 0x1e
xor eax, ebx
add eax, ecx
mov ecx, dword [ebp - 0x15c]
add edi, eax
mov eax, dword [ebp - 0x158]
mov edx, dword [eax + 8]
mov dword [ecx + eax], edx
mov ecx, edi
mov eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x150]
rol ecx, 5
and eax, esi
xor eax, dword [ebp - 0x14c]
add ecx, 0x5a827999
add ecx, edx
rol esi, 0x1e
add eax, ecx
mov ecx, dword [ebp - 0x154]
add ebx, eax
add ecx, 5
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x154], ecx
add eax, 0x14
mov dword [ebp - 0x158], eax
cmp ecx, 0xf
jb 0x5a5bb3
mov dword [ebp - 0x15c], esi
mov ecx, ebx
mov esi, dword [ebp - 0x168]
rol ecx, 5
mov dword [ebp - 0x148], ebx
mov ebx, dword [ebp - 0x150]
mov eax, ebx
xor eax, dword [ebp - 0x15c]
mov esi, dword [esi + 0x3c]
and eax, edi
mov edx, dword [ebp - 0x148]
add ecx, esi
xor ebx, eax
rol edi, 0x1e
mov eax, dword [ebp - 0x15c]
add ebx, ecx
mov ecx, dword [ebp - 0x14c]
add ecx, 0x5a827999
mov dword [ebp - 0x154], edi
xor eax, dword [ebp - 0x154]
add ebx, ecx
mov edi, dword [ebp - 0x144]
and eax, edx
xor edi, dword [ebp - 0x13c]
mov ecx, ebx
xor eax, dword [ebp - 0x15c]
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 - 0x108], esi
mov ecx, dword [ebp - 0x150]
xor esi, dword [ebp - 0x134]
add ecx, 0x5a827999
xor esi, dword [ebp - 0x11c]
add eax, ecx
xor esi, dword [ebp - 0x13c]
mov ecx, eax
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x154]
xor eax, dword [ebp - 0x148]
rol ecx, 5
and eax, ebx
xor eax, dword [ebp - 0x154]
mov dword [ebp - 0x100], edx
add edx, ecx
mov ecx, dword [ebp - 0x15c]
add edx, eax
add ecx, 0x5a827999
rol ebx, 0x1e
add edx, ecx
rol esi, 1
mov eax, ebx
mov dword [ebp - 0x104], edi
xor eax, dword [ebp - 0x148]
mov ecx, edx
and eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x148]
xor edi, dword [ebp - 0x130]
xor edi, dword [ebp - 0x118]
rol ecx, 5
add ecx, esi
mov dword [ebp - 0xfc], esi
mov esi, dword [ebp - 0x14c]
add eax, ecx
mov ecx, dword [ebp - 0x154]
add ecx, 0x5a827999
rol esi, 0x1e
add eax, ecx
mov dword [ebp - 0x14c], esi
xor edi, dword [ebp - 0x138]
mov dword [ebp - 0x158], eax
mov ecx, eax
rol edi, 1
rol ecx, 5
mov eax, ebx
xor eax, esi
mov dword [ebp - 0xf8], edi
and eax, edx
add ecx, edi
xor eax, ebx
add eax, ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x5a827999
add ecx, eax
rol edx, 0x1e
push 4
mov dword [ebp - 0x150], edx
lea edx, [ebp - 0x12c]
pop eax
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x15c], eax
mov edi, dword [edx + 0x2c]
mov eax, esi
xor edi, dword [edx + 0x18]
xor edi, dword [edx - 8]
xor eax, dword [ebp - 0x150]
xor edi, dword [edx]
mov esi, dword [ebp - 0x158]
xor eax, esi
rol ecx, 5
add ecx, 0x6ed9eba1
rol esi, 0x1e
mov dword [ebp - 0x158], esi
mov esi, dword [edx + 0x30]
xor esi, dword [edx + 0x1c]
xor esi, dword [edx - 4]
xor esi, dword [edx + 4]
rol edi, 1
add ecx, edi
rol esi, 1
add eax, ecx
mov dword [edx + 0x38], edi
add ebx, eax
mov dword [edx + 0x3c], esi
mov eax, dword [ebp - 0x150]
mov ecx, ebx
xor eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x148]
mov edx, dword [edx + 0x34]
rol ecx, 5
add ecx, esi
rol dword [ebp - 0x148], 0x1e
add eax, ecx
mov ecx, dword [ebp - 0x14c]
add ecx, 0x6ed9eba1
add ecx, eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x14c], ecx
rol ecx, 5
xor edx, dword [eax + 0x20]
xor edx, dword [eax + 8]
xor edx, dword [eax]
rol edx, 1
mov dword [eax + 0x40], edx
add ecx, edx
mov eax, ebx
rol ebx, 0x1e
xor eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x148]
add eax, ecx
mov ecx, dword [ebp - 0x150]
add ecx, 0x6ed9eba1
add ecx, eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x150], ecx
rol ecx, 5
mov edx, dword [eax + 0x24]
xor edx, dword [eax + 0xc]
xor edx, edi
mov edi, eax
mov eax, ebx
xor eax, dword [ebp - 0x14c]
xor eax, dword [ebp - 0x148]
xor edx, dword [edi + 4]
rol dword [ebp - 0x14c], 0x1e
rol edx, 1
add ecx, edx
mov dword [edi + 0x44], edx
mov edx, dword [edi + 0x28]
add eax, ecx
xor edx, dword [edi + 0x10]
mov ecx, dword [ebp - 0x158]
xor edx, esi
xor edx, dword [edi + 8]
add ecx, 0x6ed9eba1
mov esi, dword [ebp - 0x14c]
add ecx, eax
rol edx, 1
mov eax, ebx
mov dword [ebp - 0x158], ecx
mov dword [edi + 0x48], edx
rol ecx, 5
mov edi, dword [ebp - 0x150]
add ecx, edx
mov edx, dword [ebp - 0x154]
xor eax, esi
xor eax, edi
add edx, 0x14
add eax, ecx
rol edi, 0x1e
mov ecx, dword [ebp - 0x148]
add ecx, 0x6ed9eba1
mov dword [ebp - 0x150], edi
add ecx, eax
mov dword [ebp - 0x154], edx
sub dword [ebp - 0x15c], 1
mov dword [ebp - 0x148], ecx
jne 0x5a5eb5
lea eax, [ebp - 0xdc]
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x160], 4
jmp 0x5a6044
mov esi, dword [ebp - 0x14c]
mov ebx, dword [eax + 0x2c]
xor ebx, dword [eax + 0x18]
xor ebx, dword [eax - 8]
xor ebx, dword [eax]
mov edx, dword [ebp - 0x154]
rol ebx, 1
mov dword [eax + 0x38], ebx
mov eax, ecx
mov ecx, edi
rol eax, 5
or ecx, dword [ebp - 0x158]
and edi, dword [ebp - 0x158]
and ecx, esi
or ecx, edi
mov edi, dword [edx + 0x30]
xor edi, dword [edx + 0x1c]
add ecx, 0x8f1bbcdc
xor edi, dword [edx - 4]
add ecx, ebx
add ecx, dword [ebp - 0x15c]
xor edi, dword [edx + 4]
add eax, ecx
mov ecx, dword [ebp - 0x158]
rol ecx, 0x1e
mov dword [ebp - 0x158], ecx
or ecx, dword [ebp - 0x148]
and ecx, dword [ebp - 0x150]
mov dword [ebp - 0x15c], eax
rol edi, 1
mov dword [edx + 0x3c], edi
mov edx, eax
mov eax, dword [ebp - 0x158]
and eax, dword [ebp - 0x148]
or eax, ecx
rol dword [ebp - 0x148], 0x1e
mov ecx, dword [ebp - 0x154]
add eax, 0x8f1bbcdc
add eax, edi
rol edx, 5
add eax, esi
add eax, edx
mov esi, dword [ecx + 0x34]
mov edx, eax
xor esi, dword [ecx + 0x20]
xor esi, dword [ecx + 8]
xor esi, dword [ecx]
rol esi, 1
mov dword [ecx + 0x40], esi
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x15c]
mov ecx, eax
or ecx, dword [ebp - 0x148]
and ecx, dword [ebp - 0x158]
and eax, dword [ebp - 0x148]
or ecx, eax
rol dword [ebp - 0x15c], 0x1e
add ecx, esi
rol edx, 5
add ecx, dword [ebp - 0x150]
lea eax, [edx - 0x70e44324]
add eax, ecx
mov ecx, dword [ebp - 0x154]
mov edx, eax
mov dword [ebp - 0x150], eax
rol edx, 5
mov esi, dword [ecx + 0x24]
xor esi, dword [ecx + 0xc]
xor esi, ebx
mov ebx, dword [ebp - 0x15c]
xor esi, dword [ecx + 4]
mov eax, ebx
and eax, dword [ebp - 0x14c]
rol esi, 1
mov dword [ecx + 0x44], esi
mov ecx, ebx
or ecx, dword [ebp - 0x14c]
and ecx, dword [ebp - 0x148]
or ecx, eax
add ecx, esi
add ecx, dword [ebp - 0x158]
add edx, 0x8f1bbcdc
mov eax, dword [ebp - 0x14c]
add ecx, edx
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x158], ecx
rol eax, 0x1e
mov dword [ebp - 0x14c], eax
mov esi, dword [edx + 0x28]
xor esi, dword [edx + 0x10]
xor esi, edi
mov edi, dword [ebp - 0x150]
xor esi, dword [edx + 8]
rol esi, 1
mov dword [edx + 0x48], esi
mov edx, ecx
mov ecx, eax
rol edx, 5
or ecx, edi
and eax, edi
and ecx, ebx
rol edi, 0x1e
or ecx, eax
mov dword [ebp - 0x150], edi
mov eax, dword [ebp - 0x154]
add ecx, 0x8f1bbcdc
add ecx, esi
add eax, 0x14
add ecx, dword [ebp - 0x148]
add ecx, edx
mov dword [ebp - 0x154], eax
sub dword [ebp - 0x160], 1
mov dword [ebp - 0x148], ecx
jne 0x5a603e
lea eax, [ebp - 0x8c]
mov esi, edi
mov dword [ebp - 0x154], eax
mov edi, dword [eax + 0x2c]
xor edi, dword [eax + 0x18]
xor edi, dword [eax - 8]
xor edi, dword [eax]
rol ecx, 5
rol edi, 1
mov dword [eax + 0x38], edi
mov eax, dword [ebp - 0x14c]
xor eax, esi
mov esi, dword [ebp - 0x158]
xor eax, esi
rol esi, 0x1e
add eax, edi
mov dword [ebp - 0x158], esi
add eax, ebx
lea ebx, [ecx - 0x359d3e2a]
add ebx, eax
mov eax, dword [ebp - 0x154]
mov ecx, ebx
rol ecx, 5
add ecx, 0xca62c1d6
mov esi, dword [eax + 0x30]
xor esi, dword [eax + 0x1c]
xor esi, dword [eax - 4]
xor esi, dword [eax + 4]
rol esi, 1
mov dword [eax + 0x3c], esi
mov eax, dword [ebp - 0x150]
xor eax, dword [ebp - 0x158]
xor eax, dword [ebp - 0x148]
add eax, esi
rol dword [ebp - 0x148], 0x1e
add eax, dword [ebp - 0x14c]
add eax, ecx
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x14c], eax
mov edx, dword [ecx + 0x34]
xor edx, dword [ecx + 0x20]
xor edx, dword [ecx + 8]
xor edx, dword [ecx]
rol edx, 1
mov dword [ecx + 0x40], edx
mov ecx, eax
rol ecx, 5
mov eax, ebx
xor eax, dword [ebp - 0x158]
add ecx, 0xca62c1d6
xor eax, dword [ebp - 0x148]
add eax, edx
rol ebx, 0x1e
add eax, dword [ebp - 0x150]
add eax, ecx
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x150], eax
mov edx, dword [ecx + 0x24]
xor edx, dword [ecx + 0xc]
xor edx, edi
mov edi, dword [ebp - 0x14c]
xor edx, dword [ecx + 4]
rol edx, 1
mov dword [ecx + 0x44], edx
mov ecx, eax
mov eax, ebx
rol ecx, 5
xor eax, edi
add ecx, 0xca62c1d6
xor eax, dword [ebp - 0x148]
add eax, edx
rol edi, 0x1e
add eax, dword [ebp - 0x158]
add eax, ecx
mov dword [ebp - 0x14c], edi
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], eax
mov edx, dword [ecx + 0x28]
xor edx, dword [ecx + 0x10]
xor edx, esi
xor edx, dword [ecx + 8]
rol edx, 1
mov dword [ecx + 0x48], edx
mov ecx, eax
mov esi, dword [ebp - 0x150]
mov eax, ebx
xor eax, edi
rol ecx, 5
xor eax, esi
rol esi, 0x1e
add eax, 0xca62c1d6
mov dword [ebp - 0x150], esi
add eax, edx
add eax, dword [ebp - 0x148]
add ecx, eax
mov eax, dword [ebp - 0x154]
add eax, 0x14
mov dword [ebp - 0x148], ecx
sub dword [ebp - 0x164], 1
mov dword [ebp - 0x154], eax
jne 0x5a6204
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x16c]
add eax, ecx
mov ecx, dword [ebp - 0x174]
mov dword [edx], eax
mov eax, dword [ecx + 4]
add eax, dword [ebp - 0x158]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
add eax, esi
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
add eax, edi
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 4]
add eax, ebx
pop edi
pop esi
xor ecx, ebp
mov dword [edx + 0x10], eax
pop ebx
call fcn.0055cf54
leave
ret 4