Function at 0x496c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a547c
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x60f074]
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.00496910
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 - method.SkFlattenableWriteBuffer.virtual_0], 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 0x496d97
push ecx
lea ecx, [ebp - 0x120]
call fcn.004a5360
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 0x496db5
push eax
lea ecx, [ebp - 0xf4]
call fcn.004a5360
add edi, dword [ebp - 0xec]
inc ebx
mov byte [ebp - 0x124], 1
test esi, esi
je 0x496dd3
push esi
lea ecx, [ebp - 0xc8]
call fcn.004a5360
add edi, dword [ebp - 0xc0]
inc ebx
mov byte [ebp - 0x124], 1
lea eax, [ebx*8 + 0xc]
add eax, edi
cmp eax, 0x70
ja 0x496f4f
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.0056ebe0
mov ecx, dword [esi]
add esp, 0xc
inc dword [edi + 8]
add ecx, 0x38
cmp dword [ebp - 0x90], 0
mov dword [esi], ecx
je 0x496e68
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.004a6850
mov ecx, dword [esi]
cmp dword [ebp - 0x8c], 0
je 0x496e9d
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.004a6850
mov ecx, dword [esi]
cmp dword [ebp - 0x94], 0
je 0x496ed2
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.004a6850
mov ecx, dword [esi]
add ecx, edi
xor eax, eax
rol eax, 1
xor eax, dword [esi]
add esi, 4
cmp esi, ecx
jb 0x496ed6
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 0x496f10
test eax, eax
je 0x496f10
push eax
call fcn.005725ba
add esp, 4
lea ecx, [ebp - 0xc8]
call fcn.004a52b0
lea ecx, [ebp - 0xf4]
call fcn.004a52b0
lea ecx, [ebp - 0x120]
call fcn.004a52b0
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.00550156
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.005768de
mov edi, eax
add esp, 4
test edi, edi
jne 0x496deb
call fcn.004a5560
int3