Function at 0x45c690
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14c
lea edx, [esp + 0xc]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x160]
mov esi, 0x10
lea ecx, [edi + 0x1c]
mov eax, dword [ecx]
add ecx, 4
mov ebx, eax
mov ebp, eax
and ebx, 0xff0000
add edx, 4
shr ebp, 0x10
or ebx, ebp
mov ebp, eax
shl ebp, 0x10
and eax, 0xff00
or ebp, eax
shr ebx, 8
shl ebp, 8
or ebx, ebp
dec esi
mov dword [edx - 4], ebx
jne 0x45c6ad
lea ecx, [esp + 0x24]
mov edx, 0x40
mov eax, dword [ecx + 0x2c]
mov ebp, dword [ecx + 0x18]
mov ebx, dword [ecx - 8]
mov esi, dword [ecx]
xor eax, ebp
add ecx, 4
xor eax, ebx
xor eax, esi
mov esi, eax
add eax, eax
shr esi, 0x1f
or esi, eax
dec edx
mov dword [ecx + 0x34], esi
jne 0x45c6e7
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
mov edi, dword [edi + 0x18]
lea ebx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x14
mov ebx, eax
mov ebp, edx
not ebx
and ebx, esi
and ebp, eax
xor ebx, ebp
mov ebp, ecx
mov dword [esp + 0x18], ecx
add edi, ebx
mov ebx, dword [esp + 0x14]
shr ebp, 0x1b
shl ecx, 5
or ebp, ecx
mov ecx, dword [ebx]
add ebp, edi
mov edi, esi
mov esi, edx
mov edx, eax
add ebx, 4
lea ecx, [ecx + ebp + 0x5a827999]
shl edx, 0x1e
shr eax, 2
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
or edx, eax
mov eax, dword [esp + 0x18]
dec ebx
mov dword [esp + 0x10], ebx
jne 0x45c729
lea ebx, [esp + 0x6c]
mov dword [esp + 0x10], 0x14
mov ebp, ecx
mov dword [esp + 0x18], ecx
shr ebp, 0x1b
shl ecx, 5
or ebp, ecx
mov ecx, esi
xor ecx, edx
add ebx, 4
xor ecx, eax
add ebp, ecx
mov ecx, dword [ebx - 4]
add ebp, ecx
lea ecx, [edi + ebp + 0x6ed9eba1]
mov ebp, dword [esp + 0x10]
mov edi, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
or edx, eax
mov eax, dword [esp + 0x18]
dec ebp
mov dword [esp + 0x10], ebp
jne 0x45c784
lea ebx, [esp + 0xbc]
mov dword [esp + 0x14], 0x14
mov dword [esp + 0x10], ebx
mov ebp, edx
mov ebx, edx
xor ebp, eax
and ebx, eax
and ebp, esi
mov dword [esp + 0x18], ecx
xor ebp, ebx
mov ebx, ecx
shr ebx, 0x1b
shl ecx, 5
or ebx, ecx
add ebp, ebx
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx]
add ebx, 4
add ebp, ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x14]
lea ecx, [edi + ebp - 0x70e44324]
mov edi, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
or edx, eax
mov eax, dword [esp + 0x18]
dec ebx
mov dword [esp + 0x14], ebx
jne 0x45c7d9
lea ebx, [esp + 0x10c]
mov dword [esp + 0x14], 0x14
mov dword [esp + 0x10], ebx
mov ebp, ecx
mov ebx, ecx
shr ebp, 0x1b
shl ecx, 5
or ebp, ecx
mov ecx, esi
xor ecx, edx
xor ecx, eax
add ebp, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x10]
add ecx, dword [ebp]
add ebp, 4
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
lea ecx, [ecx + edi - 0x359d3e2a]
mov edi, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
or edx, eax
dec ebp
mov eax, ebx
mov dword [esp + 0x14], ebp
jne 0x45c83b
mov eax, dword [esp + 0x160]
mov ebp, dword [eax + 8]
add ebp, ecx
mov ecx, dword [eax + 0xc]
add ecx, ebx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
add ecx, edx
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x14]
add ecx, esi
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x18]
add ecx, edi
pop edi
pop esi
pop ebp
mov dword [eax + 0x18], ecx
pop ebx
add esp, 0x14c
ret