Function at 0x45b814
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
mov eax, dword [esp]
xor edx, edx
mov dword [eax + 0x4c], edx
lea edx, [esp + 0x20]
mov eax, dword [esp]
add eax, 0x64
mov ecx, 0x40
call fcn.00402e8c
mov esi, 0x10
lea eax, [esp + 0x20]
mov edx, dword [eax]
mov ecx, edx
shr ecx, 0x18
mov ebx, edx
shr ebx, 8
and ebx, 0xff00
or ecx, ebx
mov ebx, edx
shl ebx, 8
and ebx, 0xff0000
or ecx, ebx
shl edx, 0x18
or ecx, edx
mov dword [eax], ecx
add eax, 4
dec esi
jne 0x45b846
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.0045c19c
mov dword [ebx + 0xc], eax
add ebx, 4
dec esi
jne 0x45b87d
mov eax, dword [esp]
mov eax, dword [eax + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp]
mov ebx, dword [eax + 0x54]
mov eax, dword [esp]
mov edi, dword [eax + 0x58]
mov eax, dword [esp]
mov ebp, dword [eax + 0x5c]
mov eax, dword [esp]
mov eax, dword [eax + 0x60]
mov dword [esp + 8], eax
mov esi, 0x14
lea eax, [esp + 0x20]
mov dword [esp + 0x10], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.0045c19c
mov edx, ebp
xor edx, edi
and edx, ebx
xor edx, ebp
add eax, edx
add eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
add eax, dword [edx]
add eax, 0x5a827999
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
mov ebp, edi
mov edx, 0x1e
mov eax, ebx
call fcn.0045c19c
mov edi, eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
add dword [esp + 0x10], 4
dec esi
jne 0x45b8ce
mov esi, 0x14
lea eax, [esp + 0x70]
mov dword [esp + 0x14], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.0045c19c
mov edx, edi
xor edx, ebx
xor edx, ebp
add eax, edx
add eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
add eax, dword [edx]
add eax, 0x6ed9eba1
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
mov ebp, edi
mov edx, 0x1e
mov eax, ebx
call fcn.0045c19c
mov edi, eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
add dword [esp + 0x14], 4
dec esi
jne 0x45b92e
mov esi, 0x14
lea eax, [esp + 0xc0]
mov dword [esp + 0x18], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.0045c19c
mov edx, edi
and edx, ebx
mov ecx, edi
or ecx, ebx
and ecx, ebp
or edx, ecx
add eax, edx
add eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
add eax, dword [edx]
add eax, 0x8f1bbcdc
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
mov ebp, edi
mov edx, 0x1e
mov eax, ebx
call fcn.0045c19c
mov edi, eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
add dword [esp + 0x18], 4
dec esi
jne 0x45b98f
mov esi, 0x14
lea eax, [esp + 0x110]
mov dword [esp + 0x1c], eax
mov edx, 5
mov eax, dword [esp + 4]
call fcn.0045c19c
mov edx, edi
xor edx, ebx
xor edx, ebp
add eax, edx
add eax, dword [esp + 8]
mov edx, dword [esp + 0x1c]
add eax, dword [edx]
add eax, 0xca62c1d6
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
mov ebp, edi
mov edx, 0x1e
mov eax, ebx
call fcn.0045c19c
mov edi, eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
add dword [esp + 0x1c], 4
dec esi
jne 0x45b9f6
mov eax, dword [esp]
mov edx, dword [esp + 4]
add dword [eax + 0x50], edx
mov eax, dword [esp]
add dword [eax + 0x54], ebx
mov eax, dword [esp]
add dword [eax + 0x58], edi
mov eax, dword [esp]
add dword [eax + 0x5c], ebp
mov eax, dword [esp]
mov edx, dword [esp + 8]
add dword [eax + 0x60], edx
lea eax, [esp + 0x20]
xor ecx, ecx
mov edx, 0x140
call fcn.004031cc
mov eax, dword [esp]
add eax, 0x64
xor ecx, ecx
mov edx, 0x40
call fcn.004031cc
add esp, 0x160
pop ebp
pop edi
pop esi
pop ebx
ret