Function at 0x18003fa70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x1800db040]
xor rax, rsp
mov qword [rbp + 0x320], rax
xor r15d, r15d
mov ebx, r15d
nop word [rax + rax]
mov dword [0x1800dc718], ebx
lea rcx, str.il2cpp_init
call fcn.18003f900
test rax, rax
jne 0x18003fad3
inc ebx
cmp ebx, 2
jl 0x18003fab0
jmp 0x180040675
xorps xmm0, xmm0
movups xmmword [rbp + 0x2e0], xmm0
movups xmmword [rbp + 0x2f0], xmm0
movups xmmword [rbp + 0x300], xmm0
movups xmmword [rbp + 0x310], xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x30], xmm1
mov r8d, reloc.WLDAP32.dll_Ordinal_22
lea rdx, str.il2cpp_class_from_name
lea rcx, [rsp + 0x20]
call fcn.18004b790
lea rax, [0x1800dc660]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.il2cpp_class_get_fields
lea rcx, [rsp + 0x48]
call fcn.18004b790
lea rax, [0x1800dc668]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x80], xmm1
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, str.il2cpp_class_get_field_from_name
lea rcx, [rsp + 0x70]
call fcn.18004b790
lea rax, [0x1800dc670]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r15
mov r8d, Ordinal_27
lea rdx, str.il2cpp_class_get_methods
lea rcx, [rbp - 0x68]
call fcn.18004b790
lea rax, [0x1800dc678]
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm1
mov r8d, reloc.WLDAP32.dll_Ordinal_33
lea rdx, str.il2cpp_class_get_method_from_name
lea rcx, [rbp - 0x40]
call fcn.18004b790
lea rax, [0x1800dc680]
mov qword [rbp - 0x20], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r15
mov qword [rbp], r15
mov r8d, reloc.WLDAP32.dll_Ordinal_35
lea rdx, str.il2cpp_class_get_property_from_name
lea rcx, [rbp - 0x18]
call fcn.18004b790
lea rax, [0x1800dc688]
mov qword [rbp + 8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.il2cpp_class_get_type
lea rcx, [rbp + 0x10]
call fcn.18004b790
lea rax, [0x1800dc690]
mov qword [rbp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], r15
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.il2cpp_domain_get
lea rcx, [rbp + 0x38]
call fcn.18004b790
lea rax, [0x1800dc698]
mov qword [rbp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x70], xmm1
mov r8d, Ordinal_32
lea rdx, str.il2cpp_domain_get_assemblies
lea rcx, [rbp + 0x60]
call fcn.18004b790
lea rax, [0x1800dc6a0]
mov qword [rbp + 0x80], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa0], r15
mov r8d, ntohs
lea rdx, str.il2cpp_free
lea rcx, [rbp + 0x88]
call fcn.18004b790
lea rax, [0x1800dc6a8]
mov qword [rbp + 0xa8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xc0], xmm1
mov r8d, reloc.WLDAP32.dll_Ordinal_22
lea rdx, str.il2cpp_image_get_class
lea rcx, [rbp + 0xb0]
call fcn.18004b790
lea rax, [0x1800dc6b0]
mov qword [rbp + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov qword [rbp + 0xe8], r15
mov qword [rbp + 0xf0], r15
mov r8d, Ordinal_32
lea rdx, str.il2cpp_image_get_class_count
lea rcx, [rbp + 0xd8]
call fcn.18004b790
lea rax, [0x1800dc6b8]
mov qword [rbp + 0xf8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x110], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.il2cpp_resolve_icall
lea rcx, [rbp + 0x100]
call fcn.18004b790
lea rax, [0x1800dc6c0]
mov qword [rbp + 0x120], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x128], xmm0
mov qword [rbp + 0x138], r15
mov qword [rbp + 0x140], r15
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.il2cpp_string_new
lea rcx, [rbp + 0x128]
call fcn.18004b790
lea rax, [0x1800dc6c8]
mov qword [rbp + 0x148], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x160], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.il2cpp_thread_attach
lea rcx, [rbp + 0x150]
call fcn.18004b790
lea rax, [0x1800dc6d0]
mov qword [rbp + 0x170], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x178], xmm0
mov qword [rbp + 0x188], r15
mov qword [rbp + 0x190], r15
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.il2cpp_thread_detach
lea rcx, [rbp + 0x178]
call fcn.18004b790
lea rax, [0x1800dc6d8]
mov qword [rbp + 0x198], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1b0], xmm1
mov r8d, reloc.WLDAP32.dll_Ordinal_22
lea rdx, str.il2cpp_type_get_object
lea rcx, [rbp + 0x1a0]
call fcn.18004b790
lea rax, [0x1800dc6e0]
mov qword [rbp + 0x1c0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c8], xmm0
mov qword [rbp + 0x1d8], r15
mov qword [rbp + 0x1e0], r15
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.il2cpp_object_new
lea rcx, [rbp + 0x1c8]
call fcn.18004b790
lea rax, [0x1800dc6e8]
mov qword [rbp + 0x1e8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x200], xmm1
mov r8d, Ordinal_32
lea rdx, str.il2cpp_method_get_param_name
lea rcx, [rbp + 0x1f0]
call fcn.18004b790
lea rax, [0x1800dc6f0]
mov qword [rbp + 0x210], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x218], xmm0
mov qword [rbp + 0x228], r15
mov qword [rbp + 0x230], r15
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.il2cpp_method_get_param
lea rcx, [rbp + 0x218]
call fcn.18004b790
lea rax, [0x1800dc6f8]
mov qword [rbp + 0x238], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x240], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x250], xmm1
mov r8d, Ordinal_32
lea rdx, str.il2cpp_class_from_il2cpp_type
lea rcx, [rbp + 0x240]
call fcn.18004b790
lea rax, [0x1800dc700]
mov qword [rbp + 0x260], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x268], xmm0
mov qword [rbp + 0x278], r15
mov qword [rbp + 0x280], r15
mov r8d, Ordinal_32
lea rdx, str.il2cpp_field_static_get_value
lea rcx, [rbp + 0x268]
call fcn.18004b790
lea rax, [0x1800dc708]
mov qword [rbp + 0x288], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x290], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x2a0], xmm1
mov r8d, Ordinal_32
lea rdx, str.il2cpp_field_static_set_value
lea rcx, [rbp + 0x290]
call fcn.18004b790
lea rax, [0x1800dc710]
mov qword [rbp + 0x2b0], rax
mov dword [rbp + 0x2e0], 0
mov qword [rbp + 0x2e8], r15
mov qword [rbp + 0x2f0], r15
mov ecx, gethostname
call fcn.18004fd58
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x2e8], rax
mov qword [rbp + 0x2f8], r15
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, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x2f8]
call fcn.18004aa40
nop
lea rbx, [rsp + 0x20]
mov r8, rbx
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x2e0]
call fcn.18004dd50
add rbx, 0x28
lea rax, [rbp + 0x2b8]
cmp rbx, rax
jne 0x180040086
lea r9, [fcn.1800406b0]
mov edx, Ordinal_41
mov r8d, reloc.WS2_32.dll_socket
lea rcx, [rsp + 0x20]
call fcn.18004fe30
mov rdi, qword [rbp + 0x2e8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x180040108
nop word [rax + rax]
lea rcx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x1800400ef
mov rcx, qword [rbx + 0x10]
mov rsi, qword [rbx + 0x30]
call fcn.18003f900
mov qword [rsi], rax
test rax, rax
je 0x180040133
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1800400e0
lea rax, str.UnityEngine.Camera
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800dc768]
cmp rdx, qword [0x1800dc770]
je 0x18004013a
mov qword [rdx], rax
add qword [0x1800dc768], 8
jmp 0x180040146
xor bl, bl
jmp 0x180040666
lea r8, [rbp + 0x2d0]
call fcn.18004bf90
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Camera::get_current
call rax
mov qword [0x1800dc598], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Camera::get_main
call rax
mov qword [0x1800dc5a0], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Camera::get_depth
call rax
mov qword [0x1800dc5a8], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Camera::set_depth
call rax
mov qword [0x1800dc5b0], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Camera::get_fieldOfView
call rax
mov qword [0x1800dc5b8], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Camera::set_fieldOfView
call rax
mov qword [0x1800dc5c0], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Camera::WorldToScreenPoint_Injected
call rax
mov qword [0x1800dc5c8], rax
lea rax, str.UnityEngine.Component
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800dc768]
cmp rdx, qword [0x1800dc770]
je 0x180040212
mov qword [rdx], rax
add qword [0x1800dc768], 8
jmp 0x18004021e
lea r8, [rbp + 0x2d0]
call fcn.18004bf90
lea rcx, str.UnityEngine.Component::get_gameObject
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Component::get_transform
call qword [0x1800dc6c0]
lea rax, str.UnityEngine.GameObject
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800dc768]
cmp rdx, qword [0x1800dc770]
je 0x180040263
mov qword [rdx], rax
add qword [0x1800dc768], 8
jmp 0x18004026f
lea r8, [rbp + 0x2d0]
call fcn.18004bf90
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.GameObject::Internal_AddComponentWithType
call rax
mov qword [0x1800dc5d0], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.GameObject::CreatePrimitive
call rax
mov qword [0x1800dc5d8], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.GameObject::Find
call rax
mov qword [0x1800dc5e0], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.GameObject::FindGameObjectsWithTag
call rax
mov qword [0x1800dc5e8], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.GameObject::GetComponentByName
call rax
mov qword [0x1800dc5f0], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.GameObject::GetComponentsInternal
call rax
mov qword [0x1800dc5f8], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.GameObject::GetComponentInChildren
call rax
mov qword [0x1800dc600], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.GameObject::get_active
call rax
mov qword [0x1800dc608], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.GameObject::get_layer
call rax
mov qword [0x1800dc610], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.GameObject::get_transform
call rax
mov qword [0x1800dc618], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.GameObject::set_active
call rax
mov qword [0x1800dc620], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.GameObject::set_layer
call rax
mov qword [0x1800dc628], rax
lea rax, str.UnityEngine.LayerMask
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800dc768]
cmp rdx, qword [0x1800dc770]
je 0x1800403ae
mov qword [rdx], rax
add qword [0x1800dc768], 8
jmp 0x1800403ba
lea r8, [rbp + 0x2d0]
call fcn.18004bf90
lea rcx, str.UnityEngine.LayerMask::LayerToName
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.LayerMask::NameToLayer
call qword [0x1800dc6c0]
lea rax, str.UnityEngine.Object
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800dc768]
cmp rdx, qword [0x1800dc770]
je 0x1800403ff
mov qword [rdx], rax
add qword [0x1800dc768], 8
jmp 0x18004040b
lea r8, [rbp + 0x2d0]
call fcn.18004bf90
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Object::Destroy
call rax
mov qword [0x1800dc580], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Object::FindObjectsOfType_System.Type_System.Boolean_
call rax
mov qword [0x1800dc588], rax
mov rax, qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Object::GetName
call rax
mov qword [0x1800dc590], rax
lea rax, str.UnityEngine.Rigidbody
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800dc768]
cmp rdx, qword [0x1800dc770]
je 0x18004047b
mov qword [rdx], rax
add qword [0x1800dc768], 8
jmp 0x180040487
lea r8, [rbp + 0x2d0]
call fcn.18004bf90
lea rcx, str.UnityEngine.Rigidbody::get_detectCollisions
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Rigidbody::get_velocity_Injected
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Rigidbody::set_detectCollisions
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Rigidbody::set_velocity_Injected
call qword [0x1800dc6c0]
lea rax, str.UnityEngine.Transform
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800dc768]
cmp rdx, qword [0x1800dc770]
je 0x1800404e6
mov qword [rdx], rax
add qword [0x1800dc768], 8
jmp 0x1800404f2
lea r8, [rbp + 0x2d0]
call fcn.18004bf90
lea rcx, str.UnityEngine.Transform::GetParent
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Transform::GetRoot
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Transform::GetChild
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Transform::get_childCount
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Transform::FindRelativeTransformWithPath
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Transform::get_position_Injected
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Transform::get_rotation_Injected
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Transform::get_localPosition_Injected
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Transform::get_localScale_Injected
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Transform::set_position_Injected
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Transform::set_rotation_Injected
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Transform::set_localPosition_Injected
call qword [0x1800dc6c0]
lea rcx, str.UnityEngine.Transform::set_localScale_Injected
call qword [0x1800dc6c0]
mov r14, qword [0x1800dc768]
mov rsi, qword [0x1800dc760]
cmp rsi, r14
je 0x180040664
mov rdi, qword [rsi]
mov rcx, rdi
call fcn.18003f310
mov rcx, rax
test rax, rax
jne 0x1800405ca
mov rbx, r15
jmp 0x1800405e2
mov rbx, qword [0x1800dc6e0]
mov rax, qword [0x1800dc690]
call rax
mov rcx, rax
call rbx
mov rbx, rax
mov edx, r15d
movzx ecx, byte [rdi]
test cl, cl
je 0x18004060d
nop dword [rax]
movsx ecx, cl
add ecx, edx
imul edx, ecx, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
lea rdi, [rdi + 1]
movzx ecx, byte [rdi]
test cl, cl
jne 0x1800405f0
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, [rbp + 0x2c0]
call fcn.18004b1f0
mov rcx, qword [rax]
mov qword [rcx + 0x18], rbx
add rsi, 8
cmp rsi, r14
jne 0x1800405b2
mov r14, qword [0x1800dc768]
mov rsi, qword [0x1800dc760]
cmp rsi, r14
je 0x180040664
mov qword [0x1800dc768], rsi
mov bl, 1
lea rcx, [rbp + 0x2e0]
call fcn.180040710
movzx eax, bl
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.18004f720
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret