Function at 0x459dac
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
lea edx, [esp + 0x20]
mov eax, dword [esp]
add eax, 0x1c
mov ecx, 0x40
call fcn.00403050
mov esi, 0x10
lea ebx, [esp + 0x20]
mov eax, dword [ebx]
call fcn.00459d84
mov dword [ebx], eax
add ebx, 4
dec esi
jne 0x459dd6
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.00459d48
mov dword [ebx + 0xc], eax
add ebx, 4
dec esi
jne 0x459dee
mov ebx, dword [esp]
mov ebx, dword [ebx]
mov edi, dword [esp]
mov edi, dword [edi + 4]
mov ebp, dword [esp]
mov ebp, dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
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.00459d60
push eax
mov edx, 5
mov eax, ebx
call fcn.00459d48
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.00459d48
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x10], 4
dec esi
jne 0x459e3e
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.00459d6c
push eax
mov edx, 5
mov eax, ebx
call fcn.00459d48
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.00459d48
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x14], 4
dec esi
jne 0x459ea4
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.00459d74
push eax
mov edx, 5
mov eax, ebx
call fcn.00459d48
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.00459d48
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x18], 4
dec esi
jne 0x459f0d
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.00459d6c
push eax
mov edx, 5
mov eax, ebx
call fcn.00459d48
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.00459d48
mov ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0xc]
add dword [esp + 0x1c], 4
dec esi
jne 0x459f76
mov eax, dword [esp]
add dword [eax], ebx
mov eax, dword [esp]
add dword [eax + 4], edi
mov eax, dword [esp]
add dword [eax + 8], ebp
mov eax, dword [esp]
mov edx, dword [esp + 4]
add dword [eax + 0xc], edx
mov eax, dword [esp]
mov edx, dword [esp + 8]
add dword [eax + 0x10], edx
lea eax, [esp + 0x20]
xor ecx, ecx
mov edx, 0x140
call fcn.0040357c
mov eax, dword [esp]
add eax, 0x1c
xor ecx, ecx
mov edx, 0x40
call fcn.0040357c
add esp, 0x160
pop ebp
pop edi
pop esi
pop ebx
ret