Function at 0x14008e640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x8c0]
sub rsp, 0x9c0
mov rax, qword [0x1401d12b0]
xor rax, rsp
mov qword [rbp + 0x8b0], rax
xor edx, edx
mov r8d, 0x8f0
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [0x1401e29d0]
mov edx, dword [0x1401e29d4]
lea rcx, [rbp - 0x40]
call fcn.140005070
nop
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], dil
xor r8d, r8d
lea rdx, [0x140178c70]
lea rcx, [rsp + 0x58]
call fcn.140008610
nop
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], dil
xor r8d, r8d
lea rdx, [0x140178c70]
lea rcx, [rbp - 0x68]
call fcn.140008610
nop
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], dil
xor r8d, r8d
lea rdx, [0x140178c70]
lea rcx, [rsp + 0x78]
call fcn.140008610
nop
mov rax, qword [0x1401e29e8]
mov dword [rax + 0x1560], 0x3f800000
movaps xmm0, xmmword [0x1401b3960]
movups xmmword [rax + 0x1644], xmm0
mov dword [rsp + 0x40], 0x9e9b9cb5
mov dword [rsp + 0x44], 0xbada9e96
mov dword [rsp + 0x48], 0x90a7dd88
mov word [rsp + 0x4c], 0x75
mov byte [rsp + 0x4e], 1
mov ecx, edi
nop word [rax + rax]
lea eax, [rcx - 0xc]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xd
jb 0x14008e760
mov byte [rsp + 0x4e], 0
mov r8d, Ordinal_45
lea rdx, [0x1401e2a4c]
lea rcx, [rsp + 0x40]
call fcn.14003d380
test al, al
je 0x14008e996
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
mov rbx, qword [0x1401e29e8]
movss xmm1, dword [rbx + 0x1980]
test rax, rax
je 0x14008e7f3
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
movss xmm0, dword [0x1401b33d0]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1401b339c]
movaps xmm2, xmm1
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x1978]
call fcn.1400565f0
movss xmm1, dword [rsp + 0x54]
addss xmm1, dword [0x1401b3274]
movss xmm0, dword [0x1401b32c4]
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm1
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x1c10]
call fcn.14003fe60
mov rax, qword [rbx + 0x1c10]
mov byte [rax + 0x90], 1
mov rax, qword [rbx + 0x1c10]
mov rcx, qword [rax + 0x1a8]
test rcx, rcx
je 0x14008e855
cmp dword [rcx + 0x10], 3
jne 0x14008e850
cmp dword [rcx + 4], 0
je 0x14008e868
call fcn.14005b590
xor r8d, r8d
lea edx, [r8 + 3]
call fcn.14005ac80
mov rbx, qword [0x1401e29e8]
mov rax, qword [rbx + 0x1c10]
cmp byte [rax + 0x93], 0
jne 0x14008e88a
mov eax, dword [rax + 0x1b4]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.140060000
lea rcx, [0x1401b17e0]
call fcn.14005c360
call fcn.14005b280
lea rcx, str.Weapon
call fcn.14005c360
call fcn.14005b280
lea rcx, str.Scope
call fcn.14005c360
call fcn.14005b280
mov rax, qword [0x1401e29e8]
mov rcx, qword [rax + 0x1c10]
cmp byte [rcx + 0x93], 0
jne 0x14008e8e6
mov eax, dword [rcx + 0x1b4]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.140060000
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
call fcn.14005c360
call fcn.14005b280
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rcx, qword [rbp - 0x68]
call fcn.14005c360
call fcn.14005b280
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rcx, qword [rsp + 0x78]
call fcn.14005c360
mov rcx, qword [0x1401e29e8]
mov rax, qword [rcx + 0x1c10]
mov byte [rax + 0x90], 1
mov rax, qword [rcx + 0x1c10]
mov rdx, qword [rax + 0x1a8]
test rdx, rdx
je 0x14008e96e
cmp dword [rdx + 0x10], 1
jne 0x14008e962
cmp dword [rdx + 4], 0
je 0x14008e96e
call fcn.14005b590
mov rcx, qword [0x1401e29e8]
mov rax, qword [rcx + 0x1c10]
cmp byte [rax + 0x93], 0
jne 0x14008e990
mov eax, dword [rax + 0x1b4]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.140060000
call fcn.14003f6f0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14008e9d5
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008e9d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008e9d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14008ea24
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ea1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ea1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14008ea74
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ea6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ea6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
lea rcx, [rbp - 0x40]
call fcn.140007710
mov rcx, qword [rbp + 0x8b0]
xor rcx, rsp
call fcn.14012e570
lea r11, [rsp + 0x9c0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret