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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffea0
mov dword [esp], eax
push 0x4f
lea ecx, [esp + 0x24]
mov eax, dword [esp + 4]
add eax, 8
mov edx, 0x3f
call fcn.00473728
mov esi, 0x10
lea ebx, [esp + 0x20]
mov eax, dword [ebx]
call fcn.004746e0
mov dword [ebx], eax
add ebx, 4
dec esi
jne 0x474771
mov esi, 0x40
lea ebx, [esp + 0x54]
mov eax, dword [ebx]
xor eax, dword [ebx - 0x14]
xor eax, dword [ebx - 0x2c]
xor eax, dword [ebx - 0x34]
mov edx, 1
call fcn.0047472c
mov dword [ebx + 0xc], eax
add ebx, 4
dec esi
jne 0x474789
mov ebx, dword [esp]
mov ebx, dword [ebx + 0x4c]
mov edi, dword [esp]
mov edi, dword [edi + 0x50]
mov ebp, dword [esp]
mov ebp, dword [ebp + 0x54]
mov eax, dword [esp]
mov eax, dword [eax + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x5c]
mov dword [esp + 8], eax
mov esi, 0x14
lea eax, [esp + 0x20]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 4]
mov edx, ebp
mov eax, edi
call fcn.00474708
push eax
mov edx, 5
mov eax, ebx
call fcn.0047472c
pop edx
add edx, eax
add edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
add edx, dword [eax]
add edx, 0x5a827999
mov dword [esp + 0xc], edx
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov edx, 0x1e
mov eax, edi
call fcn.0047472c
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x10], 4
dec esi
jne 0x4747da
mov esi, 0x14
lea eax, [esp + 0x70]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 4]
mov edx, ebp
mov eax, edi
call fcn.00474714
push eax
mov edx, 5
mov eax, ebx
call fcn.0047472c
pop edx
add edx, eax
add edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
add edx, dword [eax]
add edx, 0x6ed9eba1
mov dword [esp + 0xc], edx
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov edx, 0x1e
mov eax, edi
call fcn.0047472c
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x14], 4
dec esi
jne 0x474840
mov esi, 0x14
lea eax, [esp + 0xc0]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 4]
mov edx, ebp
mov eax, edi
call fcn.0047471c
push eax
mov edx, 5
mov eax, ebx
call fcn.0047472c
pop edx
add edx, eax
add edx, dword [esp + 8]
mov eax, dword [esp + 0x18]
add edx, dword [eax]
add edx, 0x8f1bbcdc
mov dword [esp + 0xc], edx
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov edx, 0x1e
mov eax, edi
call fcn.0047472c
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x18], 4
dec esi
jne 0x4748a9
mov esi, 0x14
lea eax, [esp + 0x110]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 4]
mov edx, ebp
mov eax, edi
call fcn.00474714
push eax
mov edx, 5
mov eax, ebx
call fcn.0047472c
pop edx
add edx, eax
add edx, dword [esp + 8]
mov eax, dword [esp + 0x1c]
add edx, dword [eax]
add edx, 0xca62c1d6
mov dword [esp + 0xc], edx
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov edx, 0x1e
mov eax, edi
call fcn.0047472c
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x1c], 4
dec esi
jne 0x474912
mov eax, dword [esp]
add dword [eax + 0x4c], ebx
mov eax, dword [esp]
add dword [eax + 0x50], edi
mov eax, dword [esp]
add dword [eax + 0x54], ebp
mov eax, dword [esp]
mov edx, dword [esp + 4]
add dword [eax + 0x58], edx
mov eax, dword [esp]
mov edx, dword [esp + 8]
add dword [eax + 0x5c], edx
mov eax, 0x50
lea edx, [esp + 0x20]
xor ecx, ecx
mov dword [edx], ecx
add edx, 4
dec eax
jne 0x47499a
mov eax, 0x40
mov edx, dword [esp]
add edx, 8
mov byte [edx], 0
inc edx
dec eax
jne 0x4749af
add esp, 0x160
pop ebp
pop edi
pop esi
pop ebx
ret