Function at 0x180039830
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 - 0x330]
sub rsp, 0x430
mov rax, qword [0x180051040]
xor rax, rsp
mov qword [rbp + 0x320], rax
xor ebx, ebx
nop word [rax + rax]
mov dword [0x180051b88], ebx
lea rcx, str.il2cpp_init
call fcn.1800396c0
test rax, rax
jne 0x1800398af
inc ebx
cmp ebx, 2
jl 0x180039870
mov r8d, 0x98
lea rdx, str.C:UserscapriDesktopBasic_IMGUI_TemplateImGui_DirectX_11_Kiero_HookIL2CPP_Resolver_mainIL2CPP_Resolver.hpp
lea rcx, str.m_InitExportResolved___Couldnt_resolve_il2cpp_init__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor al, al
jmp 0x18003a153
xorps xmm0, xmm0
movups xmmword [rbp + 0x2e0], xmm0
movups xmmword [rbp + 0x2f0], xmm0
movups xmmword [rbp + 0x300], xmm0
movups xmmword [rbp + 0x310], xmm0
lea rdx, str.il2cpp_class_from_name
lea rcx, [rsp + 0x30]
call fcn.18003b450
lea rax, [0x180051b90]
mov qword [rsp + 0x50], rax
lea rdx, str.il2cpp_class_get_fields
lea rcx, [rsp + 0x58]
call fcn.18003b450
lea rax, [0x180051b98]
mov qword [rsp + 0x78], rax
lea rdx, str.il2cpp_class_get_field_from_name
lea rcx, [rbp - 0x80]
call fcn.18003b450
lea rax, [0x180051ba0]
mov qword [rbp - 0x60], rax
lea rdx, str.il2cpp_class_get_methods
lea rcx, [rbp - 0x58]
call fcn.18003b450
lea rax, [0x180051ba8]
mov qword [rbp - 0x38], rax
lea rdx, str.il2cpp_class_get_method_from_name
lea rcx, [rbp - 0x30]
call fcn.18003b450
lea rax, [0x180051bb0]
mov qword [rbp - 0x10], rax
lea rdx, str.il2cpp_class_get_property_from_name
lea rcx, [rbp - 8]
call fcn.18003b450
lea rax, [0x180051bb8]
mov qword [rbp + 0x18], rax
lea rdx, str.il2cpp_class_get_type
lea rcx, [rbp + 0x20]
call fcn.18003b450
lea rax, [0x180051bc0]
mov qword [rbp + 0x40], rax
lea rdx, str.il2cpp_domain_get
lea rcx, [rbp + 0x48]
call fcn.18003b450
lea rax, [0x180051bc8]
mov qword [rbp + 0x68], rax
lea rdx, str.il2cpp_domain_get_assemblies
lea rcx, [rbp + 0x70]
call fcn.18003b450
lea rax, [0x180051bd0]
mov qword [rbp + 0x90], rax
lea rdx, str.il2cpp_free
lea rcx, [rbp + 0x98]
call fcn.18003b450
lea rax, [0x180051bd8]
mov qword [rbp + 0xb8], rax
lea rdx, str.il2cpp_image_get_class
lea rcx, [rbp + 0xc0]
call fcn.18003b450
lea rax, [0x180051be0]
mov qword [rbp + 0xe0], rax
lea rdx, str.il2cpp_image_get_class_count
lea rcx, [rbp + 0xe8]
call fcn.18003b450
lea rax, [0x180051be8]
mov qword [rbp + 0x108], rax
lea rdx, str.il2cpp_resolve_icall
lea rcx, [rbp + 0x110]
call fcn.18003b450
lea rax, [0x180051bf0]
mov qword [rbp + 0x130], rax
lea rdx, str.il2cpp_string_new
lea rcx, [rbp + 0x138]
call fcn.18003b450
lea rax, [0x180051bf8]
mov qword [rbp + 0x158], rax
lea rdx, str.il2cpp_thread_attach
lea rcx, [rbp + 0x160]
call fcn.18003b450
lea rax, [0x180051c00]
mov qword [rbp + 0x180], rax
lea rdx, str.il2cpp_thread_detach
lea rcx, [rbp + 0x188]
call fcn.18003b450
lea rax, [0x180051c08]
mov qword [rbp + 0x1a8], rax
lea rdx, str.il2cpp_type_get_object
lea rcx, [rbp + 0x1b0]
call fcn.18003b450
lea rax, [0x180051c10]
mov qword [rbp + 0x1d0], rax
lea rdx, str.il2cpp_object_new
lea rcx, [rbp + 0x1d8]
call fcn.18003b450
lea rax, [0x180051c18]
mov qword [rbp + 0x1f8], rax
lea rdx, str.il2cpp_method_get_param_name
lea rcx, [rbp + 0x200]
call fcn.18003b450
lea rax, [0x180051c20]
mov qword [rbp + 0x220], rax
lea rdx, str.il2cpp_method_get_param
lea rcx, [rbp + 0x228]
call fcn.18003b450
lea rax, [0x180051c28]
mov qword [rbp + 0x248], rax
lea rdx, str.il2cpp_class_from_il2cpp_type
lea rcx, [rbp + 0x250]
call fcn.18003b450
lea rax, [0x180051c30]
mov qword [rbp + 0x270], rax
lea rdx, str.il2cpp_field_static_get_value
lea rcx, [rbp + 0x278]
call fcn.18003b450
lea rax, [0x180051c38]
mov qword [rbp + 0x298], rax
lea rdx, str.il2cpp_field_static_set_value
lea rcx, [rbp + 0x2a0]
call fcn.18003b450
lea rax, [0x180051c40]
mov qword [rbp + 0x2c0], rax
mov dword [rbp + 0x2e0], 0
mov qword [rbp + 0x2e8], 0
mov qword [rbp + 0x2f0], 0
mov ecx, 0x38
call fcn.18003cf18
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x2e8], rax
mov qword [rbp + 0x2f8], 0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x300], xmm0
mov qword [rbp + 0x310], 7
mov qword [rbp + 0x318], 8
mov dword [rbp + 0x2e0], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [rbp + 0x2f8]
call fcn.18003b570
nop
lea rbx, [rsp + 0x30]
nop
mov r8, rbx
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x2e0]
call fcn.18003bf00
add rbx, 0x28
lea rax, [rbp + 0x2c8]
cmp rbx, rax
jne 0x180039c20
lea r9, [fcn.18003a180]
mov edx, 0x28
lea r8d, [rdx - 0x11]
lea rcx, [rsp + 0x30]
call fcn.18003c8e4
mov rsi, qword [rbp + 0x2e8]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x180039cbb
nop
lea rcx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x180039c7f
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rbx + 0x30]
call fcn.1800396c0
mov qword [rdi], rax
test rax, rax
jne 0x180039caa
mov r8d, 0x87
lea rdx, str.C:UserscapriDesktopBasic_IMGUI_TemplateImGui_DirectX_11_Kiero_HookIL2CPP_Resolver_mainIL2CPP_Resolver.hpp
lea rcx, str.m_Address___nullptr___Couldnt_resolve_export__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp qword [rdi], 0
je 0x180039ce6
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
jne 0x180039c70
lea rax, str.UnityEngine.Camera
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x180051c58]
cmp rdx, qword [0x180051c60]
je 0x180039ced
mov qword [rdx], rax
add qword [0x180051c58], 8
jmp 0x180039cf9
xor bl, bl
jmp 0x18003a144
lea r8, [rbp + 0x2d0]
call fcn.18003bd50
lea rcx, str.UnityEngine.Camera::get_current
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Camera::get_main
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Camera::get_depth
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Camera::set_depth
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Camera::get_fieldOfView
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Camera::set_fieldOfView
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Camera::WorldToScreenPoint_Injected
call qword [0x180051bf0]
lea rax, str.UnityEngine.Component
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x180051c58]
cmp rdx, qword [0x180051c60]
je 0x180039d7f
mov qword [rdx], rax
add qword [0x180051c58], 8
jmp 0x180039d8b
lea r8, [rbp + 0x2d0]
call fcn.18003bd50
lea rcx, str.UnityEngine.Component::get_gameObject
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Component::get_transform
call qword [0x180051bf0]
lea rax, str.UnityEngine.GameObject
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x180051c58]
cmp rdx, qword [0x180051c60]
je 0x180039dd0
mov qword [rdx], rax
add qword [0x180051c58], 8
jmp 0x180039ddc
lea r8, [rbp + 0x2d0]
call fcn.18003bd50
lea rcx, str.UnityEngine.GameObject::Internal_AddComponentWithType
call qword [0x180051bf0]
lea rcx, str.UnityEngine.GameObject::CreatePrimitive
call qword [0x180051bf0]
lea rcx, str.UnityEngine.GameObject::Find
call qword [0x180051bf0]
lea rcx, str.UnityEngine.GameObject::FindGameObjectsWithTag
call qword [0x180051bf0]
lea rcx, str.UnityEngine.GameObject::GetComponentByName
call qword [0x180051bf0]
lea rcx, str.UnityEngine.GameObject::GetComponentsInternal
call qword [0x180051bf0]
lea rcx, str.UnityEngine.GameObject::GetComponentInChildren
call qword [0x180051bf0]
lea rcx, str.UnityEngine.GameObject::get_active
call qword [0x180051bf0]
lea rcx, str.UnityEngine.GameObject::get_layer
call qword [0x180051bf0]
lea rcx, str.UnityEngine.GameObject::get_transform
call qword [0x180051bf0]
lea rcx, str.UnityEngine.GameObject::set_active
call qword [0x180051bf0]
lea rcx, str.UnityEngine.GameObject::set_layer
call qword [0x180051bf0]
lea rax, str.UnityEngine.LayerMask
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x180051c58]
cmp rdx, qword [0x180051c60]
je 0x180039ea3
mov qword [rdx], rax
add qword [0x180051c58], 8
jmp 0x180039eaf
lea r8, [rbp + 0x2d0]
call fcn.18003bd50
lea rcx, str.UnityEngine.LayerMask::LayerToName
call qword [0x180051bf0]
lea rcx, str.UnityEngine.LayerMask::NameToLayer
call qword [0x180051bf0]
lea rax, str.UnityEngine.Object
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x180051c58]
cmp rdx, qword [0x180051c60]
je 0x180039ef4
mov qword [rdx], rax
add qword [0x180051c58], 8
jmp 0x180039f00
lea r8, [rbp + 0x2d0]
call fcn.18003bd50
lea rcx, str.UnityEngine.Object::Destroy
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Object::FindObjectsOfType_System.Type_System.Boolean_
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Object::GetName
call qword [0x180051bf0]
lea rax, str.UnityEngine.Rigidbody
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x180051c58]
cmp rdx, qword [0x180051c60]
je 0x180039f52
mov qword [rdx], rax
add qword [0x180051c58], 8
jmp 0x180039f5e
lea r8, [rbp + 0x2d0]
call fcn.18003bd50
lea rcx, str.UnityEngine.Rigidbody::get_detectCollisions
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Rigidbody::get_velocity_Injected
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Rigidbody::set_detectCollisions
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Rigidbody::set_velocity_Injected
call qword [0x180051bf0]
lea rax, str.UnityEngine.Transform
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x180051c58]
cmp rdx, qword [0x180051c60]
je 0x180039fbd
mov qword [rdx], rax
add qword [0x180051c58], 8
jmp 0x180039fc9
lea r8, [rbp + 0x2d0]
call fcn.18003bd50
lea rcx, str.UnityEngine.Transform::GetParent
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Transform::GetRoot
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Transform::GetChild
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Transform::get_childCount
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Transform::FindRelativeTransformWithPath
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Transform::get_position_Injected
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Transform::get_rotation_Injected
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Transform::get_localPosition_Injected
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Transform::get_localScale_Injected
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Transform::set_position_Injected
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Transform::set_rotation_Injected
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Transform::set_localPosition_Injected
call qword [0x180051bf0]
lea rcx, str.UnityEngine.Transform::set_localScale_Injected
call qword [0x180051bf0]
mov r14, qword [0x180051c58]
mov rdi, qword [0x180051c50]
cmp rdi, r14
je 0x18003a142
nop dword [rax]
mov rbx, qword [rdi]
mov rcx, rbx
call fcn.1800394e0
test rax, rax
jne 0x18003a0a4
xor esi, esi
jmp 0x18003a0b9
mov rcx, rax
call qword [0x180051bc0]
mov rcx, rax
call qword [0x180051c10]
mov rsi, rax
xor edx, edx
movzx ecx, byte [rbx]
test cl, cl
je 0x18003a0ed
nop dword [rax]
nop word [rax + rax]
movsx ecx, cl
add ecx, edx
imul edx, ecx, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
lea rbx, [rbx + 1]
movzx ecx, byte [rbx]
test cl, cl
jne 0x18003a0d0
lea ecx, [rdx + rdx*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp + 0x2d0], eax
lea r8, [rbp + 0x2d0]
lea rdx, [rsp + 0x20]
call fcn.18003b6b0
mov rcx, qword [rax]
mov qword [rcx + 0x18], rsi
add rdi, 8
cmp rdi, r14
jne 0x18003a090
mov r14, qword [0x180051c58]
mov rdi, qword [0x180051c50]
cmp rdi, r14
je 0x18003a142
mov qword [0x180051c58], rdi
mov bl, 1
lea rcx, [rbp + 0x2e0]
call fcn.18003a1f0
movzx eax, bl
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.18003c7e0
lea r11, [rsp + 0x430]
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