Function at 0x547119
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x3c
mov dword [ebp - 4], eax
mov edi, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x38]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp + 0x10]
cmp edi, edx
jb 0x547181
push dword [ebp + 0x10]
push esi
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
add ecx, 0x28
push ecx
call fcn.005478d8
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
add dword [eax + 0x38], edx
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x547325
cmp ebx, esi
jne 0x54718f
mov eax, 0x1001
jmp 0x547325
mov edx, dword [ebp - 8]
add edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edx
mov eax, edi
sub eax, dword [ebp - 8]
push eax
push esi
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
add edx, 0x28
push edx
call fcn.005478d8
add esp, 0xc
mov ecx, edi
sub ecx, dword [ebp - 8]
add esi, ecx
mov eax, edi
sub eax, dword [ebp - 8]
sub dword [ebp + 0x10], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x28]
mov dword [ebx], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x2c]
mov dword [ebx + 4], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
mov dword [ebx + 8], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x34]
mov dword [ebx + 0xc], ecx
push ebx
push dword [ebp - 4]
call fcn.005453cb
add esp, 8
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
xor dword [ebx], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
xor dword [ebx + 4], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x20]
xor dword [ebx + 8], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x24]
xor dword [ebx + 0xc], edx
add ebx, edi
cmp edi, dword [ebp + 0x10]
jae 0x547267
mov ecx, dword [esi]
mov dword [ebx], ecx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov edx, dword [esi + 8]
mov dword [ebx + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0xc], ecx
push ebx
push dword [ebp - 4]
call fcn.005453cb
add esp, 8
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
xor dword [ebx], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2c]
xor dword [ebx + 4], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x30]
xor dword [ebx + 8], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x34]
xor dword [ebx + 0xc], edx
add esi, edi
add ebx, edi
sub dword [ebp + 0x10], edi
cmp edi, dword [ebp + 0x10]
jae 0x5472c0
mov ecx, dword [esi]
mov dword [ebx], ecx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov edx, dword [esi + 8]
mov dword [ebx + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0xc], ecx
push ebx
push dword [ebp - 4]
call fcn.005453cb
add esp, 8
mov eax, esi
sub eax, edi
mov edx, dword [eax]
xor dword [ebx], edx
mov ecx, esi
sub ecx, edi
mov eax, dword [ecx + 4]
xor dword [ebx + 4], eax
mov edx, esi
sub edx, edi
mov ecx, dword [edx + 8]
xor dword [ebx + 8], ecx
mov eax, esi
sub eax, edi
mov edx, dword [eax + 0xc]
xor dword [ebx + 0xc], edx
add esi, edi
add ebx, edi
sub dword [ebp + 0x10], edi
cmp edi, dword [ebp + 0x10]
jb 0x54726c
mov ecx, esi
sub ecx, edi
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], eax
mov ecx, esi
sub ecx, edi
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov ecx, esi
sub ecx, edi
mov eax, dword [ecx + 8]
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
mov ecx, esi
sub ecx, edi
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 0x24], eax
push dword [ebp + 0x10]
push esi
mov ecx, dword [ebp + 8]
add ecx, 0x28
push ecx
call fcn.005478d8
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x38]
and edx, 0xf0000000
add edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], edx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret