Function at 0x180049230
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x180066240]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor ebx, ebx
nop word [rax + rax]
mov dword [0x1800ad170], ebx
lea rcx, str.il2cpp_init
call fcn.1800490c0
test rax, rax
jne 0x180049293
inc ebx
cmp ebx, 2
jl 0x180049270
jmp 0x180049a88
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
lea rax, str.il2cpp_class_from_name
mov qword [rsp + 0x20], rax
lea rax, [0x1800ad0e8]
mov qword [rsp + 0x28], rax
lea rax, str.il2cpp_class_get_fields
mov qword [rsp + 0x30], rax
lea rax, [0x1800ad0f0]
mov qword [rsp + 0x38], rax
lea rax, str.il2cpp_class_get_field_from_name
mov qword [rsp + 0x40], rax
lea rax, [0x1800ad0f8]
mov qword [rsp + 0x48], rax
lea rax, str.il2cpp_class_get_methods
mov qword [rsp + 0x50], rax
lea rax, [0x1800ad100]
mov qword [rsp + 0x58], rax
lea rax, str.il2cpp_class_get_method_from_name
mov qword [rsp + 0x60], rax
lea rax, [0x1800ad108]
mov qword [rsp + 0x68], rax
lea rax, str.il2cpp_class_get_property_from_name
mov qword [rsp + 0x70], rax
lea rax, [0x1800ad110]
mov qword [rsp + 0x78], rax
lea rax, str.il2cpp_class_get_type
mov qword [rbp - 0x80], rax
lea rax, [0x1800ad118]
mov qword [rbp - 0x78], rax
lea rax, str.il2cpp_domain_get
mov qword [rbp - 0x70], rax
lea rax, [0x1800ad120]
mov qword [rbp - 0x68], rax
lea rax, str.il2cpp_domain_get_assemblies
mov qword [rbp - 0x60], rax
lea rax, [0x1800ad128]
mov qword [rbp - 0x58], rax
lea rax, str.il2cpp_free
mov qword [rbp - 0x50], rax
lea rax, [0x1800ad130]
mov qword [rbp - 0x48], rax
lea rax, str.il2cpp_image_get_class
mov qword [rbp - 0x40], rax
lea rax, [0x1800ad138]
mov qword [rbp - 0x38], rax
lea rax, str.il2cpp_image_get_class_count
mov qword [rbp - 0x30], rax
lea rax, [0x1800ad140]
mov qword [rbp - 0x28], rax
lea rax, str.il2cpp_resolve_icall
mov qword [rbp - 0x20], rax
lea rax, [0x1800ad148]
mov qword [rbp - 0x18], rax
lea rax, str.il2cpp_string_new
mov qword [rbp - 0x10], rax
lea rax, [0x1800ad150]
mov qword [rbp - 8], rax
lea rax, str.il2cpp_thread_attach
mov qword [rbp], rax
lea rax, [0x1800ad158]
mov qword [rbp + 8], rax
lea rax, str.il2cpp_thread_detach
mov qword [rbp + 0x10], rax
lea rax, [0x1800ad160]
mov qword [rbp + 0x18], rax
lea rax, str.il2cpp_type_get_object
mov qword [rbp + 0x20], rax
lea rax, [0x1800ad168]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov ecx, 0x20
call fcn.180053704
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x58], 0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x78], 8
mov dword [rbp + 0x40], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [rbp + 0x58]
call fcn.180049c40
nop
lea rbx, [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
mov r8, rbx
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x40]
call fcn.180049d80
add rbx, 0x10
lea rax, [rbp + 0x30]
cmp rbx, rax
jne 0x1800494a0
mov rsi, qword [rbp + 0x48]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x1800494f0
nop dword [rax]
mov rdi, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
call fcn.1800490c0
mov qword [rdi], rax
test rax, rax
je 0x180049518
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
jne 0x1800494d0
lea rax, str.UnityEngine.Camera
mov qword [rbp + 0x30], rax
mov rdx, qword [0x1800ad450]
cmp rdx, qword [0x1800ad458]
je 0x18004951f
mov qword [rdx], rax
add qword [0x1800ad450], 8
jmp 0x180049528
xor bl, bl
jmp 0x180049a7c
lea r8, [rbp + 0x30]
call fcn.1800489f0
lea rcx, str.UnityEngine.Camera::get_current
call qword [0x1800ad148]
lea rcx, str.UnityEngine.Camera::get_main
call qword [0x1800ad148]
lea rcx, str.UnityEngine.Camera::get_depth
call qword [0x1800ad148]
lea rcx, str.UnityEngine.Camera::set_depth
call qword [0x1800ad148]
lea rcx, str.UnityEngine.Camera::get_fieldOfView
call qword [0x1800ad148]
lea rcx, str.UnityEngine.Camera::set_fieldOfView
call qword [0x1800ad148]
lea rcx, str.UnityEngine.Camera::WorldToScreenPoint_Injected
call qword [0x1800ad148]
lea rax, str.UnityEngine.Component
mov qword [rbp + 0x30], rax
mov rdx, qword [0x1800ad450]
cmp rdx, qword [0x1800ad458]
je 0x1800495ab
mov qword [rdx], rax
add qword [0x1800ad450], 8
jmp 0x1800495b4
lea r8, [rbp + 0x30]
call fcn.1800489f0
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Component::get_gameObject
call rax
mov qword [0x1800ad178], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Component::get_transform
call rax
mov qword [0x1800ad180], rax
lea rax, str.UnityEngine.GameObject
mov qword [rbp + 0x30], rax
mov rdx, qword [0x1800ad450]
cmp rdx, qword [0x1800ad458]
je 0x18004960a
mov qword [rdx], rax
add qword [0x1800ad450], 8
jmp 0x180049613
lea r8, [rbp + 0x30]
call fcn.1800489f0
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.GameObject::Internal_AddComponentWithType
call rax
mov qword [0x1800ad190], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.GameObject::CreatePrimitive
call rax
mov qword [0x1800ad198], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.GameObject::Find
call rax
mov qword [0x1800ad1a0], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.GameObject::FindGameObjectsWithTag
call rax
mov qword [0x1800ad1a8], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.GameObject::GetComponentByName
call rax
mov qword [0x1800ad1b0], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.GameObject::GetComponentsInternal
call rax
mov qword [0x1800ad1b8], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.GameObject::get_active
call rax
mov qword [0x1800ad1c0], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.GameObject::get_layer
call rax
mov qword [0x1800ad1c8], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.GameObject::get_transform
call rax
mov qword [0x1800ad1d0], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.GameObject::set_active
call rax
mov qword [0x1800ad1d8], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.GameObject::set_layer
call rax
mov qword [0x1800ad1e0], rax
lea rax, str.UnityEngine.LayerMask
mov qword [rbp + 0x30], rax
mov rdx, qword [0x1800ad450]
cmp rdx, qword [0x1800ad458]
je 0x180049738
mov qword [rdx], rax
add qword [0x1800ad450], 8
jmp 0x180049741
lea r8, [rbp + 0x30]
call fcn.1800489f0
lea rcx, str.UnityEngine.LayerMask::LayerToName
call qword [0x1800ad148]
lea rcx, str.UnityEngine.LayerMask::NameToLayer
call qword [0x1800ad148]
lea rax, str.UnityEngine.Object
mov qword [rbp + 0x30], rax
mov rdx, qword [0x1800ad450]
cmp rdx, qword [0x1800ad458]
je 0x180049783
mov qword [rdx], rax
add qword [0x1800ad450], 8
jmp 0x18004978c
lea r8, [rbp + 0x30]
call fcn.1800489f0
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Object::Destroy
call rax
mov qword [0x1800ad1e8], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Object::FindObjectsOfType
call rax
mov qword [0x1800ad1f0], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Object::GetName
call rax
mov qword [0x1800ad1f8], rax
lea rax, str.UnityEngine.Rigidbody
mov qword [rbp + 0x30], rax
mov rdx, qword [0x1800ad450]
cmp rdx, qword [0x1800ad458]
je 0x1800497f9
mov qword [rdx], rax
add qword [0x1800ad450], 8
jmp 0x180049802
lea r8, [rbp + 0x30]
call fcn.1800489f0
lea rcx, str.UnityEngine.Rigidbody::get_detectCollisions
call qword [0x1800ad148]
lea rcx, str.UnityEngine.Rigidbody::get_velocity_Injected
call qword [0x1800ad148]
lea rcx, str.UnityEngine.Rigidbody::set_detectCollisions
call qword [0x1800ad148]
lea rcx, str.UnityEngine.Rigidbody::set_velocity_Injected
call qword [0x1800ad148]
lea rax, str.UnityEngine.Transform
mov qword [rbp + 0x30], rax
mov rdx, qword [0x1800ad450]
cmp rdx, qword [0x1800ad458]
je 0x18004985e
mov qword [rdx], rax
add qword [0x1800ad450], 8
jmp 0x180049867
lea r8, [rbp + 0x30]
call fcn.1800489f0
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Transform::LookAt
call rax
mov qword [0x1800ad208], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Transform::GetParent
call rax
mov qword [0x1800ad200], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Transform::GetRoot
call rax
mov qword [0x1800ad210], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Transform::GetChild
call rax
mov qword [0x1800ad218], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Transform::get_childCount
call rax
mov qword [0x1800ad220], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Transform::get_position_Injected
call rax
mov qword [0x1800ad228], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Transform::get_rotation_Injected
call rax
mov qword [0x1800ad230], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Transform::get_localPosition_Injected
call rax
mov qword [0x1800ad238], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Transform::get_localScale_Injected
call rax
mov qword [0x1800ad240], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Transform::set_position_Injected
call rax
mov qword [0x1800ad248], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Transform::set_rotation_Injected
call rax
mov qword [0x1800ad250], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Transform::set_localPosition_Injected
call rax
mov qword [0x1800ad258], rax
mov rax, qword [0x1800ad148]
lea rcx, str.UnityEngine.Transform::set_localScale_Injected
call rax
mov qword [0x1800ad260], rax
mov r14, qword [0x1800ad450]
mov rsi, qword [0x1800ad448]
cmp rsi, r14
je 0x180049a7a
nop dword [rax]
mov rdi, qword [rsi]
mov rcx, rdi
call fcn.180048f30
mov rcx, rax
test rax, rax
jne 0x1800499c8
xor r8d, r8d
jmp 0x1800499e0
mov rbx, qword [0x1800ad168]
mov rax, qword [0x1800ad118]
call rax
mov rcx, rax
call rbx
mov r8, rax
test rdi, rdi
je 0x180049a53
xor ecx, ecx
movzx edx, byte [rdi]
test dl, dl
je 0x180049a0d
nop
movsx eax, dl
lea rdi, [rdi + 1]
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
movzx edx, byte [rdi]
test dl, dl
jne 0x1800499f0
lea eax, [rcx + rcx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
test r8, r8
je 0x180049a53
mov dword [rbp + 0x30], eax
mov qword [rbp + 0x38], r8
mov rdx, qword [0x1800ad438]
cmp rdx, qword [0x1800ad440]
je 0x180049a4a
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [rdx], xmm0
add qword [0x1800ad438], 0x10
jmp 0x180049a53
lea r8, [rbp + 0x30]
call fcn.180048830
add rsi, 8
cmp rsi, r14
jne 0x1800499b0
mov r14, qword [0x1800ad450]
mov rsi, qword [0x1800ad448]
cmp rsi, r14
je 0x180049a7a
mov qword [0x1800ad450], rsi
mov bl, 1
lea rcx, [rbp + 0x40]
call fcn.180049ad0
movzx eax, bl
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1800531f0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret