Function at 0x452da0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x40]
movzx ebx, byte [eax]
lea esi, [eax + 1]
movzx ecx, byte [esi + 1]
xor eax, eax
mov ah, byte [esi]
mov dword [esp + 0x1c], esi
add esi, 1
movzx edx, byte [esi + 1]
add esi, 1
or ebx, eax
shl ecx, 0x10
mov ebp, dword [esp + 0x2c]
or ebx, ecx
movzx ecx, byte [esi + 1]
add esi, 1
shl edx, 0x18
xor eax, eax
mov ah, byte [esi + 1]
or ebx, edx
add esi, 1
xor edx, edx
mov dh, byte [esi + 2]
add esi, 1
or ecx, eax
mov eax, dword [esp + 0x30]
mov dl, byte [esi]
shl edx, 0x10
or ecx, edx
add eax, 0xfffffff8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
js 0x452f12
lea ecx, [eax + 8]
shr ecx, 3
mov dword [esp + 0x18], ecx
neg ecx
lea eax, [eax + ecx*8]
mov dword [esp + 0x30], eax
movzx eax, byte [edi]
add edi, 1
movzx edx, byte [edi + 1]
xor ecx, ecx
mov ch, byte [edi]
add edi, 1
add edi, 1
movzx esi, byte [edi + 1]
shl edx, 0x10
or eax, ecx
movzx ecx, byte [edi]
or eax, edx
add edi, 1
xor edx, edx
mov dh, byte [edi + 1]
add edi, 1
shl ecx, 0x18
or eax, ecx
movzx ecx, byte [edi + 1]
or esi, edx
add edi, 1
movzx edx, byte [edi + 1]
add edi, 1
shl ecx, 0x10
mov dword [esp + 0x10], eax
or esi, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
shl edx, 0x18
or esi, edx
mov edx, dword [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], esi
push edx
lea esi, [esp + 0x2c]
add edi, 1
call fcn.00452b80
mov ecx, dword [esp + 0x38]
xor ecx, dword [esp + 0x30]
mov eax, ebx
xor eax, dword [esp + 0x2c]
add ebp, 1
mov byte [ebp - 1], al
mov ebx, dword [esp + 0x1c]
mov edx, eax
shr edx, 8
mov byte [ebp], dl
add ebp, 1
mov edx, eax
shr edx, 0x10
mov byte [ebp], dl
add ebp, 1
shr eax, 0x18
mov byte [ebp], al
add ebp, 1
mov byte [ebp], cl
add ebp, 1
mov eax, ecx
shr eax, 8
mov byte [ebp], al
mov eax, dword [esp + 0x20]
add ebp, 1
mov edx, ecx
shr edx, 0x10
mov byte [ebp], dl
add ebp, 1
shr ecx, 0x18
mov byte [ebp], cl
add esp, 0xc
add ebp, 1
sub dword [esp + 0x18], 1
mov dword [esp + 0x2c], eax
jne 0x452e21
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
cmp eax, 0xfffffff8
je 0x453006
movzx eax, byte [edi]
xor ecx, ecx
mov ch, byte [edi + 1]
add edi, 1
movzx edx, byte [edi + 1]
add edi, 1
add edi, 1
movzx esi, byte [edi + 1]
or eax, ecx
movzx ecx, byte [edi]
shl edx, 0x10
or eax, edx
shl ecx, 0x18
or eax, ecx
add edi, 1
xor edx, edx
mov dh, byte [edi + 1]
add edi, 1
xor ecx, ecx
mov ch, byte [edi + 2]
add edi, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
or esi, edx
mov edx, dword [esp + 0x3c]
mov cl, byte [edi]
push edx
push eax
shl ecx, 0x10
or esi, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], esi
push ecx
lea esi, [esp + 0x2c]
call fcn.00452b80
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
xor ebx, dword [esp + 0x2c]
xor eax, dword [esp + 0x30]
lea ebp, [ecx + ebp + 8]
add ecx, 7
add esp, 0xc
cmp ecx, 7
ja 0x452ff8
jmp dword [ecx*4 + fcn.00453c50]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ecx, eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
mov byte [edx], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
add eax, 1
mov edx, ebx
shr edx, 0x10
mov byte [eax], dl
add eax, 1
shr ebx, 0x18
mov byte [eax], bl
add eax, 1
mov byte [eax], cl
mov edx, ecx
shr edx, 8
add eax, 1
mov byte [eax], dl
pop edi
mov edx, ecx
add eax, 1
pop esi
shr edx, 0x10
shr ecx, 0x18
pop ebp
mov byte [eax], dl
mov byte [eax + 1], cl
pop ebx
add esp, 0x18
ret