Function at 0x550450
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
xor ecx, ecx
push ebp
push esi
mov dword [eax + 0x80c], ecx
mov dword [eax + 0x808], ecx
mov dword [eax + 0x804], ecx
mov eax, 0x9e3779b9
push edi
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov edi, eax
mov esi, eax
mov ecx, eax
mov edx, eax
mov dword [esp + 0x1c], 4
mov edi, edi
mov ebx, eax
shl ebx, 0xb
xor edx, ebx
add esi, edx
add eax, ecx
mov ebx, ecx
shr ebx, 2
xor eax, ebx
add ecx, esi
mov ebx, esi
shl ebx, 8
xor ecx, ebx
add dword [esp + 0x10], ecx
add edi, eax
mov ebx, edi
shr ebx, 0x10
add esi, edi
xor esi, ebx
add dword [esp + 0x14], esi
mov ebx, dword [esp + 0x10]
add edi, ebx
shl ebx, 0xa
xor edi, ebx
mov ebx, dword [esp + 0x14]
add ebp, edi
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x10]
add ebp, ebx
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x14]
add edx, ebx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x18]
add ebp, ebx
shl ebx, 8
xor ebx, ebp
add eax, ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
lea ebp, [ebx + edx]
mov ebx, edx
shr ebx, 9
xor ebp, ebx
mov ebx, dword [esp + 0x1c]
add ecx, ebp
add edx, eax
dec ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
jne 0x550490
mov ebx, dword [esp + 0x30]
test ebx, ebx
mov ebx, dword [esp + 0x2c]
je 0x550780
add ebx, 0x404
lea ebp, [ebx + 0xc]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x2c]
add ebp, 4
mov dword [esp + 0x20], ebp
add ebp, 8
mov dword [esp + 0x30], ebp
sub ebx, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], 0x20
add eax, dword [ebx - 4]
add ecx, dword [ebx]
mov ebp, dword [ebx - 8]
add ebp, edx
mov edx, eax
shl edx, 0xb
xor edx, ebp
mov ebp, dword [ebx + 4]
add ebp, edx
add esi, ebp
add eax, ecx
mov ebp, ecx
shr ebp, 2
xor eax, ebp
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
add ebp, eax
add edi, ebp
add ecx, esi
mov ebp, esi
shl ebp, 8
xor ecx, ebp
mov ebp, dword [esp + 0x10]
add ebx, ecx
add ebp, ebx
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
mov ebx, edi
shr ebx, 0x10
add esi, edi
xor esi, ebx
mov ebx, dword [esp + 0x30]
mov ebx, dword [ebx + 0x10]
add ebx, esi
add ebp, ebx
mov ebx, dword [esp + 0x10]
add edi, ebx
shl ebx, 0xa
xor edi, ebx
mov ebx, dword [esp + 0x30]
mov ebx, dword [ebx + 0x14]
add ebx, edi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
add ebp, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x10]
add ebp, ebx
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x14]
add edx, ebx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x18]
add ebp, ebx
shl ebx, 8
xor ebx, ebp
add eax, ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
add ebx, edx
mov ebp, edx
shr ebp, 9
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add ecx, ebx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x1c]
add edx, eax
mov dword [ebx - 0xc], edx
mov dword [ebx - 8], eax
mov ebx, dword [esp + 0x30]
mov dword [ebx + ebp], ecx
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov dword [ebp], esi
mov dword [ebp + 4], edi
mov dword [ebp + 8], ebx
mov ebx, dword [esp + 0x14]
mov dword [ebp + 0xc], ebx
mov ebx, dword [esp + 0x18]
mov dword [ebp + 0x10], ebx
mov ebx, dword [esp + 0x30]
add ebp, 0x20
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x20]
add ebx, 0x20
dec ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ebp
jne 0x550561
mov ebx, dword [esp + 0x2c]
add ebx, 0x40c
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], 0x20
add eax, dword [ebx - 4]
add ecx, dword [ebx]
mov ebp, dword [ebx - 8]
add ebp, edx
mov edx, eax
shl edx, 0xb
xor edx, ebp
mov ebp, dword [ebx + 4]
add ebp, edx
add esi, ebp
add eax, ecx
mov ebp, ecx
shr ebp, 2
xor eax, ebp
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
add ebp, eax
add edi, ebp
add ecx, esi
mov ebp, esi
shl ebp, 8
xor ecx, ebp
mov ebp, dword [esp + 0x10]
add ebx, ecx
add ebp, ebx
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
mov ebx, edi
shr ebx, 0x10
add esi, edi
xor esi, ebx
mov ebx, dword [esp + 0x30]
mov ebx, dword [ebx + 0x10]
add ebx, esi
add ebp, ebx
mov ebx, dword [esp + 0x10]
add edi, ebx
shl ebx, 0xa
xor edi, ebx
mov ebx, dword [esp + 0x30]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
add ebx, edi
add ebp, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x10]
add ebp, ebx
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x14]
add edx, ebx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x18]
add ebp, ebx
shl ebx, 8
xor ebx, ebp
add eax, ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
mov ebp, edx
shr ebp, 9
add ebx, edx
xor ebx, ebp
mov ebp, dword [esp + 0x10]
add ecx, ebx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x30]
mov dword [ebx + 0xc], ebp
mov ebp, dword [esp + 0x14]
add edx, eax
mov dword [ebx + 0x10], ebp
mov ebp, dword [esp + 0x18]
mov dword [ebx - 8], edx
mov dword [ebx - 4], eax
mov dword [ebx], ecx
mov dword [ebx + 4], esi
mov dword [ebx + 8], edi
mov dword [ebx + 0x14], ebp
mov ebp, dword [esp + 0x20]
add ebx, 0x20
dec ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ebp
jne 0x550685
jmp 0x550848
add ebx, 0x40c
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], 0x20
mov ebx, eax
shl ebx, 0xb
xor edx, ebx
add esi, edx
add eax, ecx
mov ebx, ecx
shr ebx, 2
xor eax, ebx
add ecx, esi
mov ebx, esi
shl ebx, 8
xor ecx, ebx
add dword [esp + 0x10], ecx
add edi, eax
mov ebx, edi
shr ebx, 0x10
add esi, edi
xor esi, ebx
add dword [esp + 0x14], esi
mov ebx, dword [esp + 0x10]
add edi, ebx
shl ebx, 0xa
xor edi, ebx
mov ebx, dword [esp + 0x14]
add ebp, edi
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x10]
add ebp, ebx
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x14]
add edx, ebx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x18]
add ebp, ebx
shl ebx, 8
xor ebx, ebp
add eax, ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
add ebx, edx
mov ebp, edx
shr ebp, 9
xor ebx, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
add ecx, ebx
mov ebx, dword [esp + 0x30]
mov dword [ebx + 0xc], ebp
mov ebp, dword [esp + 0x14]
mov dword [ebx + 0x10], ebp
mov ebp, dword [esp + 0x18]
add edx, eax
mov dword [ebx - 8], edx
mov dword [ebx - 4], eax
mov dword [ebx], ecx
mov dword [ebx + 4], esi
mov dword [ebx + 8], edi
mov dword [ebx + 0x14], ebp
add ebx, 0x20
mov dword [esp + 0x30], ebx
dec dword [esp + 0x20]
jne 0x550792
mov esi, dword [esp + 0x2c]
push esi
call fcn.00550160
add esp, 4
pop edi
mov dword [esi], 0x100
pop esi
pop ebp
pop ebx
add esp, 0x18
ret