Function at 0x47f470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501c9c
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x53f084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x150]
push eax
call fcn.0047f180
mov ecx, dword [esi + 0x10]
mov edi, 0x30
mov eax, dword [esi + 0x1c]
xorps xmm0, xmm0
mov esi, dword [esi + 0x24]
add esp, 4
mov dword [ebp - 0x90], ecx
lea ebx, [edi - 0x2f]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x11c], 0x400
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x114], xmm0
mov dword [ebp - 0x120], vtable.SkFlattenableWriteBuffer.0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xf0], 0x400
mov dword [ebp - 0xec], 0
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xf4], vtable.SkFlattenableWriteBuffer.0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc4], 0x400
mov dword [ebp - 0xc0], 0
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xc8], vtable.SkFlattenableWriteBuffer.0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa0], 0
mov byte [ebp - 4], 2
test ecx, ecx
je 0x47f607
push ecx
lea ecx, [ebp - 0x120]
call fcn.00481d40
mov edi, dword [ebp - 0x118]
mov ebx, 2
mov eax, dword [ebp - 0x8c]
add edi, 0x30
mov byte [ebp - 0x124], 1
test eax, eax
je 0x47f625
push eax
lea ecx, [ebp - 0xf4]
call fcn.00481d40
add edi, dword [ebp - 0xec]
inc ebx
mov byte [ebp - 0x124], 1
test esi, esi
je 0x47f643
push esi
lea ecx, [ebp - 0xc8]
call fcn.00481d40
add edi, dword [ebp - 0xc0]
inc ebx
mov byte [ebp - 0x124], 1
lea eax, [ebx*8 + 0xc]
add eax, edi
cmp eax, 0x70
ja 0x47f7bf
lea edi, [ebp - 0x84]
mov dword [ebp - 0x88], edi
push 0x30
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 3
push eax
lea eax, [edi + 0x14]
mov dword [edi + 4], 0xc
lea esi, [edi + 4]
mov dword [edi + 8], 0
push eax
mov dword [edi + 0xc], 0x73726563
mov dword [edi + 0x10], 0x30
call fcn.004d38f0
mov ecx, dword [esi]
add esp, 0xc
inc dword [edi + 8]
add ecx, 0x38
cmp dword [ebp - 0x90], 0
mov dword [esi], ecx
je 0x47f6d8
mov eax, dword [ebp - 0x118]
mov dword [ecx + edi + 4], eax
add eax, 8
mov dword [ecx + edi], 0x70746865
add dword [esi], eax
lea eax, [ecx + 8]
inc dword [edi + 8]
lea ecx, [ebp - 0x11c]
add eax, edi
push eax
call fcn.00483220
mov ecx, dword [esi]
cmp dword [ebp - 0x8c], 0
je 0x47f70d
mov eax, dword [ebp - 0xec]
mov dword [ecx + edi + 4], eax
add eax, 8
mov dword [ecx + edi], 0x6d736b66
add dword [esi], eax
lea eax, [ecx + 8]
inc dword [edi + 8]
lea ecx, [ebp - 0xf0]
add eax, edi
push eax
call fcn.00483220
mov ecx, dword [esi]
cmp dword [ebp - 0x94], 0
je 0x47f742
mov eax, dword [ebp - 0xc0]
mov dword [ecx + edi + 4], eax
add eax, 8
mov dword [ecx + edi], 0x72617374
add dword [esi], eax
lea eax, [ecx + 8]
inc dword [edi + 8]
lea ecx, [ebp - 0xc4]
add eax, edi
push eax
call fcn.00483220
mov ecx, dword [esi]
add ecx, edi
xor eax, eax
rol eax, 1
xor eax, dword [esi]
add esi, 4
cmp esi, ecx
jb 0x47f746
push dword [ebp - 0x98]
mov dword [edi], eax
push edi
call dword [ebp - 0x9c]
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
add esp, 8
cmp eax, ecx
je 0x47f780
test eax, eax
je 0x47f780
push eax
call fcn.004da5c6
add esp, 4
lea ecx, [ebp - 0xc8]
call fcn.00481c90
lea ecx, [ebp - 0xf4]
call fcn.00481c90
lea ecx, [ebp - 0x120]
call fcn.00481c90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d170a
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.004dacaa
mov edi, eax
add esp, 4
test edi, edi
jne 0x47f65b
call fcn.00481f40
int3