Function at 0x140070440
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140306028]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov byte [rbp - 0x79], r9b
mov dword [rbp - 0x69], r8d
movzx ebx, dl
mov r13, rcx
mov rax, qword [rcx + 0x30]
cmp dword [rax + 0xf8], 0xffffffff
je 0x140070497
mov r8b, 1
xor edx, edx
call fcn.140062220
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rdi, 0x346dc5d63886594b
mov rax, rdi
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [r13 + 0x30]
mov r8, qword [rcx + 0x678]
add r8, 0x3e8
cmp r8, rdx
jl 0x1400704dd
test bl, bl
je 0x140070ea4
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
mov rax, rdi
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r13 + 0x30]
mov qword [rax + 0x678], rdx
mov rdx, qword [r13 + 0x30]
add rdx, 0x2d0
lea rcx, [rbp + 7]
call fcn.14003da70
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x41]
call fcn.14003da70
mov rbx, qword [0x140307d40]
mov rdi, qword [0x140307d48]
cmp rbx, rdi
je 0x140070587
cmp qword [rbp - 0x29], 0x10
setae r14b
mov rsi, qword [rbp - 0x31]
mov r15, qword [rbp - 0x41]
nop dword [rax + rax]
lea rdx, [rbp - 0x41]
test r14b, r14b
cmovne rdx, r15
mov r8, qword [rbx + 0x18]
lea rcx, [rbx + 8]
cmp qword [rbx + 0x20], 0x10
jb 0x14007056d
mov rcx, qword [rcx]
cmp r8, rsi
jne 0x14007057b
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140070587
add rbx, 0x240
cmp rbx, rdi
jne 0x140070550
lea rcx, [rbp - 0x41]
call fcn.1401fdef0
xor esi, esi
cmp rbx, qword [0x140307d48]
je 0x1400707da
sub rbx, qword [0x140307d40]
movabs rax, 0xe38e38e38e38e39
imul rbx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea r8, [rdx + rdx*8]
shl r8, 6
add r8, qword [0x140307d40]
mov rbx, qword [r13 + 0x30]
mov r9, qword [r8 + 0xc8]
imul eax, dword [rbx + 0x5d8], 0x64
add eax, dword [rbx + 0x5d4]
cdqe
imul rcx, rax, 0x1f8
movzx eax, word [rcx + r9]
test ax, ax
jne 0x140070601
movzx eax, word [rcx + r9 + 2]
movzx eax, ax
imul rcx, rax, 0x3b8
mov r10, qword [0x140307de8]
mov eax, dword [rcx + r10 + 0x390]
cmp eax, 0xc
je 0x1400707da
cmp eax, 6
je 0x1400707da
mov rcx, qword [r8 + 0xd0]
sub rcx, r9
movabs rax, 0x8208208208208209
imul rcx
lea r8, [rcx + rdx]
sar r8, 8
mov rax, r8
shr rax, 0x3f
add r8, rax
mov eax, 0x51eb851f
imul r8d
mov ecx, edx
sar ecx, 5
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, r8d
cdq
idiv ecx
mov edi, eax
mov r12d, esi
test r8d, r8d
jle 0x1400707da
mov rdx, rsi
movsxd r11, r8d
mov r8, rsi
nop word [rax + rax]
movzx eax, word [r9 + r8]
imul rcx, rax, 0x3b8
cmp dword [rcx + r10 + 0x390], 6
je 0x1400706be
inc r12d
inc rdx
add r8, 0x1f8
cmp rdx, r11
jl 0x140070690
jmp 0x1400707da
mov eax, r12d
cdq
idiv edi
mov dword [rbx + 0x5d4], edx
mov rcx, qword [r13 + 0x30]
mov dword [rcx + 0x5d8], eax
mov rax, qword [r13 + 0x30]
mov ebx, dword [rax + 0xf0]
mov dword [rbp - 0x21], esi
mov ecx, 0x3d
call fcn.140222890
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x1d], 0x3d
mov dword [rax + 0xc], esi
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], rsi
mov qword [rax + 0x24], rsi
mov qword [rax + 0x2c], rsi
mov qword [rax + 0x34], rsi
mov byte [rax + 0x3c], sil
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], ebx
mov dword [rax + 0x18], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], rsi
mov r8d, select
lea rdx, str.SetRespawnPos
lea rcx, [rbp - 0x41]
call fcn.140019cb0
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x21]
call fcn.140034df0
movsxd rsi, dword [rbp - 0x1d]
lea r14d, [rsi + 6]
movsxd rcx, r14d
call fcn.140222890
mov r15, rax
mov r8, rsi
mov rdx, qword [rbp - 0x19]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp - 0x19]
call fcn.140222190
mov qword [rbp - 0x19], r15
movzx ecx, byte [rbp - 0x21]
mov byte [r15 + rsi], cl
lea ecx, [rsi + 1]
movsxd rdx, ecx
mov byte [rdx + r15], 9
mov dword [r15 + rsi + 2], r12d
mov dword [rbp - 0x1d], r14d
mov eax, dword [rbp - 0x21]
inc eax
mov dword [rbp - 0x21], eax
mov byte [r15 + 0x3c], al
movsxd rdx, r14d
mov r8d, 1
mov rcx, r15
call fcn.140013230
mov r8, rax
xor edx, edx
mov rcx, r13
call fcn.1400134c0
nop
mov rcx, r15
call fcn.140222190
xor esi, esi
mov rax, qword [r13 + 0x30]
mov ebx, dword [rax + 0xf0]
mov dword [rbp - 0x21], esi
mov ecx, 0x3d
call fcn.140222890
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x1d], 0x3d
mov dword [rax + 0xc], esi
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], rsi
mov qword [rax + 0x24], rsi
mov qword [rax + 0x2c], rsi
mov qword [rax + 0x34], rsi
mov byte [rax + 0x3c], 0
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], ebx
mov dword [rax + 0x18], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], rsi
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.OnSetFreezeState
lea rcx, [rbp - 0x41]
call fcn.140019cb0
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x21]
call fcn.140034df0
movsxd rsi, dword [rbp - 0x1d]
lea r14d, [rsi + 6]
movsxd rcx, r14d
call fcn.140222890
mov r15, rax
mov r8, rsi
mov rdx, qword [rbp - 0x19]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp - 0x19]
call fcn.140222190
mov qword [rbp - 0x19], r15
movzx ecx, byte [rbp - 0x21]
mov byte [r15 + rsi], cl
lea ecx, [rsi + 1]
movsxd rdx, ecx
mov byte [rdx + r15], 9
mov dword [r15 + rsi + 2], 2
mov dword [rbp - 0x1d], r14d
mov eax, dword [rbp - 0x21]
inc eax
mov dword [rbp - 0x21], eax
mov byte [r15 + 0x3c], al
movsxd rdx, r14d
mov r8d, 1
mov rcx, r15
call fcn.140013230
mov r8, rax
xor edx, edx
mov rcx, r13
call fcn.1400134c0
nop
mov rcx, r15
call fcn.140222190
mov rax, qword [r13 + 0x30]
mov ebx, dword [rax + 0xf0]
xor esi, esi
mov dword [rbp - 0x21], esi
lea ecx, [rsi + 0x3d]
call fcn.140222890
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x1d], 0x3d
mov dword [rax + 0xc], esi
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], rsi
mov qword [rax + 0x24], rsi
mov qword [rax + 0x2c], rsi
mov qword [rax + 0x34], rsi
mov byte [rax + 0x3c], sil
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], ebx
mov dword [rax + 0x18], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], rsi
lea r8d, [rsi + 0xd]
lea rdx, str.SetRespawnPos
lea rcx, [rbp - 0x41]
call fcn.140019cb0
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x21]
call fcn.140034df0
mov rax, qword [r13 + 0x30]
imul r14d, dword [rax + 0x5d8], 0x64
add r14d, dword [rax + 0x5d4]
movsxd rsi, dword [rbp - 0x1d]
lea r15d, [rsi + 6]
movsxd rcx, r15d
call fcn.140222890
mov r12, rax
mov r8, rsi
mov rdx, qword [rbp - 0x19]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp - 0x19]
call fcn.140222190
mov qword [rbp - 0x19], r12
movzx ecx, byte [rbp - 0x21]
mov byte [r12 + rsi], cl
lea ecx, [rsi + 1]
movsxd rdx, ecx
mov byte [rdx + r12], 9
mov dword [r12 + rsi + 2], r14d
mov dword [rbp - 0x1d], r15d
mov eax, dword [rbp - 0x21]
inc eax
mov dword [rbp - 0x21], eax
mov byte [r12 + 0x3c], al
movsxd rdx, r15d
mov r8d, 1
mov rcx, r12
call fcn.140013230
mov r8, rax
xor edx, edx
mov rcx, r13
call fcn.1400134c0
nop
mov rcx, r12
call fcn.140222190
xor edi, edi
cmp byte [rbp - 0x79], dil
je 0x140070aae
mov rax, qword [r13 + 0x30]
mov ebx, dword [rax + 0xf0]
mov dword [rbp - 0x41], edi
lea ecx, [rdi + 0x3d]
call fcn.140222890
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x3d], 0x3d
mov dword [rax + 0xc], edi
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], rdi
mov qword [rax + 0x24], rdi
mov qword [rax + 0x2c], rdi
mov qword [rax + 0x34], rdi
mov byte [rax + 0x3c], dil
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], ebx
mov dword [rax + 0x18], edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rdi
lea r8d, [rdi + 8]
lea rdx, str.OnKilled
lea rcx, [rbp - 0x21]
call fcn.140019cb0
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x41]
call fcn.140034df0
movsxd rdx, dword [rbp - 0x3d]
lea r8d, [rdi + 1]
mov rcx, qword [rbp - 0x39]
call fcn.140013230
mov r8, rax
xor edx, edx
mov rcx, r13
call fcn.1400134c0
nop
mov rcx, qword [rbp - 0x39]
call fcn.140222190
mov rax, qword [r13 + 0x30]
mov ebx, dword [rax + 0xf0]
mov dword [rbp - 0x41], edi
mov ecx, 0x3d
call fcn.140222890
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x3d], 0x3d
mov dword [rax + 0xc], edi
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], rdi
mov qword [rax + 0x24], rdi
mov qword [rax + 0x2c], rdi
mov qword [rax + 0x34], rdi
mov byte [rax + 0x3c], 0
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], ebx
mov r12d, 0x64
mov ecx, r12d
mov edx, 0x7d0
cmp dword [rbp - 0x69], 0
cmove ecx, edx
mov dword [rbp - 0x71], ecx
mov dword [rax + 0x18], ecx
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x49], rdi
lea r8d, [r12 - 0x5c]
lea rdx, str.OnSetPos
lea rcx, [rbp - 0x61]
call fcn.140019cb0
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x41]
call fcn.140034df0
mov rax, qword [r13 + 0x30]
movd xmm0, dword [rax + 0x5d8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1402d547c]
movss dword [rbp - 0x21], xmm0
movd xmm0, dword [rax + 0x5d4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1402d547c]
movss dword [rbp - 1], xmm0
movsxd rdi, dword [rbp - 0x3d]
lea r14d, [rdi + 0xa]
movsxd rcx, r14d
call fcn.140222890
mov r15, rax
mov r8, rdi
mov rdx, qword [rbp - 0x39]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp - 0x39]
call fcn.140222190
mov qword [rbp - 0x39], r15
movzx ecx, byte [rbp - 0x41]
mov byte [r15 + rdi], cl
lea eax, [rdi + 1]
cdqe
mov byte [rax + r15], 3
mov eax, dword [rbp - 1]
mov dword [r15 + rdi + 2], eax
mov eax, dword [rbp - 0x21]
mov dword [r15 + rdi + 6], eax
mov dword [rbp - 0x3d], r14d
mov eax, dword [rbp - 0x41]
inc eax
mov dword [rbp - 0x41], eax
mov byte [r15 + 0x3c], al
movsxd rdx, r14d
lea r8d, [r12 - 0x63]
mov rcx, r15
call fcn.140013230
mov r8, rax
xor edx, edx
mov rcx, r13
call fcn.1400134c0
nop
mov rcx, r15
call fcn.140222190
mov rax, qword [r13 + 0x30]
mov ebx, dword [rax + 0xf0]
xor r15d, r15d
mov dword [rbp - 0x41], r15d
lea ecx, [r12 - 0x27]
call fcn.140222890
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x3d], 0x3d
mov dword [rax + 0xc], r15d
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], r15
mov qword [rax + 0x24], r15
mov qword [rax + 0x2c], r15
mov qword [rax + 0x34], r15
mov byte [rax + 0x3c], r15b
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], ebx
mov ecx, 0x7e4
cmp dword [rbp - 0x69], r15d
cmove r12d, ecx
mov dword [rax + 0x18], r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x49], r15
lea r8d, [r15 + 0x10]
lea rdx, str.OnPlayPositioned
lea rcx, [rbp - 0x61]
call fcn.140019cb0
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x41]
call fcn.140034df0
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x49], r15
lea r8d, [r15 + 0x12]
lea rdx, str.audio_teleport.wav
lea rcx, [rbp - 0x61]
call fcn.140019cb0
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x41]
call fcn.140034df0
mov rdi, qword [0x1403076c0]
mov rbx, qword [rdi + 0x28]
imul rax, qword [rdi + 0x30], 0x1c8
add rax, rbx
mov r14, qword [rbp - 0x39]
cmp rbx, rax
jae 0x140070d86
add rbx, 0x30
movsxd rsi, dword [rbp - 0x3d]
cmp dword [rbx + 8], 5
jne 0x140070d66
mov rcx, qword [rbx]
test rcx, rcx
je 0x140070d66
mov rdx, qword [r13 + 0x30]
add rdx, 0x2d0
add rcx, 0x2d0
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140070d26
mov rdx, qword [rdx]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x140070d34
mov rcx, qword [rcx]
cmp r8, rax
jne 0x140070d66
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140070d66
mov rdx, rsi
lea r8d, [rax + 1]
mov rcx, r14
call fcn.140013230
lea rcx, [rbx - 0x30]
mov r8, rax
xor edx, edx
call fcn.1400134c0
mov rdi, qword [0x1403076c0]
add rbx, 0x1c8
imul rcx, qword [rdi + 0x30], 0x1c8
add rcx, qword [rdi + 0x28]
lea rax, [rbx - 0x30]
cmp rax, rcx
jb 0x140070cf8
mov rcx, r14
call fcn.140222190
mov rax, qword [r13 + 0x30]
mov ebx, dword [rax + 0xf0]
mov dword [rbp - 0x41], r15d
mov ecx, 0x3d
call fcn.140222890
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x3d], 0x3d
mov dword [rax + 0xc], r15d
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], r15
mov qword [rax + 0x24], r15
mov qword [rax + 0x2c], r15
mov qword [rax + 0x34], r15
mov byte [rax + 0x3c], 0
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], ebx
mov ecx, dword [rbp - 0x71]
mov dword [rax + 0x18], ecx
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x49], r15
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.OnSetFreezeState
lea rcx, [rbp - 0x61]
call fcn.140019cb0
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x41]
call fcn.140034df0
movsxd rsi, dword [rbp - 0x3d]
lea r14d, [rsi + 6]
movsxd rcx, r14d
call fcn.140222890
mov r15, rax
mov rdi, rsi
mov r8, rsi
mov rdx, qword [rbp - 0x39]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp - 0x39]
call fcn.140222190
mov qword [rbp - 0x39], r15
movzx ecx, byte [rbp - 0x41]
mov byte [rsi + r15], cl
lea ecx, [rsi + 1]
movsxd rdx, ecx
mov byte [rdx + r15], 9
xor esi, esi
mov dword [rdi + r15 + 2], esi
mov dword [rbp - 0x3d], r14d
mov eax, dword [rbp - 0x41]
inc eax
mov dword [rbp - 0x41], eax
mov byte [r15 + 0x3c], al
movsxd rdx, r14d
lea r8d, [rsi + 1]
mov rcx, r15
call fcn.140013230
mov r8, rax
xor edx, edx
mov rcx, r13
call fcn.1400134c0
nop
mov rcx, r15
call fcn.140222190
nop
lea rcx, [rbp + 7]
call fcn.1401fdef0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140222170
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret